
@font-face {
  font-family: 'Open Runde';
  src: url('/a/11r5y3k/runde-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Runde';
  src: url('/a/18fzflm/runde-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Neutral stack - lifted verbatim from the marketing @theme block. */
  --ink: #1e1e1e;
  --carbon: #0f0f0f;
  --midnight: #0d111b;
  --smoke: #666666;
  --fog: #8d8d8d;
  --mist: #ccd1da;
  --paper: #ffffff;
  --snow: #f7fafc;
  --cloud: #fafafa;

  /* Brand accent - punctuation only. */
  --electric: #0098f2;
  --electric-dark: #0077c2;

  /* Status semantics. Each has a saturated FILL (dots, day cells) and a
     darker INK (text), because the fill colours do not clear 4.5:1 as type. */
  --up: #0f9d6b;        --up-ink: #077249;   --up-wash: #f2fbf7; --up-line: #bfe7d5;
  --partial: #f2a93b;   --partial-ink: #96600a; --partial-wash: #fffaf0; --partial-line: #f4dfb5;
  --down: #e5484d;      --down-ink: #c02328;  --down-wash: #fff5f5; --down-line: #f5cccd;
  --idle: #b9c0cb;      --idle-ink: #8d8d8d;  --idle-wash: #f7fafc; --idle-line: #e2e7ee;
  --nodata: #e6eaf0;

  --font: 'Open Runde', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: 'ss01' on, 'cv02' off;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #cfeafa; color: var(--carbon); }

/* Every heading and paragraph on this page has its spacing set explicitly by
   the rule that owns it, so start from zero rather than fighting UA margins. */
h1, h2, h3, h4, p, ul { margin: 0; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; border-radius: 4px; }

/* Shared rail, matching .mk-rail's gutter clamp. Narrower than marketing's
   1200px: this page is one column of dense rows, and long uptime bars read
   worse the wider they get. */
.rail { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 24px); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--midnight); color: #fff; padding: 10px 16px;
  border-radius: 0 0 12px 0; font-size: 14px; font-weight: 600; text-decoration: none; z-index: 10;
}
.skip:focus { left: 0; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.masthead { border-bottom: 1px solid var(--mist); background: var(--paper); }
.masthead .rail {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 18px;
}
.lockup { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.lockup img { display: block; width: 28px; height: 26px; object-fit: contain; }
.wordmark { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.masthead-link {
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--smoke); text-decoration: none; white-space: nowrap;
}
.masthead-link:hover { color: var(--electric); }

.head { padding-top: clamp(34px, 6vw, 52px); }
.eyebrow {
  font-size: 11px; line-height: 1.62; font-weight: 600; letter-spacing: 0.22px;
  text-transform: uppercase; color: var(--electric); margin: 0 0 12px;
}

/* ── Overall banner ─────────────────────────────────────────────────────── */
.banner {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 22px 0 0; padding: 22px 24px; border-radius: 20px;
  border: 1px solid var(--idle-line); background: var(--idle-wash);
  box-shadow: rgba(0, 0, 0, 0.05) 0 1.78px 8px 0, rgba(0, 0, 0, 0.04) 0 0.89px 2.67px 0;
}
.banner.ok       { background: var(--up-wash);      border-color: var(--up-line); }
.banner.degraded { background: var(--partial-wash); border-color: var(--partial-line); }
.banner.outage   { background: var(--down-wash);    border-color: var(--down-line); }
/* Stale reads as "we do not know", deliberately neither green nor red. */
.banner.stale    { background: var(--snow);         border-color: var(--mist); }

.banner .beacon {
  position: relative; flex: none; width: 12px; height: 12px;
  margin-top: clamp(9px, 1.6vw, 14px);
  border-radius: 50%; background: var(--idle);
}
.banner.ok .beacon       { background: var(--up); }
.banner.degraded .beacon { background: var(--partial); }
.banner.outage .beacon   { background: var(--down); }
.banner .beacon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; animation: beacon 2.4s ease-out infinite;
}
@keyframes beacon {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
.banner-text { min-width: 0; }
.banner h1 {
  font-size: clamp(1.5rem, 3.8vw, 2rem); line-height: 1.12;
  letter-spacing: -0.03em; font-weight: 600; color: var(--ink); text-wrap: balance;
}
.banner p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; font-weight: 500; color: var(--smoke); text-wrap: pretty; }
.banner.ok h1       { color: var(--up-ink); }
.banner.degraded h1 { color: var(--partial-ink); }
.banner.outage h1   { color: var(--down-ink); }

/* ── Legend ─────────────────────────────────────────────────────────────── */
.legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 18px 0 0; font-size: 12px; font-weight: 500; color: var(--fog);
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
/* Swatch colours live here, not in a style="" attribute: the page ships
   style-src 'self' with no unsafe-inline, which silently drops inline styles
   (it did exactly that to these swatches once). */
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; background: var(--nodata); }
.legend i.sw-up { background: var(--up); }
.legend i.sw-partial { background: var(--partial); }
.legend i.sw-down { background: var(--down); }
.legend i.sw-nodata { background: var(--nodata); }

/* ── Monitor groups ─────────────────────────────────────────────────────── */
.group { margin-top: clamp(32px, 5vw, 44px); }
.group > h3 {
  font-size: 11px; line-height: 1.62; font-weight: 600; letter-spacing: 0.22px;
  text-transform: uppercase; color: var(--electric); margin: 0 0 12px;
}

.monitor { background: var(--cloud); border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; }

.m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.m-id { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.m-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--idle); }
.m-dot.up { background: var(--up); }
.m-dot.down { background: var(--down); }
.m-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.m-desc { font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--smoke); margin-top: 1px; text-wrap: pretty; }

