:root {
  --bg: #07111f;
  --bg-2: #0a1627;
  --bg-3: #0f2036;
  --surface: rgba(12, 23, 40, 0.82);
  --surface-strong: rgba(16, 31, 52, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --ink: #ecf4ff;
  --muted: #9fb0c7;
  --muted-strong: #bfd0e7;
  --line: rgba(125, 156, 196, 0.18);
  --line-strong: rgba(125, 156, 196, 0.34);
  --accent: #52c8ff;
  --accent-2: #8a7dff;
  --accent-soft: rgba(82, 200, 255, 0.12);
  --success: #4de2ae;
  --gold: #f3cd7a;
  --warning: #ffcc7a;
  --danger: #ff8f8f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1240px;
  --narrow: 980px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(82, 200, 255, 0.18), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(138, 125, 255, 0.18), transparent 24%),
    radial-gradient(circle at 52% 80%, rgba(77, 226, 174, 0.10), transparent 28%),
    linear-gradient(180deg, #050d19 0%, var(--bg) 34%, #081423 100%);
  transition: opacity .18s ease, transform .18s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: .35;
}
body.page-enter .page-stage {
  animation: pageFade .42s ease both;
}
body.page-exit {
  opacity: .94;
}
body.page-exit .page-stage {
  opacity: .2;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.page {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 88px;
}
.narrow-page { max-width: var(--narrow); }
.context-page { max-width: 1400px; }
.section { margin-top: 24px; }
.stack { display: grid; gap: 16px; }
.hero-tight { gap: 18px; }
.hero-minimal,
.center-card,
.search-card,
.map-card,
.processing-card,
.scheduler-card,
.results-shell,
.footer-card,
.delivery-wrap,
.form-shell,
.context-cinematic-card {
  padding: 30px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 31, 52, 0.88), rgba(9, 19, 34, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 40%, transparent 60%, rgba(82, 200, 255, .05));
  pointer-events: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
}
.brand-logo {
  width: min(100%, 430px);
  height: auto;
  filter: brightness(1.08);
}
.brand-note {
  max-width: 420px;
  margin: 0;
  font-size: .93rem;
  color: var(--muted);
  text-align: right;
}

.eyebrow,
.proof-label,
label,
h3,
.badge,
.score-tag {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}
.eyebrow {
  color: var(--accent);
  font-size: .82rem;
}
.proof-label {
  color: var(--gold);
  font-size: .78rem;
}
h1 {
  font-size: clamp(2.75rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 11ch;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
h3 {
  font-size: .82rem;
  color: var(--muted);
}
.lede {
  color: var(--muted-strong);
  font-size: 1.05rem;
  max-width: 64ch;
}
.small,
.small-muted {
  color: var(--muted);
  font-size: .93rem;
}
.small-center { text-align: center; }

.pill-row,
.coverage-grid,
.delivery-grid,
.score-grid,
.result-grid,
.offer-strip,
.practice-fact-grid,
.comparison-grid,
.field-grid {
  display: grid;
  gap: 14px;
}
.pill-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.coverage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.delivery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.practice-fact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.score-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.result-grid,
.offer-strip,
.comparison-grid,
.field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid-single-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pill,
.coverage-card,
.delivery-card,
.score-card,
.result-card,
.mini-card,
.overlay-card,
.fact-card,
.comparison-card,
.competitor-item {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(125, 156, 196, 0.14);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow: hidden;
}
.pill::before,
.coverage-card::before,
.delivery-card::before,
.score-card::before,
.result-card::before,
.mini-card::before,
.overlay-card::before,
.fact-card::before,
.comparison-card::before,
.competitor-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 55%);
  pointer-events: none;
}
.pill strong,
.coverage-card strong,
.delivery-card strong,
.score-card strong,
.result-card strong,
.mini-card strong,
.overlay-card strong,
.fact-card strong,
.comparison-card strong,
.competitor-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: .92rem;
}
.pill span,
.coverage-card span,
.delivery-card span,
.score-card span,
.result-card span,
.mini-card span,
.overlay-card span,
.fact-card span,
.comparison-card span,
.competitor-item span {
  color: var(--muted-strong);
  font-size: .94rem;
}

