/* ═══════════════════════════════════════
           DESIGN TOKENS
           ═══════════════════════════════════════ */
:root {
    --bg:          #050714;
    --bg-deep:     #020308;
    --bg-card:     #080b21;
    --bg-header:   rgba(5, 7, 20, 0.92);
    --border:      rgba(255, 255, 255, 0.08);
    --border-f:    #1e1e1e;
    --t1:          #e8e8e8;
    --tw:          #ffffff;
    --td:          rgba(255, 255, 255, 0.6);
    --td-inactive: rgba(255, 255, 255, 0.45);
    --tm:          #777;
    --acc:         #0472FF;
    --acc-hover:   #0560d4;
    --acc-glow:    rgba(4, 114, 255, 0.2);
    --fd:          'Chakra Petch', sans-serif;
    --fb:          'Inter', sans-serif;
    --hh:          72px;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
    --bg:          #F3F3F3;
    --bg-deep:     #FFFFFF;
    --bg-card:     #FFFFFF;
    --bg-header:   rgba(243, 243, 243, 0.94);
    --border:      rgba(0, 0, 0, 0.12);
    --border-f:    #D8D8D8;
    --t1:          #282828;
    --tw:          #1A1A1A;
    --td:          #404040;
    --td-inactive: #5A5A5A;
    --tm:          #767676;
    --acc:         #0040B8;
    --acc-hover:   #002E8A;
    --acc-glow:    rgba(0, 64, 184, 0.14);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--tw); font-family: var(--fb); font-size: 17px; line-height: 1.6; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }

body::before { content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .018; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 200px; }

/* ── HEADER ── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--hh); display: flex; align-items: center;
    padding: 0 48px;
    background: var(--bg-header); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.header__logo { position: relative; width: 164px; height: 40px; flex-shrink: 0; margin-right: auto; display: flex; align-items: center; }
.header__logo-lottie { width: 164px; height: 40px; }
.header__nav { display: flex; align-items: center; gap: 36px; }
.header__nav-link { font-size: 15.4px; font-weight: 500; color: var(--td); padding: 24px 0; position: relative; transition: color 0.15s; }
.header__nav-link::after { content: ''; position: absolute; bottom: 18px; left: 0; width: 0; height: 1px; background: var(--tw); transition: width 0.15s var(--ease); }
.header__nav-link:hover { color: var(--tw); }
.header__nav-link:hover::after { width: 100%; }
.header__nav-link.disabled { opacity: 0.5; pointer-events: none; }
.header__cta {
    margin-left: 32px; padding: 7px 24px;
    background: var(--acc); color: #fff;
    font-family: var(--fd); font-size: 14px; font-weight: 600; letter-spacing: .04em;
    border-radius: 2px; transition: background .15s, box-shadow .15s, transform .15s var(--ease);
}
.header__cta:hover { background: var(--acc-hover); box-shadow: 0 0 32px var(--acc-glow); transform: scale(1.02); }
.theme-toggle {
    margin-left: 20px; width: 38px; height: 38px; border-radius: 2px;
    border: 1px solid var(--border); background: transparent;
    color: var(--td); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--tw); border-color: var(--td); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="dark"]  .theme-toggle__moon { display: none; }
html:not([data-theme])   .theme-toggle__moon { display: none; }
html[data-theme="light"] .header__cta { color: #fff; }
html[data-theme="light"] .header__nav-link::after { background: var(--tw); }
html[data-theme="light"] .footer { --bg-deep: #020308; --border-f: #1e1e1e; }

/* ── MAIN CONTENT ── */
.privacy-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--hh) + 72px) 48px 96px;
    flex: 1;
}

.privacy-eyebrow {
    font-family: var(--fd);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 20px;
}

.privacy-title {
    font-family: var(--fd);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--t1);
    margin-bottom: 12px;
}

.privacy-updated {
    font-size: 14px;
    color: var(--td-inactive);
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.privacy-intro {
    font-size: 17px;
    color: var(--td);
    line-height: 1.75;
    margin-bottom: 16px;
}
.privacy-intro + .privacy-intro { margin-top: 0; }

.privacy-intro a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-divider {
    width: 48px; height: 2px;
    background: linear-gradient(90deg, #CDF8FF, #1B72E9);
    margin: 48px 0;
}

.privacy-section { margin-bottom: 48px; }

.privacy-section__num {
    font-family: var(--fd);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 10px;
}

.privacy-section__title {
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 16px;
    line-height: 1.3;
}

.privacy-section__body {
    font-size: 15.5px;
    color: var(--td);
    line-height: 1.75;
}

.privacy-section__body p { margin-bottom: 14px; }
.privacy-section__body p:last-child { margin-bottom: 0; }

.privacy-section__body a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-section__body ul {
    list-style: none;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.privacy-section__body ul li {
    padding-left: 20px;
    position: relative;
}

.privacy-section__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 1.5px;
    background: var(--acc);
}

.privacy-section__body strong {
    color: var(--t1);
    font-weight: 600;
}

/* ── FOOTER ── */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border-f); padding: 72px 48px 48px; margin-top: auto; }
.footer__top { display: grid; grid-template-columns: 220px repeat(5, 1fr); gap: 40px; margin-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand-desc { font-size: 14.3px; color: var(--td-inactive); line-height: 20px; }
.footer__logo-wrap { display: block; width: 164px; height: 40px; }
.footer__col-title { font-family: var(--fd); font-size: 15.4px; font-weight: 600; color: var(--t1); margin-bottom: 16px; }
.footer__col-links { display: flex; flex-direction: column; gap: 8px; }
.footer__col-link { font-size: 14.3px; color: var(--td-inactive); transition: color .1s; }
.footer__col-link:hover { color: var(--tw); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border-f); }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal-link { font-size: 13.2px; color: var(--tm); transition: color .2s; }
.footer__legal-link:hover { color: var(--td); }
.footer__social { display: flex; gap: 20px; }
.footer__social-link { font-size: 13.2px; font-weight: 500; color: var(--tm); letter-spacing: .72px; transition: color .2s; }
.footer__social-link:hover { color: var(--tw); }

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
    background: #020308;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 28px 48px;
    display: flex; align-items: center; gap: 48px;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__text { flex: 1; }
.cookie-banner__title {
    font-family: var(--fd); font-size: 22px; font-weight: 700;
    color: #fff; margin-bottom: 8px; line-height: 1.2;
}
.cookie-banner__desc {
    font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6;
}
.cookie-banner__desc a {
    color: #fff; text-decoration: underline; text-underline-offset: 3px;
}
.cookie-banner__actions {
    display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}
.cookie-btn {
    min-width: 160px; padding: 12px 24px;
    background: transparent; border: 1px solid rgba(255,255,255,0.35);
    color: #fff; font-family: var(--fd); font-size: 15px; font-weight: 500;
    letter-spacing: .03em; cursor: pointer; text-align: center;
    transition: border-color .15s, background .15s, color .15s;
    border-radius: 2px;
}
.cookie-btn:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.cookie-btn--accept {
    border-color: var(--acc); color: #fff;
}
.cookie-btn--accept:hover { background: var(--acc); border-color: var(--acc); }

@media (max-width: 768px) {
    .header { padding: 0 24px; }
    .header__nav, .header__cta { display: none; }
    .privacy-wrap { padding: calc(var(--hh) + 40px) 24px 72px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
    .cookie-banner__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
    .cookie-btn { flex: 1; min-width: 100px; }
    .footer { padding: 48px 24px 36px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}