/* ─────────────────────── Reset ─────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `overflow-x: clip` (vs `hidden`) prevents horizontal scroll without
     creating a scroll container, so position: sticky on .flow-pin still
     works. The mock's header/tabs overflow on narrow viewports despite
     overflow:hidden on the mock itself; this catches that at the root. */
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1c1a17;
  color: #e0dbd2;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #d4b483;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─────────────────────── Tokens ─────────────────────── */
:root {
  --bg: #1c1a17;
  --bg-alt: #26241f;
  --bg-dark: #14120f;
  --bg-card: #2a2723;
  --text: #e0dbd2;
  --text-muted: #9a9488;
  --text-faint: #6e6a62;
  --accent: #b8956a;
  --accent-bright: #d4b483;
  --accent-soft: rgba(184, 149, 106, 0.12);
  --border: #2f2c28;
  --border-strong: #3a3631;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  --promo-h: 0px;
  --pin-top: 76px;
}

/* ─────────────────────── Layout primitives ─────────────────────── */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; position: relative; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--bg-dark); }
/* The slideshow pin already leaves blank space at the bottom of its viewport
   when the user finishes scrolling, so the next section's default 120px
   top + bottom padding compounds and looks excessive. Tighten it. */
.flow + section { padding: 24px 0 48px; }

.eyebrow {
  font-family: 'Lora', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Sansita', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h3 { font-size: 26px; line-height: 1.25; }
h4 { font-size: 19px; line-height: 1.3; font-weight: 700; }
p { color: var(--text-muted); line-height: 1.6; }
.lead { font-size: 19px; color: var(--text-muted); line-height: 1.55; }

/* ─────────────────────── Promo banner ─────────────────────── */
.promo {
  background: var(--accent);
  color: #1c1a17;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
  z-index: 60;
}

/* ─────────────────────── Nav ─────────────────────── */
nav {
  position: sticky;
  top: var(--promo-h, 0px);
  z-index: 50;
  background: rgba(28, 26, 23, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sansita', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent-bright); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1c1a17;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-large { font-size: 16px; padding: 14px 26px; }
.btn-disabled { background: #3a3832; color: var(--text-muted); cursor: default; }
.btn-disabled:hover { background: #3a3832; transform: none; }

/* ─────────────────────── Hero (renders inside .flow .flow-text-pane[data-pane="0"]) ─────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-left { max-width: 560px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-cta-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.2px;
}
.hero-proof-num {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.hero-proof .counter {
  font-family: 'Sansita', serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-bright);
  font-size: 52px;
  letter-spacing: -0.01em;
  line-height: 1;
  flex-shrink: 0;
}
.hero-proof-label {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero-proof-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.hero-source-icon {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  user-select: none;
  -webkit-user-drag: none;
}

/* ─────────────────────── Flow: Hero → Signals → Plans → Mappings ─────────────────────── */
/* A sticky-pinned slideshow. The mock on the right is shared and persistent
   across all panes; overlay, recommendation, and mapping states toggle.
   The text on the left swaps via stacked panes (grid-area:1/1).
   JS drives:
     --hero-overlay → mock overlay opacity
     data-active    → which text pane is active */
.flow {
  position: relative;
  background: var(--bg);
  padding: 0;
  /* Clip the decorative ::before radial gradient (positioned at right: -200px,
     width 800px) so it doesn't extend the document past the viewport on mobile.
     `clip` (not `hidden`) preserves position: sticky on .flow-pin. */
  overflow: clip;
}
.flow::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.flow-track {
  position: relative;
  height: 560vh;
  z-index: 1;
}
.flow-pin {
  position: sticky;
  /* JS measures actual promo+nav height into --pin-top so the pin always
     hugs the bottom of the sticky chrome (smaller on mobile where the nav
     drops the menu links + download button). */
  top: var(--pin-top, 114px);
  height: calc(100vh - var(--pin-top, 114px));
}
.flow-stage {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 64px 0 40px;
}
.flow-stage > .wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

/* Stacked text panes — only the active one is visible. Inactive panes
   sit slightly below or above so swaps slide vertically through center. */
.flow-text-wrap {
  display: grid;
  position: relative;
}
.flow-text-pane {
  grid-area: 1 / 1;
  pointer-events: none;
  /* Opacity is JS-driven per scroll frame (see index.html scroll driver),
     so we deliberately don't transition it here — the gradient IS the
     animation, in lockstep with the mock overlay. */
  will-change: opacity;
}
.flow-text-pane[data-pane="0"] { opacity: 1; }
.flow-text-pane[data-pane="1"] { opacity: 0; }
.flow-text-pane[data-pane="2"] { opacity: 0; }
.flow-text-pane[data-pane="3"] { opacity: 0; }
.flow-stage[data-active="0"] [data-pane="0"],
.flow-stage[data-active="1"] [data-pane="1"],
.flow-stage[data-active="2"] [data-pane="2"],
.flow-stage[data-active="3"] [data-pane="3"] {
  pointer-events: auto;
}
.flow-pane-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 18px;
}
.flow-pane-hero .hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.flow-text-pane h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.18;
  margin-bottom: 16px;
}
.flow-text-pane > p {
  font-size: 17px;
  margin-bottom: 22px;
}

.flow-mock-wrap { position: relative; }

/* "How it works" header + numbered steps + mock caption are all mobile-only;
   on desktop the slideshow handles the same narrative. */
.how-head,
.how-steps,
.mock-caption,
.final-cta-meta,
.pill-sub { display: none; }

/* Slideshow progress bar — sits at the bottom of the pinned stage. JS sets
   --flow-progress (0 → 1) as the user scrolls through the track, and
   --flow-progress-label-vis to fade the "Scroll to see more" hint as soon
   as scrolling begins. */
.flow-progress {
  margin-top: auto;
  padding-top: 22px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.flow-progress-label {
  font-family: 'Sansita', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  opacity: var(--flow-progress-label-vis, 1);
  transition: opacity 0.25s ease;
}
.flow-progress-track {
  width: min(360px, 60%);
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.flow-progress-fill {
  height: 100%;
  width: calc(var(--flow-progress, 0) * 100%);
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.08s linear;
}

.app-mock-body {
  position: relative;
  overflow: hidden;
}
.app-mock-table-wrap {
  width: 100%;
  overflow: hidden;
}

.tab-text h3 { font-size: 32px; line-height: 1.18; margin-bottom: 18px; }
.tab-text p { font-size: 17px; margin-bottom: 28px; }
.tab-bullets { list-style: none; margin-bottom: 32px; }
.tab-bullets li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15.5px;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.tab-bullets li:first-child { border-top: none; }
.tab-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 16px;
  height: 16px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.tab-bullets li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.tab-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tab-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-strong);
}
.tab-image img { width: 100%; height: auto; display: block; }

/* ─────────────────────── App mock ─────────────────────── */
.app-mock {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
  user-select: none;
}
.app-mock-titlebar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, #38332d 0%, #2a2723 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.app-mock-traffic {
  display: flex;
  gap: 6px;
}
.app-mock-traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4a4540;
}
.app-mock-traffic span:nth-child(1) { background: #ed6a5e; }
.app-mock-traffic span:nth-child(2) { background: #f4bf4f; }
.app-mock-traffic span:nth-child(3) { background: #61c454; }
.app-mock-titlebar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.app-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.app-mock-brand {
  font-family: 'Sansita', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-right: 4px;
}
.app-mock-header-tabs {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
}
.app-mock-header-tabs span {
  position: relative;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 750;
  padding: 5px 0 7px;
  transition: color 180ms ease;
  white-space: nowrap;
}
.app-mock-header-tabs span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease;
}
.app-mock-header-tabs .app-mock-tab-overview {
  color: #e0ae60;
}
.app-mock-header-tabs .app-mock-tab-overview::after {
  background: #e0ae60;
}
.flow-stage[data-active="2"] .app-mock-header-tabs .app-mock-tab-overview,
.flow-stage[data-active="3"] .app-mock-header-tabs .app-mock-tab-assets {
  color: #e0ae60;
}
.flow-stage[data-active="2"] .app-mock-header-tabs .app-mock-tab-overview::after,
.flow-stage[data-active="3"] .app-mock-header-tabs .app-mock-tab-assets::after {
  background: #e0ae60;
}
.flow-stage[data-active="3"] .app-mock-header-tabs .app-mock-tab-overview {
  color: var(--text-faint);
}
.flow-stage[data-active="3"] .app-mock-header-tabs .app-mock-tab-overview::after {
  background: transparent;
}
.app-mock-navpill {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.app-mock-navpill.active { color: var(--text); border-color: var(--accent); }
.app-mock-header-spacer { flex: 1; }
.app-mock-auto-approve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.app-mock-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 25px;
  height: 14px;
  border: 1px solid rgba(212, 180, 131, 0.55);
  border-radius: 999px;
  background: var(--accent-soft);
}
.app-mock-toggle span {
  position: absolute;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px rgba(212, 180, 131, 0.35);
}
.app-mock-trial {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-bright);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.app-mock-account {
  font-size: 11px;
  color: var(--text-muted);
}
.app-mock-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 14px 0;
  border-bottom: 1px solid var(--border);
}
.app-mock-tab {
  font-size: 11px;
  color: var(--text-muted);
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
}
.app-mock-tab.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
}
.app-mock-tabs-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
}
.app-mock-filter-pill {
  font-size: 10px;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}
