:root {
    color-scheme: dark;
    --sb-bg:
        radial-gradient(circle at top left, #3348ff33, transparent 55%),
        radial-gradient(circle at bottom right, #7f3cff33, transparent 55%),
        black;
    --sb-panel: black;
    --sb-panel-border: cornflowerblue;
    --sb-text-primary: ghostwhite;
    --sb-text-muted: lightsteelblue;
    --sb-accent: darkslateblue;
    --sb-accent-strong: midnightblue;
    --sb-radius-lg: 28px;
    --sb-radius-md: 18px;
    --sb-font: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    --sb-panel-2: rgba(8, 12, 22, 0.72);
    --sb-border-soft: rgba(127, 140, 255, 0.22);
    --sb-border-strong: rgba(127, 140, 255, 0.38);
    --sb-link: cornflowerblue;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--sb-font);
    background: var(--sb-bg);
    color: var(--sb-text-primary);
}

body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px;
}

/* ── Page shell ── */

.page {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 48px;
    width: min(760px, 100%);
    padding: 48px;
    border-radius: var(--sb-radius-lg);
    border: 1px solid var(--sb-panel-border);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    position: relative;
}

.page::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.5;
    background: midnightblue;
    top: -140px;
    right: -80px;
    pointer-events: none;
}

/* ── Header ── */

.site-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sb-text-primary);
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        var(--sb-accent),
        var(--sb-accent-strong)
    );
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.logo-name {
    font-size: 15px;
    font-weight: 600;
}

.headline-generic {
    font-size: 15px;
    color: var(--sb-text-muted);
}

a.headline-generic {
    color: var(--sb-link);
    text-decoration: none;
    border: none;
}

a.headline-generic:hover {
    text-decoration: none;
    border: none;
}

.back-link {
    font-size: 14px;
    color: var(--sb-text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
    padding-bottom: 1px;
}

.back-link:hover {
    color: var(--sb-text-primary);
    border-color: var(--sb-link);
}

/* ── Policy header ── */

.policy-header {
    margin-bottom: 32px;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sb-text-muted);
}

h1 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.effective-date {
    margin: 0;
    font-size: 14px;
    color: var(--sb-text-muted);
}

/* ── Policy content ── */

.policy-body {
    position: relative;
    z-index: 1;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--sb-border-soft);
}

section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sb-text-primary);
}

p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--sb-text-muted);
}

p strong {
    color: var(--sb-text-primary);
    font-weight: 600;
}

ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* replace data-collected <li> with ✅ */

ul.data-collected li::before {
    content: '✅ ';
}

/* replace data-not-collected <li> with ❌ */
ul.data-not-collected li::before {
    content: '❌ ';
}

ul li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sb-text-muted);
}

ul li strong {
    color: var(--sb-text-primary);
    font-weight: 600;
}

code {
    font-size: 13px;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    background: rgba(127, 140, 255, 0.12);
    border: 1px solid var(--sb-border-soft);
    border-radius: 5px;
    padding: 1px 6px;
    color: cornflowerblue;
}

a {
    color: var(--sb-link);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition:
        border-color 0.2s ease,
        filter 0.2s ease;
}

a:hover {
    border-color: var(--sb-link);
    filter: brightness(1.15);
}

a:focus-visible {
    outline: 2px solid rgba(127, 140, 255, 0.45);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Footer ── */

.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--sb-border-soft);
}

.site-footer p {
    font-size: 13px;
}

.footer-link {
    font-size: 13px;
    font-weight: 500;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    .page {
        padding: 24px;
        gap: 32px;
    }

    h1 {
        font-size: 28px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
