/* ==========================================================================
   inFlight ATC — marketing site
   Premium dark aesthetic: deep navy, cyan radio-glow, huge quiet type.
   ========================================================================== */

:root {
  --bg: #04070f;
  --bg-2: #070c18;
  --bg-3: #0b1322;
  --panel: #0d1526;
  --line: rgba(143, 161, 189, 0.14);
  --ink: #eef4fd;
  --ink-soft: #c3d0e4;
  --mut: #8fa1bd;
  --cyan: #38c8f0;
  --cyan-deep: #1f9fd6;
  --violet: #7c6cff;
  --amber: #ffc46b;
  --glow: rgba(56, 200, 240, 0.35);
  --radius: 18px;
  --nav-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }

::selection { background: rgba(56, 200, 240, 0.35); }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.wrap-narrow { width: min(860px, 92vw); margin: 0 auto; }

/* ---------- typography ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin: 0.9rem 0 1.1rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.grad {
  background: linear-gradient(92deg, #7fdcff 0%, var(--cyan) 38%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dim { color: var(--mut); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 7, 15, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand img.brand-icon { width: 34px; height: 34px; border-radius: 50%; }
.brand img.brand-word { height: 32px; width: auto; }
.brand .atc { color: var(--cyan); }
.nav-links {
  display: flex; gap: 1.6rem; margin-left: auto;
  font-size: 0.92rem; font-weight: 600;
}
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, #4fd6ff, var(--cyan-deep));
  color: #032031;
  box-shadow: 0 6px 30px -6px var(--glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 42px -6px var(--glow); }
.btn-ghost {
  background: rgba(238, 244, 253, 0.07);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(238, 244, 253, 0.12); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-xl { padding: 1.05rem 2.3rem; font-size: 1.12rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 38%;
  transform: scale(1.06);
  animation: hero-drift 26s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.6%); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,7,15,0.62) 0%, rgba(4,7,15,0.18) 34%, rgba(4,7,15,0.55) 66%, var(--bg) 97%),
    radial-gradient(90% 60% at 30% 88%, rgba(4,7,15,0.75), transparent 60%);
}
.hero-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  padding: 22vh 0 9rem;
}
.hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 6.4rem);
  max-width: 13ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.hero .lede {
  margin-top: 1.4rem;
  max-width: 52ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.hero-cta {
  margin-top: 2.4rem;
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
}
.hero-note { font-size: 0.88rem; color: var(--ink-soft); text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.hero-note strong { color: #fff; }

/* live transmission chip in hero */
.hero-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  padding: 0.55rem 1.05rem 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.62);
  border: 1px solid rgba(56, 200, 240, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.hero-radio .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #37e08b;
  box-shadow: 0 0 0 0 rgba(55, 224, 139, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(55, 224, 139, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(55, 224, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 224, 139, 0); }
}
.hero-radio b { color: var(--cyan); font-weight: 600; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  color: var(--mut);
  font-size: 1.4rem;
  animation: bob 2.2s ease-in-out infinite;
  opacity: 0.75;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- generic sections ---------- */

section { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.on { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ---------- frequency band (transcript ticker) ---------- */

.freq-band {
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(56, 200, 240, 0.08), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.freq-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem;
}
.radio-shell {
  background: linear-gradient(180deg, #0c1424, #080e1b);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.radio-topbar {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--mut);
}
.radio-topbar .freq { color: var(--cyan); font-weight: 700; }
.sound-btn {
  margin-left: auto;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(238, 244, 253, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.sound-btn:hover { color: #fff; background: rgba(238, 244, 253, 0.12); }
.sound-btn.on {
  color: #032031;
  background: linear-gradient(120deg, #4fd6ff, var(--cyan-deep));
  border-color: transparent;
}
.radio-topbar .busy {
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  background: rgba(255, 90, 90, 0.14);
  color: #ff7d7d;
  opacity: 0;
  transition: opacity 0.3s;
}
.radio-topbar .busy.on { opacity: 1; }
.radio-log {
  padding: 1.4rem 1.3rem 1.6rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: flex-end;
}
.xmit {
  max-width: 88%;
  padding: 0.68rem 1rem;
  border-radius: 12px;
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  animation: xmit-in 0.5s forwards;
}
@keyframes xmit-in { to { opacity: 1; transform: none; } }
.xmit .who {
  display: block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  margin-bottom: 0.2rem;
}
.xmit.atc {
  align-self: flex-start;
  background: #101a2e;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.xmit.atc .who { color: var(--mut); }
.xmit.you {
  align-self: flex-end;
  background: rgba(56, 200, 240, 0.1);
  border: 1px solid rgba(56, 200, 240, 0.45);
  color: #d9f4ff;
  box-shadow: 0 0 30px -8px var(--glow);
}
.xmit.you .who { color: var(--cyan); }
.xmit.traffic { opacity: 0; }
.xmit.traffic.shown { animation: xmit-in 0.5s forwards; }

/* ---------- callsign interactive ---------- */

.callsign-sec {
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
  background:
    radial-gradient(60% 90% at 78% 30%, rgba(124, 108, 255, 0.09), transparent 60%),
    var(--bg);
}
.callsign-sec + #experience {
  padding-top: 0;
}
.callsign-sec + #experience .story {
  padding-top: 2rem;
}
.callsign-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.cs-card {
  background: linear-gradient(180deg, #0d1628, #091020);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.9rem 1.6rem;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
}
.cs-card .tag {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--mut);
  display: flex; justify-content: space-between; gap: 1rem;
}
.cs-line {
  margin-top: 1.15rem;
  font-family: var(--mono);
  font-size: 0.98rem;
  line-height: 1.5;
  color: #dff5ff;
  min-height: 5.2em;
}
.cs-line .cs { color: var(--cyan); font-weight: 700; }
.cs-line .caret {
  display: inline-block;
  width: 0.55em; height: 1.15em;
  background: var(--cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.cs-actions { display: flex; gap: 0.7rem; margin-top: 1.2rem; flex-wrap: wrap; }
.cs-note { margin-top: 1rem; font-size: 0.82rem; color: var(--mut); }

/* ---------- story blocks (Apple-style alternating) ---------- */

.story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.4rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.story.flip .story-media { order: 2; }
.story-media {
  position: relative;
  border-radius: var(--radius);
}
.story-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9);
}
.story-media::after {
  content: "";
  position: absolute; inset: -14%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow-color, rgba(56,200,240,0.13)), transparent 70%);
  pointer-events: none;
}
.story h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin: 0.8rem 0 1rem;
}
.story p { color: var(--ink-soft); max-width: 50ch; }
.story p + p { margin-top: 0.9rem; }
.story .fine { margin-top: 1.2rem; font-size: 0.88rem; color: var(--mut); }

.check-list { list-style: none; margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.check-list li {
  display: flex; gap: 0.7rem; align-items: baseline;
  color: var(--ink-soft); font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--glow);
  transform: translateY(-2px);
}

/* ---------- modes ---------- */

.modes-sec { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.mode-card {
  background: linear-gradient(180deg, #0d1526, #0a1120);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 200, 240, 0.4);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 50px -20px var(--glow);
}
.mode-letter {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-weight: 800; font-size: 1.3rem;
  background: rgba(56, 200, 240, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(56, 200, 240, 0.3);
}
.mode-card h4 { font-size: 1.25rem; letter-spacing: -0.02em; }
.mode-card p { font-size: 0.95rem; color: var(--ink-soft); }
.mode-card img {
  margin-top: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.mode-flow {
  margin-top: 2.6rem;
  text-align: center;
  color: var(--mut);
  font-size: 0.95rem;
}
.mode-flow b { color: var(--cyan); }

/* ---------- personas ---------- */

.personas-sec {
  background:
    radial-gradient(55% 70% at 22% 20%, rgba(124, 108, 255, 0.07), transparent 60%),
    var(--bg);
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.persona {
  background: linear-gradient(180deg, #0d1526, #0a1120);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.persona:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 200, 240, 0.35);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.85);
}
.persona-art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.persona-art svg { width: 100%; height: 100%; display: block; }
.persona-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.persona-body .role {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.persona-body h4 { font-size: 1.3rem; letter-spacing: -0.02em; }
.persona-body p { font-size: 0.94rem; color: var(--ink-soft); }
.persona-body .arc {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--mut);
  font-style: italic;
}
.persona-disclaimer {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--mut);
}

/* ---------- copy-it-down feature strip ---------- */

.craft-sec { background: var(--bg-2); border-top: 1px solid var(--line); }
.craft-board {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.notepad {
  background: #0e1626;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.8rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink-soft);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  position: relative;
}
.notepad::before {
  content: "STRIP · IFR CLEARANCE";
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--mut);
  margin-bottom: 1.1rem;
}
.notepad .row { display: flex; gap: 0.9rem; padding: 0.5rem 0; border-bottom: 1px dashed rgba(143,161,189,0.18); }
.notepad .row:last-child { border-bottom: 0; }
.notepad .k { flex: 0 0 3.2rem; color: var(--cyan); font-weight: 700; }

/* ---------- pricing ---------- */

.pricing-sec {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(56, 200, 240, 0.09), transparent 55%),
    var(--bg);
}
.compare {
  margin: 3rem 0 3.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: #0d1526;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}
.compare td { color: var(--ink-soft); }
.compare tr.hl td {
  background: rgba(56, 200, 240, 0.07);
  color: #fff;
  font-weight: 600;
}
.compare .yes { color: #37e08b; }
.compare .no { color: #ff7d7d; }

.price-card {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #0f1930, #0a1120);
  border: 1px solid rgba(56, 200, 240, 0.4);
  border-radius: 26px;
  padding: 2.6rem 2.4rem 2.4rem;
  text-align: center;
  box-shadow: 0 60px 130px -50px rgba(0, 0, 0, 0.95), 0 0 90px -30px var(--glow);
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(120deg, #4fd6ff, var(--cyan-deep));
  color: #032031;
  white-space: nowrap;
}
.price-line {
  display: flex; align-items: baseline; justify-content: center; gap: 0.9rem;
  margin: 1.1rem 0 0.4rem;
}
.price-was {
  font-size: 1.3rem; color: var(--mut);
  text-decoration: line-through;
}
.price-now { font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; }
.price-now sup { font-size: 0.45em; font-weight: 700; vertical-align: super; }
.price-sub { color: var(--ink-soft); font-size: 1.02rem; }
.price-perks {
  list-style: none;
  margin: 1.8rem auto 2rem;
  display: grid; gap: 0.6rem;
  max-width: 34ch;
  text-align: left;
}
.price-perks li { display: flex; gap: 0.7rem; font-size: 0.97rem; color: var(--ink-soft); }
.price-perks li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.price-fine { margin-top: 1.1rem; font-size: 0.8rem; color: var(--mut); }

/* ---------- FAQ ---------- */

.faq-sec { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-list { margin-top: 2.4rem; display: grid; gap: 0.9rem; }
details.faq {
  background: #0d1526;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
details.faq[open] { border-color: rgba(56, 200, 240, 0.35); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform 0.25s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- final CTA ---------- */

.final-cta {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
}
.final-cta .bg {
  position: absolute; inset: 0; z-index: -2;
}
.final-cta .bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
}
.final-cta .shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(4,7,15,0.55) 30%, rgba(4,7,15,0.72) 100%);
}
.final-cta h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.final-cta .lede { margin: 1.2rem auto 2.4rem; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 3.4rem 0 2.6rem;
  font-size: 0.9rem;
  color: var(--mut);
}
.foot-grid {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.foot-grid a { color: var(--ink-soft); }
.foot-grid a:hover { color: #fff; }
.foot-col { display: grid; gap: 0.55rem; align-content: start; }
.foot-col .h { font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.legal { font-size: 0.78rem; color: var(--mut); border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .callsign-grid, .craft-board, .story { grid-template-columns: 1fr; }
  .story.flip .story-media { order: 0; }
  .modes-grid, .persona-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 6.5rem; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 640px; }
}

@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .wrap,
  .wrap-narrow,
  .nav-inner,
  .hero-inner {
    width: calc(100% - 2rem);
    max-width: none;
    margin-inline: auto;
  }
  .nav-inner {
    gap: 0.75rem;
  }
  .hero {
    justify-content: flex-start;
  }
  .hero-inner {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 4.5rem;
  }
  h1,
  h2,
  h3 {
    text-align: center;
  }
  .kicker {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
  .hero h1,
  .hero .lede {
    margin-inline: auto;
  }
  .hero .lede,
  .hero-note {
    text-align: center;
  }
  .hero-cta,
  .cs-actions {
    justify-content: center;
  }
  .hero-note {
    width: 100%;
  }
  .callsign-grid > *,
  .craft-board > *,
  .story > *,
  .modes-grid > *,
  .persona-grid > * {
    width: 100%;
    min-width: 0;
  }
  .radio-shell,
  .cs-card,
  .story-media,
  .notepad,
  .price-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-radio {
    display: flex;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
  }
  #hero-radio-line {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .radio-topbar {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem 0.75rem;
    padding: 0.8rem 0.9rem;
  }
  .radio-topbar > span:nth-child(3) {
    min-width: 0;
    font-size: 0.72rem;
    text-align: right;
  }
  .radio-topbar .sound-btn {
    grid-column: 1 / 3;
    margin-left: 0;
    justify-self: start;
  }
  .radio-topbar .busy {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    white-space: nowrap;
  }
  .radio-log {
    padding-inline: 0.9rem;
  }
  .xmit {
    max-width: 94%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