.app-mock-density {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  font-size: 10px;
}
.app-mock-density span {
  padding: 3px 8px;
  color: var(--text-faint);
}
.app-mock-density span.active {
  background: var(--accent-soft);
  color: var(--accent-bright);
}

/* Feed-row layout (matches the real app's home tab) */
.app-mock-feed { display: flex; flex-direction: column; }
.app-mock-feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.app-mock-feed-row:last-child { border-bottom: none; }
.app-mock-feed-avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #b8956a;
  color: #1c1a17;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.app-mock-feed-avatar.a2 { background: #c9a87a; }
.app-mock-feed-avatar.a3 { background: #a08869; }
.app-mock-feed-avatar.a4 { background: #d4b483; }
.app-mock-feed-avatar.a5 { background: #b8956a; }
.app-mock-feed-avatar.a6 { background: #c9a87a; }
.app-mock-feed-avatar.a7 { background: #a08869; }
.app-mock-feed-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-mock-feed-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
}
.app-mock-feed-body {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-mock-feed-source {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 10px;
  text-align: left;
}
.app-mock-feed-source-name {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-mock-feed-source-platform { color: var(--text-faint); }
.app-mock-feed-date {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  width: 28px;
  text-align: right;
}

/* Hero variant: standalone window chrome, scaled slightly */
.app-mock-hero {
  position: relative;
  z-index: 1;
  --mock-content-h: clamp(430px, 47vh, 620px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(184, 149, 106, 0.08);
  font-size: 10.5px;
}
.app-mock-hero .app-mock-body {
  height: var(--mock-content-h);
  overflow: hidden;
}
.app-mock-hero .app-mock-table-wrap,
.app-mock-hero .ads-mock-dashboard,
.app-mock-hero .ads-mock-main,
.app-mock-hero .ads-mock-view {
  height: 100%;
}
.app-mock-hero .app-mock-feed-row { padding: 9px 12px; gap: 9px; }
.app-mock-hero .app-mock-feed-source { width: 110px; }

/* Hero mock overlay — blurs the app surface on pane 0, fades out on scroll.
   Top offset skips only the window titlebar so the browser chrome stays crisp.
   JS sets --hero-overlay (1 → 0); both opacity and blur strength track it. */
.app-mock-overlay {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 0 0 12px 12px;
  background: rgba(20, 18, 15, 0.18);
  opacity: var(--hero-overlay, 1);
  backdrop-filter: blur(calc(var(--hero-overlay, 1) * 5px)) saturate(0.9);
  -webkit-backdrop-filter: blur(calc(var(--hero-overlay, 1) * 5px)) saturate(0.9);
  z-index: 5;
  /* Opacity + blur are JS-driven from scroll progress (see scroll driver).
     No CSS transition — the scroll position IS the timeline, so it stays
     in lockstep with the pane crossfade. */
}

/* Joel — sits centered over the mock during pane 0, fades with the overlay. */
.mock-mole {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
  opacity: var(--hero-overlay, 1);
  z-index: 6;
}
.ads-mock-dashboard {
  display: block;
  min-height: 0;
  background: #171613;
  color: var(--text);
}
.ads-mock-sidebar {
  display: none;
  align-content: start;
  gap: 4px;
  border-right: 1px solid var(--border);
  background: #11100e;
  padding: 12px 8px;
}
.ads-mock-sidebar span {
  border-radius: 7px;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 8px;
}
.ads-mock-sidebar .ads-mock-side-active {
  background: rgba(224, 174, 96, 0.13);
  color: #e0ae60;
}
.ads-mock-main {
  min-width: 0;
  padding: 0;
}
.ads-mock-view {
  min-width: 0;
}
.ads-mock-mapping-view {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.flow-stage[data-active="2"] .app-mock,
.flow-stage[data-active="3"] .app-mock {
  background: #171613;
}
.flow-stage[data-active="2"] .app-mock-header,
.flow-stage[data-active="3"] .app-mock-header {
  background: #171613;
  border-bottom-color: var(--border);
}
.flow-stage[data-active="2"] .app-mock-brand,
.flow-stage[data-active="3"] .app-mock-brand {
  color: var(--text);
}
.flow-stage[data-active="2"] .app-mock-header-tabs span,
.flow-stage[data-active="3"] .app-mock-header-tabs span {
  color: var(--text-faint);
}
.flow-stage[data-active="2"] .ads-mock-dashboard,
.flow-stage[data-active="3"] .ads-mock-dashboard {
  min-height: 0;
  background: #171613;
}
.flow-stage[data-active="2"] .ads-mock-sidebar,
.flow-stage[data-active="3"] .ads-mock-sidebar {
  display: none;
}
.flow-stage[data-active="2"] .ads-mock-main,
.flow-stage[data-active="3"] .ads-mock-main {
  padding: 0;
}
.flow-stage[data-active="2"] .app-mock-body,
.flow-stage[data-active="2"] .app-mock-table-wrap,
.flow-stage[data-active="3"] .app-mock-body,
.flow-stage[data-active="3"] .app-mock-table-wrap {
  background: #171613;
}
.ads-mock-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ads-mock-new {
  min-height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 0 11px;
}
.ads-mock-filter {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  font-size: 10px;
  padding: 5px 8px;
}
.mapping-workspace {
  min-height: 326px;
}
.mapping-trigger {
  grid-column: 1 / -1;
}
.mapping-candidates {
  grid-column: 1 / -1;
}
.mapping-panel {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  padding: 11px;
}
.mapping-panel-head {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mapping-panel-head span {
  color: var(--accent-bright);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.mapping-panel-head strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}
.mapping-panel label {
  display: grid;
  gap: 5px;
  color: var(--text-faint);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}
.mapping-panel textarea,
.mapping-panel input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: rgba(20, 18, 15, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
  padding: 7px 8px;
  resize: none;
}
.mapping-panel textarea {
  min-height: 60px;
}
.mapping-trigger textarea {
  min-height: 68px;
}
.mapping-evidence-list {
  display: grid;
  gap: 6px;
}
.mapping-evidence-list div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 7px;
}
.mapping-evidence-list span {
  display: block;
  color: var(--text-faint);
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.mapping-evidence-list strong {
  display: block;
  color: var(--text);
  font-size: 10px;
}
.mapping-evidence-list small {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.35;
  margin-top: 2px;
}
.mapping-map {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #dde3dd;
}
.mapping-map-primary {
  min-height: 326px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}
.funnel-leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mapping-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #dde3dd;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.mapping-map .leaflet-tile-pane {
  filter: saturate(0.82) contrast(0.94) brightness(0.92);
}
.mapping-map .leaflet-control-container {
  position: relative;
  z-index: 10;
}
.mapping-map .leaflet-control-attribution {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  color: #4a4a4a;
  font-size: 7px;
  line-height: 1.2;
  padding: 2px 5px;
}
.funnel-map-marker {
  position: relative;
  border-radius: 50%;
}
.funnel-map-marker span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.funnel-map-marker.event span {
  border: 3px solid #1f1a16;
  background: #d95f3d;
  box-shadow: 0 0 0 6px rgba(217, 95, 61, 0.22), 0 14px 28px rgba(0, 0, 0, 0.32);
}
.funnel-map-marker.event::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(217, 95, 61, 0.42);
  border-radius: 50%;
}
.funnel-map-marker.inventory span {
  border: 2px solid rgba(20, 18, 15, 0.86);
  border-radius: 4px;
  background: var(--accent-bright);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}
.map-water {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 180, 131, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(61, 77, 72, 0.42), rgba(15, 18, 16, 0.9));
}
.map-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(224, 219, 210, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(224, 219, 210, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(140deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
  opacity: 0.7;
}
.map-search-row {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  border: 1px solid rgba(224, 219, 210, 0.12);
  border-radius: 9px;
  background: rgba(20, 18, 15, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  padding: 0 10px;
}
.map-search-row span {
  color: var(--text);
  font-size: 10px;
  font-weight: 750;
}
.map-search-row b {
  border: 1px solid rgba(212, 180, 131, 0.35);
  border-radius: 999px;
  color: var(--accent-bright);
  font-size: 8.5px;
  padding: 3px 7px;
  white-space: nowrap;
}
.map-layer-card {
  position: absolute;
  left: 12px;
  top: 58px;
  z-index: 3;
  display: grid;
  gap: 7px;
  width: 126px;
  border: 1px solid rgba(224, 219, 210, 0.12);
  border-radius: 9px;
  background: rgba(20, 18, 15, 0.86);
  padding: 9px;
}
.map-layer-card span {
  color: var(--text-faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.map-layer-card label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 650;
}
.map-layer-card i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(212, 180, 131, 0.12);
}
.map-manhattan {
  position: absolute;
  top: -36px;
  left: 54%;
  width: 118px;
  height: 382px;
  transform: translateX(-50%) rotate(24deg);
  border: 1px solid rgba(212, 180, 131, 0.28);
  border-radius: 44px 44px 18px 18px;
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(212, 180, 131, 0.11) 33% 35%, transparent 36% 64%, rgba(212, 180, 131, 0.11) 65% 67%, transparent 68%),
    rgba(42, 39, 35, 0.9);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}
.map-avenue,
.map-cross {
  position: absolute;
  background: rgba(224, 219, 210, 0.12);
}
.map-avenue {
  top: 16px;
  bottom: 16px;
  width: 1px;
}
.map-avenue.a { left: 32px; }
.map-avenue.b { left: 55px; }
.map-cross {
  left: 12px;
  right: 12px;
  height: 1px;
}
.map-cross.c1 { top: 82px; }
.map-cross.c2 { top: 128px; }
.map-cross.c3 { top: 174px; }
.map-event-pin {
  position: absolute;
  top: 152px;
  left: 55px;
  width: 17px;
  height: 17px;
  transform: rotate(-24deg);
  border: 3px solid #17140f;
  border-radius: 50%;
  background: #d95f3d;
  box-shadow: 0 0 0 4px rgba(217, 95, 61, 0.2), 0 12px 22px rgba(0, 0, 0, 0.35);
}
.map-event-pin::after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(217, 95, 61, 0.45);
  border-radius: 50%;
}
.map-neighborhood {
  position: absolute;
  z-index: 1;
  color: rgba(224, 219, 210, 0.22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.n-flatiron { left: 55%; top: 128px; }
.n-union { left: 47%; top: 190px; }
.n-nomad { left: 61%; top: 88px; }
.map-event-card {
  position: absolute;
  right: 18px;
  top: 58px;
  z-index: 4;
  width: 214px;
  border: 1px solid rgba(224, 219, 210, 0.16);
  border-radius: 11px;
  background: rgba(20, 18, 15, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  padding: 11px;
}
.map-event-card::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 50%;
  width: 46px;
  height: 1px;
  background: rgba(212, 180, 131, 0.75);
}
.map-event-card span {
  display: block;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.map-event-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.15;
  margin-top: 3px;
}
.map-event-card p {
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.35;
  margin: 4px 0 8px;
}
.map-event-card div {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 7px;
}
.map-event-card b {
  color: var(--text-faint);
  font-size: 8px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.map-event-card em {
  color: var(--text-faint);
  font-size: 9px;
  font-style: normal;
  line-height: 1.25;
}
.map-inspector {
  position: absolute;
  left: 12px;
  right: auto;
  bottom: 12px;
  z-index: 5;
  width: 244px;
  border: 1px solid rgba(224, 219, 210, 0.14);
  border-radius: 12px;
  background: rgba(20, 18, 15, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  padding: 10px;
}
.map-inspector-head {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
}
.map-inspector-head span,
.map-inspector article span {
  display: block;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.map-inspector-head strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}
.map-inspector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}
.map-inspector article {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  padding: 7px;
}
.map-inspector article.selected {
  border-color: rgba(212, 180, 131, 0.48);
  background: rgba(184, 149, 106, 0.11);
}
.map-inspector article b {
  display: block;
  color: var(--text);
  font-size: 10px;
  line-height: 1.2;
  margin-top: 3px;
}
.map-inspector article p {
  display: none;
}
.map-inspector-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 7px;
}
.map-inspector-actions button {
  min-height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 9px;
  font-weight: 850;
  padding: 0 11px;
}
.map-inspector-actions button + button {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
}
.map-ad-zone {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: rotate(-24deg);
  border-radius: 2px;
  background: var(--accent-bright);
  opacity: 0.82;
}
.map-ad-zone.z1 { top: 142px; left: 72px; }
.map-ad-zone.z2 { top: 196px; left: 41px; }
.map-label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(20, 18, 15, 0.84);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 7px 8px;
}
.mapping-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.mapping-candidate {
  display: grid;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  padding: 9px;
}
.mapping-candidates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mapping-candidates .mapping-panel-head,
.mapping-candidates .mapping-actions {
  grid-column: 1 / -1;
}
.mapping-candidate.selected {
  border-color: rgba(212, 180, 131, 0.55);
  background: var(--accent-soft);
}
.mapping-candidate div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mapping-candidate strong {
  color: var(--text);
  font-size: 10.5px;
}
.mapping-candidate span {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--accent-bright);
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  white-space: nowrap;
}
.mapping-candidate p {
  color: var(--text-muted);
  font-size: 9.5px;
  line-height: 1.4;
  margin: 0;
}
.mapping-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.mapping-actions button {
  min-height: 30px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 10px;
  font-weight: 800;
}
.mapping-actions button + button {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
}
.app-mock-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.app-mock-icon-btn svg { width: 11px; height: 11px; }

/* ─────────────────────── Luma-inspired event map mock ─────────────────────── */
.luma-map-page {
  grid-area: 1 / 1;
  height: 100%;
  overflow: hidden;
  background: #171613;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  transform: scale(var(--assets-map-scale, 1));
  transform-origin: center;
  transition: transform 120ms linear;
  pointer-events: none;
  z-index: 1;
}
.luma-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 12px;
  background: #f8f6f1;
}
.luma-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.luma-city-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #201f1c;
  color: #e0ae60;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}
.luma-city > div {
  display: grid;
  gap: 1px;
}
.luma-city strong {
  color: #201f1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.luma-city small {
  color: #8c867d;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.luma-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.luma-header-actions span,
.luma-header-actions b {
  border: 1px solid #e4dfd6;
  border-radius: 999px;
  background: #fffdfa;
  color: #6f675c;
  font-size: 8.5px;
  font-weight: 850;
  padding: 4px 8px;
}
.luma-header-actions b {
  border-color: rgba(224, 174, 96, 0.45);
  background: rgba(224, 174, 96, 0.12);
  color: #9b5b12;
}
.luma-map-content {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  height: 100%;
}
.luma-events-panel {
  overflow: hidden;
  background: #171613;
  border-right: 1px solid var(--border);
}
.luma-date-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-bottom: 1px solid var(--border);
}
.luma-date-row strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.luma-date-row span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.luma-date-row.muted {
  display: none;
}
.luma-date-divider {
  height: 24px;
  background: #11100e;
}
.luma-date-divider strong,
.luma-date-divider span {
  font-size: 10px;
}
.luma-event-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 5px 9px;
  border-bottom: 1px solid var(--border);
  background: #171613;
  cursor: pointer;
  outline: none;
  transition: background 160ms ease, box-shadow 160ms ease;
}
.luma-event-row.selected {
  background: #24211c;
  box-shadow: inset 3px 0 0 #e0ae60;
}
.luma-event-row:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(224, 174, 96, 0.7);
}
.luma-event-cover {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.cover-purple { background: linear-gradient(145deg, #1d1b18, #7c5a26); }
.cover-orange { background: linear-gradient(145deg, #2b1608, #d17822); }
.cover-blue { background: linear-gradient(145deg, #182732, #4f7f91); }
.cover-gray { background: linear-gradient(145deg, #1d1d1d, #767067); }
.luma-event-copy { min-width: 0; }
.luma-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}
.luma-event-meta span {
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 750;
}
.luma-event-meta b {
  color: #e0ae60;
  font-size: 8px;
  font-weight: 850;
}
.luma-event-meta b::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 4px;
  border-radius: 50%;
  background: rgba(224, 174, 96, 0.32);
  vertical-align: 1px;
}
.luma-event-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.luma-event-copy p,
.luma-event-copy small {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.2;
  margin-top: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.luma-event-foot {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.luma-event-foot em {
  border-radius: 4px;
  background: rgba(224, 174, 96, 0.18);
  color: #955711;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  padding: 2px 6px;
}
.luma-event-foot span {
  border-radius: 999px;
  background: #343027;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
}
.luma-mapview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-top-left-radius: 8px;
  background: #11100e;
}
.luma-history-detail {
  position: absolute;
  z-index: 12;
  top: 14px;
  left: 12px;
  width: min(198px, calc(100% - 24px));
  pointer-events: auto;
}
.history-detail-panel {
  display: none;
  border: 1px solid rgba(224, 174, 96, 0.23);
  border-radius: 12px;
  background: rgba(23, 22, 19, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  padding: 10px;
  backdrop-filter: blur(10px);
}
.history-detail-panel.is-active {
  display: block;
}
.history-detail-kicker {
  color: #e0ae60;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.history-detail-panel h4 {
  color: var(--text);
  font-size: 11px;
  line-height: 1.15;
  margin: 0 0 7px;
}
.history-detail-panel p {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
}
.history-detail-grid {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 7px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.history-detail-grid span {
  color: var(--text-faint);
  font-size: 7.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.history-detail-grid strong {
  color: var(--text);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.25;
}
.history-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 9px;
}
.history-detail-actions button {
  border: 1px solid rgba(224, 174, 96, 0.26);
  border-radius: 999px;
  background: rgba(224, 174, 96, 0.14);
  color: var(--text);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  padding: 5px 8px;
}
.history-detail-actions button:last-child {
  background: #c19a67;
  color: #15120f;
}
.luma-leaflet-map {
  position: absolute;
  inset: 0;
}
.luma-mapview .leaflet-tile-pane {
  filter: saturate(0.9) contrast(1.04) brightness(1.06);
  opacity: 1;
}
.luma-mapview .leaflet-overlay-pane {
  opacity: 1;
}
.luma-mapview .leaflet-marker-pane {
  opacity: 1;
}
.luma-mapview .leaflet-control-attribution {
  display: none;
}
.campaign-map-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(22, 20, 17, 0.94);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.42);
  color: #f5efe6;
  transform: translateZ(0);
}
.campaign-map-marker span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.campaign-map-marker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.campaign-map-marker b {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  max-width: 76px;
  border: 1px solid rgba(224, 174, 96, 0.22);
  border-radius: 999px;
  background: rgba(17, 16, 14, 0.92);
  color: var(--text);
  font-size: 7px;
  font-weight: 850;
  line-height: 1;
  padding: 4px 6px;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}
.campaign-map-marker-billboard {
  background: #1a73e8;
}
.campaign-map-marker-cafe {
  width: 24px;
  height: 24px;
  background: #7d5528;
}
.campaign-map-marker-cafe span {
  width: 15px;
  height: 15px;
}
.campaign-map-marker-cafe svg {
  width: 14px;
  height: 14px;
}
.campaign-map-marker-cafe b {
  display: none;
}
.campaign-map-marker-taxi {
  background: #d9a441;
  color: #17130d;
}
.campaign-map-marker-venue {
  background: #2d6473;
}
.luma-cluster,
.luma-dot {
  position: absolute;
  z-index: 7;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #a65f12;
  color: #fff;
  box-shadow: 0 2px 8px rgba(54, 25, 0, 0.32);
  pointer-events: none;
}
.luma-cluster {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 900;
}
.luma-dot {
  width: 10px;
  height: 10px;
}
.c-midtown { left: 44%; top: 27%; background: #de5d36; width: 30px; height: 30px; font-size: 16px; }
.c-flatiron { left: 43%; top: 48%; }
.c-village { left: 34%; top: 66%; }
.c-soho { left: 26%; top: 78%; }
.d-ues { left: 64%; top: 24%; }
.d-brooklyn { left: 76%; top: 72%; }
.flow-stage[data-active="2"] .luma-cluster:not(.c-midtown),
.flow-stage[data-active="2"] .luma-dot {
  opacity: 0;
  transform: scale(0.78);
}
.flow-stage[data-active="2"] .c-midtown {
  opacity: 0;
}
.luma-history-detail {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease 1650ms, transform 260ms ease 1650ms;
  pointer-events: none;
}
.flow-stage[data-active="2"] .luma-history-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.luma-route-callout {
  position: absolute;
  right: 12px;
  bottom: 36px;
  z-index: 9;
  display: grid;
  gap: 2px;
  min-width: 150px;
  border: 1px solid rgba(224, 174, 96, 0.22);
  border-radius: 12px;
  background: rgba(23, 22, 19, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  padding: 9px 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease 1800ms, transform 260ms ease 1800ms;
  pointer-events: none;
}
.flow-stage[data-active="2"] .luma-route-callout {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}
.luma-route-callout span {
  color: #8ab4f8;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.luma-route-callout strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}
.assets-library-page {
  display: grid;
  grid-area: 1 / 1;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  height: 100%;
  padding: 14px;
  background:
    radial-gradient(circle at 80% 0%, rgba(224, 174, 96, 0.08), transparent 34%),
    #171613;
  clip-path: inset(0 0 var(--assets-clip, 100%) 0 round 0);
  transform: translateY(var(--assets-card-y, 10px)) scale(var(--assets-card-scale, 0.985));
  transform-origin: center;
  transition: clip-path 120ms linear, transform 120ms linear;
  pointer-events: none;
  z-index: 2;
}
.flow-stage[data-active="3"] .assets-library-page {
  pointer-events: auto;
}
.assets-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.assets-library-head > div {
  display: grid;
  gap: 2px;
}
.assets-library-head strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}
.assets-library-head span {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 650;
}
.assets-library-head button {
  border: 1px solid rgba(224, 174, 96, 0.28);
  border-radius: 999px;
  background: #c19a67;
  color: #15120f;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  padding: 6px 10px;
}
.assets-library-controls {
  display: flex;
  gap: 14px;
  overflow: hidden;
}
.assets-library-controls span {
  position: relative;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 800;
  padding: 3px 0 6px;
  white-space: nowrap;
}
.assets-library-controls span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}
.assets-library-controls .is-active {
  color: #e0ae60;
}
.assets-library-controls .is-active::after {
  background: #e0ae60;
}
.assets-library-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 8px;
  min-height: 0;
}
.asset-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(35, 32, 27, 0.82);
}
.asset-card-featured {
  grid-row: span 2;
}
.asset-preview {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 10px;
  background: #211f1b;
}
.asset-card-featured .asset-preview {
  min-height: 126px;
}
.asset-preview span {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.84);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 4px 6px;
  text-transform: uppercase;
}
.asset-preview strong {
  max-width: 170px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.asset-card-featured .asset-preview strong {
  font-size: 20px;
}
.asset-preview-billboard {
  background:
    linear-gradient(135deg, rgba(26, 115, 232, 0.88), rgba(29, 27, 24, 0.5)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 13px);
}
.asset-preview-taxi {
  background:
    linear-gradient(145deg, rgba(217, 164, 65, 0.95), rgba(45, 28, 9, 0.88));
}
.asset-preview-poster {
  background:
    radial-gradient(circle at 74% 25%, rgba(255,255,255,0.55), transparent 18%),
    linear-gradient(145deg, rgba(74, 66, 48, 0.98), rgba(24, 23, 21, 0.94));
}
.asset-preview-venue {
  background:
    linear-gradient(145deg, rgba(45, 100, 115, 0.98), rgba(18, 29, 33, 0.92));
}
.asset-card-meta {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
}
.asset-card-meta strong {
  overflow: hidden;
  color: var(--text);
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset-card-meta span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assets-library-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.assets-library-rules div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(35, 32, 27, 0.72);
  padding: 8px;
}
.assets-library-rules span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e0ae60;
  box-shadow: 0 0 0 5px rgba(224, 174, 96, 0.12);
}
.assets-library-rules strong {
  color: var(--text);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.25;
}
.luma-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 8;
  display: flex;
  overflow: hidden;
  border: 1px solid #d5d4d3;
  border-radius: 999px;
  background: rgba(253, 251, 251, 0.92);
  box-shadow: 0 2px 8px rgba(36, 12, 0, 0.1);
}
.luma-zoom span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 20px;
  color: #77726e;
  font-size: 13px;
  font-weight: 800;
}
.luma-zoom span + span {
  border-left: 1px solid #e2e1e0;
}

/* ─────────────────────── Waitlist ─────────────────────── */
.waitlist-section {
  position: relative;
  overflow: clip;
  scroll-margin-top: calc(var(--pin-top, 114px) + 18px);
  padding: 104px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(224, 174, 96, 0.11), transparent 34%),
    linear-gradient(180deg, #171613 0%, var(--bg) 100%);
}
.waitlist-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), transparent 34%),
    rgba(35, 32, 27, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  padding: 34px;
}
.waitlist-copy h2 {
  max-width: 480px;
  margin: 0 0 14px;
}
.waitlist-copy p {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
}
.waitlist-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.waitlist-proof span {
  border: 1px solid rgba(224, 174, 96, 0.22);
  border-radius: 999px;
  background: rgba(224, 174, 96, 0.08);
  color: #e0ae60;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}
.waitlist-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(18, 17, 15, 0.88);
  padding: 18px;
}
.waitlist-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.waitlist-form label {
  display: grid;
  gap: 7px;
}
.waitlist-form label span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}
.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 12px 13px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.waitlist-form textarea {
  resize: vertical;
  min-height: 86px;
}
.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: rgba(224, 174, 96, 0.62);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(224, 174, 96, 0.12);
}
.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: var(--text-faint);
}
.waitlist-form .btn {
  width: 100%;
  justify-content: center;
}
.waitlist-status {
  min-height: 18px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.45;
}
.waitlist-status[data-state="pending"] {
  color: #e0ae60;
}
.waitlist-status[data-state="success"] {
  color: #8fd39a;
}
.waitlist-status[data-state="error"] {
  color: #ff8f80;
}

/* ─────────────────────── Privacy ─────────────────────── */
.section-mole {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  user-select: none;
  -webkit-user-drag: none;
}
.privacy-block { text-align: center; max-width: 720px; margin: 0 auto; }
.privacy-block h2 { margin-bottom: 18px; }
.privacy-block .lead { margin-bottom: 36px; }
.website-intake {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 22px;
}
.website-intake input {
  min-height: 54px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  padding: 0 16px;
}
.intake-output {
  max-width: 980px;
  margin: 0 auto;
}
.intake-output-empty {
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 22px;
  color: var(--text-muted);
  text-align: center;
}
.intake-result {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: left;
}
.intake-result-head {
  margin-bottom: 24px;
}
.intake-result-head h3 {
  margin-bottom: 8px;
}
.intake-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.intake-stack {
  display: grid;
  gap: 10px;
}
.intake-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 12px;
}
.intake-card strong,
.intake-card span,
.intake-card small {
  display: block;
}
.intake-card span {
  color: var(--text-muted);
  font-size: 13px;
}
.intake-card small {
  margin-top: 4px;
  color: var(--text-faint);
  line-height: 1.45;
}
.privacy-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
}
.pill svg { width: 14px; height: 14px; color: var(--accent); }

/* ─────────────────────── Pricing ─────────────────────── */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pricing-head h2 { margin-bottom: 14px; }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-card), rgba(184, 149, 106, 0.05));
  position: relative;
}
.price-card.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -12px; left: 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1c1a17;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-amount {
  font-family: 'Sansita', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}
