:root {
    color-scheme: light dark;
    --bg: #0d1117;
    --panel: #151b23;
    --text: #f1f5f9;
    --muted: #a9b4c2;
    --line: #2b3441;
    --accent: #68d7ff;
    --accent-strong: #a4e9ff;
    --max-width: 960px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-strong);
}

code {
    padding: 0.12rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
}

.shell {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
}

.brand {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

nav a[aria-current="page"] {
    color: var(--text);
}

main {
    padding: 4.5rem 0;
}

.hero {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1,
h2 {
    line-height: 1.15;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 5rem);
    letter-spacing: -0.045em;
}

h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.lede {
    margin: 1.2rem 0;
    color: var(--muted);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.button {
    display: inline-block;
    padding: 0.7rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    color: var(--text);
    text-decoration: none;
}

.button.primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #071018;
    font-weight: 700;
}

.facts,
.legal-copy {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

.facts section,
.legal-copy section,
.notice {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--panel);
}

.facts p,
.legal-copy p,
.notice p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.facts ul {
    margin: 0.65rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.notice {
    margin-top: 1rem;
}

.legal-main {
    max-width: 780px;
}

.legal-title h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.updated {
    color: var(--muted);
}

.site-footer {
    padding: 1.4rem 0 2.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 680px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        padding: 1rem 0;
    }

    main {
        padding: 3rem 0;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f7f9fc;
        --panel: #ffffff;
        --text: #17202a;
        --muted: #52606d;
        --line: #d9e1ea;
        --accent: #007da8;
        --accent-strong: #005f80;
    }

    code {
        background: #eef3f7;
    }
}
