:root {
    --bg: #fbfaf8;
    --text: #2b2b29;
    --muted: #6b6b66;
    --accent: #c25a04;
    --rule: #e4e2dd;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #161615;
        --text: #e8e6e1;
        --muted: #9a9993;
        --accent: #ff992d;
        --rule: #2e2d2b;
    }
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
    max-width: 36rem;
    margin: 0 auto;
    padding: 4rem 1.25rem 5rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.role {
    color: var(--muted);
    margin: 0.35rem 0 0;
}

section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

p { margin: 0 0 1rem; }

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

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

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.mark {
    font: inherit;
    color: var(--accent);
    background: none;
    border: 0;
    padding: 0 0.1em;
    cursor: help;
}

.mark:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-radius: 2px;
}

/* Exact time stays hidden until the asterisk is hovered, focused or tapped. */
.footnote {
    font-size: 0.875rem;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.footnote.revealed { opacity: 1; }

footer {
    margin-top: 3.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

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

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