.search-stack { max-width: 700px; margin: 0 auto; }
.landing-screen {
  max-width: none;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.landing-minimal-shell {
  position: relative;
  width: min(100%, 1520px);
  min-height: calc(100vh - 36px);
  border-radius: 34px;
  border: 1px solid rgba(125, 156, 196, 0.16);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(82, 200, 255, 0.18), transparent 16%),
    radial-gradient(circle at 82% 24%, rgba(138, 125, 255, 0.16), transparent 18%),
    radial-gradient(circle at 52% 62%, rgba(77, 226, 174, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.99), rgba(3, 10, 19, 1));
  box-shadow: 0 32px 100px rgba(0,0,0,.34);
}
.landing-minimal-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(82, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .34;
  pointer-events: none;
}
.landing-minimal-shell::after {
  content: "";
  position: absolute;
  inset: 16% 22% 18% 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 200, 255, 0.18), rgba(82, 200, 255, 0.04) 34%, transparent 70%);
  filter: blur(90px);
  animation: glowFloat 6.2s ease-in-out infinite;
  pointer-events: none;
}
.landing-minimal-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  width: min(100%, 360px);
}
.landing-minimal-center {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  display: grid;
  gap: 16px;
  padding: 0 24px;
  justify-items: center;
}
.landing-minimal-kicker {
  margin: 0;
  color: #b8c8dc;
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
}
.landing-minimal-search {
  width: 100%;
}
.landing-map-search-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  border-radius: 999px;
  border: 1px solid rgba(125, 156, 196, 0.18);
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
}
.landing-minimal-input {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  box-shadow: none;
}
.landing-minimal-input:focus {
  border: 0;
  box-shadow: none;
}
.landing-minimal-note {
  margin: 0;
  color: var(--muted-strong);
  font-size: .96rem;
  text-align: center;
}
.auto-flow-note,
.context-sequence-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: var(--muted);
  font-size: .95rem;
}
.auto-flow-dot,
.context-sequence-dot,
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(82, 200, 255, 0.12), 0 0 18px rgba(82, 200, 255, 0.34);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.auto-flow-bar,
.context-progress {
  width: 100%;
  max-width: 440px;
  height: 8px;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.auto-flow-bar span,
.context-progress span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(82, 200, 255, 0.24), rgba(138, 125, 255, 0.84));
}
.context-progress span { width: 0; }
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: .86; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes contextBarGrow {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes contextSweep {
  0% { transform: translateX(-28%) skewX(-14deg); opacity: .2; }
  100% { transform: translateX(28%) skewX(-14deg); opacity: .6; }
}
@keyframes ringPulse {
  0% { transform: translate(-50%, -50%) scale(.72); opacity: .12; }
  60% { opacity: .32; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}
@keyframes beamSlide {
  0% { transform: translateX(-46%) rotate(-12deg); opacity: 0; }
  18% { opacity: .34; }
  82% { opacity: .22; }
  100% { transform: translateX(46%) rotate(-12deg); opacity: 0; }
}
@keyframes glowFloat {
  0%, 100% { transform: scale(1); opacity: .26; }
  50% { transform: scale(1.08); opacity: .38; }
}
@keyframes chipReveal {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(82, 200, 255, 0.22); }
  50% { box-shadow: 0 16px 38px rgba(82, 200, 255, 0.32); }
}
@keyframes chipShimmer {
  from { transform: translateX(-140%); }
  to { transform: translateX(160%); }
}
@keyframes pinReveal {
  from { opacity: 0; transform: scale(.45) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes cardLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-card,
.review-card-premium,
.proof-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(243, 205, 122, 0.18);
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(243, 205, 122, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(17, 30, 49, 0.98), rgba(11, 20, 34, 0.98));
  display: grid;
  gap: 14px;
}
.stars {
  letter-spacing: .2em;
  color: var(--gold);
  font-size: 1rem;
}
.review-practice {
  font-size: 1.05rem;
  font-weight: 800;
}
.review-quote {
  font-size: 1.18rem;
  line-height: 1.52;
  color: var(--ink);
}
.prototype-note,
.notice {
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  border: 1px solid rgba(82, 200, 255, 0.18);
  background: rgba(82, 200, 255, 0.08);
  color: var(--muted-strong);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .8rem;
}
.input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 15, 28, 0.82);
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.input::placeholder { color: rgba(185, 204, 228, 0.48); }
.input:focus {
  border-color: rgba(82, 200, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(82, 200, 255, 0.12), 0 10px 24px rgba(82, 200, 255, 0.08);
}
.input[readonly] {
  color: var(--muted-strong);
  background: rgba(8, 18, 32, 0.68);
}
.input-large {
  padding: 18px 18px;
  font-size: 1.02rem;
}
.textarea {
  min-height: 120px;
  resize: vertical;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.button-row-center { justify-content: center; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--accent), #9be6ff);
  box-shadow: 0 12px 34px rgba(82, 200, 255, 0.24);
}
.btn-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}
.btn-large { padding: 16px 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .78rem;
}
.badge-accent {
  background: rgba(82, 200, 255, 0.14);
  color: #8de6ff;
}
.badge-success {
  background: rgba(77, 226, 174, 0.14);
  color: #86efcb;
}
.score-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .72rem;
  color: #8de6ff;
  background: rgba(82, 200, 255, 0.12);
}

