:root {
    color-scheme: light dark;
    --bg: #f6f7fb;
    --text: #1b1e27;
    --muted: #5a6072;
    --rule: #dde1ec;
    --accent: #3d52b0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d0f15;
        --text: #e9ecf5;
        --muted: #a2a8ba;
        --rule: #262a36;
        /* The app's accent (Theme.Values.accent). */
        --accent: #9fb4ff;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

main, footer {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0 16px;
}

main { padding-top: 56px; padding-bottom: 32px; }

.brand {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 32px 0 4px; }
p { margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.updated { color: var(--muted); font-size: 0.95rem; }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.email {
    display: inline-block;
    margin: 8px 0 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.links { list-style: none; padding: 0; margin: 24px 0 0; }
.links li { margin: 0 0 8px; }
.links a { font-size: 1.1rem; font-weight: 600; }

footer {
    border-top: 1px solid var(--rule);
    padding-top: 16px;
    padding-bottom: 40px;
    color: var(--muted);
    font-size: 0.9rem;
}

footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
