/* status.overblast.app. The tokens, the type and the lockup are overblast-site's (src/site.css), copied
   rather than linked so this page renders when overblast.app does not. Change them there first and
   copy them here; the two hosts should never look like different companies. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color-scheme: light;
  --bg: #fbfbfc; --surface: #ffffff; --surface-2: #f3f3f6; --surface-3: #ebebf0;
  --line: #e5e5eb; --line-strong: #d2d2da;
  --ink: #17171c; --ink-2: #3d3d47; --muted: #62626f;
  --accent: #6c5ce7; --accent-ink: #5443d6; --accent-soft: rgba(108,92,231,.10);
  --ok: #0e7a55; --ok-soft: rgba(14,122,85,.10);
  --danger: #c8283a; --danger-soft: rgba(200,40,58,.08);
  --warn: #8a5300; --warn-soft: #fff4d6;
  --neutral: #8b8b98; --neutral-soft: rgba(98,98,111,.10);
  --shadow-1: 0 1px 2px rgba(20,20,40,.06);
  --glow: radial-gradient(60rem 30rem at 50% -8rem, rgba(108,92,231,.13), transparent 70%);
  /* The three segments. Ours is the brand's violet, so "the part that is Overblast" is the part in
     Overblast's colour; the provider's two are the site's blue and teal (--p5 and --p3). */
  --seg-ours: #6c5ce7; --seg-ttfb: #1d4ed8; --seg-stream: #0f766e;
  --spark: #5443d6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0a0c; --surface: #131316; --surface-2: #1a1a1f; --surface-3: #22222a;
    --line: #24242c; --line-strong: #34343f;
    --ink: #ececf1; --ink-2: #c4c4cc; --muted: #9a9aa6;
    --accent-ink: #a29bfe; --accent-soft: rgba(108,92,231,.16);
    --ok: #34d399; --ok-soft: rgba(52,211,153,.12);
    --danger: #ff6b78; --danger-soft: rgba(255,107,120,.10);
    --warn: #fbbf24; --warn-soft: rgba(251,191,36,.12);
    --neutral: #7a7a86; --neutral-soft: rgba(154,154,166,.12);
    --shadow-1: 0 1px 2px rgba(0,0,0,.35);
    --glow: radial-gradient(60rem 30rem at 50% -8rem, rgba(108,92,231,.22), transparent 70%);
    --seg-ours: #8b7ff5; --seg-ttfb: #7cb4ff; --seg-stream: #34d399;
    --spark: #a29bfe;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0c; --surface: #131316; --surface-2: #1a1a1f; --surface-3: #22222a;
  --line: #24242c; --line-strong: #34343f;
  --ink: #ececf1; --ink-2: #c4c4cc; --muted: #9a9aa6;
  --accent-ink: #a29bfe; --accent-soft: rgba(108,92,231,.16);
  --ok: #34d399; --ok-soft: rgba(52,211,153,.12);
  --danger: #ff6b78; --danger-soft: rgba(255,107,120,.10);
  --warn: #fbbf24; --warn-soft: rgba(251,191,36,.12);
  --neutral: #7a7a86; --neutral-soft: rgba(154,154,166,.12);
  --shadow-1: 0 1px 2px rgba(0,0,0,.35);
  --glow: radial-gradient(60rem 30rem at 50% -8rem, rgba(108,92,231,.22), transparent 70%);
  --seg-ours: #8b7ff5; --seg-ttfb: #7cb4ff; --seg-stream: #34d399;
  --spark: #a29bfe;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); background-image: var(--glow); background-repeat: no-repeat; color: var(--ink);
  font: 400 15px/24px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.small { font-size: 13.5px; line-height: 20px; color: var(--muted); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.loading { color: var(--muted); font-size: 14px; min-height: 48px; }

/* ── The top bar and the footer ─────────────────────────────────────────────────────────────── */
.top { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); }
.top-row { height: 60px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.top-tag { height: 22px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
  color: var(--accent-ink); background: var(--accent-soft); }
.top-link { margin-left: auto; font-size: 14px; font-weight: 500; }

.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.small-brand { font-size: 15px; gap: 8px; }
.small-brand img { width: 20px; height: 20px; border-radius: 5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.foot-row > .small { margin-left: auto; }

/* ── The headline ───────────────────────────────────────────────────────────────────────────── */
.hero { padding-top: 48px; padding-bottom: 8px; }
.eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; }
.headline { display: flex; align-items: center; gap: 14px; font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -0.03em; }
.headline-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; background: var(--tone); box-shadow: 0 0 0 6px var(--tone-soft); }
.lead { margin-top: 14px; font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 720px; }
.hero .small { margin-top: 8px; }

/* The tones. Neutral is the default everywhere, so nothing is green until a verdict says so. */
[data-tone] { --tone: var(--neutral); --tone-soft: var(--neutral-soft); }
[data-tone="ok"] { --tone: var(--ok); --tone-soft: var(--ok-soft); }
[data-tone="warn"] { --tone: var(--warn); --tone-soft: var(--warn-soft); }
[data-tone="bad"] { --tone: var(--danger); --tone-soft: var(--danger-soft); }

/* ── Blocks ─────────────────────────────────────────────────────────────────────────────────── */
.block { margin-top: 44px; }
.block[hidden] { display: none; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.block-head h2 { font-size: 22px; line-height: 28px; font-weight: 650; letter-spacing: -0.02em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); }
.notice { background: var(--surface); border: 1px solid var(--line-strong); border-left: 4px solid var(--neutral); border-radius: 12px; padding: 16px 18px; }
.notice-title { font-weight: 600; margin-bottom: 4px; }
.hero .notice { margin-top: 16px; }