.map-card-tall { padding: 28px; }
.context-cinematic-card {
  padding: 18px;
}
.map-shell,
.map-shell-tall {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(125, 156, 196, 0.22);
  background:
    radial-gradient(circle at 22% 20%, rgba(82, 200, 255, 0.16), transparent 20%),
    radial-gradient(circle at 75% 26%, rgba(138, 125, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(9, 23, 41, 0.96), rgba(4, 12, 23, 0.98));
}
.map-shell-tall { min-height: 520px; }
.map-shell-cinematic {
  min-height: clamp(720px, 82vh, 920px);
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 18%, rgba(82, 200, 255, 0.2), transparent 18%),
    radial-gradient(circle at 82% 24%, rgba(138, 125, 255, 0.16), transparent 20%),
    radial-gradient(circle at 52% 62%, rgba(77, 226, 174, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.98), rgba(3, 10, 19, 0.99));
}
.real-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .78;
  transform: scale(1.03);
  background: linear-gradient(180deg, rgba(6, 18, 31, 0.94), rgba(3, 10, 19, 0.98));
  filter: saturate(.82) brightness(.72) contrast(1.04) blur(.8px);
  transition: opacity 1.15s ease, transform 1.15s ease, filter 1.15s ease, box-shadow .9s ease;
}
+.real-map-canvas.map-live {
+  opacity: 1;
+  transform: scale(1);
+  filter: saturate(1) brightness(.88) contrast(1.08) blur(0);
+}
+.real-map-canvas.map-focus-benchmark {
+  box-shadow: inset 0 0 0 1px rgba(243, 205, 122, 0.28), inset 0 0 140px rgba(243, 205, 122, 0.08);
+}
.real-map-canvas.map-unavailable {
  display: grid;
  place-items: center;
  padding: 24px;
}
.map-empty-state {
  max-width: 380px;
  text-align: center;
  color: var(--muted-strong);
  font-size: .95rem;
}
.context-hero-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 4;
  max-width: min(56%, 640px);
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(125, 156, 196, 0.18);
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.82), rgba(6, 16, 28, 0.46));
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 58px rgba(0,0,0,.26);
}
.context-hero-overlay h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
}
.context-hero-overlay .lede {
  max-width: 58ch;
  font-size: 1.08rem;
}
.context-detected-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}
.cinematic-stage-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cinematic-stage-step {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(125, 156, 196, 0.14);
  background: rgba(6, 16, 28, 0.42);
  transition: transform .32s ease, border-color .32s ease, background .32s ease, box-shadow .32s ease, opacity .32s ease;
}
.cinematic-stage-step span {
  font-size: .72rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .12em;
}
.cinematic-stage-step strong {
  margin: 0;
  font-size: .88rem;
}
.cinematic-stage-step small {
  color: var(--muted);
  font-size: .78rem;
}
.context-map-live .cinematic-stage-step.is-lock,
.context-markers-ready .cinematic-stage-step.is-scan,
.context-benchmark-focus .cinematic-stage-step.is-benchmark {
  transform: translateY(-2px);
  border-color: rgba(82, 200, 255, 0.32);
  background: radial-gradient(circle at top right, rgba(82, 200, 255, 0.14), transparent 28%), rgba(8, 19, 33, 0.72);
  box-shadow: 0 18px 34px rgba(82, 200, 255, 0.10);
}
.context-benchmark-focus .cinematic-stage-step.is-benchmark {
  border-color: rgba(243, 205, 122, 0.34);
  box-shadow: 0 20px 42px rgba(243, 205, 122, 0.16);
}
.context-detected-chip {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(125, 156, 196, 0.16);
  background: rgba(6, 16, 28, 0.54);
}
.context-detected-chip strong {
  font-size: 1rem;
}
.context-override-wrap {
  display: grid;
  gap: 8px;
  min-width: 320px;
}
.cinematic-benchmark-alert {
  position: absolute;
  right: 24px;
  bottom: 116px;
  z-index: 4;
  max-width: 320px;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(243, 205, 122, 0.18);
  background: linear-gradient(180deg, rgba(16, 26, 40, 0.88), rgba(8, 16, 29, 0.78));
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .34s ease, transform .34s ease, box-shadow .34s ease;
}
.cinematic-benchmark-alert strong {
  margin: 0;
  font-size: .96rem;
}
.cinematic-benchmark-alert span:last-child {
  color: var(--muted-strong);
  font-size: .86rem;
}
.context-benchmark-focus .cinematic-benchmark-alert {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 24px 52px rgba(243, 205, 122, 0.14);
}
.context-override-wrap label {
  margin-bottom: 0;
}
.business-type-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.business-type-chip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 156, 196, 0.16);
  background: rgba(6, 16, 28, 0.6);
  color: var(--muted-strong);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  isolation: isolate;
  animation: chipReveal .34s ease both;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.business-type-chip::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.2) 50%, transparent 68%);
  transform: translateX(-140%);
  pointer-events: none;
  opacity: .45;
}
.business-type-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 200, 255, 0.32);
  color: var(--ink);
}
.business-type-chip:hover::after {
  animation: chipShimmer .7s ease;
}
.business-type-chip.is-active {
  color: #04111d;
  border-color: rgba(82, 200, 255, 0.58);
  background: linear-gradient(135deg, #8de6ff, #52c8ff);
  box-shadow: 0 12px 30px rgba(82, 200, 255, 0.22);
  animation: chipReveal .34s ease both, chipPulse 2.6s ease-in-out infinite;
}
.business-type-chip-group .business-type-chip:nth-child(2) { animation-delay: .03s; }
.business-type-chip-group .business-type-chip:nth-child(3) { animation-delay: .06s; }
.business-type-chip-group .business-type-chip:nth-child(4) { animation-delay: .09s; }
.business-type-chip-group .business-type-chip:nth-child(5) { animation-delay: .12s; }
.business-type-chip-group .business-type-chip:nth-child(6) { animation-delay: .15s; }
.business-type-chip-group .business-type-chip:nth-child(7) { animation-delay: .18s; }
.business-type-chip-group .business-type-chip:nth-child(8) { animation-delay: .21s; }
.business-type-more {
  border: 1px solid rgba(125, 156, 196, 0.14);
  border-radius: 18px;
  background: rgba(6, 16, 28, 0.42);
  padding: 10px 12px 12px;
}
.business-type-more summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted-strong);
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.business-type-more summary::after {
  content: '›';
  transform: rotate(90deg);
  transition: transform .18s ease;
}
.business-type-more[open] summary::after {
  transform: rotate(-90deg);
}
.business-type-more summary::-webkit-details-marker { display: none; }
.business-type-chip-group-all {
  margin-top: 10px;
}
.context-fact-band {
  position: relative;
  z-index: 5;
  margin: -42px 24px 0;
}
.context-fact-band .fact-card {
  background: rgba(6, 16, 28, 0.84);
  backdrop-filter: blur(16px);
  border-color: rgba(125, 156, 196, 0.18);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.context-stage-lower {
  display: grid;
  gap: 18px;
  padding: 26px 10px 8px;
}
.context-action-row {
  margin-top: 8px;
}
.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(82, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .45;
  pointer-events: none;
}
.context-stage-card .map-shell::after {
  content: "";
  position: absolute;
  inset: -15% -22%;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(82, 200, 255, 0.18) 40%, transparent 72%);
  transform: translateX(-24%) skewX(-14deg);
  opacity: 0;
  pointer-events: none;
}
body.context-sequence .context-progress span {
  animation: contextBarGrow 6.3s ease forwards;
}
body.context-sequence .context-stage-card .map-shell::after {
  opacity: 1;
  animation: contextSweep 6.3s ease forwards;
}
body.context-sequence .pin,
body.context-sequence .overlay-card,
body.context-sequence .competitor-item,
body.context-sequence .context-benchmark-card,
body.context-sequence .context-bars-card,
body.context-sequence .context-competitor-card,
body.context-sequence .map-hud,
body.context-sequence .pin-label,
body.context-sequence .map-legend,
body.context-sequence .context-hero-overlay,
body.context-sequence .context-fact-band .fact-card,
body.context-sequence .comparison-grid .comparison-card {
  opacity: 0;
}
body.context-sequence .context-hero-overlay { animation: cardLift .55s .22s ease forwards; }
body.context-sequence .map-hud.hud-right { animation: cardLift .45s .78s ease forwards; }
body.context-sequence .pin.primary { animation: pinReveal .48s .55s ease forwards; }
body.context-sequence .pin.a { animation: pinReveal .42s 1.25s ease forwards; }
body.context-sequence .pin.b { animation: pinReveal .42s 1.55s ease forwards; }
body.context-sequence .pin.c { animation: pinReveal .42s 1.85s ease forwards; }
body.context-sequence .pin.d { animation: pinReveal .42s 2.15s ease forwards; }
body.context-sequence .pin-label.primary-label { animation: cardLift .42s 1.3s ease forwards; }
body.context-sequence .pin-label.label-a { animation: cardLift .42s 1.78s ease forwards; }
body.context-sequence .pin-label.label-b { animation: cardLift .42s 2.02s ease forwards; }
body.context-sequence .pin-label.label-c { animation: cardLift .42s 2.26s ease forwards; }
body.context-sequence .pin-label.label-d { animation: cardLift .42s 2.5s ease forwards; }
body.context-sequence .map-legend { animation: cardLift .45s 2.62s ease forwards; }
body.context-sequence .overlay-card:first-child { animation: cardLift .55s 2.9s ease forwards; }
body.context-sequence .overlay-card:last-child { animation: cardLift .55s 3.12s ease forwards; }
body.context-sequence .context-fact-band .fact-card { animation: cardLift .45s 3.2s ease forwards; }
body.context-sequence .context-fact-band .fact-card:nth-child(2) { animation-delay: 3.35s; }
body.context-sequence .context-fact-band .fact-card:nth-child(3) { animation-delay: 3.5s; }
body.context-sequence .context-fact-band .fact-card:nth-child(4) { animation-delay: 3.65s; }
body.context-sequence .context-benchmark-card { animation: cardLift .58s 3.9s ease forwards; }
body.context-sequence .context-bars-card { animation: cardLift .58s 4.15s ease forwards; }
body.context-sequence .comparison-grid .comparison-card:first-child { animation: cardLift .52s 4.45s ease forwards; }
body.context-sequence .comparison-grid .comparison-card:last-child { animation: cardLift .52s 4.66s ease forwards; }
body.context-sequence .context-competitor-card { animation: cardLift .58s 4.9s ease forwards; }
body.context-sequence .competitor-item { animation: cardLift .45s 5.15s ease forwards; }
body.context-sequence .competitor-item:nth-child(2) { animation-delay: 5.32s; }
body.context-sequence .competitor-item:nth-child(3) { animation-delay: 5.49s; }
body.context-sequence .competitor-item:nth-child(4) { animation-delay: 5.66s; }

