/* =========================================================
   Yonke Leads — Precision Pipeline
   Professional B2B landing · mobile-first
   ========================================================= */

:root {
  /* Surfaces */
  --ink: #070b14;
  --ink-2: #0c1220;
  --ink-3: #121a2b;
  --surface: #151e32;
  --surface-2: #1a2438;
  --surface-elevated: #1e2a42;

  /* Text */
  --text: #f3f5f8;
  --text-soft: #b7c0d0;
  --text-muted: #8792a8;

  /* Brand signal — warm amber (ad system: navy + orange) */
  --signal: #f5b942;
  --signal-soft: #ffd47a;
  --signal-dim: rgba(245, 185, 66, 0.14);
  --signal-line: rgba(245, 185, 66, 0.28);

  /* System */
  --line: rgba(243, 245, 248, 0.08);
  --line-strong: rgba(243, 245, 248, 0.14);
  --success: #3dd68c;
  --danger: #ff6b6b;
  --wa: #25d366;

  /* Type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 28px);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-signal: 0 14px 40px rgba(245, 185, 66, 0.22);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(245, 185, 66, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(56, 120, 255, 0.06), transparent 50%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--signal);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px var(--signal-dim);
  flex: 0 0 auto;
}

.section-index {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.55rem, 8.2vw, 5.5rem);
  margin-bottom: 22px;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  margin-bottom: 18px;
  max-width: 18ch;
}

h1 em,
h2 em {
  color: var(--signal);
  font-style: italic;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lead,
.section-sub,
.prose p,
.control-copy > p,
.audience-copy > p,
.qualify-copy > p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  max-width: 42rem;
}

.prose p + p {
  margin-top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--signal);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 10px 0 22px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  border: 1px solid transparent;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--signal);
  font-size: 15px;
  flex: 0 0 auto;
}

.btn-primary {
  box-shadow: var(--shadow-signal);
}

.btn-primary:hover {
  background: var(--signal-soft);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--signal);
  border-color: var(--signal-line);
  padding-inline: 18px;
  gap: 0;
  justify-content: center;
}

.btn-outline:hover {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
}

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--text);
  box-shadow: none;
}

.btn-dark .btn-icon {
  background: var(--signal);
  color: var(--ink);
}

.btn-dark:hover {
  background: #0a1020;
}

.btn-sm {
  min-height: 42px;
  font-size: 0.8125rem;
  padding-inline: 16px;
}

.btn-lg {
  min-height: 58px;
  font-size: 1rem;
  padding-left: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-underline-offset: 5px;
  min-height: 44px;
}

.text-link span {
  color: var(--signal);
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, height 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--signal);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 4px var(--signal-dim);
}

.brand-text {
  display: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 550;
  transition: color 0.15s ease;
}

.nav-desktop a:hover {
  color: var(--signal);
}

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

.header-actions .btn-outline {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-content: center;
  gap: 6px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: rgba(12, 18, 32, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  backdrop-filter: blur(12px);
}

.mobile-nav nav {
  display: grid;
  gap: 4px;
  max-width: var(--shell);
  margin-inline: auto;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: var(--surface);
  color: var(--signal);
}

.mobile-nav a:last-child {
  margin-top: 8px;
  background: var(--signal);
  color: var(--ink);
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 40px;
  padding-block: 36px 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chips li {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-pill);
  padding: 9px 13px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
}

/* Hero visual — radar + cards */
.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 185, 66, 0.12), transparent 42%),
    linear-gradient(160deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.radar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(245, 185, 66, 0.16);
  border-radius: 50%;
}

.radar-ring.r1 { width: 120px; height: 120px; }
.radar-ring.r2 { width: 200px; height: 200px; }
.radar-ring.r3 { width: 280px; height: 280px; opacity: 0.7; }

.radar-sweep {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 185, 66, 0.18) 50deg, transparent 70deg);
  animation: sweep 5.5s linear infinite;
  mask: radial-gradient(circle, transparent 28%, #000 29%);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 29%);
}

.radar-core {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--ink);
  box-shadow:
    0 0 0 10px var(--signal-dim),
    0 12px 32px rgba(245, 185, 66, 0.35);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(250px, calc(100% - 28px));
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(21, 30, 50, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.float-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.float-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.float-card time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal);
  font-weight: 500;
}

