/* =====================================================================
   wavestripe.app — marketing / landing · "Diagnostic Instrument"
   Mobile-first; expands to a desktop split-hero at >= 920px.
   Inherits tokens & primitives from /static/tokens.css.

   Motifs: hairline channel-numbered sections, instrument-framed cards
   with corner ticks, a luminous aqua charge-signal accent, and the
   signature diagnostic SWEEP line that travels across the hero preview
   like an oscilloscope trace. All flourishes are CSS-only.
   ===================================================================== */

/* section counter for the "01 / LABEL" channel numbers */
body { counter-reset: ch; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
/* hairline charge-trace under the bar */
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 30%, var(--accent) 50%, var(--accent-soft) 70%, transparent);
  opacity: 0.5;
}
.topbar .inner {
  display: flex; align-items: center; justify-content: space-between;
  /* padding-block only — the element is `class="shell inner"`, and a
     `padding: 13px 0` shorthand here out-specifies .shell's `0 24px` and
     zeroes the side gutter. Below the 1200px shell max-width that put the
     brand and the "Start free trial" CTA flush against the viewport edges,
     clipping the CTA on a phone. */
  padding-block: 13px;
}
.topbar .brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--ff-display);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em;
  color: var(--fg);
}
.topbar .brand:hover { text-decoration: none; }
.topbar .brand .logo { width: 32px; height: 32px; }
.topbar .brand .dot { color: var(--accent); }
.topbar nav { display: flex; align-items: center; gap: 8px; }
.topbar nav a {
  font-family: var(--ff-display);
  color: var(--fg-soft); font-size: 0.8125rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.topbar nav a:not(.btn):hover {
  color: var(--fg); background: var(--surf-2); text-decoration: none;
}
.topbar nav .btn { padding: 9px 15px; font-size: 0.8125rem; }
.topbar nav .links { display: none; gap: 2px; }
@media (min-width: 720px) {
  .topbar nav .links { display: flex; }
}
/* Interface text size (A− / A+, styled in tokens.css). The marketing bar
   below 900px is already full to the edge with the brand and the two auth
   CTAs — squeezing a third control in there pushed "Start free trial" off
   the viewport. So the top bar carries the pair only where it fits, and
   the site footer carries a second one at every width; both slots are the
   same widget and stay in sync (public/text-size.js broadcasts). */
.topbar nav .ts-nav { display: none; }
@media (min-width: 900px) {
  .topbar nav .ts-nav { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 24px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -60px 0 0 0;
  background:
    radial-gradient(820px 520px at 88% 14%, rgba(47, 227, 198, 0.18), transparent 62%),
    radial-gradient(640px 480px at 6% 64%, rgba(17, 179, 156, 0.10), transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.hero .grid {
  display: grid; gap: 26px;
  /* minmax(0,1fr) — NOT plain 1fr — so the track can shrink below the
     preview card's min-content; plain 1fr (= minmax(auto,1fr)) blows the
     column past the viewport and clips the headline on phones. */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero-copy, .dt-preview { min-width: 0; }
.hero .eye { margin-bottom: 18px; font-size: 0.75rem; }
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.9375rem, 7.6vw, 3.375rem);
  line-height: 1.04; letter-spacing: -0.025em; font-weight: 700;
  margin: 0 0 16px;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-3) 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: 0.9375rem;
  color: var(--fg-soft);
  margin: 0 0 22px;
  max-width: 540px;
  line-height: 1.62;
}
.hero .lede code {
  font-family: var(--ff-mono); font-size: 0.9em;
  background: var(--surf-2); padding: 2px 8px; border-radius: 6px;
  border: 1px solid var(--border); color: var(--accent);
}
.hero .cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero .cta-row .btn { padding: 13px 22px; font-size: 0.875rem; }
.hero .trust {
  display: flex; gap: 8px 18px; flex-wrap: wrap;
  color: var(--fg-mute); font-size: 0.75rem;
  font-family: var(--ff-mono); letter-spacing: 0.01em;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust svg { width: 13px; height: 13px; color: var(--accent); }

/* staggered entrance */
.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.hero-copy > .eye      { animation-delay: .05s; }
.hero-copy > h1        { animation-delay: .12s; }
.hero-copy > .lede     { animation-delay: .20s; }
.hero-copy > .cta-row  { animation-delay: .28s; }
.hero-copy > .trust    { animation-delay: .36s; }
.dt-preview { opacity: 0; transform: translateY(20px) scale(.99); animation: rise .8s var(--ease) .3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- dt-preview : instrument panel ---------- */
.dt-preview {
  position: relative;
  border-radius: var(--r-lg);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(47, 227, 198, 0.07), rgba(47, 227, 198, 0) 38%),
    linear-gradient(180deg, var(--surf-2), var(--surf-1));
  border: 1px solid var(--border-bright);
  box-shadow:
    0 40px 90px -30px rgba(47, 227, 198, 0.22),
    0 16px 40px rgba(0, 0, 0, 0.55);
}
/* instrument corner ticks */
.dt-preview::before, .dt-preview::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--accent); opacity: 0.55; pointer-events: none;
}
.dt-preview::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.dt-preview::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.dt-preview .float-tag {
  position: absolute; right: -8px; top: 22px; z-index: 3;
  padding: 4px 11px; font-family: var(--ff-mono); font-size: 0.75rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(3deg);
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}
.dt-preview .float-tag::before {
  content: "● "; color: var(--accent-ink); animation: eyePulse 1.6s var(--ease) infinite;
}
.dt-preview .ph {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}
.dt-preview .ph b { font-family: var(--ff-display); font-size: 0.875rem; font-weight: 600; }
.dt-preview .ph .vin {
  font-family: var(--ff-mono); font-size: 0.75rem;
  color: var(--fg-mute);
  margin-top: 3px; letter-spacing: 0.02em;
}
.dt-preview .ph .pill { font-size: 0.75rem; }
.dt-preview .row1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}
.dt-preview .car-shape {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.dt-preview .car-shape svg,
.dt-preview .car-shape img {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.55));
}
.dt-preview .car-shape img {
  object-fit: contain; object-position: center;
  border-radius: var(--r-md);
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 60%, transparent 100%);
}
/* signature diagnostic SWEEP line — oscilloscope trace over the car */
.dt-preview .car-shape::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%;
  background: linear-gradient(180deg, transparent, rgba(47, 227, 198, 0.16) 78%, rgba(92, 240, 216, 0.85));
  border-bottom: 1.5px solid var(--accent-3);
  box-shadow: 0 0 18px 2px var(--accent-glow);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: sweep 3.6s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: translateY(-110%); opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateY(290%); opacity: 0; }
}
.dt-preview .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.dt-preview .stats .s {
  position: relative;
  padding: 11px 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
/* gauge baseline bar */
.dt-preview .stats .s::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--border) 60%);
  opacity: 0.7;
}
.dt-preview .stats .s:nth-child(2)::after { background: linear-gradient(90deg, var(--accent) 78%, var(--border) 78%); }
.dt-preview .stats .s:nth-child(3)::after { background: linear-gradient(90deg, var(--accent) 44%, var(--border) 44%); }
.dt-preview .stats .s:nth-child(4)::after { background: linear-gradient(90deg, var(--warn) 30%, var(--border) 30%); }
.dt-preview .stats .s .v {
  font-family: var(--ff-display);
  font-size: 1.375rem; font-weight: 700; line-height: 1; letter-spacing: -0.01em;
}
.dt-preview .stats .s .v.warn { color: var(--warn); }
.dt-preview .stats .s .v .u {
  font-family: var(--ff-mono);
  font-size: 0.75rem; color: var(--fg-mute); font-weight: 500; margin-left: 2px;
}
.dt-preview .stats .s .l {
  font-family: var(--ff-mono);
  font-size: 0.75rem; color: var(--fg-mute);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 6px;
}
.dt-preview .ai {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 10px;
  background: rgba(47, 227, 198, 0.07);
  border: 1px solid rgba(47, 227, 198, 0.24);
  border-left: 2px solid var(--accent);
}
.dt-preview .ai .h {
  font-family: var(--ff-mono);
  font-size: 0.75rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
  margin-bottom: 5px;
}
.dt-preview .ai .b {
  font-size: 0.75rem; color: var(--fg-soft); line-height: 1.55;
}
.dt-preview .ai .b b { color: var(--fg); }