.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.price-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 14.5px;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.price-features li:first-child { border-top: none; }
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-cta { width: 100%; }
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 36px;
}

/* ─────────────────────── About ─────────────────────── */
.about-block { max-width: 640px; margin: 0 auto; }
.about-block .eyebrow,
.about-block h2 { text-align: center; }
.about-block h2 { margin-bottom: 36px; }
.about-block p { font-size: 16px; line-height: 1.7; margin-bottom: 18px; }

/* ─────────────────────── Contact ─────────────────────── */
.contact-block { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-mole {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  user-select: none;
  -webkit-user-drag: none;
}
.contact-block h2 { margin-bottom: 18px; }
.contact-block .lead { margin-bottom: 28px; }
.contact-email {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-bright);
  padding: 14px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-email:hover {
  background: var(--accent);
  color: #1c1a17;
}

/* ─────────────────────── FAQ ─────────────────────── */
.faq-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.faq-head h2 { margin-bottom: 12px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
}
.faq-list .faq-item:last-of-type { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: 'Sansita', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  padding: 22px 32px 22px 4px;
  list-style: none;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--accent-bright); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
  width: 22px;
  text-align: center;
  line-height: 1;
}
details[open] .faq-q::after { content: '−'; }
.faq-a {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 0 4px 24px;
  max-width: 700px;
}

