.privacy-page {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 64px 0 48px;
}

.privacy-hero {
    max-width: 900px;
    padding: 32px 0 48px;
}

.privacy-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-eyebrow {
    margin: 0;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.privacy-hero h1 {
    max-width: 820px;
    margin: 16px 0 0;
    font-size: 3.75rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.language-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 36px;
    padding: 0 12px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 850;
}

.language-switch a:hover,
.language-switch a:focus-visible {
    color: var(--ink);
    outline: 2px solid rgba(0, 167, 200, 0.28);
    outline-offset: 1px;
}

.language-switch a[aria-current="page"] {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 0 4px 14px rgba(18, 24, 33, 0.08);
}

.privacy-intro {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.privacy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 42px;
    margin: 32px 0 0;
}

.privacy-meta div {
    display: grid;
    gap: 4px;
}

.privacy-meta dt {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 850;
    text-transform: uppercase;
}

.privacy-meta dd {
    margin: 0;
    font-weight: 850;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    padding-top: 42px;
    border-top: 1px solid var(--line);
}

.privacy-toc {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 132px);
    overflow: auto;
    padding-right: 20px;
    scrollbar-width: thin;
}

.privacy-toc-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.privacy-toc nav {
    display: grid;
    gap: 2px;
}

.privacy-toc a {
    padding: 8px 10px;
    color: var(--muted);
    border-left: 2px solid transparent;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.35;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
    color: var(--ink);
    background: var(--surface-strong);
    border-left-color: var(--accent);
    outline: none;
}

.privacy-document {
    min-width: 0;
}

.policy-section {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 50px;
    scroll-margin-top: 104px;
}

.policy-section + .policy-section {
    padding-top: 50px;
    border-top: 1px solid var(--line);
}

.policy-number {
    margin: 3px 0 0;
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 900;
}

.policy-section h2 {
    margin: 0 0 22px;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.policy-section h3 {
    margin: 28px 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.policy-section p,
.policy-section li,
.policy-address {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.policy-section p {
    margin: 0 0 16px;
}

.policy-section ul {
    display: grid;
    gap: 9px;
    margin: 0 0 22px;
    padding-left: 22px;
}

.policy-section li::marker {
    color: var(--accent-strong);
}

.policy-section a:not(.button) {
    color: var(--accent-strong);
    font-weight: 800;
    text-underline-offset: 3px;
}

.policy-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.policy-details div {
    min-width: 0;
    padding: 16px 18px 16px 0;
}

.policy-details div + div {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.policy-details dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 850;
    text-transform: uppercase;
}

.policy-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.policy-section-highlight {
    position: relative;
}

.policy-section-highlight::before {
    position: absolute;
    top: 34px;
    right: -24px;
    bottom: 34px;
    left: -24px;
    z-index: -1;
    content: "";
    background: rgba(0, 167, 200, 0.07);
    border-left: 3px solid var(--accent);
}

.privacy-request-button {
    margin-top: 4px;
}

.policy-address {
    margin: 0 0 18px;
    font-style: normal;
}

.policy-address strong {
    color: var(--ink);
}

@media (max-width: 900px) {
    .privacy-page {
        padding-top: 42px;
    }

    .privacy-hero h1 {
        font-size: 3rem;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .privacy-toc {
        position: static;
        max-height: none;
        padding-right: 0;
    }

    .privacy-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .privacy-page {
        width: min(100% - 24px, 1180px);
        padding: 28px 0 32px;
    }

    .privacy-hero {
        padding: 20px 0 36px;
    }

    .privacy-hero-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .language-switch {
        width: 100%;
    }

    .language-switch a {
        min-width: 0;
    }

    .privacy-hero h1 {
        font-size: 2.4rem;
        line-height: 1.08;
    }

    .privacy-intro {
        font-size: 1.05rem;
    }

    .privacy-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .privacy-meta div:last-child {
        grid-column: 1 / -1;
    }

    .privacy-layout {
        padding-top: 30px;
    }

    .privacy-toc nav {
        grid-template-columns: 1fr;
    }

    .policy-section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 38px;
    }

    .policy-section + .policy-section {
        padding-top: 38px;
    }

    .policy-number {
        margin: 0;
    }

    .policy-section h2 {
        font-size: 1.45rem;
    }

    .policy-details {
        grid-template-columns: 1fr;
    }

    .policy-details div {
        padding: 14px 0;
    }

    .policy-details div + div {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .policy-section-highlight::before {
        top: 22px;
        right: -12px;
        bottom: 22px;
        left: -12px;
    }
}

@media print {
    .site-header,
    .privacy-toc,
    .site-footer,
    .privacy-request-button {
        display: none !important;
    }

    body,
    .privacy-page {
        width: 100%;
        color: #000;
        background: #fff;
    }

    .privacy-page {
        padding: 0;
    }

    .privacy-layout {
        display: block;
        border-top-color: #bbb;
    }

    .policy-section,
    .policy-section + .policy-section {
        break-inside: avoid;
        padding: 24px 0;
        border-top-color: #bbb;
    }

    .policy-section-highlight::before {
        display: none;
    }
}