.map-hud {
  position: absolute;
  top: 18px;
  z-index: 3;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(125, 156, 196, 0.18);
  background: rgba(6, 16, 28, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.hud-left { left: 18px; max-width: 260px; }
.hud-right { right: 24px; top: 24px; max-width: 220px; text-align: right; }
.hud-kicker {
  color: var(--accent);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}
.map-hud strong {
  margin-bottom: 0;
  font-size: .94rem;
}
.map-hud span:last-child {
  color: var(--muted-strong);
  font-size: .88rem;
}
.map-glow {
  position: absolute;
  left: 47%;
  top: 44%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(82, 200, 255, 0.24) 0%, rgba(82, 200, 255, 0.1) 34%, transparent 70%);
  filter: blur(6px);
  animation: glowFloat 4.8s ease-in-out infinite;
  pointer-events: none;
}
.scan-ring {
  position: absolute;
  left: 47%;
  top: 44%;
  border-radius: 50%;
  border: 1px solid rgba(82, 200, 255, 0.34);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.scan-ring.ring-one {
  width: 150px;
  height: 150px;
  animation: ringPulse 3.2s ease-out infinite;
}
.scan-ring.ring-two {
  width: 240px;
  height: 240px;
  animation: ringPulse 3.2s 1.15s ease-out infinite;
}
.scan-beam {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 38%;
  z-index: 2;
  width: 26%;
  background: linear-gradient(90deg, transparent 0%, rgba(82, 200, 255, 0.03) 20%, rgba(82, 200, 255, 0.22) 50%, rgba(82, 200, 255, 0.03) 80%, transparent 100%);
  transform: rotate(-12deg);
  filter: blur(2px);
  animation: beamSlide 5.2s ease-in-out infinite;
  pointer-events: none;
}
.road {
  position: absolute;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  filter: blur(.2px);
}
.road.one { width: 140%; height: 10px; left: -10%; top: 38%; transform: rotate(-11deg); }
.road.two { width: 128%; height: 8px; left: -6%; top: 60%; transform: rotate(8deg); }
.road.three { width: 8px; height: 132%; left: 52%; top: -12%; transform: rotate(5deg); }
.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 10px rgba(82, 200, 255, .08), 0 12px 30px rgba(0, 0, 0, .3);
}
.pin.primary {
  background: linear-gradient(135deg, #8de6ff, #45bbff);
  left: 47%;
  top: 44%;
  box-shadow: 0 0 0 14px rgba(82, 200, 255, .08), 0 18px 38px rgba(0, 0, 0, .34);
}
.pin.secondary { background: linear-gradient(135deg, #a498ff, #6a8cff); }
.pin.a { left: 28%; top: 24%; }
.pin.b { left: 69%; top: 30%; }
.pin.c { left: 70%; top: 63%; }
.pin.d { left: 33%; top: 70%; }
.pin-label {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .74rem;
  color: var(--ink);
  background: rgba(236, 244, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  white-space: nowrap;
}
.primary-label {
  left: calc(47% + 20px);
  top: calc(44% - 26px);
  background: linear-gradient(135deg, rgba(141, 230, 255, 0.95), rgba(82, 200, 255, 0.88));
  color: #04111d;
}
.label-a { left: calc(28% - 8px); top: calc(24% - 34px); }
.label-b { left: calc(69% - 40px); top: calc(30% - 34px); }
.label-c { left: calc(70% - 20px); top: calc(63% + 18px); }
.label-d { left: calc(33% - 6px); top: calc(70% + 18px); }
.map-legend {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 136px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(6, 16, 28, 0.66);
  border: 1px solid rgba(125, 156, 196, 0.16);
  color: var(--muted-strong);
  font-size: .78rem;
}
.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.legend-primary { background: #52c8ff; box-shadow: 0 0 0 6px rgba(82, 200, 255, 0.14); }
.legend-secondary { background: #8a7dff; box-shadow: 0 0 0 6px rgba(138, 125, 255, 0.14); }
.legend-scan { background: #4de2ae; box-shadow: 0 0 0 6px rgba(77, 226, 174, 0.14); }

.map-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 12px;
}
.overlay-card {
  background: rgba(7, 18, 31, 0.72);
  backdrop-filter: blur(14px);
}
.overlay-card-strong {
  border-color: rgba(82, 200, 255, 0.28);
  box-shadow: 0 18px 34px rgba(82, 200, 255, 0.08);
}
#map-practice-address {
  margin-top: 6px;
  color: var(--muted);
  font-size: .83rem;
}
.context-signal-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 18px;
  margin-top: 18px;
}
.signal-header {
  display: grid;
  gap: 8px;
}
.signal-header > span:last-child {
  color: var(--muted-strong);
  font-size: .93rem;
}
.metric-comparison {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.metric-row {
  display: grid;
  gap: 10px;
}
.metric-copy {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
}
.metric-copy span {
  color: var(--muted);
  font-size: .88rem;
}
.metric-copy strong {
  margin-bottom: 0;
  font-size: .94rem;
}
.bar-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(125, 156, 196, 0.12);
}
.bar-fill {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.bar-fill.selected { background: linear-gradient(90deg, rgba(82, 200, 255, 0.9), rgba(82, 200, 255, 0.55)); }
.bar-fill.benchmark { background: linear-gradient(90deg, rgba(243, 205, 122, 0.92), rgba(243, 205, 122, 0.58)); }
.bar-fill.selected-rating { background: linear-gradient(90deg, rgba(77, 226, 174, 0.92), rgba(77, 226, 174, 0.58)); }
.bar-fill.benchmark-rating { background: linear-gradient(90deg, rgba(138, 125, 255, 0.92), rgba(138, 125, 255, 0.58)); }

.comparison-grid {
  margin-top: 18px;
  align-items: start;
}
.comparison-card ul,
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
}
.competitor-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.competitor-item-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.competitor-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.competitor-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.06);
  color: var(--muted-strong);
  font-size: .86rem;
}
.context-benchmark-card,
.context-bars-card,
.context-competitor-card {
  min-height: 100%;
}
.market-gap-callout {
  border-color: rgba(243, 205, 122, 0.22);
  background:
    radial-gradient(circle at top right, rgba(243, 205, 122, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(22, 32, 48, 0.96), rgba(10, 18, 30, 0.96));
}

.progress-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.progress-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 156, 196, 0.12);
  background: rgba(255,255,255,.03);
}
.status {
  color: #89efc8;
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.scheduler-shell {
  border-radius: 18px;
  border: 1px solid rgba(82, 200, 255, 0.2);
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(10, 22, 38, 0.88), rgba(6, 14, 24, 0.92));
  padding: 22px;
  display: grid;
  gap: 14px;
}
.scheduler-placeholder {
  min-height: 250px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.scheduler-lines {
  display: grid;
  gap: 8px;
}
.scheduler-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(82, 200, 255, 0.12), rgba(138, 125, 255, 0.32));
}
.scheduler-lines span:nth-child(1) { width: 88%; }
.scheduler-lines span:nth-child(2) { width: 76%; }
.scheduler-lines span:nth-child(3) { width: 93%; }
.scheduler-lines span:nth-child(4) { width: 68%; }
.scheduler-lines span:nth-child(5) { width: 81%; }

.score-card {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.score-card.featured {
  border-color: rgba(82, 200, 255, 0.3);
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(16, 31, 52, 0.96), rgba(8, 18, 30, 0.96));
}
.score-value {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--ink);
  margin-bottom: 4px;
}
.score-value.accent {
  color: #8de6ff;
}
.score-copy {
  color: var(--muted-strong);
  font-size: .95rem;
}
.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(125, 156, 196, 0.14);
  background: rgba(255,255,255,.03);
}
.flow-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255,255,255,.08);
}
.flow-step-copy {
  display: grid;
  gap: 2px;
}
.flow-step-copy strong {
  margin: 0;
  font-size: .92rem;
}
.flow-step-copy span {
  color: var(--muted);
  font-size: .84rem;
}
.flow-step.is-complete {
  border-color: rgba(77, 226, 174, 0.22);
  background: rgba(77, 226, 174, 0.08);
}
.flow-step.is-complete .flow-step-index {
  background: rgba(77, 226, 174, 0.18);
  color: #9df1cf;
}
.flow-step.is-active {
  border-color: rgba(82, 200, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.12), transparent 24%),
    rgba(82, 200, 255, 0.08);
  box-shadow: 0 14px 32px rgba(82, 200, 255, 0.08);
}
.flow-step.is-active .flow-step-index {
  background: linear-gradient(135deg, #8de6ff, #52c8ff);
  color: #04111d;
}
.audit-premium-shell,
.request-premium-shell,
.landing-premium-shell,
.thankyou-premium-shell {
  padding: 32px;
}
.audit-hero-grid,
.audit-compare-grid,
.audit-spotlight-metrics,
.request-hero-grid,
.request-form-grid,
.request-proof-strip,
.landing-hero-grid,
.landing-secondary-grid,
.landing-metric-grid,
.thankyou-hero-grid,
.thankyou-lower-grid {
  display: grid;
  gap: 18px;
}
.audit-hero-grid {
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
}
.audit-hero-copy,
.request-hero-copy,
.request-practice-panel,
.request-side-panel,
.landing-copy,
.landing-search-panel,
.landing-proof-panel,
.thankyou-hero-copy,
.thankyou-side-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}
.landing-hero-grid {
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
}
.landing-secondary-grid {
  grid-template-columns: 1.02fr .98fr;
  margin-top: 22px;
  align-items: stretch;
}
.landing-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.landing-search-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(125, 156, 196, 0.18);
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(138, 125, 255, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(13, 26, 44, 0.96), rgba(7, 15, 27, 0.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.search-stack-premium {
  gap: 18px;
  max-width: none;
}
.landing-review-card {
  min-height: 100%;
}
.landing-proof-strip {
  margin-top: 4px;
}
.landing-metric-card,
.landing-process-card {
  min-height: 100%;
}
.request-hero-grid {
  grid-template-columns: 1.04fr .96fr;
  align-items: stretch;
}
.thankyou-hero-grid {
  grid-template-columns: 1.04fr .96fr;
  align-items: stretch;
}
.thankyou-lower-grid {
  grid-template-columns: 1.08fr .92fr;
  margin-top: 20px;
  align-items: start;
}
.thankyou-side-panel .scheduler-shell {
  margin-top: 0;
}
.request-proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.request-form-grid {
  grid-template-columns: 1.08fr .92fr;
  margin-top: 20px;
  align-items: start;
}
.request-form-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(125, 156, 196, 0.16);
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(10, 22, 38, 0.94), rgba(6, 14, 24, 0.94));
}
.request-practice-panel {
  padding: 24px;
}
.request-step-list {
  margin-top: 14px;
}
.audit-hero-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}
.audit-pressure-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(82, 200, 255, 0.12);
  color: #9be6ff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.audit-spotlight {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(243, 205, 122, 0.18);
  background:
    radial-gradient(circle at top right, rgba(243, 205, 122, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(82, 200, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(20, 31, 48, 0.96), rgba(9, 18, 30, 0.96));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}
.audit-spotlight h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}
.audit-spotlight-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.audit-compare-grid {
  grid-template-columns: 1.08fr .92fr;
  margin-top: 18px;
  align-items: start;
}
.audit-compare-panel,
.audit-proof-panel {
  display: grid;
  gap: 16px;
}
.audit-bar-block {
  display: grid;
  gap: 14px;
}
.audit-bullet-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.audit-bullet-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 156, 196, 0.14);
  background: rgba(255,255,255,.03);
}
.audit-bullet-list li strong {
  margin-bottom: 0;
  color: #8de6ff;
  font-size: .82rem;
}
.audit-bullet-list li span {
  color: var(--muted-strong);
}