/* ─────────────────────── Final CTA ─────────────────────── */
section.dark { position: relative; overflow: hidden; padding-bottom: 56px; }
section.dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
section.dark .wrap { position: relative; z-index: 1; }
.final-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta h2 { margin-bottom: 18px; }
.final-cta p { margin-bottom: 32px; font-size: 18px; }
.final-cta-mole {
  width: 120px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  user-select: none;
  -webkit-user-drag: none;
}

/* ─────────────────────── Page hero (non-home pages) ─────────────────────── */
.page-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
}
.page-hero .lead { max-width: 600px; margin: 0 auto; }

/* ─────────────────────── Footer ─────────────────────── */
footer {
  padding: 32px 40px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  background: var(--bg);
}
footer a { color: var(--text-muted); transition: color 0.15s ease; }
footer a:hover { color: var(--accent-bright); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* ─────────────────────── Mobile ─────────────────────── */
@media (max-width: 980px) {
  .hero-proof .counter { font-size: 40px; }
  .nav-inner > .btn { font-size: 13px; padding: 8px 14px; }

  /* Mobile = same anchored slideshow as desktop. The flow-track + flow-pin
     sticky mechanism stays; only the grid flips from side-by-side
     (text | mock) to stacked (mock on top, text below). Panes still
     overlap at grid-area 1/1 and swap via opacity, JS still drives
     data-active + --hero-overlay, the progress bar stays at the bottom. */
  .flow-stage { padding-top: 0; }
  /* Make .wrap a vertical flex column that fills the pin so the progress
     bar can sit at the bottom while the mock+text fill the space above. */
  .flow-stage > .wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 16px; /* breathing room under the progress bar */
    transform: none;
  }
  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
    /* minmax(0, 1fr) lets the mock row shrink below its intrinsic content
       height (chrome + 7 feed rows ≈ 500px); without it the row floors at
       min-content and pushes the progress bar off-screen on big phones. */
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: stretch;
    flex: 1; /* take remaining wrap height; progress sits below */
    min-height: 0; /* override flex item's default min-height: auto so the
                      grid can shrink to its allotted flex space instead of
                      ballooning to its children's combined min-content. */
  }
  .flow-mock-wrap {
    order: -1; /* mock sits at the top, text fills below */
    min-height: 0; /* let the grid 1fr cell shrink/grow as needed */
    display: flex;
  }
  .flow-mock-wrap .app-mock {
    --mock-content-h: 264px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .flow-mock-wrap .app-mock-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  /* Top-align each pane's content directly under the mock — no centering,
     no large empty band between the mock and the headline. Pane content
     starts immediately below the mock + grid gap. */
  .flow-text-pane {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Find/Chat panes: keep the bullets so each pane has enough body to fill
     the panel; drop the per-pane CTA (the hero CTA is enough on mobile). */
  .flow-pane-hero h1 { font-size: clamp(28px, 7.6vw, 36px); }
  .flow-pane-hero .hero-sub { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
  .flow-text-pane h2 { font-size: clamp(20px, 5.6vw, 26px); line-height: 1.2; }
  .flow-text-pane > p { font-size: 15px; line-height: 1.55; }
  .flow-text-pane .tab-bullets { margin-bottom: 0; }
  .flow-text-pane .tab-bullets li { font-size: 14px; padding: 9px 0 9px 26px; }
  .flow-text-pane .tab-bullets li::before { top: 14px; }
  .flow-text-pane .tab-bullets li::after { top: 18px; }
  .flow-text-pane .tab-bullets li:nth-child(n+3) { display: none; }
  .tab-cta-row { display: none; }

  /* Mobile mock: strip the desktop chrome (account email, trial pill,
     "Customers" nav, source/heat filters, density toggle, source + date
     columns) so the preview reads as a clean leads list at narrow width. */
  .app-mock-account,
  .app-mock-trial,
  .app-mock-auto-approve,
  .app-mock-tabs-right,
  .app-mock-feed-source,
  .app-mock-feed-date { display: none; }
  .app-mock-navpill:not(.active) { display: none; }
  .app-mock-header-spacer { display: none; }
  .app-mock-header { gap: 8px; padding: 8px 12px; }
  .app-mock-tabs { padding: 0 8px; gap: 14px; }
  .app-mock-tab { padding: 10px 0; }
  .app-mock-feed-row { padding: 9px 12px; gap: 10px; }
  .app-mock-feed-name { font-size: 13px; }
  .app-mock-feed-body { font-size: 12px; }
  .app-mock-feed-avatar { width: 26px; height: 26px; font-size: 11px; }
  /* Show all rows on mobile; the mock body's overflow:hidden clips any that
     don't fit so the preview always reads as a full feed. */

  /* Joel-in-mock smaller on mobile (transition timing inherits from base). */
  .mock-mole { width: 130px; }

  /* Mock-caption is absolute within its (relative) mock-wrap, sat at the bottom
     of the mock card. */
  .mock-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    margin-top: 0;
  }
  /* Progress bar flows in normal column order: grid (mock + text) takes flex:1,
     progress bar sits as the last block, so the two stack vertically with no
     overlap regardless of viewport height. */
  .flow-progress {
    margin-top: 16px;
    flex: 0 0 auto;
  }

  /* Hero CTA on mobile: full-width download button + small trial meta.
     Hidden only on very tight viewports — see the small-viewport block
     below where iPhone-SE-class devices drop it to make room. */
  .hero-cta-row {
    margin-bottom: 12px;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-meta { font-size: 12px; }

  /* Hero proof on mobile: counter sits on top of the label, icons hug the
     right edge. Counter shrinks, label gets de-emphasized. */
  .hero-proof { padding-top: 10px; }
  .hero-cta-row { margin-bottom: 12px; }
  .hero-proof-num {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero-proof .counter { font-size: 32px; }
  .hero-proof-label { font-size: 12px; color: var(--text-faint); }
  .hero-source-icon { width: 28px; height: 28px; }

  /* Privacy pills become full-width cards with a title + subtitle. */
  .privacy-block { text-align: left; }
  .privacy-block h2,
  .privacy-block .lead { text-align: left; }
  .website-intake,
  .intake-columns {
    grid-template-columns: 1fr;
  }
  .mapping-workspace,
  .mapping-field-grid,
  .mapping-candidates {
    grid-template-columns: 1fr;
  }
  .mapping-candidates,
  .mapping-candidates .mapping-panel-head,
  .mapping-candidates .mapping-actions {
    grid-column: auto;
  }
  .privacy-pills {
    flex-direction: column;
    gap: 8px;
  }
  .pill {
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg-card);
  }
  .pill svg { width: 18px; height: 18px; flex-shrink: 0; }
  .pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
  }
  .pill-title { font-size: 13px; font-weight: 600; color: var(--text); }
  .pill-sub { display: block; font-size: 12px; color: var(--text-faint); }

  /* Final CTA: full-width button + small trial-meta line below. */
  .final-cta .btn-large {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .final-cta-meta {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-faint);
  }
}
/* Tight viewports (iPhone SE class). The pinned slideshow doesn't have
   room for 4 mock rows + 2 bullets + paragraph + h2 + progress bar, so
   trim everything proportionally so nothing clips. */
@media (max-width: 980px) and (max-height: 720px) {
  /* Mock: 3 rows instead of 4, slightly smaller chrome. */
  .app-mock-feed-row:nth-child(n+4) { display: none; }
  .app-mock-header { padding: 6px 10px; }
  .app-mock-tabs { padding: 0 8px; gap: 12px; }
  .app-mock-tab { padding: 8px 0; font-size: 11px; }
  .app-mock-feed-row { padding: 7px 10px; gap: 8px; }
  .app-mock-feed-name { font-size: 12px; }
  .app-mock-feed-body { font-size: 11px; }
  .app-mock-feed-avatar { width: 22px; height: 22px; font-size: 10px; }

  /* Pane copy: 1 bullet max, tighter h2/paragraph. */
  .flow-text-pane .tab-bullets li:nth-child(n+2) { display: none; }
  .flow-text-pane h2 { font-size: 20px; margin-bottom: 8px; }
  .flow-text-pane > p { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
  .flow-pane-hero h1 { font-size: 26px; }
  .flow-pane-hero .hero-sub { font-size: 14px; margin-bottom: 14px; }
  .hero-proof .counter { font-size: 26px; }
  .hero-source-icon { width: 24px; height: 24px; }

  /* Drop the hero CTA on tight viewports (iPhone SE class) — no room. */
  .hero-cta-row { display: none; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 6px 20px; gap: 0; justify-content: space-between; }
  nav { border-bottom: none; }
  /* Shorter promo banner on mobile (~3/4 the desktop height). JS recomputes
     --pin-top on resize so the slideshow pin keeps hugging it. */
  .promo { padding: 5px 16px; font-size: 12px; }
  .nav-link { display: none; }
  .nav-links { display: none; }
  .nav-inner > .btn { display: none; }
  .nav-logo { font-size: 17px; gap: 9px; }
  .hero-sub { font-size: 16px; }
  .pricing-cards { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .price-card { padding: 28px 24px; }
  .price-amount { font-size: 36px; }
  .flow-text-pane h2 { font-size: 24px; }
  .flow-text-pane p { font-size: 16px; }
  .flow-stage[data-active="2"] .ads-mock-dashboard,
  .flow-stage[data-active="3"] .ads-mock-dashboard { min-height: 0; }
  .assets-library-page { padding: 10px; }
  .assets-library-grid { gap: 7px; }
  .asset-card-featured .asset-preview { min-height: 112px; }
  .asset-preview { min-height: 50px; padding: 8px; }
  .assets-library-rules strong { font-size: 7.5px; }
  .luma-map-page { height: 100%; }
  .luma-map-header {
    height: 34px;
    padding: 0 10px;
  }
  .luma-city-icon {
    width: 20px;
    height: 20px;
    font-size: 7px;
  }
  .luma-city strong { font-size: 12px; }
  .luma-city small { display: none; }
  .luma-header-actions span { display: none; }
  .luma-header-actions b {
    font-size: 7.5px;
    padding: 3px 6px;
  }
  .luma-map-content {
    display: block;
    position: relative;
    height: 100%;
  }
  .luma-mapview {
    position: absolute;
    inset: 0;
  }
  .luma-events-panel {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 14;
    display: flex;
    height: 66px;
    overflow: hidden;
    border: 1px solid rgba(224, 174, 96, 0.2);
    border-radius: 12px;
    background: rgba(17, 16, 14, 0.9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .flow-stage[data-active="2"] .luma-events-panel,
  .flow-stage[data-active="3"] .luma-events-panel {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }
  .luma-date-row {
    display: none;
  }
  .luma-date-divider { display: none; }
  .luma-event-row {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
    height: 100%;
    padding: 7px;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
  .luma-event-row:nth-of-type(n+5) { display: none; }
  .luma-event-row:last-child { border-right: 0; }
  .luma-event-row.selected { border-left: 0; }
  .luma-event-cover {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    font-size: 8px;
  }
  .luma-event-meta {
    margin-bottom: 2px;
  }
  .luma-event-meta span,
  .luma-event-copy p,
  .luma-event-copy small {
    font-size: 8.5px;
  }
  .luma-event-meta b {
    display: none;
  }
  .luma-event-copy strong {
    font-size: 8.5px;
    -webkit-line-clamp: 2;
  }
  .luma-event-copy p { display: none; }
  .luma-event-foot {
    display: none;
  }
  .luma-history-detail {
    top: 8px;
    left: 8px;
    width: min(160px, calc(100% - 16px));
  }
  .history-detail-panel {
    border-radius: 6px;
    padding: 8px;
  }
  .history-detail-kicker {
    font-size: 7px;
    margin-bottom: 4px;
  }
  .history-detail-panel h4 {
    font-size: 9px;
    margin-bottom: 5px;
  }
  .history-detail-panel p {
    display: none;
  }
  .history-detail-grid {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 5px;
    padding-top: 6px;
  }
  .history-detail-grid span {
    font-size: 6.5px;
  }
  .history-detail-grid strong {
    font-size: 7px;
  }
  .history-detail-actions {
    gap: 4px;
    margin-top: 7px;
  }
  .history-detail-actions button {
    border-radius: 4px;
    font-size: 7px;
    padding: 4px 5px;
  }
  .luma-route-callout {
    right: 6px;
    bottom: 8px;
    min-width: 112px;
    border-radius: 6px;
    padding: 6px 7px;
  }
  .luma-route-callout span {
    font-size: 6.5px;
  }
  .luma-route-callout strong {
    font-size: 8px;
  }
  .luma-cluster {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .c-midtown {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .luma-zoom {
    display: none;
  }
  .mapping-map-primary { min-height: 248px; }
  .map-search-row {
    left: 8px;
    right: 8px;
    top: 8px;
    min-height: 30px;
    padding: 0 8px;
  }
  .map-search-row span { font-size: 9px; }
  .map-layer-card { display: none; }
  .map-event-card {
    left: 118px;
    right: 8px;
    top: 46px;
    width: auto;
    padding: 7px;
  }
  .map-event-card::before {
    left: -30px;
    width: 30px;
  }
  .map-event-card strong {
    font-size: 10.5px;
  }
  .map-event-card span { font-size: 7px; }
  .map-event-card p,
  .map-event-card div { display: none; }
  .map-inspector {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    padding: 8px;
  }
  .map-inspector-head {
    margin-bottom: 6px;
  }
  .map-inspector-head strong {
    display: none;
  }
  .map-inspector-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .map-inspector article {
    padding: 6px;
  }
  .map-inspector article p { display: none; }
  .map-inspector article:nth-child(n+2) { display: none; }
  .map-inspector-actions {
    margin-top: 6px;
  }
  .map-inspector-actions button {
    min-height: 24px;
    font-size: 8.5px;
  }
  .waitlist-section {
    padding: 72px 0;
  }
  .waitlist-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 14px;
    padding: 22px;
  }
  .waitlist-copy p {
    font-size: 15px;
  }
  .waitlist-proof {
    margin-top: 18px;
  }
  .waitlist-form-grid {
    grid-template-columns: 1fr;
  }
  footer { padding: 24px 20px 32px; }
}
