.privacy-page {
    position: relative;
    overflow: clip;
}

.privacy-hero {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: end;
    width: var(--page);
    margin: 0 auto;
    padding: 190px 0 84px;
    border-bottom: 1px solid var(--line);
}

.privacy-hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0 -50vw;
    opacity: .24;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 95%);
    mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.privacy-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 540px;
    height: 540px;
    right: -260px;
    bottom: -150px;
    border: 1px solid rgba(93,124,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(93,124,255,.06) inset;
}

.privacy-hero h1 {
    max-width: 880px;
    margin-bottom: 28px;
    font-size: clamp(4rem, 8vw, 8rem);
}

.privacy-lead {
    max-width: 720px;
    margin: 0;
    color: #a5a7ad;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.privacy-date {
    min-width: 230px;
    display: grid;
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(17,19,24,.72);
    backdrop-filter: blur(16px);
}

.privacy-date span,
.privacy-date small {
    color: #777a83;
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.privacy-date strong { margin-top: 5px; font-size: 1.02rem; }
.privacy-date i { height: 1px; margin: 22px 0 16px; background: var(--line); }

.privacy-layout {
    width: var(--page);
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(38px, 6vw, 88px);
    align-items: start;
    margin: 0 auto;
    padding: 78px 0 150px;
}

.privacy-toc {
    position: sticky;
    top: 105px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.privacy-toc h2 {
    margin: 0 0 22px;
    color: #777a82;
    font-size: .65rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.privacy-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.privacy-toc a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    padding: 7px 0;
    color: #8e9097;
    font-size: .76rem;
    line-height: 1.35;
    transition: color .2s ease, transform .2s ease;
}

.privacy-toc a span { color: #51545c; font-family: Consolas, monospace; font-size: .63rem; }
.privacy-toc a:hover { color: var(--text); transform: translateX(3px); }

.privacy-document { min-width: 0; border-top: 1px solid var(--line); }

.privacy-intro {
    padding: 42px 0 64px;
    color: #c0c1c5;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.55;
    letter-spacing: -.022em;
}

.privacy-intro p { max-width: 850px; margin: 0; }
.privacy-intro p + p { margin-top: 20px; color: #858890; font-size: .95rem; letter-spacing: 0; }

.privacy-section {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 24px;
    padding: 50px 0 58px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.privacy-section-number {
    padding-top: 7px;
    color: #555860;
    font: .66rem Consolas, monospace;
}

.privacy-section h2 {
    margin: 0 0 24px;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -.043em;
    font-weight: 620;
}

.privacy-section h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.privacy-section p { max-width: 820px; margin: 0; color: #999ba2; }
.privacy-section p + p,
.privacy-section p + ul,
.privacy-section ul + p { margin-top: 17px; }

.privacy-section ul {
    display: grid;
    gap: 8px;
    max-width: 790px;
    margin-bottom: 0;
    padding-left: 21px;
    color: #a9abb1;
}

.privacy-section li::marker { color: var(--blue); }

.privacy-contact {
    max-width: 440px;
    display: grid;
    margin-top: 28px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    background: var(--surface);
}

.privacy-contact span,
.privacy-contact small {
    color: #6f727a;
    font-size: .65rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.privacy-contact strong { margin: 11px 0 1px; font-size: 1.05rem; }
.privacy-contact a { width: fit-content; margin-top: 11px; color: var(--blue-soft); border-bottom: 1px solid rgba(183,196,255,.34); }

.privacy-app-panel {
    position: relative;
    overflow: hidden;
    margin-top: 12px;
    padding: clamp(25px, 5vw, 44px);
    border: 1px solid rgba(93,124,255,.3);
    background: linear-gradient(145deg, rgba(93,124,255,.12), rgba(17,19,24,.72) 55%);
}

.privacy-app-panel::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -150px;
    right: -100px;
    border: 1px solid rgba(183,196,255,.14);
    border-radius: 50%;
}

.privacy-app-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }

.privacy-app-icon {
    width: 50px;
    height: 50px;
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    color: #0a0b0d;
    background: var(--blue-soft);
    font-size: .7rem;
    font-weight: 800;
}

.privacy-app-heading div { display: grid; }
.privacy-app-heading small { color: #7d85a5; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }

.privacy-footer { position: relative; }

@media (max-width: 920px) {
    .privacy-hero { min-height: 580px; grid-template-columns: 1fr; gap: 42px; padding-top: 160px; }
    .privacy-date { min-width: 0; width: min(100%, 330px); }
    .privacy-layout { grid-template-columns: 1fr; padding-top: 50px; }
    .privacy-toc { position: static; }
    .privacy-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; }
}

@media (max-width: 760px) {
    .privacy-hero { min-height: auto; padding: 135px 0 66px; }
    .privacy-hero h1 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
    .privacy-layout { padding-bottom: 95px; }
    .privacy-section { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 42px 0 48px; }
    .privacy-intro { padding-bottom: 48px; }
}

@media (max-width: 520px) {
    .privacy-toc ol { grid-template-columns: 1fr; }
    .privacy-date { padding: 20px; }
    .privacy-section { grid-template-columns: 1fr; }
    .privacy-section-number { padding-top: 0; }
    .privacy-app-panel { margin-left: -6px; margin-right: -6px; }
}

@media print {
    .site-header,
    .privacy-toc,
    .privacy-footer,
    .privacy-hero-grid,
    .privacy-hero::after { display: none !important; }

    body { color: #111; background: #fff; }
    .privacy-hero,
    .privacy-layout { width: 100%; display: block; padding: 0; border: 0; }
    .privacy-hero { min-height: 0; margin-bottom: 30px; }
    .privacy-hero h1,
    .privacy-section h2 { color: #111; }
    .privacy-hero h1 { font-size: 32pt; }
    .privacy-lead,
    .privacy-intro,
    .privacy-intro p + p,
    .privacy-section p,
    .privacy-section ul { color: #222; }
    .privacy-date { margin-top: 18px; padding: 0; border: 0; }
    .privacy-section { break-inside: avoid; }
    .privacy-app-panel,
    .privacy-contact { color: #111; background: #fff; box-shadow: none; }
}
