:root {
    color-scheme: light;
    --background: #f6f2ea;
    --surface: #fffdf8;
    --text: #202824;
    --muted: #68746e;
    --line: #ded7ca;
    --accent: #327b64;
    --accent-dark: #215a48;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header,
.home,
.legal-page,
.site-footer {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
}

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

.brand {
    font-size: 20px;
    font-weight: 800;
}

nav,
.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.home {
    padding: 82px 0 96px;
}

.hero {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 22px;
    font-size: clamp(46px, 8vw, 82px);
    line-height: 0.98;
}

.lede {
    max-width: 660px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: clamp(19px, 2.6vw, 25px);
    line-height: 1.28;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-weight: 750;
}

.primary-link:hover {
    background: var(--accent-dark);
    color: white;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 88px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.summary div {
    min-height: 190px;
    padding: 24px;
    background: var(--surface);
}

.summary h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.summary p,
.legal-page p,
.legal-page li {
    color: var(--muted);
}

.legal-page {
    max-width: 760px;
    padding: 64px 0 92px;
}

.legal-page h1 {
    font-size: clamp(40px, 7vw, 64px);
}

.legal-page h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: 22px;
}

.legal-page p,
.legal-page li {
    font-size: 16px;
}

.legal-page ul {
    padding-left: 22px;
}

.updated {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 0 44px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

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

    nav,
    .footer-links {
        flex-wrap: wrap;
    }

    .home {
        padding: 54px 0 72px;
    }

    .summary {
        grid-template-columns: 1fr;
        margin-top: 62px;
    }

    .summary div {
        min-height: auto;
    }
}
