:root {
    color-scheme: light;
    --background: #f7f7f4;
    --text: #17202a;
    --muted: #5d6873;
    --line: #d9dde1;
    --accent: #204f7d;
    --content-width: 760px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
    text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-color: currentColor;
}

a:focus-visible {
    border-radius: 0.15rem;
    outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent);
    outline-offset: 3px;
}

.page {
    width: min(calc(100% - 2.5rem), var(--content-width));
    margin: 0 auto;
}

.site-header {
    padding: clamp(4rem, 10vw, 7rem) 0 2.5rem;
}

.eyebrow,
nav,
footer {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 0.75rem;
}

h1 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(2.75rem, 9vw, 5.25rem);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.intro {
    max-width: 42rem;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.8vw, 1.35rem);
    line-height: 1.5;
}

.header-links,
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.header-links {
    margin-top: 1.5rem;
}

nav {
    margin-top: 2.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

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

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

section {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 2rem;
    padding: 2.75rem 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 1rem;
}

section h2 {
    margin: 0.15rem 0 0;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.section-content > :first-child {
    margin-top: 0;
}

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

.lead {
    color: var(--text);
    font-size: 1.08rem;
}

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

li + li {
    margin-top: 0.45rem;
}

cite {
    color: var(--text);
}

address {
    margin: 1.25rem 0;
    font-style: normal;
}

.legal-notice p {
    color: var(--muted);
}

.legal-notice .lead,
.legal-notice address {
    color: var(--text);
}

.section-link {
    margin-top: 1.4rem;
    font-weight: 650;
}

.section-link a {
    text-decoration: none;
}

.section-link a:hover {
    text-decoration: underline;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0 3.5rem;
    border-top: 1px solid var(--line);
}

footer p {
    margin: 0;
}

footer a {
    color: inherit;
}

@media (max-width: 620px) {
    .page {
        width: min(calc(100% - 2rem), var(--content-width));
    }

    .site-header {
        padding-top: 3.5rem;
    }

    section {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 2.25rem 0;
    }

    footer {
        display: grid;
        gap: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