/* ── Components ─────────────────────────────────────────────────────────────────────────────── */
[data-components] { display: grid; gap: 20px; }
.comp-group-h { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.comps { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); overflow: hidden; }
.comp { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; }
.comp + .comp { border-top: 1px solid var(--line); }
.comp-name { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.comp-name strong { display: block; font-weight: 600; }
.comp-detail { display: block; font-size: 13px; line-height: 18px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; background: var(--tone); box-shadow: 0 0 0 4px var(--tone-soft); }
.comp-meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-left: auto; flex-shrink: 0; }
.comp-word { font-weight: 600; font-size: 14px; color: var(--tone); }
[data-tone="neutral"] .comp-word { color: var(--ink-2); }
.comp-line { font-size: 12.5px; color: var(--muted); }

/* ── Where the time goes ────────────────────────────────────────────────────────────────────── */
.wins { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.win { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.win-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.win-top h3 { font-size: 16px; font-weight: 600; }
.win-meta { font-size: 12.5px; color: var(--muted); }
.win-errors { border-top: 1px solid var(--line); padding-top: 12px; }
.wf-level { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; margin-bottom: 6px; }
.wf-level-name { font-weight: 600; color: var(--ink-2); }
.wf-total { color: var(--ink); font-size: 13px; }
.wf-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--surface-3); gap: 2px; }
/* Ours is usually a sliver of the request; the minimum width keeps it visible at all. */
.wf-slice { min-width: 6px; height: 100%; }
.wf-slice[data-segment="ours"], .swatch[data-segment="ours"] { background: var(--seg-ours); }
.wf-slice[data-segment="ttfb"], .swatch[data-segment="ttfb"] { background: var(--seg-ttfb); }
.wf-slice[data-segment="stream"], .swatch[data-segment="stream"] { background: var(--seg-stream); }
/* Nothing measured: the bars keep their shape and lose their colour, so a quiet window reads as
   quiet rather than as three segments that each took no time. */
.win-empty .wf-slice[data-segment], .win-empty .swatch[data-segment] { background: var(--line-strong); }
.win-empty .wf-value, .win-empty .wf-total { color: var(--muted); font-family: inherit; font-style: italic; }
.wf-numbers { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; }
.wf-numbers li { display: inline-flex; align-items: center; gap: 6px; }
.wf-label { color: var(--muted); }
.wf-value { color: var(--ink); font-size: 12.5px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; display: inline-block; }
.legend { margin-top: 14px; display: grid; gap: 6px; }
.legend li { display: flex; align-items: baseline; gap: 8px; }
.legend .swatch { transform: translateY(1px); }
.legend strong { color: var(--ink-2); font-weight: 600; }

/* ── The sparkline ──────────────────────────────────────────────────────────────────────────── */
.spark { padding: 18px; }
.spark-cap { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.spark-svg { display: block; width: 100%; height: 96px; }
.spark-svg rect { fill: var(--spark); }
.spark-base { stroke: var(--line-strong); stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.axis { display: flex; justify-content: space-between; margin: 6px 0 8px; }

/* ── Tables ─────────────────────────────────────────────────────────────────────────────────── */
[data-tables] { display: grid; gap: 22px; }
.table-h { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-1); overflow: hidden; font-size: 13.5px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { border-top: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.tbl tbody th { font-weight: 600; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl td.mono { font-size: 12.5px; }
.tbl td.thin { color: var(--muted); font-style: italic; }

/* ── Slowest models ─────────────────────────────────────────────────────────────────────────── */
.slow { padding: 6px 0; counter-reset: slow; }
.slow li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: baseline; gap: 4px 16px; padding: 10px 18px; counter-increment: slow; }
.slow li + li { border-top: 1px solid var(--line); }
.slow li::before { content: counter(slow); color: var(--muted); font-size: 13px; }
.slow-name { font-size: 13px; overflow-wrap: anywhere; }
.slow-value { font-size: 13px; text-align: right; }
.slow-count { text-align: right; }

/* ── The small print ────────────────────────────────────────────────────────────────────────── */
.fine-h { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.fine ul { display: grid; gap: 6px; max-width: 760px; }
.fine li { padding-left: 14px; position: relative; }
.fine li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }

/* ── Narrow screens ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .wins { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .headline { font-size: 30px; line-height: 36px; gap: 12px; }
  .headline-dot { width: 12px; height: 12px; }
  .lead { font-size: 16px; line-height: 25px; }
  .block { margin-top: 36px; }
  .top-link { display: none; }
  .comp { flex-direction: column; align-items: stretch; }
  .comp-meta { align-items: flex-start; text-align: left; margin-left: 20px; }
  .win, .spark { padding: 14px; }
  .slow li { grid-template-columns: 22px minmax(0, 1fr) auto; padding: 10px 14px; }
  .slow-count { grid-column: 2 / -1; text-align: left; }
  .foot-row > .small { margin-left: 0; }

  /* The tables become one card per row: six columns do not fit 375 px, and a table that scrolls
     sideways hides the very column a reader was looking for. Each cell names its column. */
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tbody tr { border-top: 1px solid var(--line); padding: 10px 14px; }
  .tbl tbody tr:first-child { border-top: 0; }
  .tbl tbody th { border: 0; padding: 0 0 6px; }
  .tbl td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; white-space: normal; }
  .tbl td::before { content: attr(data-label); color: var(--muted); font-family: Inter, sans-serif; font-style: normal; text-align: left; }
}
