/* RogerATC — rogeratc.app
 *
 * One stylesheet, no framework, no build step. The palette is deliberately shared with
 * Copilot EFB (#0B1220 ground, #E6EDF7 ink) so the two products read as one family, and
 * the accents are the two colours the session log already uses for the two halves of a
 * radio conversation: cyan for the controller, green for the pilot.
 *
 * Everything here respects prefers-reduced-motion. A site about a cockpit should not be
 * the thing that makes somebody motion-sick.
 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ground: #0b1220;
  --ground-2: #0f172a;
  --panel: #131c2e;
  --panel-2: #172236;
  --line: #22304a;
  --line-soft: #1a2439;

  --ink: #e6edf7;
  --ink-2: #a9b8ce;
  --ink-3: #6f819b;

  --atc: #38d0ff;          /* the controller */
  --pilot: #5cf08a;        /* the pilot */
  --amber: #ffc043;        /* instruments */
  --danger: #ff6b57;

  --glow-atc: rgba(56, 208, 255, 0.35);
  --glow-pilot: rgba(92, 240, 138, 0.3);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --maxw: 1160px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  color-scheme: dark;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
}
p { margin: 0; }

::selection { background: var(--atc); color: #04101c; }

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

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* scroll-margin-top, because the header is sticky: an anchor jump lands the section at
   y=0 and the 70px bar then covers its own heading. */
section { position: relative; padding: clamp(72px, 10vw, 132px) 0; scroll-margin-top: 86px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--atc);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--atc);
  box-shadow: 0 0 0 4px var(--glow-atc);
}

h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: clamp(19px, 2vw, 22px); }

.lede {
  margin-top: 18px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-2);
  line-height: 1.7;
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--atc), #7be0ff);
  color: #04121e;
  box-shadow: 0 12px 32px -12px var(--glow-atc);
}
.btn-primary:hover { box-shadow: 0 18px 42px -12px var(--glow-atc); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--atc); background: rgba(56, 208, 255, 0.07); }

.btn-sm { padding: 9px 17px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-size: 18px; }
.brand b { color: var(--atc); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
/* Nine items, and Spanish labels are longer than English ones. Tighter horizontal
   padding rather than shorter labels: the section names are what a reader scans for,
   and a nav that wraps to two lines pushes the hero down on every page load.
   Measured 2026-09-09 at 1600, 1440 and 1280 in both languages. */
.nav a {
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 14.5px;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.045); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* The header runs out of room before the nav does. Below the breakpoint the sign-in
   link moves into the menu rather than being squeezed or pushed off the edge. */
.nav-only-mobile { display: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
/* The switch is a LINK and a label, not two buttons: a crawler follows links and does
   not click, and the page it does not reach is a page that does not exist. */
.lang a,
.lang .lang-current {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang .lang-current { background: var(--atc); color: #04121e; }
.lang a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.menu-btn { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--atc), var(--pilot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* the radar / scope */
.scope {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.scope canvas { width: 100%; height: 100%; border-radius: 50%; }
.scope::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-atc) 0%, transparent 62%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 76px);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--ground); padding: 22px 20px; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* ── Radio transcript ───────────────────────────────────────────────────── */
.radio {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--ground-2));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.radio-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.radio-bar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pilot);
  box-shadow: 0 0 0 4px var(--glow-pilot);
  animation: pulse 2.4s ease-in-out infinite;
}
.radio-bar .freq { margin-left: auto; color: var(--atc); }

.radio-body { padding: 22px 18px; min-height: 320px; display: flex; flex-direction: column; gap: 14px; }

/* VISIBLE BY DEFAULT. The transmissions are served in the HTML, so with no JavaScript —
   and to a crawler — the whole exchange is simply there. The staging below is added by
   script and only ever hides what has not been said yet. */
.tx {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.radio-body.staged .tx { opacity: 0; transform: translateY(8px); }
.radio-body.staged .tx.said-now {
  animation: txin 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tx .who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-top: 4px;
}
.tx.pilot .who { color: var(--pilot); }
.tx.atc .who { color: var(--atc); }
.tx .said {
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  border-left: 2px solid var(--line);
  padding-left: 14px;
}
.tx.pilot .said { border-left-color: var(--pilot); }
.tx.atc .said { border-left-color: var(--atc); }
.tx .said i { font-style: normal; color: var(--ink-3); }

.wave { height: 44px; width: 100%; margin-top: auto; opacity: 0.85; }

@keyframes txin { to { opacity: 1; transform: none; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--glow-pilot); }
  50% { box-shadow: 0 0 0 8px rgba(92, 240, 138, 0.08); }
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(56, 208, 255, 0.1);
  color: var(--atc);
  margin-bottom: 18px;
}
.card .ico svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

.card.accent-green .ico { background: rgba(92, 240, 138, 0.1); color: var(--pilot); }
.card.accent-amber .ico { background: rgba(255, 192, 67, 0.1); color: var(--amber); }

/* ── Split panels ───────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.check { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; color: var(--ink-2); font-size: 15.5px; }
.check li::before {
  content: "";
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(92, 240, 138, 0.13);
  border: 1px solid rgba(92, 240, 138, 0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cf08a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* the pipeline diagram */
