:root {
  color-scheme: light dark;
  --page: #f7f7f9;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #595961;
  --border: #dedee4;
  --accent: #a10069;
  --success: #177650;
  --success-bg: #ffffff;
  --warning: #855500;
  --warning-bg: #fff4dc;
  --danger: #a82f30;
  --danger-bg: #fff0ee;
  --unknown: #62626d;
  --unknown-bg: #eeeef2;
  --focus: #135ec7;
  --signal-pixel: #8a4281;
  --signal-rim: #168c82;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #09090b;
    --surface: #16161b;
    --text: #f4f4f5;
    --muted: #b0b0ba;
    --border: #34343e;
    --accent: #f56abd;
    --success: #8ae2b2;
    --success-bg: #16161b;
    --warning: #f4cd7d;
    --warning-bg: #403319;
    --danger: #ffaaa5;
    --danger-bg: #492423;
    --unknown: #bcbcc7;
    --unknown-bg: #292930;
    --focus: #a8caff;
    --signal-pixel: #bf72cb;
    --signal-rim: #36c8b4;
  }
}
* { box-sizing: border-box; }
html { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; color: var(--text); background: var(--page); line-height: 1.5; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .65rem 1rem; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.header-inner, .container { width: min(100% - 3rem, 58rem); margin-inline: auto; }
.header-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--text); text-decoration: none; font-size: 1.4rem; letter-spacing: -.06em; font-weight: 800; }
.brand span { color: var(--accent); }
.header-label, .section-note { color: var(--muted); font-size: .875rem; }
.intro { position: relative; isolation: isolate; padding: 5rem 0 2.3rem; }
.signal-field { position: absolute; z-index: -1; pointer-events: none; inset: 0 50% auto; width: 100vw; height: 25rem; transform: translateX(-50%); opacity: .7; mask-image: linear-gradient(to bottom, transparent, black 18%, black 65%, transparent); }
.eyebrow { margin: 0 0 .6rem; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .6rem; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -.045em; }
.intro > p:last-child { margin-bottom: 0; color: var(--muted); }
h2 { margin-bottom: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.summary { position: relative; display: flex; gap: 1rem; align-items: center; padding: 1.4rem 1.5rem; border: 1px solid var(--border); border-radius: .9rem; background: var(--state-bg); color: var(--state); }
.summary h2 { font-size: 1.15rem; }
.summary p { margin: .2rem 0 0; font-size: .9rem; }
.summary-icon { display: grid; place-items: center; flex: 0 0 2.2rem; height: 2.2rem; border: 1.5px solid currentColor; border-radius: 50%; font-size: 1.2rem; font-weight: 700; }
.operational { --state: var(--success); --state-bg: var(--success-bg); }
.degraded { --state: var(--warning); --state-bg: var(--warning-bg); }
.outage { --state: var(--danger); --state-bg: var(--danger-bg); }
.unknown { --state: var(--unknown); --state-bg: var(--unknown-bg); }
.services-section, .incidents-section { margin-top: 4rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.services, .incidents { overflow: hidden; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); }
.service, .incident { padding: 1.5rem; }
.service + .service, .incident + .incident { border-top: 1px solid var(--border); }
.service-top, .service-meta, .incident-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.service h3, .incident h3 { margin: 0; font-size: 1rem; }
.service h3 a { color: var(--text); text-decoration-thickness: 1px; }
.status { flex-shrink: 0; color: var(--state); font-size: .86rem; font-weight: 700; }
.status::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: currentColor; vertical-align: .08em; }
.service-meta { margin-top: .4rem; color: var(--muted); font-size: .8rem; }
.history { display: flex; gap: 3px; height: 2rem; margin-top: 1.1rem; }
.history-bar { flex: 1 1 0; min-width: 1px; border-radius: 2px; background: var(--state); }
.history-ends { display: flex; justify-content: space-between; gap: 1rem; margin-top: .45rem; color: var(--muted); font-size: .75rem; }
.history-note { margin: .9rem 0 0; color: var(--muted); font-size: .8rem; }
.history-details { margin-top: .65rem; color: var(--muted); font-size: .8rem; }
.history-details summary { width: fit-content; cursor: pointer; color: var(--accent); }
.history-details summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.history-list { max-height: 14rem; overflow-y: auto; padding-left: 1.5rem; }
.history-empty { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; }
.incident p { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.empty { margin: 0; padding: 1.5rem; color: var(--muted); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 5rem; padding-block: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
.noscript { padding-bottom: 2rem; color: var(--danger); }
@media (max-width: 540px) {
  .header-inner, .container { width: min(100% - 2rem, 58rem); }
  .intro { padding-top: 3rem; }
  .services-section, .incidents-section { margin-top: 3rem; }
  .service, .incident { padding: 1.2rem; }
  .service-top, .service-meta, .incident-top { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .history { gap: 2px; }
}
