:root {
    color-scheme: light dark;
    --background: #f4f0e8;
    --surface: #fffaf1;
    --text: #1d2320;
    --muted: #5d6661;
    --border: #d7cdbb;
    --primary: #22594d;
    --accent: #b65f2f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--background);
    color: var(--text);
}

.page {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 74vh;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 56px 0 40px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 800;
}

.eyebrow,
.updated {
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(44px, 8vw, 88px);
    line-height: 0.96;
}

.lede {
    max-width: 680px;
    margin: 0;
    font-size: 22px;
    line-height: 1.38;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.button.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.button.is-disabled {
    opacity: 0.72;
    cursor: default;
}

.details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-bottom: 56px;
}

article {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

h2 {
    margin: 0 0 8px;
    font-size: 19px;
}

p {
    line-height: 1.55;
}

article p,
.legal p {
    margin: 0;
    color: var(--muted);
}

.legal {
    max-width: 760px;
    padding: 48px 0 72px;
}

.legal h1 {
    margin-top: 32px;
    font-size: 52px;
}

.legal h2 {
    margin-top: 32px;
}

.back-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 760px) {
    .details {
        grid-template-columns: 1fr;
    }

    .lede {
        font-size: 19px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #171a18;
        --surface: #20251f;
        --text: #f3f0e8;
        --muted: #c0c7bf;
        --border: #3c453f;
        --primary: #6fb8a0;
        --accent: #e19a6b;
    }
}
