:root {
    color-scheme: light dark;
    --bg: #f5f2ec;
    --fg: #2a2a28;
    --fg-muted: #6b6b68;
    --accent: #3a3a37;
    --rule: #d8d3ca;
    --max-w: 640px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #17171a;
        --fg: #e8e6e0;
        --fg-muted: #8f8d87;
        --accent: #c8c5bc;
        --rule: #2a2a2d;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 4rem 1.5rem 6rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    max-width: var(--max-w);
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2.5rem 0 0.5rem;
}

.tagline {
    color: var(--fg-muted);
    font-size: 1.1rem;
    margin: 0 0 3rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-thickness: 2px;
}

hr {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 3rem 0;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
    color: var(--fg-muted);
    font-size: 0.9rem;
}

.updated {
    color: var(--fg-muted);
    font-size: 0.9rem;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

ul {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
}
