:root {
    color-scheme: light dark;
    --background: #f4f7f5;
    --text: #182824;
    --secondary: #475e56;
    --link: #225d4d;
    font: 100%/1.6 system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #141f1c;
        --text: #edf6f1;
        --secondary: #b4c9bf;
        --link: #9bead1;
    }
}

body { margin: 0; }
main { max-width: 40rem; margin: 0 auto; padding: clamp(2rem, 8vw, 5rem) 1.5rem; }
.start { max-width: 32rem; }
.icon { display: block; border-radius: 1.125rem; margin-bottom: 1.5rem; }
h1, h2 { line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); margin: 0.35em 0; letter-spacing: -0.035em; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
p { margin: 0 0 1rem; }
.intro { font-size: 1.35rem; }
.details { color: var(--secondary); }
a { color: var(--link); text-underline-offset: 0.18em; }
nav { margin-bottom: 2rem; }