/* tablet portrait */
@media (min-width: 720px) {
  .hero { padding: 52px 0 32px; }
  .hero .lede { font-size: 1rem; }
  .dt-preview { padding: 20px; }
  .dt-preview .row1 { grid-template-columns: 1fr 1fr; }
}
/* desktop hero — two-column split */
@media (min-width: 920px) {
  .hero { padding: 60px 0 40px; }
  .hero .grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
  }
  .hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.625rem); }
  .hero .lede { font-size: 1.0625rem; }
}

/* ---------- section scaffolding ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 0.75rem; color: var(--fg-mute);
  text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500;
  margin: 0 0 16px;
}
.section-label::before {
  counter-increment: ch;
  content: counter(ch, decimal-leading-zero);
  color: var(--accent);
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid var(--border-bright);
}

/* ---------- features ---------- */
.features {
  padding: 56px 0 34px;
  margin-top: 24px;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.features h2 {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  letter-spacing: -0.02em; font-weight: 700;
  color: var(--fg);
}
.features .lede {
  color: var(--fg-soft); font-size: 0.9375rem;
  max-width: 580px; margin: 0 0 26px;
  line-height: 1.62;
}
.feat-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
.feat-grid .ft {
  position: relative;
  display: block;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 90px),
    var(--surf-1);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
/* corner tick that lights up on hover */
.feat-grid .ft::before {
  content: ""; position: absolute; top: 12px; right: 12px;
  width: 11px; height: 11px;
  border-top: 1.5px solid var(--border-bright); border-right: 1.5px solid var(--border-bright);
  border-top-right-radius: 3px;
  transition: border-color .18s var(--ease);
}
.feat-grid .ft:hover {
  border-color: rgba(47, 227, 198, 0.4);
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 24px 50px -28px var(--accent-glow);
}
.feat-grid .ft:hover::before { border-color: var(--accent); }
.feat-grid .ft:hover .ft-arrow { transform: translateX(4px); color: var(--accent); }
.feat-grid .ft .ic {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(47, 227, 198, 0.2);
}
.feat-grid .ft .ic svg { width: 19px; height: 19px; }
.feat-grid .ft h4 {
  margin: 0 0 7px;
  font-family: var(--ff-display);
  font-size: 1rem; font-weight: 600;
  color: var(--fg);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.feat-grid .ft .ft-arrow {
  display: inline-block;
  color: var(--fg-mute);
  font-weight: 500;
  transition: transform .18s var(--ease), color .18s var(--ease);
}
.feat-grid .ft p {
  margin: 0;
  font-size: 0.84375rem;
  color: var(--fg-mute);
  line-height: 1.6;
}
.feat-grid .ft-wide { grid-column: 1 / -1; }
.feat-grid .ft .pill { margin-right: auto; } /* keep the badge by the title; the arrow stays right */
@media (min-width: 640px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (min-width: 980px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .features { padding: 70px 0 40px; }
}

/* ---------- safety ---------- */
.safety {
  padding: 52px 0;
  border-top: 1px solid var(--border-soft);
}
.safety h2 {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.8vw, 1.875rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--fg);
}
.safety .lede {
  color: var(--fg-soft); margin: 0 0 18px;
  font-size: 0.9375rem; line-height: 1.62;
}
.safety .body {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
.safety ul {
  padding: 0; margin: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.safety li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.84375rem; color: var(--fg-soft);
  line-height: 1.55;
}
.safety li svg {
  width: 17px; height: 17px;
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
}
/* code card styled as a terminal window */
.safety .code-card {
  position: relative;
  padding: 38px 20px 20px;
  background: linear-gradient(180deg, #070b10, var(--bg-1));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-family: var(--ff-mono); font-size: 0.75rem;
  color: var(--fg-soft);
  min-width: 0; max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.7;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.7);
}
.safety .code-card::before {
  content: "";
  position: absolute; top: 13px; left: 16px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bad);
  box-shadow: 18px 0 0 var(--warn), 36px 0 0 var(--ok);
}
.safety .code-card::after {
  content: "server/config.mjs";
  position: absolute; top: 11px; right: 16px;
  font-size: 0.625rem; color: var(--fg-dim); letter-spacing: 0.04em;
}
@media (max-width: 540px) {
  .safety .code-card { padding: 36px 14px 14px; line-height: 1.6; }
  .safety .code-card::after { display: none; }
}
.safety .code-card .kw  { color: var(--accent); }
.safety .code-card .str { color: var(--ok); }
.safety .code-card .com { color: var(--fg-dim); }
.safety .code-card .num { color: var(--info); }
@media (min-width: 880px) {
  .safety { padding: 66px 0; }
  .safety .body { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- pricing ---------- */
/* marketing-scoped: keep pills + the A-/A+ operator glyphs legible (>=12px) on phones;
   the shared tokens.css values are left as-is for the app top bar */
.pill { font-size: 0.75rem; }
.text-size .ts-btn .ts-op { font-size: 12px; }
.pricing {
  padding: 52px 0;
  border-top: 1px solid var(--border-soft);
}
.pricing h2 {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.8vw, 1.875rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--fg);
}
.pricing .lede {
  color: var(--fg-soft); max-width: 600px;
  margin: 0 0 26px;
  font-size: 0.9375rem; line-height: 1.62;
}
.pricing .grid {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
.tier {
  position: relative;
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 120px),
    var(--surf-1);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 15px;
}
.tier.featured {
  background:
    linear-gradient(180deg, rgba(47, 227, 198, 0.09), transparent 55%),
    var(--surf-1);
  border-color: rgba(47, 227, 198, 0.42);
  box-shadow: 0 26px 60px -28px var(--accent-glow);
}
.tier.featured::before {
  content: "RECOMMENDED";
  position: absolute; top: 0; right: 22px; transform: translateY(-50%);
  font-family: var(--ff-mono); font-size: 0.59375rem; font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.tier .head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.tier .head h3 { margin: 0; font-family: var(--ff-display); font-size: 1rem; font-weight: 600; }
.tier .price {
  font-family: var(--ff-display);
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.tier .price .per {
  font-family: var(--ff); font-size: 0.8125rem; color: var(--fg-mute);
  font-weight: 400; margin-left: 7px;
}
.tier .desc {
  font-size: 0.84375rem; color: var(--fg-mute);
  margin: 0; line-height: 1.6;
}
.tier ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tier li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.84375rem; color: var(--fg-soft); line-height: 1.5;
}
.tier li svg {
  width: 15px; height: 15px;
  color: var(--accent); flex-shrink: 0; margin-top: 3px;
}
.tier .cta { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.tier .cta .btn { flex: 1 1 auto; }
@media (min-width: 720px) {
  .pricing { padding: 60px 0; }
  .pricing .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- FAQ ---------- */
.faq {
  margin: 70px 0 0;
  padding: 52px 22px;
  border-radius: 20px;
  background:
    radial-gradient(700px 300px at 50% -10%, rgba(47, 227, 198, 0.06), transparent 70%),
    var(--surf-1);
  border: 1px solid var(--border-soft);
}
.faq .section-label,
.faq h2,
.faq .lede {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq .section-label { justify-content: center; }
.faq h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4.4vw, 2.125rem);
  letter-spacing: -0.02em; font-weight: 700;
  color: var(--fg);
  margin: 8px auto 12px;
}
.faq .lede {
  color: var(--fg-soft);
  font-size: 0.9375rem;
  line-height: 1.62;
  margin: 0 auto 30px;
}
.faq .faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  background: var(--surf-2);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0;
  transition: border-color .15s ease, background .15s ease;
}
.faq details[open] {
  border-color: rgba(47, 227, 198, 0.34);
  background: var(--bg-1);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg);
  padding: 15px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--ff-mono);
  font-size: 1.125rem;
  color: var(--fg-mute);
  font-weight: 400;
  transition: transform .2s var(--ease), color .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); color: var(--accent); }
.faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--fg-soft);
  font-size: 0.84375rem;
  line-height: 1.68;
}
.faq details p code,
.faq details p .text-mono {
  font-family: var(--ff-mono);
  font-size: 0.78125rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(47, 227, 198, 0.08);
  color: var(--accent);
}
.faq details p a { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  margin: 48px 0 0;
  padding: 48px 22px;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(720px 360px at 50% 0%, rgba(47, 227, 198, 0.24), transparent 70%),
    linear-gradient(180deg, var(--surf-2), var(--surf-1));
  border: 1px solid var(--border-bright);
}
/* faint grid sweep inside the band */
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 227, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 227, 198, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-size: clamp(1.625rem, 4.6vw, 2.375rem);
  letter-spacing: -0.02em; font-weight: 700;
  color: var(--fg);
}
.cta-band p { color: var(--fg-soft); margin: 0 auto 24px; font-size: 0.9375rem; max-width: 520px; }
.cta-band .row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ---------- iOS callout ---------- */
.ios-callout {
  margin: 44px 0 0;
  padding: 36px 22px;
  border-radius: 20px;
  background: var(--surf-1);
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 13px;
}
.ios-callout .ill {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--warn-soft);
  color: var(--warn);
  display: grid; place-items: center;
  border: 1px solid rgba(245, 177, 61, 0.3);
}
.ios-callout .ill svg { width: 38px; height: 38px; }
.ios-callout h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.3125rem, 3.4vw, 1.5625rem);
  margin: 4px 0 0;
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--fg);
}
.ios-callout p {
  color: var(--fg-soft);
  font-size: 0.875rem;
  margin: 0;
  max-width: 460px;
  line-height: 1.6;
}
.ios-callout .pill { font-size: 0.75rem; padding: 6px 11px; margin-top: 4px; }
.ios-callout .joinbox {
  width: 100%;
  max-width: 460px;
  padding: 20px;
  margin-top: 14px;
  background: var(--bg-1);
  border: 1px solid rgba(47, 227, 198, 0.3);
  border-radius: var(--r-md);
  text-align: left;
  display: flex; flex-direction: column; gap: 11px;
}
.ios-callout .joinbox h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 0.9375rem; font-weight: 600;
  color: var(--fg);
}
.ios-callout .joinbox p {
  font-size: 0.75rem; margin: 0;
  color: var(--fg-mute);
  text-align: left;
}
.ios-callout .joinbox .btn { width: 100%; }
.ios-callout .form-msg {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--fg-mute);
  min-height: 16px;
}
.ios-callout .form-msg[data-state="ok"]  { color: var(--ok); }
.ios-callout .form-msg[data-state="err"] { color: var(--bad); }

/* ---------- footer ---------- */
footer.site {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  background: rgba(5, 8, 11, 0.5);
}
footer.site .row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  color: var(--fg-mute); font-size: 0.75rem;
}
footer.site .row > div:first-child {
  font-family: var(--ff-mono); font-size: 0.75rem; letter-spacing: 0.01em;
  max-width: 540px; line-height: 1.6;
}
footer.site .row .links { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site .row .ts-foot { flex-shrink: 0; }
footer.site .row a { color: var(--fg-mute); }
footer.site .row a:hover { color: var(--accent); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .dt-preview { animation: none; opacity: 1; transform: none; }
  .dt-preview .car-shape::after,
  .dt-preview .float-tag::before { animation: none; }
  .dt-preview .car-shape::after { opacity: 0.4; transform: translateY(40%); }
  .feat-grid .ft:hover { transform: none; }
}

.hero-requirements { color: var(--fg-soft); font-size: .8125rem; line-height: 1.6; padding: 12px 16px; border-left: 2px solid var(--accent); background: var(--surf-1); border-radius: 0 8px 8px 0; }
