:root {
    color-scheme: light dark;
    --bg: #fff;
    --fg: #1a1a1a;
    --muted: #666;
    --accent: #0b5fff;
    --border: #eaeaea;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111;
        --fg: #eee;
        --muted: #999;
        --accent: #6ea8ff;
        --border: #2a2a2a;
    }
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 620px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 1.75rem;
    margin: 0 0 0.4rem;
}

header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 0.3rem;
}

header h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    margin: 0;
}

main {
    text-align: left;
}

main h3 {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0 0 0.9rem;
}

main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

main li + li {
    margin-top: 0.75rem;
}

time {
    color: var(--muted);
    font-size: 0.9rem;
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer h3 {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0 0 0.9rem;
}

footer nav {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

a {
    color: var(--accent);
    text-decoration: none;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration: underline;
}
