/* VPSRox — privacy policy page (band + card stack layout) */

/* ── Dark banner hero ── */

.priv-banner {
    background: var(--bg-card);
    color: var(--text-light);
    padding: 56px 0 64px;
    text-align: center;
}

.priv-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light-secondary);
    margin-bottom: 24px;
}

.priv-crumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.priv-crumb a:hover { color: var(--accent-green); }

.priv-crumb-current {
    color: var(--text-light);
    font-weight: 600;
}

.priv-banner h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.15;
    max-width: 720px;
    margin: 0 auto 18px;
}

.priv-banner-lead {
    font-size: 17px;
    color: var(--text-light-secondary);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 28px;
}

.priv-banner-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.priv-banner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.priv-banner-chip svg { flex-shrink: 0; opacity: 0.7; }

.priv-banner-chip a {
    color: var(--accent-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Trust pillars row ── */

.priv-pillars {
    padding: 0;
    margin-top: -32px;
    position: relative;
    z-index: 2;
}

.priv-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.priv-pillar {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 42, 29, 0.07);
}

.priv-pillar-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(42, 211, 135, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-card);
}

.priv-pillar strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.priv-pillar p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Sticky anchor bar (flush below site header) ── */

.priv-anchor-wrap {
    position: sticky;
    top: var(--priv-sticky-top, 0);
    z-index: 99;
    background: rgba(247, 246, 242, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}

.priv-anchor-wrap .container {
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
}

.priv-anchor-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(4px, 0.5vw, 6px);
    padding: 10px 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.priv-anchor-bar::-webkit-scrollbar {
    display: none;
}

.priv-anchor-link {
    flex-shrink: 0;
    padding: 7px clamp(8px, 1.1vw, 18px);
    border-radius: 9999px;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.priv-anchor-link:hover {
    background: var(--bg-white);
    color: var(--text-main);
}

.priv-anchor-link.is-active {
    background: var(--bg-card);
    color: var(--text-light);
    border-color: var(--bg-card);
}

/* ── Content bands ── */

.priv-stack {
    padding: 48px 0 80px;
}

.priv-band {
    padding: 56px 0;
}

.priv-band--alt {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.priv-band-inner {
    max-width: 880px;
    margin: 0 auto;
}

.priv-band-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.priv-band-num {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--accent-green);
    background: rgba(42, 211, 135, 0.12);
    padding: 6px 12px;
    border-radius: 8px;
}

.priv-band-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin: 0;
}

.priv-band p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.priv-band p:last-child { margin-bottom: 0; }

.priv-band h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 28px 0 12px;
}

.priv-band a {
    color: var(--bg-card);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.priv-list {
    margin: 12px 0;
    padding-left: 22px;
    list-style: disc;
}

.priv-list li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 7px;
}

/* ── Data: icon row (4 col) ── */

.priv-source-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.priv-source-item {
    padding: 18px 16px;
    border-top: 3px solid var(--accent-green);
    background: var(--bg-white);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 4px 16px rgba(15, 42, 29, 0.04);
}

.priv-band--alt .priv-source-item {
    background: var(--bg-main);
    box-shadow: none;
}

.priv-source-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.priv-source-item p {
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.priv-auto-log {
    margin-top: 20px;
    padding: 20px 22px;
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.priv-band--alt .priv-auto-log {
    background: var(--bg-main);
}

.priv-auto-log h3 { margin-top: 0; }

/* ── Use & share: two-column split ── */

.priv-split-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 8px;
}

.priv-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.priv-tag {
    padding: 8px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.priv-band--alt .priv-tag {
    background: var(--bg-main);
}

.priv-tag-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 8px;
}

.priv-share-panel {
    padding: 22px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    height: fit-content;
}

.priv-band--alt .priv-share-panel {
    background: var(--bg-main);
}

.priv-share-panel h3 {
    margin-top: 0;
    font-size: 15px;
}

.priv-share-highlight {
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-card);
    margin-bottom: 14px;
}

/* ── Retention: stat cards row ── */

.priv-retain-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.priv-retain-card {
    padding: 16px 14px;
    text-align: center;
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.priv-band--alt .priv-retain-card {
    background: var(--bg-main);
}

.priv-retain-card strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
}