.m-state { font-size: 13px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; color: var(--idle-ink); }
.m-state.up { color: var(--up-ink); }
.m-state.down { color: var(--down-ink); }

/* 90-day bar. Cells flex to fill, so the bar is the same width on every row
   however many days actually hold data. */
.bars { display: flex; gap: 2px; height: 32px; margin: 15px 0 8px; align-items: stretch; }
.cell { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--nodata); }
.cell.up { background: var(--up); }
.cell.partial { background: var(--partial); }
.cell.down { background: var(--down); }

.scale {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500; color: var(--fog);
}
.scale .rule { flex: 1 1 auto; height: 1px; background: var(--mist); opacity: 0.7; }
.scale .mid { font-variant-numeric: tabular-nums; white-space: nowrap; }

.m-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px;
  margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--fog);
  font-variant-numeric: tabular-nums;
}
.m-foot .uptimes b { color: var(--smoke); font-weight: 600; margin-left: 10px; }
.m-foot .uptimes b:first-child { margin-left: 0; }
.m-note {
  margin-top: 10px; padding: 8px 12px; border-radius: 10px;
  background: var(--down-wash); border: 1px solid var(--down-line);
  font-size: 12.5px; line-height: 1.5; font-weight: 500; color: var(--down-ink);
}
/* Same note, used inside the banner when the probes have stopped reporting.
   Neutral rather than red: stale data is an unknown, not a confirmed outage. */
.banner .m-note {
  margin-top: 14px; background: var(--paper); border-color: var(--mist); color: var(--smoke);
}

/* ── Incidents ──────────────────────────────────────────────────────────── */
.sec-head { margin: clamp(38px, 6vw, 52px) 0 14px; }
.sec-head h2 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.sec-head p { margin: 5px 0 0; font-size: 13.5px; font-weight: 500; color: var(--smoke); }

.incidents { list-style: none; padding: 0; margin: 0; }
.incident {
  background: var(--cloud); border-radius: 16px; padding: 15px 18px; margin-bottom: 10px;
  border-left: 3px solid var(--up);
}
.incident.open { border-left-color: var(--down); }
.i-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.i-badge {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22px;
  padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.i-badge.open { background: var(--down-wash); color: var(--down-ink); border: 1px solid var(--down-line); }
.i-badge.closed { background: var(--up-wash); color: var(--up-ink); border: 1px solid var(--up-line); }
.i-mon { font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.i-when { margin-top: 5px; font-size: 13px; font-weight: 500; color: var(--smoke); }

.empty {
  background: var(--snow); border-radius: 16px; padding: 26px 22px; text-align: center;
  font-size: 13.5px; font-weight: 500; color: var(--smoke);
}

.more > summary {
  list-style: none; cursor: pointer; display: block; text-align: center; user-select: none;
  min-height: 44px; padding: 11px 20px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--mist);
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  transition: background 0.18s ease;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover { background: var(--cloud); }
.more .lbl-less { display: none; }
.more[open] .lbl-more { display: none; }
.more[open] .lbl-less { display: inline; }
.more .incidents { margin-top: 10px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { margin-top: clamp(48px, 7vw, 72px); border-top: 1px solid var(--mist); background: var(--paper); }
footer .rail { padding-block: 30px 44px; }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.f-help { font-size: 13.5px; font-weight: 500; color: var(--smoke); max-width: 46ch; text-wrap: pretty; }
.f-help a { color: var(--electric); font-weight: 600; text-decoration: none; }
.f-help a:hover { color: var(--electric-dark); }
.f-hours { margin-top: 4px; font-size: 12.5px; color: var(--fog); }
.wa {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  min-height: 44px; padding: 0 20px; border-radius: 100px;
  background: var(--midnight); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
  box-shadow: rgb(36, 38, 40) 0 0 0 1px, rgba(27, 28, 29, 0.48) 0 1px 2px 0;
  transition: opacity 0.18s ease;
}
.wa:hover { opacity: 0.88; }
.wa svg { flex: none; }
.f-meta {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--mist);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-size: 12.5px; font-weight: 500; color: var(--fog);
}
.f-meta a { color: var(--fog); text-decoration: none; }
.f-meta a:hover { color: var(--smoke); }
.f-legal { margin-top: 12px; font-size: 12px; font-weight: 500; color: var(--fog); text-wrap: pretty; }

/* ── Narrow screens ─────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .m-head { flex-direction: column; gap: 6px; }
  .m-state { padding-left: 21px; }
  /* All 90 days stay on screen at every width. Dropping the oldest 60 was
     tried and rejected: the uptime figure in the middle of the axis is a
     90-day number, so a 30-day bar under it disagreed with its own label. At
     390px each cell is still ~3px, which reads fine. */
  .bars { gap: 1.5px; height: 30px; }
  /* Left- and right-aligned halves of one flex row land on the same line for
     short rows and separate lines for long ones, which reads as accidental
     down a column of nine cards. Always two lines on narrow screens. */
  .m-foot { flex-direction: column; gap: 3px; }
  .f-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .banner .beacon::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

@media print {
  .banner { box-shadow: none; }
  .more { display: none; }
}
