* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --dark: #121113;
  --forest: #222725;
  --sage: #e4e6c3;
  --amber: #c88f49;
  --muted: #4e584d;
  --line: #d8dbcf;
  color: var(--forest);
  background: var(--paper);
  font-family: "Segoe UI", sans-serif;
}
body { margin: 0; }
.masthead, main { width: min(100% - 2rem, 41rem); margin: auto; }
.masthead { display: flex; align-items: center; gap: .65rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.masthead img { border-radius: 8px; }
button { margin-left: auto; padding: .5rem .7rem; border: 1px solid #a9aea0; background: transparent; border-radius: 6px; color: inherit; font: inherit; font-size: .78rem; }
button:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
main { padding: 1rem 0 max(1.5rem, env(safe-area-inset-bottom)); }
.hero { background: var(--dark); color: var(--paper); padding: 1.25rem; border-radius: 1.1rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 800; letter-spacing: -.065em; line-height: .98; }
.hero::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--amber); margin-top: 1rem; }
#headline { margin-top: .75rem; color: var(--sage); font-weight: 650; }
#updated { margin-top: .2rem; color: #c4c4b8; font-size: .76rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin: .7rem 0 1rem; }
.metrics article { background: var(--sage); padding: .65rem; border-radius: .6rem; min-width: 0; }
.metrics h2 { font-size: .72rem; font-weight: 650; }
.metrics strong, .metrics small { display: block; margin-top: .27rem; font-variant-numeric: tabular-nums; }
.metrics strong { font-size: clamp(.95rem, 4vw, 1.2rem); }
.metrics small { font-size: .73rem; }
.section { margin-top: 1.2rem; }
.section h2 { font-size: 1.15rem; letter-spacing: -.024em; }
.section p { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.rows { list-style: none; margin: .48rem 0 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; padding: .54rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
.rows strong { font-weight: 700; }
.rows small { width: 100%; color: var(--muted); font-size: .77rem; }
.state { color: var(--muted); }
.state[data-state="up"] { color: #34582f; }
.state[data-state="attention"] { color: #9b3123; }
.state[data-state="starting"] { color: #805213; }