.card-top {
  top: 16px;
  left: 14px;
  animation: float-y 4.5s ease-in-out infinite;
}

.card-bottom {
  right: 14px;
  bottom: 16px;
  animation: float-y 5s ease-in-out infinite reverse;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(61, 214, 140, 0.15);
  flex: 0 0 auto;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.card-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--signal-dim);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex: 0 0 auto;
}

.card-arrow {
  margin-left: auto;
  color: var(--signal);
  font-weight: 700;
}

.zone-tag {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(7, 11, 20, 0.55);
}

.tag-zone { top: 52%; left: 14px; }
.tag-wa { top: 38%; right: 14px; color: var(--wa); border-color: rgba(37, 211, 102, 0.25); }

/* ---------- Qualifier ---------- */
.qualifier {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.qualifier-inner {
  display: grid;
  gap: 16px;
  padding-block: 22px;
}

.qualifier-label {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.qualifier-list {
  display: grid;
  gap: 10px;
}

.qualifier-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
}

.q-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--signal-dim);
  color: var(--signal);
  flex: 0 0 auto;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(64px, 10vw, 112px);
}

/* Problem */
.problem-grid {
  display: grid;
  gap: 32px;
}

.problem-copy .btn {
  margin-top: 28px;
}

.problem-callout {
  position: relative;
  padding: 36px 28px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(245, 185, 66, 0.12), transparent 50%),
    var(--surface);
  border: 1px solid var(--signal-line);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.problem-callout::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.2), transparent 70%);
  pointer-events: none;
}

.callout-kicker {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 6px;
}

.callout-line {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--signal);
}

/* Mechanism */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.step:hover {
  border-color: var(--line-strong);
}

.step-featured {
  background:
    linear-gradient(165deg, rgba(245, 185, 66, 0.1), transparent 55%),
    var(--surface-2);
  border-color: var(--signal-line);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--signal);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.step-signal {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
}

.step-signal span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.35;
}

.step-signal span:first-child { opacity: 1; }
.step-featured .step-signal span { opacity: 0.55; }
.step-featured .step-signal span:nth-child(2) { opacity: 1; }

.step p {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Control */
.control-section {
  padding-inline: var(--gutter);
}

.control-panel {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(245, 185, 66, 0.08), transparent 50%),
    linear-gradient(160deg, #f4f1ea 0%, #e8e2d6 100%);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.control-panel .section-index {
  color: rgba(7, 11, 20, 0.5);
}

.control-panel .eyebrow {
  color: #9a6b00;
}

.control-panel .eyebrow::before {
  background: #c48a00;
  box-shadow: 0 0 0 5px rgba(196, 138, 0, 0.15);
}

.control-panel h2 {
  color: var(--ink);
  max-width: 14ch;
}

.control-panel h2 em {
  color: #a87400;
}

.control-copy > p {
  color: rgba(7, 11, 20, 0.72);
}

.control-copy .btn {
  margin-top: 24px;
}

.control-list {
  display: grid;
  gap: 10px;
}

.control-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(7, 11, 20, 0.08);
}

.control-list span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #a87400;
  padding-top: 2px;
}

.control-list p {
  color: rgba(7, 11, 20, 0.78);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.control-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 36px;
}

.fit-list {
  display: grid;
  gap: 10px;
}

.fit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.fit-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.fit-item p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fit-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
}

.fit-yes {
  background: rgba(61, 214, 140, 0.12);
  color: var(--success);
}

.fit-x {
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
}

.fit-no {
  opacity: 0.72;
  background: transparent;
  border-style: dashed;
}

/* Qualify / form */
.qualify-shell {
  display: grid;
  gap: 36px;
}

