:root { color-scheme: light dark; --bg: #f7f7f5; --card: #fff; --fg: #1c1917; --muted: #66605b; --line: #e7e5e0; --good: #16a34a; --good-text: #166534; --warn: #d97706; --bad: #dc2626; --none: #e7e5e0; }
@media (prefers-color-scheme: dark) { :root { --bg: #0f0e0d; --card: #1a1817; --fg: #fafaf9; --muted: #a8a29e; --line: #2c2927; --good: #22c55e; --good-text: #4ade80; --warn: #f59e0b; --bad: #f87171; --none: #2c2927; } }
* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body { margin: 0; padding: 0 20px; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.top, main, footer { max-width: 760px; margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand i { font-style: normal; font-weight: 500; color: var(--muted); }
.label { color: var(--muted); font-size: 14px; font-weight: 600; }
main { padding: 40px 0 24px; }
h1 { margin: 0 0 6px; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
h1.good { color: var(--good-text); }
h1.bad { color: var(--bad); }
.muted { color: var(--muted); font-size: 14px; }
p.muted { margin: 0; }
/* Room for the content drawn after loading, so nothing jumps. */
#checked { min-height: 22px; }
#services { margin-top: 40px; min-height: 451px; }
.service { padding: 22px 0; border-top: 1px solid var(--line); }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.service h2, section > h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.state { font-size: 14px; font-weight: 600; white-space: nowrap; }
.state.up { color: var(--good-text); }
.state.down { color: var(--bad); }
.state.unknown { color: var(--muted); }
.bars { display: flex; gap: 2px; height: 34px; margin-bottom: 8px; }
.bars i { flex: 1; min-width: 0; border-radius: 2px; background: var(--none); }
.bars .good { background: var(--good); }
.bars .warn { background: var(--warn); }
.bars .bad { background: var(--bad); }
#stats, .never { padding: 28px 0; border-top: 1px solid var(--line); }
#stats[hidden] { display: none; }
#stats.pending { visibility: hidden; }
dl { display: flex; gap: 56px; margin: 16px 0 12px; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 0; font-size: 34px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.never p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
footer { padding: 24px 0 48px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { dl { flex-direction: column; gap: 16px; } .bars { gap: 1px; } }
