/* ==========================================================================
   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-bar-h is the nav's own height; --sale-h is the launch-sale bar
     pinned above it. --nav-h is the TOTAL fixed header height every page
     already offsets its content by, so the sale bar costs no per-page math.
     When the sale ends, set --sale-h to 0px (see "launch sale bar" below). */
  --nav-bar-h: 64px;
  --sale-h: 44px;
  --nav-h: calc(var(--nav-bar-h) + var(--sale-h));
  --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; }

/* Author display rules (e.g. .btn { display: inline-flex }) otherwise
   override the HTML hidden attribute and leave Buy visible during free promo. */
[hidden] { display: none !important; }

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;
  top: var(--sale-h);
  left: 0;
  right: 0;
  height: var(--nav-bar-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; }

/* ---------- language switch (inflightatc.com <-> inflightatc.de) ----------
   Sits outside .nav-links so it stays visible when the mobile menu collapses.
   The current language is a plain span; the other is a link whose href nav.js
   points at the same page on the other domain. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 1.4rem;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.lang-switch > * {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}
.lang-switch a { color: var(--mut); transition: color 0.2s, background 0.2s; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-switch a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.lang-switch [aria-current] { color: var(--bg); background: var(--cyan); }
/* The logo never gives up width to the links; on narrow desktops the row
   tightens instead (the German labels run longer than the English ones). */
.nav .brand,
.nav .nav-toggle { flex-shrink: 0; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-inner { gap: 1.2rem; }
  .nav-links { gap: 1rem; font-size: 0.86rem; }
  .lang-switch,
  .nav-cta { margin-left: 0.8rem; }
}

/* ---------- mobile nav toggle ----------
   The link row collapses under 960px; this is the way back to it. Hidden on
   desktop, so the button costs nothing there. Behaviour lives in nav.js, which
   every page loads. */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: 0.9rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.nav-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Three bars from one element: the middle is the box, the outer two are its
   pseudo-elements, so the close cross is a transform rather than a swap. */
.nav-toggle-bars { position: relative; display: block; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }
}

.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.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.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; }

/* ---------- site intro ---------- */

/* Sits above the hero, so it carries the nav height itself - .nav is fixed and transparent until scrolled. */
.site-intro {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 2.6rem) 0 2.8rem;
}
.site-intro h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}
/* Smaller than the global h2 - this is a subtitle, not a section opener. */
.site-intro h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-soft);
}
.site-intro p {
  margin-top: 1.1rem;
  max-width: 74ch;
  color: var(--mut);
}

/* ---------- 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; }
/* Install disclosure: required above the fold by Google's unwanted-software
   policy, so it must stay legible without competing with the CTA. */
.hero-note-install { margin-top: 0.55rem; font-size: 0.8rem; color: var(--mut); }
.hero-note-install a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.hero-note-install a:hover { color: var(--cyan); }

/* 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; }

/* ---------- hero review strip ----------
   Thin one-line carousel sitting between the lede and the CTA. Slides are
   built from HERO_REVIEWS in site.js and stacked in a single grid cell so
   rotating one in never shifts the CTA below. The container stays hidden
   while that list is empty. */
.hero-reviews {
  margin-top: 1.9rem;
  max-width: 58ch;
  display: grid;
  min-height: 2.4rem;
  align-items: center;
}
.hero-reviews[hidden] { display: none; }
.hero-review {
  grid-area: 1 / 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.hero-review.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero-review-stars {
  flex-shrink: 0;
  color: #ffc454;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.hero-review blockquote { margin: 0; font-style: italic; color: var(--ink); }
.hero-review figcaption { color: var(--mut); font-size: 0.82rem; white-space: nowrap; }
@media (max-width: 700px) {
  .hero-reviews { min-height: 3.9rem; }
  .hero-review { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-review { transition: none; transform: none; }
}

.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);
}
.craft-sec + #experience {
  padding-top: 0;
}
.craft-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; align-items: center; }
.cs-note { margin-top: 1rem; font-size: 0.82rem; color: var(--mut); }

/* ---------- voice / push-to-talk ---------- */

