:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --border: #e2e5ea;
    --text: #16191d;
    --text-muted: #5d6470;
    --accent: #1f6feb;
    --ok: #1a7f4b;
    --ok-bg: #e6f4ec;
    --error: #b4232c;
    --error-bg: #fbeaeb;
    --code-bg: #eef0f3;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #14171a;
        --surface: #1c2024;
        --border: #2c3238;
        --text: #e9edf1;
        --text-muted: #9aa4b0;
        --accent: #5c9dff;
        --ok: #56d38a;
        --ok-bg: #16301f;
        --error: #ff8189;
        --error-bg: #331a1c;
        --code-bg: #262c31;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.container {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.brand-muted {
    color: var(--text-muted);
    font-weight: 400;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--accent);
}

/* Hero */

.hero {
    padding: 2.5rem 0 1.5rem;
}

.hero h1 {
    margin: 0.75rem 0 0.5rem;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1.2;
}

.lede {
    max-width: 46rem;
    margin: 0;
    color: var(--text-muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--ok-bg);
    color: var(--ok);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-pill-error {
    background: var(--error-bg);
    color: var(--error);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

/* Panels */

.panel {
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--surface);
}

.panel h2 {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem 1.5rem;
    margin: 0;
}

.facts > div.wide {
    grid-column: 1 / -1;
}

.facts dt {
    margin-bottom: 0.15rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.facts dd {
    margin: 0;
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.checklist {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
}

.checklist li + li {
    margin-top: 0.5rem;
}

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

code {
    padding: 0.1rem 0.35rem;
    border-radius: 0.3rem;
    background: var(--code-bg);
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: 0.875em;
}

/* Footer */

.site-footer {
    padding: 1.5rem 0 2.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
