:root {
  color-scheme: dark;
  color: #f5f0eb;
  background: #14100e;
  font-family: "Space Grotesk", system-ui, sans-serif;
  --faint: #b9ada1;
  --line: #3f352d;
  --up: #72d59e;
  --slow: #ffd07a;
  --down: #ff9299;
  --paused: #ffb27f;
  --unknown: #8e8480;
}
body { margin: 0; }
.status-page { width: min(820px, calc(100% - 36px)); margin: 32px auto 48px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font-weight: 700; }
header { margin: 24px 0; }
h1 { font: 700 clamp(1.8rem, 5vw, 2.7rem)/1.15 "Unbounded", system-ui, sans-serif; margin: 0 0 12px; }
p { margin: .35em 0; }
.muted, .timeline-note { color: var(--faint); }
.services { border: 1px solid var(--line); border-radius: 14px; background: #1e1815; }
.services:empty { display: none; }
.service { padding: 11px 16px 9px; }
.service + .service { border-top: 1px solid var(--line); }
.service-head, .timeline-note { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.service-head h2, .incident h2 { font-size: 1rem; margin: 0; }
.service-state { font-size: .83rem; font-weight: 700; }
[data-state="up"] { --state: var(--up); }
[data-state="slow"] { --state: var(--slow); }
[data-state="down"] { --state: var(--down); }
[data-state="paused"] { --state: var(--paused); }
[data-state="unknown"] { --state: var(--unknown); }
.service-state, .status-key span { color: var(--state); }
.timeline { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; margin-top: 7px; }
.timeline span { background: var(--state); height: 12px; border-radius: 2px; }
.timeline span[data-state="unknown"] { opacity: .36; }
.timeline-note { margin-top: 4px; font-size: .71rem; }
.status-key { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 8px; font-size: .78rem; }
.status-key[hidden] { display: none; }
.status-key span::before { content: ""; display: inline-block; width: .65em; height: .65em; background: var(--state); margin-right: .4em; border-radius: 2px; }
.incident { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
  .status-page { margin-top: 22px; }
  .service { padding-inline: 10px; }
  .timeline { gap: 1px; }
}
