:root {
  color-scheme: dark;
  --bg: #080b0a;
  --panel: #101513;
  --line: #26312d;
  --text: #edf4f0;
  --muted: #95a49e;
  --green: #8cffbe;
  --amber: #ffd166;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(58, 255, 151, 0.14), transparent 34rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
}

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 36px; }
.hero { border-top: 1px solid var(--green); padding-top: 26px; }
.eyebrow, .kicker { color: var(--green); font: 700 12px/1.2 ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; }
h1 { font-size: clamp(56px, 10vw, 132px); line-height: .79; letter-spacing: -.075em; margin: 28px 0; max-width: 950px; }
h1 span { color: var(--green); }
.lede { color: var(--muted); font-size: clamp(18px, 2vw, 26px); line-height: 1.45; max-width: 790px; }
.status-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 38px 0 56px; }
.status { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 13px; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 9px; box-shadow: 0 0 14px currentColor; }
.status.live::before { background: var(--green); }
.mono { color: var(--muted); font: 12px/1.4 ui-monospace, monospace; letter-spacing: .06em; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 18px; }
.metrics article { min-height: 140px; padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.metrics article:last-child { border-right: 0; }
.metrics strong { color: var(--green); font: 500 clamp(30px, 4vw, 52px)/1 ui-monospace, monospace; }
.metrics span { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel { background: color-mix(in srgb, var(--panel) 88%, transparent); border: 1px solid var(--line); padding: clamp(24px, 4vw, 46px); min-height: 300px; }
.span-2 { grid-column: span 2; }
.panel h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; margin: 14px 0 24px; }
.panel p, .panel li { color: var(--muted); line-height: 1.7; }
.panel ul { padding-left: 18px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; margin: 40px 0; }
.flow div { border-top: 1px solid var(--line); padding-top: 14px; }
.flow small { color: var(--muted); font: 10px ui-monospace, monospace; display: block; margin-bottom: 8px; }
.flow b { font-size: 14px; }
.flow i { color: var(--green); font-style: normal; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checks span { color: var(--muted); border: 1px solid var(--line); padding: 14px; font: 12px ui-monospace, monospace; }
.checks span::before { content: "○"; color: var(--amber); margin-right: 10px; }
.checks span.pass { color: var(--text); }
.checks span.pass::before { content: "●"; color: var(--green); }
.results { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); margin: 34px 0 20px; }
.results div { min-height: 105px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.results div:nth-child(2n) { border-right: 0; }
.results div:nth-last-child(-n+2) { border-bottom: 0; }
.results small { color: var(--muted); font: 10px ui-monospace, monospace; letter-spacing: .12em; }
.results b { color: var(--green); font: 500 16px/1.4 ui-monospace, monospace; overflow-wrap: anywhere; }
.references { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.references a { color: var(--green); border: 1px solid var(--line); padding: 10px 12px; font: 12px ui-monospace, monospace; text-decoration: none; }
.references a:hover { border-color: var(--green); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  main { width: min(100% - 24px, 1180px); padding-top: 36px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .flow { grid-template-columns: 1fr; }
  .flow i { transform: rotate(90deg); width: max-content; }
  .checks { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
  .results div, .results div:nth-child(2n), .results div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .results div:last-child { border-bottom: 0; }
}
