:root {
    --color-bg: #fdf8e8;
    --color-text: #1f2a33;
    --color-muted: #55636e;
    --color-accent: #9a5408;
    --color-rule: #e6dcbc;
    --font-body: Georgia, "Times New Roman", serif;
    --font-title: system-ui, -apple-system, "Segoe UI", sans-serif;
    --space-s: 0.75rem;
    --space-m: 1.5rem;
    --space-l: 3rem;
    --measure: 36rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #10202b;
        --color-text: #ece6d4;
        --color-muted: #a7b3ba;
        --color-accent: #f2b544;
        --color-rule: #2a3c48;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
}

main {
    max-width: var(--measure);
    margin: 0 auto;
    padding: var(--space-l) 1rem;
}

header {
    text-align: center;
    margin-bottom: var(--space-l);
}

header img {
    max-width: 60%;
    height: auto;
}

.kicker {
    margin: var(--space-s) 0 0;
    color: var(--color-muted);
    font-family: var(--font-title);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: var(--font-title);
    line-height: 1.2;
}

h1 {
    margin: 0.25rem 0 0;
    font-size: clamp(2rem, 8vw, 2.75rem);
}

h2 {
    margin: 0 0 var(--space-s);
    color: var(--color-accent);
    font-size: 1.25rem;
}

section {
    padding: var(--space-m) 0;
    border-top: 1px solid var(--color-rule);
}

.warning {
    font-style: italic;
}

footer {
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-rule);
    text-align: center;
}

.motto {
    color: var(--color-accent);
    font-family: var(--font-title);
    font-weight: 600;
}

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