.mini-proof {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.mini-item span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--signal-dim);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.mini-item p {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.mini-item strong {
  color: var(--text);
}

.qualify-form {
  padding: clamp(22px, 4vw, 32px);
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.form-time {
  color: var(--signal);
  background: var(--signal-dim);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.field-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field-row .field {
  margin-bottom: 0;
}

.field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  color: var(--text);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder {
  color: var(--text-muted);
}

.field input:hover,
.field select:hover {
  border-color: rgba(245, 185, 66, 0.35);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
  background: var(--ink-3);
}

.capacity-field {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}

.capacity-field .field-label {
  margin-bottom: 10px;
  padding: 0;
}

.capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.capacity-option {
  position: relative;
  cursor: pointer;
}

.capacity-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.capacity-option span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.capacity-option:hover span {
  border-color: rgba(245, 185, 66, 0.4);
}

.capacity-option input:focus-visible + span {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.capacity-option input:checked + span {
  background: var(--signal-dim);
  border-color: var(--signal);
  color: var(--signal-soft);
  box-shadow: inset 0 0 0 1px var(--signal);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.form-success,
.form-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.form-success {
  background: rgba(61, 214, 140, 0.12);
  color: var(--success);
  border: 1px solid rgba(61, 214, 140, 0.25);
}

.form-error {
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
  border: 1px solid rgba(255, 107, 107, 0.25);
}

.field input.is-invalid,
.capacity-grid.is-invalid .capacity-option span {
  border-color: rgba(255, 107, 107, 0.55);
}

/* FAQ */
.faq-heading {
  margin-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 18px;
  font-weight: 650;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--signal-dim);
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--signal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item[open] {
  border-color: var(--signal-line);
}

.faq-item p {
  padding: 0 18px 20px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 60ch;
}

/* Final CTA */
.final-cta {
  position: relative;
  padding-block: clamp(72px, 12vw, 120px);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.final-glow {
  position: absolute;
  inset: 20% 10% auto;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(245, 185, 66, 0.16), transparent 65%);
  pointer-events: none;
}

.final-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.final-inner h2 {
  max-width: 14ch;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px calc(28px + env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-inner > p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-legal {
  display: grid;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.footer-legal a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--signal);
}

.footer-copy {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(7, 11, 20, 0.98) 45%, rgba(7, 11, 20, 0.82) 78%, transparent);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

body.menu-open .mobile-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.mobile-cta .btn {
  width: 100%;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), var(--shadow-signal);
}

body.has-mobile-cta {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Animations ---------- */
@keyframes sweep {
  to { transform: rotate(360deg); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(61, 214, 140, 0.15); }
  50% { box-shadow: 0 0 0 9px rgba(61, 214, 140, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radar-sweep,
  .float-card,
  .status-dot {
    animation: none !important;
  }
  .btn:hover {
    transform: none;
  }
}

/* ---------- Tablet+ ---------- */
@media (min-width: 640px) {
  .brand-text {
    display: inline;
  }

  .header-actions .btn-outline {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .mobile-nav {
    display: none !important;
  }

  .qualifier-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .capacity-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .capacity-option span {
    font-size: 0.8rem;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
  }

  .footer-inner > p:not(.footer-copy) {
    grid-column: 1 / -1;
  }

  .footer-legal {
    justify-self: end;
    text-align: right;
  }
}

/* Hide sticky CTA on larger screens */
@media (min-width: 768px) {
  .mobile-cta {
    display: none !important;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 48px;
    min-height: calc(100dvh - var(--header-h) - 40px);
    min-height: max(620px, calc(100dvh - var(--header-h) - 40px));
    padding-block: 48px 64px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .problem-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
    gap: 48px;
    align-items: end;
  }

  .control-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 40px;
    align-items: center;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
  }

  .qualify-shell {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
  }

  .mini-proof {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .float-card {
    min-width: 260px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }

  .footer-inner > p:not(.footer-copy) {
    grid-column: auto;
    justify-self: center;
    text-align: center;
  }

  .card-top {
    top: 36px;
    left: 28px;
  }

  .card-bottom {
    right: 28px;
    bottom: 36px;
  }

  .radar-ring.r1 { width: 150px; height: 150px; }
  .radar-ring.r2 { width: 250px; height: 250px; }
  .radar-ring.r3 { width: 350px; height: 350px; }
  .radar-sweep { width: 350px; height: 350px; }
}

/* Very small phones */
@media (max-width: 380px) {
  h1 {
    font-size: 2.25rem;
  }

  .capacity-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .text-link {
    justify-content: center;
  }

  .eyebrow {
    letter-spacing: 0.1em;
    font-size: 10px;
  }
}

/* Form section breathing room above sticky bar on mobile */
@media (max-width: 767px) {
  .qualify-section {
    scroll-margin-top: calc(var(--header-h) + 8px);
  }

  .form-submit {
    min-height: 56px;
  }

  .section {
    padding-block: clamp(56px, 12vw, 88px);
  }
}