.code-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .85rem;
  border-radius: 12px;
  background: rgba(0,0,0,.24);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted-strong);
  overflow: auto;
}
.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.selected-summary {
  background:
    radial-gradient(circle at top right, rgba(82, 200, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(15, 29, 48, 0.96), rgba(8, 17, 30, 0.96));
}
.flow-link {
  color: #8de6ff;
  text-decoration: none;
}
.flow-link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .topbar,
  .footer-card { flex-direction: column; }
  .brand-note { text-align: left; }
  h1 { max-width: none; }
  .hero-minimal,
  .center-card,
  .search-card,
  .map-card,
  .processing-card,
  .scheduler-card,
  .results-shell,
  .footer-card,
  .delivery-wrap,
  .form-shell { padding: 24px; }
  .pill-row,
  .coverage-grid,
  .delivery-grid,
  .score-grid,
  .result-grid,
  .offer-strip,
  .practice-fact-grid,
  .comparison-grid,
  .context-signal-grid,
  .audit-hero-grid,
  .audit-compare-grid,
  .audit-spotlight-metrics,
  .request-hero-grid,
  .request-form-grid,
  .request-proof-strip,
  .landing-hero-grid,
  .landing-secondary-grid,
  .landing-metric-grid,
  .thankyou-hero-grid,
  .thankyou-lower-grid,
  .flow-rail,
  .field-grid,
  .field-grid-single-mobile,
  .map-overlay { grid-template-columns: 1fr; }
  .context-hero-overlay {
    max-width: none;
    right: 24px;
  }
  .context-detected-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .cinematic-stage-rail {
    grid-template-columns: 1fr;
  }
  .cinematic-benchmark-alert {
    left: 14px;
    right: 14px;
    bottom: 110px;
    max-width: none;
  }
  .context-override-wrap {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .page { padding: 18px 14px 72px; }
  h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .score-card { min-height: auto; }
  .competitor-item-header { flex-direction: column; align-items: flex-start; }
  .map-hud,
  .map-legend,
  .pin-label,
  .context-hero-overlay {
    position: static;
  }
  .landing-screen {
    padding: 10px;
  }
  .landing-minimal-shell {
    min-height: calc(100vh - 20px);
    border-radius: 24px;
  }
  .landing-minimal-logo {
    top: 18px;
    left: 18px;
    width: min(100%, 250px);
  }
  .landing-minimal-center {
    padding: 0 12px;
  }
  .landing-map-search-shell {
    padding: 16px 18px;
  }
  .context-cinematic-card,
  .audit-premium-shell,
  .request-premium-shell,
  .landing-premium-shell,
  .thankyou-premium-shell {
    padding: 14px;
  }
  .map-shell-cinematic {
    min-height: auto;
    padding-bottom: 18px;
  }
  .context-hero-overlay,
  .map-hud {
    margin: 14px 14px 0;
    max-width: none;
  }
  .audit-spotlight,
  .request-form-panel,
  .request-practice-panel,
  .landing-search-panel {
    padding: 22px;
  }
  .flow-step {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .map-legend {
    margin: 14px 14px 0;
    display: grid;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .pin-label {
    margin-left: 14px;
    margin-top: 10px;
    width: fit-content;
  }
  .map-shell-cinematic .map-overlay {
    position: static;
    margin: 18px 14px 0;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .context-fact-band {
    margin: 18px 0 0;
  }
  .context-stage-lower {
    padding: 18px 0 6px;
  }
}
