:root {
    --bg: var(--nanno-bg-deep);
    --surface: var(--nanno-panel);
    --surface-2: var(--nanno-panel-soft);
    --cyan: var(--nanno-accent);
    --cyan-dark: var(--nanno-accent-dark);
    --white: var(--nanno-text);
    --text: #d8dddf;
    --muted: var(--nanno-muted);
    --border: var(--nanno-border);
    --border-light: #3f484b;
    --content-max: 1280px;
    --font-display: var(--nanno-font-display);
    --font-body: var(--nanno-font-body);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        linear-gradient(rgba(48, 55, 57, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 55, 57, 0.18) 1px, transparent 1px),
        var(--bg);
    background-size: 96px 96px;
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    color: inherit;
}

.page {
    min-height: 100vh;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.99) 0%,
            rgba(5, 5, 5, 0.93) 55%,
            rgba(5, 5, 5, 0.70) 100%
        ),
        var(--nanno-modal-bg-url, url("/static/images/modal-lab-bg.jpg"))
        center right / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.5)),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 119px,
            rgba(255, 255, 255, 0.016) 120px
        );
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, var(--content-max));
    min-height: 320px;
    margin: 0 auto;
    padding: clamp(42px, 7vw, 76px) clamp(18px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: block;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 10px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--cyan);
}

.hero-lead {
    max-width: 730px;
    margin: 0;
    color: var(--text);
    font-size: clamp(16px, 1.7vw, 21px);
    line-height: 1.65;
}

.updated {
    width: fit-content;
    margin-top: 18px;
    padding: 8px 0 8px 14px;
    border-left: 3px solid var(--cyan);
    color: var(--text);
    font-size: 14px;
}

.updated strong {
    color: var(--white);
}

.content {
    width: min(100%, var(--content-max));
    margin: 0 auto;
    padding: clamp(34px, 5vw, 58px) clamp(18px, 4vw, 32px) clamp(48px, 6vw, 72px);
}

.legal-section {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: clamp(16px, 3vw, 28px);
    padding: 0 0 38px;
    margin: 0 0 38px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 20px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-number {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.legal-section h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-section h2 span {
    color: var(--cyan);
}

.legal-section h3 {
    margin: 0 0 8px;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-section p,
.legal-section li {
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}

.legal-section p:first-of-type {
    margin-top: 0;
}

.legal-section strong {
    color: var(--white);
}

.legal-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid var(--border);
}

.legal-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--cyan);
    font-size: 22px;
    font-weight: 800;
}

.info-panel,
.warning-panel,
.contact-panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--cyan-dark);
    border-radius: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 186, 181, 0.09),
            rgba(10, 186, 181, 0.012)
        );
}

.warning-panel {
    border-color: var(--border-light);
    background: var(--surface);
}

.info-panel p,
.warning-panel p {
    margin: 0;
}

.info-panel p + p,
.warning-panel p + p {
    margin-top: 10px;
}

.privacy-empty-state {
    margin: 0;
    padding: 28px;
    border-left: 3px solid var(--cyan);
    background: var(--surface);
    color: var(--text);
}

.rights-grid,
.request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.rights-card,
.request-card {
    min-height: 132px;
    padding: 20px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    background: var(--surface);
}

.rights-card span,
.request-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--cyan);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
}

.rights-card p,
.request-card p {
    margin-bottom: 0;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-style: normal;
}

.contact-panel strong {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 18px;
    text-transform: uppercase;
}

.contact-panel a {
    width: fit-content;
    color: var(--cyan);
    text-decoration: none;
    font-size: 16px;
}

.contact-panel a:hover {
    color: var(--white);
}

.footer {
    border-top: 1px solid var(--border);
    background: #040404;
}

.footer-inner {
    width: min(100%, var(--content-max));
    margin: 0 auto;
    padding: 20px clamp(18px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}

.footer a {
    color: var(--text);
    text-decoration: none;
}

.footer a:hover {
    color: var(--cyan);
}

@media (max-width: 760px) {
    .hero {
        min-height: 260px;
        background-position: 68% center;
    }

    .hero-inner {
        min-height: 260px;
        padding: 34px 18px 30px;
    }

    .content {
        padding: 30px 18px 42px;
    }

    .legal-section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .section-number {
        font-size: 24px;
    }

    .rights-grid,
    .request-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        padding: 10px 7px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.usage-rights-note { margin-top: 8px; }
.preferences-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #050505;
    color: #fff;
}

.preferences-shell {
    width: min(100%, 720px);
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid #303739;
    border-left: 4px solid #0abab5;
    background: #101010;
}

.preferences-shell h1 {
    margin: 8px 0 20px;
}

.preferences-shell h1 span,
.preferences-shell .eyebrow {
    color: #0abab5;
}

.preferences-shell form {
    margin: 24px 0;
}

.preferences-note {
    color: #a7adb0;
    font-size: 14px;
}