.flow { display: grid; gap: 10px; }
.flow-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
  font-size: 14.5px;
}
.flow-step b { display: block; font-size: 14.5px; }
.flow-step small { color: var(--ink-3); font-size: 13px; }
.flow-step .n {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(56, 208, 255, 0.12);
  color: var(--atc);
}
.flow-step.is-key { border-color: rgba(92, 240, 138, 0.35); background: rgba(92, 240, 138, 0.05); }
.flow-step.is-key .n { background: rgba(92, 240, 138, 0.14); color: var(--pilot); }

/* ── Language comparison ────────────────────────────────────────────────── */
.langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.langcard { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.langcard header {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.02);
}
.langcard .said { padding: 20px 18px; font-family: var(--mono); font-size: 14.5px; line-height: 1.65; color: var(--atc); }
.langcard footer { padding: 0 18px 20px; font-size: 14px; color: var(--ink-3); }

/* ── Downloads ──────────────────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; text-align: center; }
.dl-card .os { width: 42px; height: 42px; margin: 0 auto 16px; color: var(--ink-2); }
.dl-card h3 { margin-bottom: 6px; }
.dl-card .req { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 20px; }
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.pill.soon { background: rgba(255, 192, 67, 0.12); color: var(--amber); border: 1px solid rgba(255, 192, 67, 0.3); }
.pill.later { background: rgba(255, 255, 255, 0.04); color: var(--ink-3); border: 1px solid var(--line); }

/* ── EFB ────────────────────────────────────────────────────────────────── */
.efb { background: linear-gradient(180deg, transparent, rgba(56, 208, 255, 0.035), transparent); }
.device {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 13px;
  background: #05090f;
  box-shadow: var(--shadow);
  max-width: 330px;
  margin-inline: auto;
}
.device-screen {
  border-radius: 16px;
  background: linear-gradient(170deg, #0f1a2b, #0a1220);
  padding: 18px 16px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.efb-row {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.022);
}
.efb-row .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.efb-row .v { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.efb-row .v em { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.efb-row.ok { border-color: rgba(92, 240, 138, 0.28); }
.efb-row.ok .v { color: var(--pilot); }
.efb-row.warn { border-color: rgba(255, 192, 67, 0.3); }
.efb-row.warn .v { color: var(--amber); }
.efb-metar { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); word-break: break-word; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
details.qa {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}
details.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.15s ease;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { background: rgba(255, 255, 255, 0.025); }
details.qa summary::after {
  content: "";
  margin-left: auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
  flex: none;
}
details.qa[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details.qa .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.band {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(56, 208, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--ground-2));
  box-shadow: var(--shadow);
}
.band h2 { max-width: 640px; margin-inline: auto; }
.band .lede { max-width: 560px; margin-inline: auto; }
.band .hero-cta { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--ink-2); font-size: 15px; }
.foot-grid a:hover { color: var(--atc); }
.disclaimer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
  display: grid;
  gap: 10px;
}

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.d1.in { transition-delay: 0.07s; }
.reveal.d2.in { transition-delay: 0.14s; }
.reveal.d3.in { transition-delay: 0.21s; }

/* ── Ambient grid ───────────────────────────────────────────────────────── */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 208, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 208, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* The headline comes first on a phone. Putting the radar above it looked striking in
     a mockup and meant a visitor had to scroll past a decoration to find out what the
     product is. */
  .scope { max-width: 340px; margin-top: 8px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 70px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 26px;
    background: rgba(11, 18, 32, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    margin-left: 0;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 12px; font-size: 16px; }
  .nav-only-mobile { display: block; color: var(--atc); }
  .header-actions { margin-left: auto; }
  .menu-btn {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
  }
  .menu-btn svg { width: 19px; height: 19px; }
  .header-actions > .btn { display: none; }
  .grid-3, .grid-2, .split, .langs, .dl { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .scope { max-width: 260px; }
  .wrap { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tx { grid-template-columns: 1fr; gap: 6px; }
  .hero-cta .btn { width: 100%; }
  .radio-body { min-height: 380px; }
}

/* ── Motion ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .scope, .mesh, .wave { display: none; }
  body { background: #fff; color: #000; }
}

/* ── Worked exchanges and integration lists ───────────────────────────────────
   Added 2026-09-09. The "on frequency" section carries two worked exchanges now
   rather than one, each captioned with what it shows — the section is READ, so a
   caption does the work a title bar cannot. */
.caption {
  margin: 10px 2px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* The declared data providers, as a list of names rather than prose. A provider
   is a fact about the product, and a reader scans facts. */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
  white-space: nowrap;
}

/* A button-shaped label that is not a link, because there is nothing to link to
   yet. Reads as unavailable rather than as broken. */
.btn.is-static {
  cursor: default;
  opacity: 0.72;
}

/* ── The data-source explanation ─────────────────────────────────────────────
   Each declared source says what it is and what it provides, in the page's own
   language. Asked for on 2026-09-09: a list of names is not an explanation. */
.tags .svc {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.tags .svc:hover,
.tags .svc:focus-visible {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}
.tags.services li { padding: 0; border: 0; }

.svc-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

.svc-dialog {
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--ground-2));
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.svc-dialog::backdrop { background: rgba(4, 8, 12, 0.72); }
.svc-dialog h3 { margin: 0 0 18px; font-size: 20px; }
.svc-dialog p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.svc-dialog .svc-label {
  margin-bottom: 5px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.svc-dialog form { margin-top: 22px; }
