:root {
  --paper: #f3f0e8; --ink: #17160f; --muted: #6b675b; --rule: #d5d0c2;
  --accent: #c2410c; --ok: #2f7a3e; --bad: #a33a2a; --warn: #a06a00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14130f; --ink: #efece2; --muted: #9a9686; --rule: #2e2c24;
    --accent: #f28a4f; --ok: #6fc283; --bad: #e07a68; --warn: #e0b04f;
  }
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  padding: clamp(1.25rem, 5vw, 4rem); background: var(--paper); color: var(--ink);
  font: 15px/1.5 ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
a { color: inherit; }
header, footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
header a { text-decoration: none; }
header a:hover { color: var(--accent); }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 8vw, 5rem) 0; }
h1 {
  margin: 0; font: 400 clamp(2.75rem, 12vw, 9rem)/.95 ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  letter-spacing: -.03em; text-wrap: balance;
}
h1 span { color: var(--accent); }
.lede { margin: 1.25rem 0 0; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
footer { border-top: 1px solid var(--rule); padding-top: 1rem; }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--muted); margin-right: .5em; }
.on .dot, .dot.on { background: var(--ok); }
.off .dot, .dot.off { background: var(--bad); }
.mid .dot, .dot.mid { background: var(--warn); }
