:root {
    --fg: #1f2328;
    --muted: #59636e;
    --bg: #ffffff;
    --surface: #f6f8fa;
    --accent: #c0392b;
    --border: #d1d9e0;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --fg: #e6edf3;
        --muted: #9198a1;
        --bg: #0d1117;
        --surface: #151b23;
        --accent: #ff6b5b;
        --border: #3d444d;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font: 16px/1.5 system-ui, sans-serif;
    color: var(--fg);
    background: var(--bg);
}

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

.site-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.brand { font-weight: 700; text-decoration: none; }

main { max-width: 60rem; margin: 0 auto; padding: 1rem; }

.flash {
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    background: var(--surface);
}

code { background: var(--surface); padding: 0 .25em; border-radius: 4px; }
