:root {
    --ink: #101418;
    --paper: #ffffff;
    --muted: #4a5560;
    --accent: #0b5cab;
    --accent-ink: #ffffff;
    --rule: #ccd3da;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e9edf1;
        --paper: #101418;
        --muted: #aab4be;
        --accent: #7fb4ee;
        --accent-ink: #06203c;
        --rule: #333c45;
    }
}

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

body {
    margin: 0;
    padding: 1.5rem 1rem 3rem;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
}

main {
    max-width: 38rem;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}

h2 {
    font-size: 1.375rem;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

p {
    margin: 0 0 1rem;
}

.tagline {
    color: var(--muted);
    margin-bottom: 2rem;
}

.hint {
    color: var(--muted);
    font-size: 1rem;
}

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

.button {
    display: inline-block;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.button:hover {
    text-decoration: underline;
}

a {
    color: var(--accent);
}

.downloads {
    list-style: none;
    margin: 0;
    padding: 0;
}

.downloads li + li {
    margin-top: 1.5rem;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-contrast: more) {
    :root {
        --muted: var(--ink);
        --rule: var(--ink);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