.priv-retain-card span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ── Security checklist ── */

.priv-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    margin: 18px 0;
    list-style: none;
    padding: 0;
}

.priv-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.priv-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(42, 211, 135, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23166834' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.priv-callout {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    margin-top: 18px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.28);
    color: #854d0e;
}

.priv-callout svg { flex-shrink: 0; margin-top: 1px; }

.priv-callout p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: inherit;
}

/* ── Cookie table ── */

.priv-cookie-table-wrap {
    overflow-x: auto;
    margin: 18px 0;
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.priv-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.priv-cookie-table th,
.priv-cookie-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
}

.priv-cookie-table th {
    background: var(--bg-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.priv-cookie-table tr:last-child td { border-bottom: none; }

.priv-cookie-table td:first-child {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    width: 1%;
}

.priv-cookie-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.priv-cookie-type--req { background: rgba(42, 211, 135, 0.15); color: #166534; }
.priv-cookie-type--fn { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.priv-cookie-type--ana { background: rgba(168, 85, 247, 0.12); color: #7e22ce; }
.priv-cookie-type--sec { background: rgba(234, 179, 8, 0.15); color: #854d0e; }

/* ── Rights: inline pills ── */

.priv-rights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.priv-right-pill {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 200px;
    padding: 16px 18px;
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.priv-band--alt .priv-right-pill {
    background: var(--bg-main);
}

.priv-right-pill strong {
    display: block;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.priv-right-pill span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Notices: 3-col cards ── */

.priv-notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.priv-notice-card {
    padding: 22px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.priv-band--alt .priv-notice-card {
    background: var(--bg-main);
}

.priv-notice-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.priv-notice-card p {
    margin: 0;
    font-size: 14px;
}

/* ── Closing split footer ── */

.priv-closing {
    background: var(--bg-card);
    color: var(--text-light);
    padding: 56px 0;
}

.priv-closing-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.priv-closing-grid > * {
    min-width: 0;
}

.priv-closing h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.priv-closing p {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.65;
    margin-bottom: 10px;
}

.priv-closing a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.priv-contact-block {
    padding: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.priv-contact-block h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.priv-contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.priv-contact-line:last-child { margin-bottom: 0; }

.priv-contact-line svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-green);
}

.priv-related-col {
    min-width: 0;
}

.priv-related-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.priv-related-links a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    min-width: 0;
    overflow: hidden;
}

.priv-related-link-label {
    min-width: 0;
    overflow-wrap: break-word;
}

.priv-related-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(42, 211, 135, 0.4);
    color: var(--text-light);
}

.priv-related-links a svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* scroll targets */
.priv-band[id] {
    scroll-margin-top: calc(var(--priv-sticky-top, 0px) + var(--priv-anchor-h, 48px) + 12px);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .priv-source-row { grid-template-columns: repeat(2, 1fr); }
    .priv-retain-row { grid-template-columns: repeat(3, 1fr); }
    .priv-closing-grid { grid-template-columns: 1fr 1fr; }
    .priv-related-col { grid-column: 1 / -1; }
    .priv-related-links { flex-direction: column; }
    .priv-related-links a { width: 100%; }
}

@media (max-width: 768px) {
    .priv-banner h1 { font-size: 30px; }
    .priv-pillar-grid { grid-template-columns: 1fr; }
    .priv-split-2 { grid-template-columns: 1fr; gap: 24px; }
    .priv-source-row { grid-template-columns: 1fr; }
    .priv-retain-row { grid-template-columns: repeat(2, 1fr); }
    .priv-checklist { grid-template-columns: 1fr; }
    .priv-notice-grid { grid-template-columns: 1fr; }
    .priv-right-pill { flex: 1 1 100%; }
    .priv-closing-grid { grid-template-columns: 1fr; }
    .priv-related-links { flex-direction: column; }
    .priv-related-links a { flex: none; width: 100%; }
    .priv-band-header h2 { font-size: 22px; }
}

@media (max-width: 480px) {
    .priv-retain-row { grid-template-columns: 1fr; }
}
