:root {
    color-scheme: light;
    --paper: oklch(0.955 0.018 72);
    --surface: oklch(0.982 0.011 74);
    --ink: oklch(0.165 0.018 48);
    --muted: oklch(0.42 0.018 54);
    --line: oklch(0.62 0.035 58 / 0.22);
    --accent: oklch(0.53 0.105 37);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(oklch(0.28 0.02 52 / 0.035) 1px, transparent 1px),
        linear-gradient(90deg, oklch(0.28 0.02 52 / 0.035) 1px, transparent 1px),
        var(--paper);
    background-size: 2.4rem 2.4rem;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-header,
main {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.3rem 0;
}

.brand img {
    display: block;
    width: 10rem;
    max-width: 42vw;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

nav a,
.links a {
    text-decoration: none;
}

.pill,
.button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
}

.pill {
    padding: 0.55rem 0.8rem;
}

.hero {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 13ch;
    margin-bottom: 1.4rem;
    font-size: 5.8rem;
    line-height: 0.96;
    letter-spacing: 0;
}

.lead {
    max-width: 62ch;
    color: var(--muted);
    font-size: 1.22rem;
    line-height: 1.65;
}

.button {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

article {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

h2 {
    font-size: 2.1rem;
    line-height: 1.05;
}

ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
    line-height: 1.75;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0 0 3rem;
}

.links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.7);
    padding: 0.7rem 0.9rem;
    color: var(--muted);
    font-weight: 700;
}

.legal-page {
    max-width: 760px;
    padding-bottom: clamp(3rem, 7vw, 5rem);
}

.legal-page h1 {
    max-width: 9ch;
}

.legal-section {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
}

.legal-section address {
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .site-header,
    nav,
    .grid {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .site-header,
    nav {
        flex-direction: column;
    }

    h1 {
        max-width: 11ch;
        font-size: 3.8rem;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 3.05rem;
        line-height: 1;
    }

    .lead {
        font-size: 1.04rem;
        line-height: 1.55;
    }
}
