:root {
  color-scheme: dark;
  --canvas: #0b0d0e;
  --surface: #111416;
  --ink: #f4f2eb;
  --muted: #979fa8;
  --border: #272c30;
  --blue: #60a5fa;
  --brand: #ff6a1a;
  --emerald: #6dd5a5;
  --amber: #efc56b;
  --rose: #fb8a9d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
.site-header, .page-shell { width: min(880px, calc(100% - 48px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); font-size: 15px; font-weight: 750; }
.brand-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.header-link { font-size: 13px; }
.hero { padding: 48px 0 12px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; }
.orange-stop { color: var(--brand); }
.lede { margin: 14px 0 30px; color: var(--muted); font-size: 15px; }
.overall { display: flex; align-items: center; gap: 12px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-size: 17px; font-weight: 600; }
.status-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.overall .status-dot { width: 10px; height: 10px; }
.update-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 12px; color: var(--muted); font-size: 12px; }
.status-section { margin-top: 32px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 2px 12px; }
h2 { font-size: 16px; font-weight: 650; margin: 0; }
.section-heading > span { font-size: 12px; color: var(--muted); }
.service-list { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; padding: 18px 22px; }
.service-row + .service-row { border-top: 1px solid var(--border); }
h3 { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.service-row h3 a { color: var(--ink); }
.service-row h3 a:hover { color: var(--blue); }
.source-arrow { color: var(--muted); font-size: 12px; margin-left: 3px; }
.status-label { display: inline-flex; align-items: center; justify-self: end; gap: 8px; align-self: start; font-size: 13px; line-height: 21px; white-space: nowrap; }
.status-operational { color: var(--emerald); }
.status-degraded, .status-maintenance { color: var(--amber); }
.status-outage { color: var(--rose); }
.status-unknown { color: var(--muted); }
.service-time { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.incident-list { border-top: 1px solid var(--border); }
.incident-row { padding: 20px 2px; border-bottom: 1px solid var(--border); }
.incident-heading { display: flex; justify-content: space-between; gap: 16px; }
.incident-state { color: var(--amber); font-size: 12px; }
.incident-row[data-state="resolved"] .incident-state { color: var(--emerald); }
.incident-row > p { font-size: 14px; color: var(--muted); }
.incident-row .incident-meta { margin-bottom: 0; font-size: 12px; }
.empty-state { color: var(--muted); font-size: 14px; padding: 20px 2px; margin: 0; }
.page-footer { border-top: 1px solid var(--border); margin-top: 32px; padding: 24px 0 48px; color: var(--muted); font-size: 12px; }
.page-footer p { max-width: 640px; margin: 0 0 14px; }
.page-footer > div { display: flex; flex-wrap: wrap; gap: 20px; }
.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); padding: 8px 12px; background: var(--ink); color: var(--canvas); }
.skip-link:focus { transform: none; }
@media (max-width: 540px) {
  .site-header, .page-shell { width: calc(100% - 32px); }
  .site-header { padding: 22px 0; }
  .header-link { font-size: 12px; }
  .hero { padding-top: 32px; }
  .overall { font-size: 15px; padding: 16px; }
  .service-row { padding: 16px; column-gap: 12px; }
  .status-label { font-size: 12px; gap: 6px; }
  .status-label .status-dot { width: 6px; height: 6px; }
}