.voice-sec {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(62% 85% at 24% 22%, rgba(56, 200, 240, 0.10), transparent 62%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.voice-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
}
.voice-h3 {
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.2rem;
}
.voice-sec .fine { margin-top: 1.4rem; font-size: 0.88rem; color: var(--mut); max-width: 54ch; }

.ptt-card {
  background: linear-gradient(180deg, #0d1628, #091020);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
}
.ptt-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;
}
.ptt-card .ptt-key { color: var(--cyan); font-weight: 700; }

.ptt-stage {
  margin-top: 1.15rem;
  padding: 1rem 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #070d1a;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ptt-stage[data-state="live"] {
  border-color: rgba(56, 200, 240, 0.5);
  box-shadow: 0 0 36px -12px var(--glow), inset 0 0 24px -18px var(--glow);
}
.ptt-wave {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 4px; height: 40px;
}
.ptt-wave span {
  width: 5px; height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #4fd6ff, var(--cyan-deep));
  opacity: 0.28;
  transition: height 0.2s ease, opacity 0.2s ease;
}
.ptt-stage[data-state="live"] .ptt-wave span {
  opacity: 1;
  animation: ptt-bar 0.62s ease-in-out infinite alternate;
}
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(1) { animation-delay: 0.00s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(2) { animation-delay: 0.09s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(3) { animation-delay: 0.21s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(4) { animation-delay: 0.05s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(5) { animation-delay: 0.28s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(6) { animation-delay: 0.13s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(7) { animation-delay: 0.24s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(8) { animation-delay: 0.03s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(9) { animation-delay: 0.17s; }
.ptt-stage[data-state="live"] .ptt-wave span:nth-child(10) { animation-delay: 0.26s; }
@keyframes ptt-bar { from { height: 5px; } to { height: 36px; } }
.ptt-stage[data-state="thinking"] .ptt-wave span { opacity: 0.55; height: 5px; }
.ptt-status {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
}
.ptt-stage[data-state="live"] .ptt-status { color: var(--cyan); }

.ptt-lines { margin-top: 1.15rem; display: grid; gap: 0.6rem; align-content: start; }
.ptt-lines > p {
  /* Ghosted until the demo runs, so the card never shows an empty hole. */
  opacity: 0.16;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
  font-size: 0.93rem;
  line-height: 1.45;
}
.ptt-lines > p.on { opacity: 1; transform: none; }
.ptt-lines .lbl {
  display: block;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--mut);
  margin-bottom: 0.18rem;
}
.ptt-heard { font-family: var(--mono); color: #dff5ff; }
.ptt-match { color: var(--ink-soft); font-size: 0.88rem; }
.ptt-match .ok { color: #6ee7a8; font-weight: 700; margin-right: 0.45rem; letter-spacing: 0.08em; font-size: 0.78rem; }
.ptt-reply {
  background: #101a2e;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  color: var(--ink-soft);
}
.ptt-reply .lbl { color: var(--cyan); }
.ptt-hint {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mut);
}
#ptt-btn { user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#ptt-btn.held { transform: translateY(1px) scale(0.985); box-shadow: 0 0 30px -6px var(--glow); }

@media (prefers-reduced-motion: reduce) {
  .ptt-stage[data-state="live"] .ptt-wave span { animation: none; height: 26px; }
}

/* ---------- 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; }
/* Hanging bullet rather than a flex row, so a bold label and the text that
   follows it stay in one paragraph flow instead of splitting into columns. */
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft); font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- 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-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.free-promo-status {
  margin: 0;
  max-width: 36ch;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ff8a8a;
}
.free-promo-status.is-few {
  color: #ff6b6b;
}
/* Download is the secondary path on a paid product: it is for people who have
   already bought. During the free promo, site.js promotes it back to a button
   and hides the "Already purchased?" lead-in. */
.price-download-line {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mut);
}
.price-download-lead { margin-right: 0.35rem; }
.price-download-link {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.price-download-link:hover { color: var(--cyan); }

.price-install-note,
.price-legal {
  margin: 0;
  max-width: 46ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--mut);
}
.price-install-note code {
  font-size: 0.95em;
  padding: 0.05em 0.3em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}
.price-install-note a,
.price-legal a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.price-install-note a:hover,
.price-legal a:hover { color: var(--cyan); }

.price-fine { margin-top: 1.1rem; font-size: 0.8rem; color: var(--mut); }

/* ---------- SmartScreen / install expectations ---------- */
.install-note-card {
  max-width: 62ch;
  margin: 2.2rem auto 0;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.install-note-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.install-note-card p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.95rem; }
.install-note-card p:last-child { margin-bottom: 0; }
.install-note-steps {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.install-note-quote {
  display: block;
  margin: 0.6rem 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- buy confirm modal ---------- */
.buy-confirm {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.buy-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(6px);
}
.buy-confirm-dialog {
  position: relative;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #101a2e 0%, #0b1322 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  padding: 1.55rem 1.55rem 1.4rem;
}
.buy-confirm-dialog h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.buy-confirm-dialog > p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.buy-confirm-dialog a { color: var(--cyan); }
.buy-confirm-list {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem 0.85rem 1.35rem;
  border-radius: 12px;
  background: rgba(255, 138, 138, 0.08);
  border: 1px solid rgba(255, 138, 138, 0.28);
  color: #ffd0d0;
  font-size: 0.92rem;
}
.buy-confirm-list li { margin: 0.25rem 0; }
.buy-confirm-note {
  margin: 0 0 1.25rem !important;
  font-size: 0.86rem !important;
  color: var(--mut) !important;
}
.buy-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}
.buy-confirm-actions .btn { white-space: normal; text-align: center; }

/* ---------- 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; }

/* Design credit, last line of every footer. Quieter than .legal — it sits
   under it and must not compete with the trademark notice above. */
.brand-credit {
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--mut);
}
.brand-credit a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brand-credit a:hover { color: var(--cyan); }

/* ---------- legal / terms pages ---------- */

.legal-page {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
}
.legal-page .wrap-narrow {
  max-width: 720px;
}
.legal-page .kicker {
  margin-bottom: 0.75rem;
}
.legal-page h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  text-align: left;
}
.legal-page .lede {
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  text-align: left;
}
.legal-page p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  text-align: left;
}
.legal-page section {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.legal-page h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.65rem;
  text-align: left;
}
.legal-page ul {
  list-style: disc;
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.legal-page ol {
  list-style: decimal;
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.legal-page li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 0.5rem;
  padding-left: 0.15rem;
  text-align: left;
}
.legal-page ol > li {
  margin-bottom: 0.85rem;
}
.legal-page li:last-child {
  margin-bottom: 0;
}
.legal-page a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover {
  color: #7fdcff;
}
.legal-page strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--mut);
}
.legal-page-footer .legal {
  border-top: none;
  padding-top: 0;
}

/* ---------- blog ----------
   Posts reuse the .legal-page column and body type; these rules add what a
   long article needs on top: real section headings, figures, tables, the
   byline row, an end-of-post call to action, and the index cards. */

.legal-page a.kicker { text-decoration: none; }
.blog-article h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.15;
}
.blog-article .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0 0 1.75rem;
  font-size: 0.86rem;
  color: var(--mut);
}
.blog-article h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}
.blog-article h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}
.blog-article section {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
}
.blog-article p,
.blog-article li {
  font-size: 1.02rem;
  line-height: 1.75;
}
.blog-article figure {
  margin: 1.5rem 0;
}
.blog-article figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.blog-article figcaption {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--mut);
}
.blog-article .radio-log {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-x: auto;
}
.blog-article .radio-log p {
  margin: 0 0 0.35rem;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.blog-article .radio-log p:last-child { margin-bottom: 0; }
.blog-article .radio-log b {
  color: var(--cyan);
  font-weight: 700;
}
.blog-table {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.blog-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.blog-table th,
.blog-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.5;
}
.blog-table thead th {
  background: var(--bg-3);
  color: var(--ink);
  font-weight: 700;
}
.blog-table tbody th {
  color: var(--ink);
  font-weight: 600;
}
.blog-table tr:last-child th,
.blog-table tr:last-child td { border-bottom: none; }
.blog-article .blog-note {
  font-size: 0.86rem;
  color: var(--mut);
}
.blog-article .post-cta {
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(56, 200, 240, 0.08), rgba(124, 108, 255, 0.05));
}
.blog-article .post-cta h2 {
  margin-bottom: 0.5rem;
}
.blog-article .post-cta .btn {
  margin-top: 0.5rem;
  color: #032031;
  text-decoration: none;
  white-space: normal;
  text-align: center;
}
.blog-article .post-related {
  list-style: none;
  padding-left: 0;
}
.blog-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}
.blog-card {
  display: block;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover,
.blog-card:focus-within {
  border-color: rgba(56, 200, 240, 0.45);
  transform: translateY(-2px);
}
.legal-page .blog-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
.legal-page .blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.legal-page .blog-card h2 a:hover { color: var(--cyan); }
.legal-page .blog-card p {
  margin: 0 0 0.75rem;
}
.blog-card .post-meta {
  font-size: 0.82rem;
  color: var(--mut);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .blog-card { transition: none; }
  .blog-card:hover,
  .blog-card:focus-within { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  /* Anchored to .nav (position: fixed, so it is the containing block) rather
     than .nav-inner, so the panel spans the full width instead of the padded
     inner column. */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 0 0.8rem;
    font-size: 1rem;
    /* Solid, not translucent: backdrop-filter does not take effect inside the
       fixed nav here, so anything less than opaque leaves the hero headline
       legible straight through the menu. */
    background: #060b14;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.95);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 0.85rem calc(3vw + 0.4rem);
    color: var(--ink-soft);
  }
  .nav-links a:hover,
  .nav-links a:focus-visible { background: rgba(255, 255, 255, 0.05); color: #fff; }
  .lang-switch { margin-left: auto; }
  .lang-switch + .nav-cta { margin-left: 0.75rem; }
  .nav-cta { margin-left: auto; }
  .callsign-grid, .craft-board, .story, .voice-grid { 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;
  }
  .legal-page h1,
  .legal-page h2,
  .legal-page h3,
  .legal-page p,
  .legal-page li,
  .legal-page .lede,
  .legal-page .kicker {
    text-align: left;
  }
  .legal-page .kicker {
    display: inline-flex;
    margin-inline: 0;
  }
  .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 > *,
  .voice-grid > *,
  .modes-grid > *,
  .persona-grid > * {
    width: 100%;
    min-width: 0;
  }
  .radio-shell,
  .cs-card,
  .ptt-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; }
}

/* ---------- launch sale bar (temporary) ----------
   50% launch sale, code DESCEND50. Static markup at the top of <body> on every
   page, pinned above the fixed nav. The nav sits at top:var(--sale-h) and
   --nav-h already includes the bar, so every calc(var(--nav-h) + …) offset on
   every page makes room for it automatically — no per-page changes.

   To end the sale: delete the .sale-bar markup and the /sale.js tag from every
   page, drop sale.js, set --sale-h back to 0px, and remove this block plus the
   .price-save / .price-code / .hero-sale rules below. */
/* If the (dormant) free promo ever turns back on, site.js sets body.free-promo
   and the sale stands down — bar gone, and no empty strip left above the nav. */
body.free-promo { --sale-h: 0px; }
body.free-promo .sale-bar { display: none; }

.sale-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--sale-h);
  z-index: 120; /* above .nav (100) */
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, #7fdcff 0%, var(--cyan) 42%, var(--violet) 100%);
  color: #04121c;
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.95);
}
.sale-bar-inner {
  width: min(1280px, calc(100% - 1.6rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.sale-flag {
  flex: none;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #04121c;
  color: #7fdcff;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.sale-text { overflow: hidden; text-overflow: ellipsis; }
.sale-text strong { font-weight: 800; }
.sale-text s { color: rgba(4, 18, 28, 0.58); margin-left: 0.4rem; }
.sale-code {
  flex: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.24rem 0.7rem;
  border: 1px dashed rgba(4, 18, 28, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  color: #04121c;
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.sale-code:hover { background: rgba(255, 255, 255, 0.7); border-color: #04121c; }
.sale-code:focus-visible { outline: 2px solid #04121c; outline-offset: 2px; }
.sale-code-hint {
  font-family: var(--font);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.65;
}
.sale-code.is-copied .sale-code-hint { opacity: 1; }
.sale-cta {
  flex: none;
  color: #04121c;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sale-cta:hover { color: #001018; }

@media (max-width: 860px) {
  .sale-cta { display: none; }
  .sale-long { display: none; }
  .sale-bar-inner { gap: 0.55rem; font-size: 0.82rem; }
}
@media (max-width: 560px) {
  :root { --sale-h: 40px; }
  .sale-code-hint { display: none; }
  .sale-flag { letter-spacing: 0.08em; padding: 0.2rem 0.5rem; }
  .sale-bar-inner { gap: 0.45rem; font-size: 0.78rem; }
  .sale-code { padding: 0.2rem 0.55rem; font-size: 0.76rem; }
}

/* Sale treatment inside the hero and the pricing card. */
.hero-sale {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(56, 200, 240, 0.45);
  border-radius: 999px;
  background: rgba(56, 200, 240, 0.12);
  font-size: 0.86rem; font-weight: 600;
  color: var(--ink);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
.hero-sale b { color: #7fdcff; }
.hero-sale s { color: var(--mut); }
.hero-sale code {
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: rgba(4, 18, 28, 0.65);
  color: #fff;
}
.price-save {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(55, 224, 139, 0.16);
  border: 1px solid rgba(55, 224, 139, 0.45);
  color: #37e08b;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: middle;
}
.price-code {
  /* Bottom margin is load-bearing: .price-cta has no top spacing of its own,
     so without it the Buy button sits flush against the dashed border. */
  margin: 0.2rem auto 1.6rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.9rem 1rem;
  width: 100%;
  border: 1px dashed rgba(56, 200, 240, 0.5);
  border-radius: 14px;
  background: rgba(56, 200, 240, 0.07);
}
.price-code-lead {
  margin: 0;
  font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mut);
}
.price-code-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(56, 200, 240, 0.55);
  border-radius: 10px;
  background: rgba(4, 18, 28, 0.7);
  color: #fff;
  font-family: var(--mono);
  font-size: 1.15rem; font-weight: 700; letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.price-code-btn:hover { border-color: var(--cyan); background: rgba(4, 18, 28, 0.95); }
.price-code-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.price-code-hint {
  font-family: var(--font);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan);
}
.price-code-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--mut);
}

/* ---------- 10-hour demo strip (#demo) ----------
   Reuses the modes-grid cards for the three steps. */
.demo-sec { background: var(--bg-2); border-top: 1px solid var(--line); }
.demo-grid .mode-card p { flex: 1; }
.demo-cta { text-align: center; margin-top: 2.4rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.demo-cta .mode-flow { margin-top: 0; max-width: 62ch; }
.demo-cta .mode-flow a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.hero-demo { margin-top: 0.9rem; }
.hero-demo a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.hero-demo a:hover { color: var(--cyan); }

/* ---------- cookie consent banner (inflightatc.de only — consent.js) ----------
   Bottom-anchored card, never a page-blocking wall: the site stays fully usable
   while it is open. Both buttons share one style on purpose — German
   regulators reject banners where "accept" outshines "reject". */
.consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 300;
  width: min(720px, calc(100% - 32px));
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070c18;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
  color: var(--ink-soft);
}
.consent-title { margin: 0 0 0.35rem; font-weight: 800; color: var(--ink); }
.consent-text { margin: 0; font-size: 0.88rem; line-height: 1.55; }
.consent-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.consent-actions .btn { min-width: 9rem; justify-content: center; }
@media (max-width: 560px) {
  .consent { bottom: 10px; padding: 1rem; }
  .consent-actions .btn { flex: 1 1 0; min-width: 0; }
}
.foot-grid .consent-open { color: var(--ink-soft); text-decoration: none; text-align: left; }
.foot-grid .consent-open:hover { color: #fff; }
.consent-open {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Under 600px nav.js moves the language switch into the mobile menu panel;
   these undo the panel's full-width link styling for the two pills. */
@media (max-width: 600px) {
  .nav-links .lang-switch {
    align-self: flex-start;
    margin: 0.5rem calc(3vw + 0.4rem) 0.2rem;
    font-size: 0.8rem;
  }
  .nav-links .lang-switch a,
  .nav-links .lang-switch span { padding: 0.45rem 0.8rem; }
  .nav-links .lang-switch a { color: var(--mut); }
  .nav-links .lang-switch a:hover,
  .nav-links .lang-switch a:focus-visible { background: rgba(255, 255, 255, 0.08); color: #fff; }
}

/* Narrow phones: logo, CTA and menu button share ~330px. The logo scales down
   inside its box (object-fit keeps the aspect ratio despite the inline
   height) rather than squeezing the menu button. Last in the file so it wins
   over the 600px block. */
@media (max-width: 400px) {
  .nav-inner { gap: 0.5rem; }
  .nav-toggle { margin-left: 0.4rem; }
  .nav .brand img.brand-word { max-width: 100px; object-fit: contain; }
}
