:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #f8fafc;
  --muted: #94a3b8;
  --quiet: #64748b;
  --line: #1e293b;
  --operational: #22c55e;
  --degraded: #f59e0b;
  --maintenance: #38bdf8;
  --outage: #f87171;
  --unknown: #94a3b8;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #020617; }
body { margin: 0; min-height: 100vh; background: #020617; color: #f8fafc; font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 8%, rgb(37 99 235 / 16%), transparent 32%), radial-gradient(circle at 12% 55%, rgb(14 116 144 / 12%), transparent 28%); }
a { color: #7dd3fc; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-150%); border-radius: 6px; background: #f8fafc; color: #020617; padding: 8px 12px; }
.skip-link:focus { transform: none; outline: 3px solid #38bdf8; outline-offset: 2px; }
main { position: relative; width: min(1160px, calc(100% - 32px)); margin: auto; padding: 42px 0 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #cbd5e1; }
.brand { color: #fff; font-size: 20px; font-weight: 700; }
.environment { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.hero { border-bottom: 1px solid var(--line); padding: 74px 0 48px; }
.hero:focus { outline: none; }
.signal { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal span, .component-marker { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.signal--operational, .status--operational { color: var(--operational); }
.signal--degraded, .status--degraded { color: var(--degraded); }
.signal--maintenance, .status--maintenance { color: var(--maintenance); }
.signal--outage, .status--outage { color: var(--outage); }
.signal--unknown, .status--unknown { color: var(--unknown); }
.signal span { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 14%, transparent); }
h1 { max-width: 900px; margin: 18px 0 24px; font-size: clamp(40px, 7vw, 78px); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: anywhere; }
.lede { max-width: 680px; color: var(--muted); font-size: 18px; }
.checked { margin-top: 30px; color: #94a3b8; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; padding-top: 42px; }
.services h2, .notice h2 { margin: 0 0 18px; color: #94a3b8; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.component { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 0; }
.component-marker { width: 9px; height: 9px; box-shadow: 0 0 14px currentColor; }
.component-copy strong { color: #f8fafc; }
.component-copy small { display: block; color: var(--quiet); }
.component-state { color: #cbd5e1; font-size: 14px; }
.empty-state { color: var(--muted); }
.notice { border-left: 1px solid #334155; padding-left: 34px; }
.notice h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.25; overflow-wrap: anywhere; }
.notice p { max-width: 560px; color: var(--muted); }
.times { display: flex; gap: 34px; margin: 28px 0 0; color: var(--quiet); font-size: 13px; }
.times div { min-width: 120px; }
.times dt { margin-top: 4px; }
.times dd { margin: 0; color: #e2e8f0; font-size: 14px; font-weight: 700; }
footer { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; color: #94a3b8; font-size: 13px; }
.noscript { position: relative; margin: 0 auto 32px; width: min(1160px, calc(100% - 32px)); color: #fca5a5; }

@media (max-width: 760px) {
  main { padding-top: 24px; }
  .hero { padding: 52px 0 34px; }
  h1 { font-size: clamp(38px, 12vw, 48px); }
  .layout { grid-template-columns: 1fr; gap: 34px; }
  .notice { border-top: 1px solid #334155; border-left: 0; padding: 30px 0 0; }
  .times { display: grid; grid-template-columns: 1fr 1fr; }
  .component { grid-template-columns: 12px 1fr; }
  .component-state { grid-column: 2; }
}

@media (max-width: 420px) {
  header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .times { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
