/* ============================================================
   BUDDY B — MARKETING SITE STYLES
   Layered on top of bb-tokens.css + bb-system.css
   ============================================================ */

html { scroll-behavior: smooth; }
body { background: var(--color-surface); overflow-x: hidden; }

/* ── layout primitives ─────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }
.section-bg-1 { background: var(--color-surface-1); }
.section-bg-2 { background: var(--color-surface-2); }
.section-dark { background: var(--color-surface-inv); color: var(--color-ink-on-inv); }

/* ── nav ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: oklch(0.988 0.003 295 / 0.72);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base), padding var(--dur-base);
}
.nav.scrolled { border-bottom-color: var(--color-border); padding-block: 12px; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand .wm { font-size: 22px; cursor: pointer; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 14px; border-radius: 6px;
  font-size: 13.5px; color: var(--color-ink-1); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur-fast), color var(--dur-fast);
  cursor: pointer;
}
.nav-link:hover { background: var(--color-surface-1); color: var(--color-ink); }
.nav-link.active { color: var(--color-accent); }
.nav-link.active::after {
  content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--color-accent);
  margin-left: 4px;
}
.nav-dropdown-trigger::after {
  content: "⌄"; font-size: 12px; color: var(--color-ink-3); margin-left: 2px; transition: transform var(--dur-fast);
}
.nav-dropdown-trigger:hover::after { transform: translateY(2px); color: var(--color-ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ── dropdown ──────────────────────────────────── */
.nav-dropdown { position: relative; }
/* Invisible hover-bridge so the cursor doesn't fall off the trigger
   when moving toward the panel. Sits over the visual gap between the
   trigger and the panel. */
.nav-dropdown::after {
  content: "";
  position: absolute; top: 100%; left: 0; right: 0;
  height: 16px;
  pointer-events: none;
}
.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after { pointer-events: auto; }
.nav-dd-panel {
  position: absolute; top: 100%; left: 50%;
  margin-top: 12px;
  transform: translateX(-50%) translateY(-6px);
  width: 520px; padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-base), transform var(--dur-base), visibility var(--dur-base);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
/* Bridge above the panel to absorb the visual 12px gap into the
   hover hit-box. */
.nav-dd-panel::before {
  content: "";
  position: absolute; left: 0; right: 0;
  top: -16px; height: 16px;
}
.nav-dropdown:hover .nav-dd-panel,
.nav-dropdown:focus-within .nav-dd-panel {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--dur-fast);
}
.nav-dd-item:hover { background: var(--color-surface-1); }
.nav-dd-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--color-accent-tint); color: var(--color-accent);
  display: grid; place-items: center; margin-bottom: 6px;
}
.nav-dd-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-dd-title { font-size: 13.5px; font-weight: 500; color: var(--color-ink); }
.nav-dd-desc { font-size: 12px; color: var(--color-ink-3); line-height: 1.4; }

/* spacer for fixed nav */
.nav-spacer { height: 68px; }

/* ── page transitions ──────────────────────────── */
.page { display: none; }
.page.active { display: block; animation: fade-up var(--dur-slow) var(--ease-standard); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── reveal on scroll ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* ── HERO — shared ─────────────────────────────── */
.hero-section { padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-headline {
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--color-ink);
}
.hero-headline .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-ink-1);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--color-border); max-width: 540px; }
.hero-stat-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-3); margin-bottom: 6px; }
.hero-stat-v { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.hero-stat-v .num { font-size: 22px; }

/* hero variant: SAFE */
.hero-safe .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--color-surface-inv);
  color: var(--color-ink-on-inv);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, oklch(0.58 0.22 285 / 0.36), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, oklch(0.7 0.16 65 / 0.16), transparent 70%);
  z-index: 0;
}
.hero-stage .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
.hero-stage .corner { position: absolute; padding: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: oklch(1 0 0 / 0.45); text-transform: uppercase; z-index: 2; }
.hero-stage .corner.tl { top:0; left:0; }
.hero-stage .corner.tr { top:0; right:0; }
.hero-stage .corner.bl { bottom:0; left:0; }
.hero-stage .corner.br { bottom:0; right:0; }

/* dashboard card floating in hero stage */
.hero-dash-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 78%;
  transform: translate(-50%, -50%);
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 60px 120px -30px oklch(0 0 0 / 0.6), 0 30px 60px -20px oklch(0 0 0 / 0.4);
  z-index: 3;
  display: flex; flex-direction: column; gap: 16px;
}
.hero-dash-head { display: flex; justify-content: space-between; align-items: center; }
.hero-dash-head .wm { font-size: 16px; }
.hero-dash-eyetag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.hero-dash-bal {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hero-dash-bal .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.hero-dash-bal .v { font-family: var(--font-mono); font-size: 28px; font-weight: 500; letter-spacing: -0.015em; }
.hero-dash-bal .d { font-family: var(--font-mono); font-size: 11px; color: var(--color-confirm); }
.hero-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-dash-stat { background: var(--color-surface-1); border-radius: 8px; padding: 10px 12px; }
.hero-dash-stat .l { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.hero-dash-stat .v { font-family: var(--font-mono); font-size: 14px; font-weight: 500; margin-top: 3px; }
.hero-dash-spark {
  background: var(--color-surface-1); border-radius: 8px; padding: 12px;
  display: flex; align-items: end; gap: 4px; height: 60px;
}
.hero-dash-spark .bar { flex: 1; background: var(--color-ink-2); border-radius: 2px 2px 0 0; }
.hero-dash-spark .bar.accent { background: var(--color-accent); }

/* float tiles in background */
.hero-tile {
  position: absolute;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--color-ink-on-inv);
  font-family: var(--font-mono);
  font-size: 11px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  animation: float 8s ease-in-out infinite;
}
.hero-tile .k { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(1 0 0 / 0.5); }
.hero-tile .v { font-size: 14px; font-weight: 500; color: white; }
.hero-tile.t1 { top: 8%; right: 5%; animation-delay: 0s; }
.hero-tile.t2 { bottom: 22%; left: 8%; animation-delay: -3s; }
.hero-tile.t3 { bottom: 6%; right: 8%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* hero variant: EDITORIAL */
.hero-editorial { padding-top: 160px; padding-bottom: 120px; }
.hero-editorial .hero-grid { display: block; max-width: 1100px; margin: 0 auto; }
.hero-editorial .hero-headline {
  font-size: clamp(72px, 11vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin: 0 auto 36px;
  text-align: center;
}
.hero-editorial .hero-headline .ital {
  display: block;
  font-size: 1em;
  letter-spacing: -0.02em;
}
.hero-editorial .hero-lead {
  text-align: center; margin: 0 auto 36px;
  max-width: 58ch; font-size: 20px;
}
.hero-editorial .hero-ctas { justify-content: center; }
.hero-editorial .hero-eyebrow { justify-content: center; margin-bottom: 36px; }
.hero-editorial-strip {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hero-editorial-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-editorial-cell:last-child { border-right: 0; }
.hero-editorial-cell .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-3); }
.hero-editorial-cell .v { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.hero-editorial-cell .v em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }

/* hero variant: MOTION-FORWARD */
.hero-motion { padding-top: 140px; padding-bottom: 100px; position: relative; min-height: 720px; }
.hero-motion .hero-grid { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.hero-motion .hero-headline { font-size: clamp(64px, 9vw, 124px); line-height: 0.94; text-align: center; }
.hero-motion .hero-eyebrow { justify-content: center; }
.hero-motion .hero-lead { margin: 0 auto 36px; text-align: center; }
.hero-motion .hero-ctas { justify-content: center; }
.motion-orbit {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.motion-tile {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 4px;
  width: max-content;
  animation: drift 16s linear infinite;
}
.motion-tile .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3); }
.motion-tile .v { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: var(--color-ink); }
.motion-tile .v.pos { color: var(--color-confirm); }
.motion-tile .v.neg { color: var(--color-caution); }
.motion-tile.m1 { top: 18%; left: 6%; animation-delay: -2s; }
.motion-tile.m2 { top: 12%; right: 8%; animation-delay: -7s; }
.motion-tile.m3 { bottom: 22%; left: 10%; animation-delay: -10s; }
.motion-tile.m4 { bottom: 18%; right: 6%; animation-delay: -4s; }
.motion-tile.m5 { top: 50%; left: 2%; animation-delay: -12s; transform: translateY(-50%); }
.motion-tile.m6 { top: 50%; right: 2%; animation-delay: -14s; transform: translateY(-50%); }
@keyframes drift {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  25%  { transform: translateY(-10px) rotate(-0.5deg); }
  50%  { transform: translateY(0) rotate(0deg); }
  75%  { transform: translateY(8px) rotate(0.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.hero-motion::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, var(--color-accent-tint), transparent 70%);
  z-index: 0;
}

/* ── trust bar ─────────────────────────────────── */
.trust { padding: 48px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-head { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ink-3); margin-bottom: 28px; }
.trust-marquee {
  display: flex; gap: 64px; align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.trust-track { display: flex; gap: 64px; align-items: center; animation: marquee 30s linear infinite; flex-shrink: 0; padding-right: 64px; }
.trust-logo {
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  color: var(--color-ink-2); letter-spacing: -0.01em; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.trust-logo::before { content: ""; width: 4px; height: 4px; background: var(--color-ink-3); border-radius: 999px; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ── section head ──────────────────────────────── */
.s-head { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.s-head .s-eyebrow { padding-top: 8px; }
.s-head h2 {
  margin: 0;
  font-size: 48px; line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 24ch;
}
.s-head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.s-head p { margin: 16px 0 0; color: var(--color-ink-2); font-size: 16px; line-height: 1.55; max-width: 56ch; }
.s-head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 56px; }
.s-head-center h2 { font-size: 48px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; margin: 0; max-width: 22ch; }
.s-head-center h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.s-head-center p { color: var(--color-ink-2); font-size: 16px; max-width: 56ch; margin: 0; }

/* ── feature grid (2x2) ────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
  cursor: pointer;
  overflow: hidden;
}
.feat-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-accent-tint);
  color: var(--color-accent);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.feat-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 {
  margin: 0 0 8px;
  font-size: 24px; font-weight: 500; letter-spacing: -0.015em;
}
.feat-card h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.feat-card-desc { font-size: 14.5px; color: var(--color-ink-2); line-height: 1.6; margin-bottom: 24px; }
.feat-card-link {
  margin-top: auto;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; color: var(--color-accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur-fast);
}
.feat-card:hover .feat-card-link { gap: 10px; }
.feat-card-art {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 160px; height: 160px;
  opacity: 0.06;
  pointer-events: none;
}

/* ── cashflow teaser ───────────────────────────── */
.cf-teaser, .cashflow-rail {
  position: relative;
  display: flex; gap: 16px;
  overflow-x: auto;
  padding: 8px 32px 24px;
  margin: 0 -32px;
  scroll-snap-type: x mandatory;
}
.cf-teaser::-webkit-scrollbar,
.cashflow-rail::-webkit-scrollbar { height: 8px; }
.cf-teaser::-webkit-scrollbar-track,
.cashflow-rail::-webkit-scrollbar-track { background: transparent; }
.cf-teaser::-webkit-scrollbar-thumb,
.cashflow-rail::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 999px; }
.cf-teaser .cf-card { flex: 0 0 280px; scroll-snap-align: start; }
.cashflow-rail .cf-card { flex: 0 0 300px; scroll-snap-align: start; }

/* ── AI showcase ───────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-copy h3 { font-size: 40px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 16px; }
.ai-copy h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.ai-copy p { font-size: 16px; line-height: 1.6; color: var(--color-ink-1); margin: 0 0 24px; max-width: 48ch; }
.ai-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ai-bullet { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--color-ink-1); }
.ai-bullet::before {
  content: ""; width: 18px; height: 18px;
  border-radius: 999px; background: var(--color-accent-tint);
  border: 2px solid var(--color-accent);
  flex-shrink: 0; margin-top: 3px;
  position: relative;
}
.ai-bullet strong { font-weight: 500; color: var(--color-ink); }

.ai-chat {
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-md);
}
.ai-chat-bubble {
  max-width: 88%; padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.55;
  position: relative;
}
.ai-chat-bubble.user {
  align-self: flex-end;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  border-bottom-right-radius: 4px;
}
.ai-chat-bubble.bot {
  align-self: flex-start;
  background: var(--color-accent);
  color: white;
  border-bottom-left-radius: 4px;
}
.ai-chat-avatar {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3);
}
.ai-chat-avatar::before {
  content: "B"; display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: var(--color-accent); color: white;
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  border-radius: 999px;
}
.ai-chat-typing {
  align-self: flex-start;
  display: flex; gap: 4px; padding: 14px 18px;
  background: var(--color-accent);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.ai-chat-typing span {
  width: 6px; height: 6px; border-radius: 999px; background: white; opacity: 0.6;
  animation: pulse 1.2s ease-in-out infinite;
}
.ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

/* ── privacy demo ──────────────────────────────── */
.priv-band {
  background: var(--color-surface-inv);
  color: var(--color-ink-on-inv);
  border-radius: 24px;
  padding: 72px 56px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
  position: relative;
  overflow: hidden;
}
.priv-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, oklch(0.58 0.22 285 / 0.2), transparent 60%);
  pointer-events: none;
}
.priv-band > * { position: relative; z-index: 1; }
.priv-band .s-eyebrow { color: oklch(1 0 0 / 0.5); }
.priv-band .s-eyebrow::before { background: var(--color-accent); }
.priv-band h2 { font-size: 44px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 16px; color: white; max-width: 18ch; }
.priv-band h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: oklch(0.8 0.18 285); }
.priv-band p { color: oklch(1 0 0 / 0.7); font-size: 16px; line-height: 1.55; max-width: 44ch; margin: 0; }
.priv-demo {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.priv-demo-bar { display: flex; justify-content: space-between; align-items: center; }
.priv-demo-bar .priv-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(1 0 0 / 0.5); }
.priv-eye {
  width: 36px; height: 36px; border-radius: 999px;
  background: oklch(1 0 0 / 0.08); border: 1px solid oklch(1 0 0 / 0.16);
  display: grid; place-items: center;
  color: white; cursor: pointer;
  transition: background var(--dur-fast);
}
.priv-eye:hover { background: oklch(1 0 0 / 0.16); }
.priv-eye.off { background: var(--color-accent); border-color: transparent; }
.priv-eye svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.priv-rows { display: flex; flex-direction: column; gap: 16px; }
.priv-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid oklch(1 0 0 / 0.12); }
.priv-row:first-child { border-top: 0; padding-top: 0; }
.priv-row .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(1 0 0 / 0.5); }
.priv-row .v {
  font-family: var(--font-mono); font-size: 28px; font-weight: 500; letter-spacing: -0.015em;
  color: white;
  transition: filter var(--dur-base), letter-spacing var(--dur-base);
}
.priv-demo.hidden .v { letter-spacing: 0.1em; }

/* ── security strip ────────────────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}
.sec-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-confirm-tint);
  color: var(--color-confirm-ink);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.sec-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h4 { margin: 0 0 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.sec-card p { margin: 0; font-size: 14px; color: var(--color-ink-2); line-height: 1.55; }

/* ── testimonials ──────────────────────────────── */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.test-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 260px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
}
.test-card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.test-quote { font-size: 17px; line-height: 1.5; color: var(--color-ink); letter-spacing: -0.005em; flex: 1; }
.test-quote::before { content: "“"; font-family: var(--font-serif); color: var(--color-accent); font-size: 24px; line-height: 0; }
.test-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.test-author-av {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--color-accent-tint); color: var(--color-accent);
  display: grid; place-items: center;
  font-weight: 500; font-size: 13px;
}
.test-author-meta { display: flex; flex-direction: column; }
.test-author-name { font-size: 13.5px; font-weight: 500; }
.test-author-role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--color-ink-3); text-transform: uppercase; margin-top: 2px; }

/* ── pricing teaser ────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.price-card:hover { border-color: var(--color-border-strong); }
.price-card.featured { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md); }
.price-tag {
  position: absolute; top: -12px; left: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--color-accent); color: white;
  padding: 4px 10px; border-radius: 999px;
}
.price-name { font-size: 14px; font-weight: 500; color: var(--color-ink-2); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.price-num { font-family: var(--font-mono); font-size: 36px; font-weight: 500; letter-spacing: -0.015em; line-height: 1; }
.price-num small { font-family: var(--font-sans); font-size: 14px; color: var(--color-ink-3); font-weight: 400; margin-left: 6px; }
.price-desc { font-size: 13.5px; color: var(--color-ink-2); line-height: 1.5; min-height: 40px; }
.price-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-list li { font-size: 13.5px; color: var(--color-ink-1); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.price-list li::before {
  content: ""; width: 14px; height: 14px;
  border-radius: 999px; background: var(--color-confirm-tint); color: var(--color-confirm);
  flex-shrink: 0; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7l3 3 5-6' stroke='%2316a34a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px 14px;
}
.price-list li.excluded { color: var(--color-ink-3); }
.price-list li.excluded::before {
  background: var(--color-surface-1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7h8' stroke='%2399999c' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
}

/* ── FAQ ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  color: var(--color-ink);
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  display: grid; place-items: center;
  position: relative;
  transition: transform var(--dur-base), background var(--dur-fast);
  flex-shrink: 0;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute;
  background: var(--color-ink-1);
  border-radius: 1px;
  transition: transform var(--dur-base);
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-standard);
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 15px; line-height: 1.6;
  color: var(--color-ink-2);
  max-width: 70ch;
}

/* ── bottom CTA ────────────────────────────────── */
.cta-band {
  background: var(--color-accent);
  color: white;
  border-radius: 24px;
  padding: 80px 56px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, oklch(1 0 0 / 0.08), transparent 60%),
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  margin: 0; font-size: 56px; line-height: 1.0; letter-spacing: -0.03em; font-weight: 500;
  max-width: 16ch;
}
.cta-band h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: oklch(0.92 0.05 285); }
.cta-band p { margin: 0; font-size: 17px; max-width: 44ch; color: oklch(1 0 0 / 0.85); }
.cta-form {
  display: flex; gap: 8px; align-items: center;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.2);
  padding: 6px;
  border-radius: 999px;
  min-width: 460px;
}
.cta-form input {
  all: unset;
  flex: 1; padding: 8px 16px;
  color: white; font-size: 14px;
}
.cta-form input::placeholder { color: oklch(1 0 0 / 0.55); }
.cta-form .btn { background: white; color: var(--color-accent); border-color: transparent; height: 38px; padding: 0 18px; border-radius: 999px; }
.cta-band .footnote { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: oklch(1 0 0 / 0.5); }

/* ── footer ────────────────────────────────────── */
/* Tighten the gap between the bottom CTA's purple band and the footer.
   - shrink the last <section> in <main> bottom padding to 24px
   - hide the #feature-pages container completely when nothing routed in
     (it's display:block by default, which reserved ~40px of margin
     between the purple band and the footer)
   - footer keeps a small top padding so the divider line is breathable */
main > .section:last-of-type { padding-bottom: 24px; }
/* Ensure the bottom-CTA / about section clears the fixed nav when
   scrolled-to from the nav link, otherwise the purple band's top is
   tucked behind the translucent header. */
#about { scroll-margin-top: 80px; }
#feature-pages:empty,
#feature-pages:not(:has(.page.active)) { display: none; }
/* Older browsers without :has() fall back to inline display:none injected
   by site.js whenever the home page is active. */

.foot {
  padding: 20px 0 28px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--color-border);
}
.foot-row-l { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-row-l .wm { font-size: 20px; }
.foot-copy { font-size: 13px; color: var(--color-ink-2); }
.foot-row-r { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row-r a {
  font-size: 13px; color: var(--color-ink-1); cursor: pointer;
  transition: color var(--dur-fast);
}
.foot-row-r a:hover { color: var(--color-accent); }
.foot-corp {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 20px 0 0;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.02em; color: var(--color-ink-2);
}
.foot-corp strong { color: var(--color-ink); font-weight: 500; letter-spacing: 0; font-family: var(--font-sans); font-size: 12px; }
.foot-corp .num { color: var(--color-ink-1); letter-spacing: 0.04em; }
.foot-corp-sep { color: var(--color-ink-3); }

/* ── feature-page hero ─────────────────────────── */
.fp-hero { padding: 120px 0 64px; }
.fp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fp-hero h1 { margin: 24px 0; font-size: 64px; line-height: 1.0; letter-spacing: -0.03em; font-weight: 500; }
.fp-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.fp-hero p { font-size: 18px; line-height: 1.55; color: var(--color-ink-1); margin: 0 0 32px; max-width: 48ch; }

/* feature spotlight rows */
.spot { padding-block: 80px; border-top: 1px solid var(--color-border); }
.spot:first-of-type { border-top: 0; }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.spot-grid.reverse { grid-template-columns: 1fr 1fr; }
.spot-grid.reverse .spot-copy { order: 2; }
.spot-eyebrow { margin-bottom: 20px; }
.spot h3 { margin: 0 0 16px; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.spot h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.spot p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--color-ink-1); max-width: 48ch; }
.spot-points { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.spot-points li { font-size: 14.5px; color: var(--color-ink-1); display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.spot-points li::before {
  content: ""; width: 6px; height: 6px; background: var(--color-accent); border-radius: 999px;
  flex-shrink: 0; margin-top: 9px;
}

/* mini screen frame */
.mini-frame {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mini-frame::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background: var(--color-surface-1);
  border-radius: 19px 19px 0 0;
  border-bottom: 1px solid var(--color-border);
}
.mini-frame .mini-dots {
  position: absolute; top: 11px; left: 16px;
  display: flex; gap: 6px;
}
.mini-frame .mini-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--color-border-strong); }
.mini-frame .mini-url {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  background: var(--color-surface); padding: 3px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; color: var(--color-ink-3);
  border: 1px solid var(--color-border);
}
.mini-frame > .mini-canvas { margin-top: 30px; padding: 24px; background: var(--color-surface-1); border-radius: 0 0 12px 12px; }

/* page back banner */
.fp-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-3);
  margin-bottom: 8px;
  cursor: pointer;
}
.fp-back:hover { color: var(--color-accent); }
.fp-related {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 64px;
}
.fp-related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color var(--dur-base);
}
.fp-related-card:hover { border-color: var(--color-accent); }
.fp-related-card .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-3); }
.fp-related-card .v { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.fp-related-card .arrow { font-family: var(--font-mono); font-size: 11px; color: var(--color-accent); margin-top: 8px; }

/* ── live mini-renders: wallets list ─────────── */
.mini-wallets { display: flex; flex-direction: column; gap: 8px; }
.mini-wallet {
  display: grid; grid-template-columns: 32px 1fr auto auto; gap: 12px; align-items: center;
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.mini-wallet-ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--color-surface-1);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--color-ink-1);
}
.mini-wallet-name { font-size: 13px; font-weight: 500; }
.mini-wallet-sub { font-family: var(--font-mono); font-size: 10px; color: var(--color-ink-3); }
.mini-wallet-bal { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.mini-wallet-currency { font-family: var(--font-mono); font-size: 10px; color: var(--color-ink-3); letter-spacing: 0.06em; }

/* mini goals */
.mini-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-goal {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.mini-goal-head { display: flex; justify-content: space-between; align-items: baseline; }
.mini-goal-name { font-size: 13.5px; font-weight: 500; }
.mini-goal-pct { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--color-accent); }
.mini-goal-bar { height: 6px; background: var(--color-surface-1); border-radius: 999px; overflow: hidden; }
.mini-goal-bar > span { display: block; height: 100%; background: var(--color-accent); border-radius: inherit; }
.mini-goal-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--color-ink-3); }

/* ── BLOG page ─────────────────────────────────── */
.blog-hero { padding-bottom: 32px; }
.blog-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.blog-hero-grid h1 { margin: 24px 0 16px; font-size: 56px; line-height: 1.0; letter-spacing: -0.03em; font-weight: 500; }
.blog-hero-grid h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.blog-hero-grid p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--color-ink-1); max-width: 44ch; }

.blog-coming {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.blog-coming-pulse {
  position: absolute; top: 16px; right: 16px;
  width: 10px; height: 10px;
}
.blog-coming-pulse span {
  position: absolute; inset: 0;
  border-radius: 999px; background: var(--color-accent);
  animation: pulse-ring 2s ease-in-out infinite;
}
.blog-coming-pulse::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px; background: var(--color-accent);
}
@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}
.blog-form { display: flex; gap: 6px; align-items: center; }
.blog-form input {
  flex: 1; min-width: 0;
  padding: 0 14px; height: 40px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  font-family: var(--font-sans); font-size: 13.5px;
  background: var(--color-surface);
  color: var(--color-ink);
}
.blog-form input:focus { outline: 0; border-color: var(--color-accent); box-shadow: var(--shadow-focus); }
.blog-form .btn { height: 40px; }

.blog-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 16px;
}
.blog-strip-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 6px;
}
.blog-strip-cell:last-child { border-right: 0; }
.blog-strip-v { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.blog-strip-v em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  position: relative;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
}
.blog-card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.blog-card-title { margin: 4px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.blog-card-excerpt { margin: 0; font-size: 13.5px; color: var(--color-ink-2); line-height: 1.55; flex: 1; }
.blog-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--color-border);
}
.blog-card-stub {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent);
}

.blog-spotlight {
  background: var(--color-surface-1);
  border-radius: 24px;
  padding: 56px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.blog-spotlight-l h3 { margin: 16px 0; font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; }
.blog-spotlight-l h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--color-accent); }
.blog-spotlight-l p { font-size: 16px; line-height: 1.6; color: var(--color-ink-1); margin: 0 0 24px; max-width: 48ch; }
.blog-spotlight-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.blog-sample-drop {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1.5;
  margin: 0 0 18px;
  color: var(--color-ink);
}
.blog-drop {
  float: left;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 72px; line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--color-accent);
}
.blog-sample-body { font-size: 14px; line-height: 1.65; color: var(--color-ink-2); margin: 0 0 24px; }
.blog-sample-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--color-border);
}
.blog-sample-author { font-size: 13.5px; font-weight: 500; }

/* ── nav burger / mobile menu ──────────────────── */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 9px; width: 18px; height: 1.5px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform var(--dur-base), opacity var(--dur-fast), top var(--dur-base);
}
.nav-burger span:nth-child(1) { top: 11px; }
.nav-burger span:nth-child(2) { top: 17px; }
.nav-burger span:nth-child(3) { top: 23px; }
.nav-burger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  animation: nav-mobile-in var(--dur-base) var(--ease-standard);
}
@keyframes nav-mobile-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 12px;
  font-size: 16px; font-weight: 500;
  color: var(--color-ink);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur-fast);
}
.nav-mobile-link:hover { background: var(--color-surface-1); }
.nav-mobile-section {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ink-3);
  padding: 16px 12px 4px;
}
.nav-mobile-cta { display: flex; gap: 8px; padding: 16px 12px 0; }
.nav-mobile-cta .btn { flex: 1; }

/* tweak toggle: hide section-bg when bands off */
body.no-bands .section-bg-1 { background: transparent; }
body.no-bands .section-bg-2 { background: transparent; }

/* ── tweaks panel hidden by default ───────────── */
[data-hero-variant="editorial"] .hero-safe,
[data-hero-variant="editorial"] .hero-motion,
[data-hero-variant="safe"] .hero-editorial,
[data-hero-variant="safe"] .hero-motion,
[data-hero-variant="motion"] .hero-safe,
[data-hero-variant="motion"] .hero-editorial {
  display: none;
}

/* ============================================================
   APP DOWNLOAD CTA — store badges + waitlist band
   Responsive breakpoints for everything in this section live at
   the bottom of the file (tablet ≤1100, small ≤820, mobile ≤600).
   ============================================================ */
.hero-app-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  max-width: 540px;
}
.hero-app-row-lbl {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-ink-3);
  flex: 0 0 100%;
  margin-bottom: 4px;
}

/* Hero "store pill" — small, dense, design-system-native */
.store-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  min-height: 44px;
  position: relative;
}
.store-pill:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.store-pill-ic {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--color-ink);
  color: var(--color-surface);
  border-radius: 8px;
  flex-shrink: 0;
}
.store-pill-ic svg { width: 16px; height: 16px; }
.store-pill-meta {
  display: flex; flex-direction: column; line-height: 1;
}
.store-pill-pre {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-ink-3);
  margin-bottom: 3px;
}
.store-pill-name {
  font-family: var(--font-sans); font-size: 13px;
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--color-ink);
}
.store-pill-tag {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--color-accent-tint);
  color: var(--color-accent);
  padding: 3px 7px; border-radius: 999px;
  margin-left: 4px;
  flex-shrink: 0;
}

.app-band {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--shadow-md);
}
.app-band h2 {
  margin: 8px 0 12px; font-size: 40px; line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 500;
  max-width: 16ch;
}
.app-band h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--color-accent);
}
.app-band p {
  margin: 0 0 24px; font-size: 16px; line-height: 1.55;
  color: var(--color-ink-2); max-width: 48ch;
}
.app-band-foot {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em; color: var(--color-ink-3);
}
.app-band-badges {
  display: flex; flex-direction: column; gap: 14px; align-items: stretch;
}

/* App Store / Google Play badge — "coming soon" pill style */
.app-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--color-surface-inv);
  color: var(--color-ink-on-inv);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  position: relative;
  min-height: 56px;
}
.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: oklch(0.22 0.02 285);
}
.app-badge-store {
  font-size: 11px; line-height: 1.25;
  color: oklch(1 0 0 / 0.7);
  letter-spacing: 0.02em;
}
.app-badge-store strong {
  display: block; font-weight: 500; font-size: 16px;
  color: white; letter-spacing: -0.01em;
  margin-top: 2px;
}
.app-badge-tag {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: white;
  background: var(--color-accent);
  padding: 3px 8px; border-radius: 999px;
  flex-shrink: 0;
}
.app-badge.coming { /* visual marker; same style today */ }

/* Smaller variant used inside the hero */
.app-badge-sm {
  min-height: 44px;
  padding: 8px 14px;
  gap: 10px;
}
.app-badge-sm .app-badge-store { font-size: 10px; }
.app-badge-sm .app-badge-store strong { font-size: 13px; margin-top: 1px; }
.app-badge-sm .app-badge-tag { font-size: 8.5px; padding: 2px 6px; }

/* Waitlist forms (used in app-band AND in waitlist modal) */
.waitlist-form {
  display: flex; gap: 8px; align-items: stretch;
  margin-top: 8px;
  max-width: 460px;
}
.waitlist-form input {
  flex: 1; min-width: 0;
  padding: 0 14px; height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  font-family: var(--font-sans); font-size: 14px;
  background: var(--color-surface);
  color: var(--color-ink);
}
.waitlist-form input:focus {
  outline: 0; border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
}
.waitlist-form .btn { height: 44px; padding: 0 18px; }
.waitlist-form.success input { color: var(--color-confirm); border-color: var(--color-confirm); }
.waitlist-form.success .btn { background: var(--color-confirm); border-color: var(--color-confirm); }

/* ============================================================
   WAITLIST MODAL
   ============================================================ */
.wl-stage {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.wl-stage[aria-hidden="false"] { display: flex; animation: fade-up var(--dur-fast) var(--ease-standard); }
.wl-veil {
  position: absolute; inset: 0;
  background: oklch(0.18 0.02 285 / 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.wl-panel {
  position: relative; z-index: 1;
  width: min(100%, 480px);
  background: var(--color-surface);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 12px;
}
.wl-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-ink-2);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.wl-close:hover { background: var(--color-surface-1); color: var(--color-ink); }
.wl-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.wl-panel h3 {
  margin: 0; font-size: 26px; line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 500;
}
.wl-sub {
  margin: 0; font-size: 14.5px; line-height: 1.55;
  color: var(--color-ink-2);
}
.wl-form { max-width: none; margin-top: 8px; }
.wl-foot {
  margin: 12px 0 0; font-size: 12px;
  color: var(--color-ink-3); text-align: center;
}
.wl-foot a { color: var(--color-accent); }

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none; /* default; flipped to flex on ≤820px (see media query) */
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: oklch(0.988 0.003 295 / 0.92);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-top: 1px solid var(--color-border);
  transform: translateY(110%);
  transition: transform var(--dur-base) var(--ease-standard);
}
@media (max-width: 820px) {
  .mobile-sticky-cta { display: flex; }
}
.mobile-sticky-cta.show { transform: translateY(0); }
.mobile-sticky-cta .btn { flex: 1; min-height: 44px; }

/* ── responsive ───────────────────────────────── */

/* TABLET — ≤ 1100px */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .section { padding-block: 72px; }
  .section-tight { padding-block: 48px; }

  .hero-section { padding: 96px 0 56px; }
  .hero-safe .hero-grid, .ai-grid, .fp-hero-grid, .spot-grid, .spot-grid.reverse, .priv-band, .blog-hero-grid, .blog-spotlight {
    grid-template-columns: 1fr; gap: 48px;
  }
  .spot-grid.reverse .spot-copy { order: 0; }
  .feat-grid, .sec-grid, .test-grid, .fp-related, .blog-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .blog-strip { grid-template-columns: 1fr 1fr; }
  .blog-strip-cell:nth-child(2) { border-right: 0; }
  .blog-strip-cell:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }

  .s-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .s-head h2, .s-head-center h2, .blog-hero-grid h1 { font-size: 40px; }
  .hero-headline { font-size: 64px !important; }

  .hero-editorial-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-editorial-cell:nth-child(2) { border-right: 0; }
  .hero-editorial-cell:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }

  .priv-band { padding: 48px 32px; }
  .priv-band h2 { font-size: 36px; }

  .cta-band { padding: 64px 32px; }
  .cta-band h2 { font-size: 42px; }
  .cta-form { min-width: 0; width: 100%; max-width: 480px; }

  .blog-spotlight { padding: 40px; gap: 40px; }

  /* App-band: stack to 1 column on tablet so the badges aren't
     squeezed into a half-column. Padding stays generous. */
  .app-band {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px;
  }
  .app-band h2 { font-size: 32px; }
  .app-band-badges { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .app-band-badges .app-badge { flex: 1 1 240px; }
}

/* SMALL TABLET / LARGE MOBILE — ≤ 820px */
@media (max-width: 820px) {
  .nav { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-spacer { height: 60px; }
  .nav-mobile { top: 60px; }

  .section { padding-block: 56px; }
  .hero-section { padding: 64px 0 40px; }
  .hero-headline { font-size: 48px !important; line-height: 1.0 !important; }
  .hero-editorial { padding-top: 80px; padding-bottom: 64px; }
  .hero-editorial .hero-headline { font-size: 64px !important; }
  .hero-motion { min-height: 540px; padding-top: 64px; padding-bottom: 48px; }
  .motion-tile { transform: scale(0.85); }
  .motion-tile.m1, .motion-tile.m4 { display: none; }

  .hero-stage { aspect-ratio: 1 / 1.1; max-width: 480px; margin: 0 auto; }
  .hero-dash-card { width: 86%; padding: 18px; }
  .hero-dash-bal .v { font-size: 24px; }
  .hero-tile { padding: 8px 12px; font-size: 10px; }
  .hero-tile .v { font-size: 12px; }

  .hero-stats { gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; }
  .hero-lead { font-size: 16px; }

  .s-head h2, .s-head-center h2, .blog-hero-grid h1 { font-size: 32px; }
  .ai-copy h3, .spot h3, .blog-spotlight-l h3 { font-size: 28px; }
  .priv-band h2 { font-size: 28px; }
  .cta-band h2 { font-size: 32px; }

  .feat-grid, .sec-grid, .test-grid, .fp-related, .blog-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 28px; min-height: 0; }
  .sec-card { padding: 24px; }
  .test-card { min-height: 0; padding: 24px; }
  .blog-card { min-height: 0; padding: 24px; }
  .price-card { padding: 24px; }

  .blog-spotlight { padding: 28px; }
  .blog-spotlight-card { padding: 24px; }
  .blog-sample-drop { font-size: 18px; }
  .blog-drop { font-size: 56px; }

  .ai-chat { padding: 18px; }
  .ai-chat-bubble { font-size: 13.5px; }

  .priv-demo .v { font-size: 22px !important; }
  .priv-band { padding: 36px 24px; border-radius: 18px; }

  .cta-band { padding: 48px 24px; border-radius: 18px; }
  .cta-form { padding: 6px; }
  .cta-form input { padding: 6px 12px; font-size: 13px; }
  .cta-form .btn { height: 36px; padding: 0 14px; font-size: 12.5px; }

  .footnote { font-size: 10px; text-align: center; }

  /* feature-page hero h1 */
  .fp-hero h1 { font-size: 44px; }
  .fp-hero p { font-size: 16px; }
  .fp-hero { padding: 80px 0 32px; }
  .spot { padding-block: 56px; }
  .spot-grid { gap: 32px; }

  .mini-frame { padding: 12px; }
  .mini-frame > .mini-canvas { padding: 18px; }

  /* footer */
  .foot-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-row-r { gap: 16px; }
  .foot-corp { font-size: 10.5px; gap: 6px; }
  .foot-corp strong { font-size: 11.5px; }

  /* trust marquee shows fewer logos visibly */
  .trust-marquee { mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
  .trust-track { gap: 40px; padding-right: 40px; }

  /* cashflow rail */
  .cashflow-rail { gap: 12px; margin: 0 -24px 24px; padding-left: 24px; padding-right: 24px; }
  .cf-card { flex: 0 0 260px; padding: 20px; }
  .cf-teaser { padding: 8px 24px 20px; margin: 0 -24px; }
  .cf-teaser .cf-card { flex: 0 0 240px; padding: 18px; }

  /* feature card icon size */
  .feat-card h3 { font-size: 20px; }

  /* hero CTAs wrap */
  .hero-ctas .btn-lg { font-size: 14px; padding: 0 16px; height: 42px; }
  .hero-ctas { gap: 8px; }

  /* Hero "MOBILE APPS" row — pills wrap naturally; tighten gap. */
  .hero-app-row { margin-top: 24px; padding-top: 20px; gap: 8px; }
  .store-pill { flex: 1 1 auto; min-width: 0; padding: 8px 12px 8px 10px; }
  .store-pill-meta { min-width: 0; }
  .store-pill-name { font-size: 12.5px; }

  /* App-band on small tablet / large mobile: tighter padding, stacked. */
  .app-band {
    padding: 36px 28px;
    gap: 28px;
    border-radius: 18px;
  }
  .app-band h2 { font-size: 28px; }
  .app-band p { font-size: 15px; }
  .app-band-badges { flex-direction: column; gap: 10px; align-items: stretch; }
  .app-band-badges .app-badge { width: 100%; flex: 0 0 auto; }

  /* Waitlist form stacks on narrow screens to keep the email field
     tappable at 44px height without crushing the button. */
  .waitlist-form { flex-direction: column; gap: 10px; max-width: none; }
  .waitlist-form input { width: 100%; }
  .waitlist-form .btn { width: 100%; }

  /* Waitlist modal panel: full-bleed feel on small screens. */
  .wl-panel { padding: 32px 24px 24px; border-radius: 18px; }
  .wl-panel h3 { font-size: 22px; }
  .wl-sub { font-size: 13.5px; }
}

/* MOBILE — ≤ 600px */
@media (max-width: 600px) {
  .container { padding: 0 18px; }

  .nav { padding: 10px 16px; }
  .nav-spacer { height: 56px; }
  .nav-mobile { top: 56px; padding: 12px 18px 20px; }
  .nav-brand .wm { font-size: 18px; }

  .section { padding-block: 48px; }

  .hero-headline { font-size: 38px !important; }
  .hero-editorial .hero-headline { font-size: 48px !important; }
  .hero-motion .hero-headline { font-size: 44px !important; }
  .hero-motion { min-height: 480px; }
  .motion-tile { transform: scale(0.72); }
  .motion-tile.m1, .motion-tile.m2, .motion-tile.m4 { display: none; }
  .motion-tile.m5, .motion-tile.m6 { top: 75%; }

  .hero-lead { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat-v { font-size: 18px; }

  .hero-editorial-strip { grid-template-columns: 1fr; }
  .hero-editorial-cell { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .hero-editorial-cell:last-child { border-bottom: 0; }

  .hero-dash-card { width: 90%; padding: 16px; gap: 12px; }
  .hero-dash-bal .v { font-size: 22px; }
  .hero-dash-spark { height: 48px; }

  .price-grid { grid-template-columns: 1fr; }
  .blog-strip { grid-template-columns: 1fr; }
  .blog-strip-cell { border-right: 0; border-bottom: 1px solid var(--color-border); padding: 18px 16px; }
  .blog-strip-cell:last-child { border-bottom: 0; }

  .s-head h2, .s-head-center h2, .blog-hero-grid h1 { font-size: 28px; line-height: 1.1; }
  .ai-copy h3, .spot h3, .blog-spotlight-l h3 { font-size: 24px; }
  .priv-band h2 { font-size: 24px; }
  .cta-band h2 { font-size: 26px; }
  .fp-hero h1 { font-size: 32px; }

  .feat-card { padding: 24px; }
  .feat-card-icon { width: 38px; height: 38px; margin-bottom: 18px; }
  .feat-card h3 { font-size: 18px; }
  .feat-card-desc { font-size: 13.5px; }

  .cta-band { padding: 36px 20px; }
  .cta-form { flex-direction: column; padding: 12px; border-radius: 16px; gap: 8px; }
  .cta-form input { width: 100%; text-align: center; padding: 10px 12px; }
  .cta-form .btn { width: 100%; }
  .cta-band > div[style*="flex-direction:column"] > .btn-xl { width: 100%; padding: 0 16px; font-size: 15px; }

  .blog-form { flex-direction: column; gap: 8px; }
  .blog-form input { width: 100%; }
  .blog-form .btn { width: 100%; }

  /* feature page heros stack better */
  .fp-back { font-size: 10px; }

  /* footer */
  .foot { padding: 32px 0 24px; }
  .foot-row-l .wm { font-size: 18px; }
  .foot-row-r { gap: 12px; }
  .foot-row-r a { font-size: 12.5px; }
  .foot-copy { font-size: 12px; }
  .foot-corp { font-size: 10px; line-height: 1.55; }

  /* test cards quotes smaller */
  .test-quote { font-size: 15px; }

  /* AI chat tighter */
  .ai-chat-bubble { padding: 12px 14px; }

  /* mini-frame smaller padding */
  .mini-frame > .mini-canvas { padding: 14px; }

  /* hide some hero floating tiles on tiny screens */
  .hero-tile.t2 { display: none; }

  /* App-band on phones: even tighter, badges stay stacked. */
  .app-band {
    padding: 28px 20px;
    gap: 24px;
    border-radius: 16px;
  }
  .app-band h2 { font-size: 24px; }
  .app-band p { font-size: 14px; }
  .app-band-foot { font-size: 10px; }

  /* App badges shrink slightly on phones to keep "Coming soon"
     tag from forcing a 2-line wrap inside the badge. */
  .app-badge {
    padding: 10px 14px;
    min-height: 52px;
    gap: 10px;
  }
  .app-badge-store strong { font-size: 14px; }
  .app-badge-tag { font-size: 9px; padding: 3px 7px; }

  /* Hero store-pills go to 1-per-row on phones — keeps full names
     readable without breaking onto multiple lines inside the pill. */
  .hero-app-row .store-pill { flex: 1 1 100%; }
}

/* ============================================================
   MOBILE OVERHAUL — ≤ 600px
   Comprehensive pass: tighten every section's padding, scale type,
   reduce card chrome, and add the missing native-feeling mobile
   patterns (full-width primary CTAs, stronger sticky CTA, no
   hover-only affordances).
   ============================================================ */
@media (max-width: 600px) {
  /* Tighten ALL section padding — biggest single win for vertical
     density. Was 48px top + 48px bottom = 96px between blocks. */
  .section { padding-block: 36px; }
  .section-tight { padding-block: 28px; }

  /* HERO — pull tight to nav, shrink dashboard mock, full-width CTAs */
  .hero-section { padding: 32px 0 24px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero-headline { font-size: 34px !important; line-height: 1.04 !important; margin-bottom: 16px; }
  .hero-lead { font-size: 14.5px; line-height: 1.55; margin-bottom: 24px; }
  .hero-safe .hero-grid { gap: 28px; }
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .hero-ctas .btn-lg { height: 46px; font-size: 13.5px; padding: 0 12px; }
  .hero-stats {
    margin-top: 24px; padding-top: 20px;
    gap: 14px; flex-wrap: wrap;
  }
  .hero-stats > div { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .hero-stat-k { font-size: 9.5px; margin-bottom: 4px; }
  .hero-stat-v { font-size: 14px; }
  .hero-stage { max-width: 320px; aspect-ratio: 1 / 1; }
  .hero-dash-card { width: 88%; padding: 14px; gap: 10px; }
  .hero-dash-head .wm { font-size: 14px; }
  .hero-dash-bal .v { font-size: 20px; }
  .hero-dash-stats { gap: 8px; }
  .hero-dash-stat { padding: 8px 10px; }
  .hero-dash-spark { height: 44px; padding: 10px; }
  /* Floating tiles are noise on phones — hide all 3. The card alone
     reads cleaner. */
  .hero-tile { display: none; }

  /* TRUST MARQUEE — smaller logos, less mask area */
  .trust { padding: 28px 0; }
  .trust-head { margin-bottom: 16px; font-size: 10px; }
  .trust-logo { font-size: 12px; }
  .trust-track { gap: 32px; padding-right: 32px; animation-duration: 22s; }

  /* SECTION HEADS — tighter */
  .s-head, .s-head-center { margin-bottom: 28px; gap: 8px; }
  .s-head h2, .s-head-center h2 { font-size: 26px; line-height: 1.1; max-width: none; }
  .s-head p, .s-head-center p { font-size: 14px; line-height: 1.5; }
  .eyebrow { font-size: 10px; }

  /* FEATURE GRID — tighter cards, no hover lift on touch */
  .feat-grid { gap: 12px; }
  .feat-card {
    padding: 22px;
    min-height: 0;
    border-radius: 16px;
    transform: none !important; /* kill hover translate on tap */
  }
  .feat-card:hover { transform: none; box-shadow: none; }
  .feat-card-icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
  .feat-card-icon svg { width: 17px; height: 17px; }
  .feat-card h3 { font-size: 18px; margin-bottom: 6px; }
  .feat-card-desc { font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
  .feat-card-link { font-size: 13px; }

  /* CASHFLOW RAIL — tighter cards, visible scroll hint */
  .cf-teaser { padding: 8px 18px 18px; margin: 0 -18px; gap: 10px; }
  .cf-teaser .cf-card { flex: 0 0 220px; padding: 16px; border-radius: 14px; }
  .cf-card .cf-month { font-size: 18px; }
  .cf-card .cf-fig-val { font-size: 14px; }
  .cf-card .cf-fig-lbl { font-size: 10px; }

  /* AI SHOWCASE — chat-first order on mobile, tighter copy */
  .ai-grid { gap: 28px; }
  .ai-copy h3 { font-size: 22px; line-height: 1.15; margin-bottom: 12px; }
  .ai-copy p { font-size: 14px; margin-bottom: 16px; }
  .ai-bullet { font-size: 13.5px; gap: 10px; }
  .ai-bullets { gap: 10px; }
  .ai-chat { padding: 16px; border-radius: 14px; gap: 10px; }
  .ai-chat-bubble { padding: 10px 14px; font-size: 13px; line-height: 1.5; max-width: 92%; }

  /* PRIVACY BAND — tighter, brighter */
  .priv-band { padding: 28px 20px; border-radius: 16px; gap: 24px; }
  .priv-band h2 { font-size: 22px; }
  .priv-band p { font-size: 14px; }
  .priv-demo { padding: 18px; border-radius: 12px; gap: 12px; }
  .priv-demo .v { font-size: 18px !important; }
  .priv-eye { width: 32px; height: 32px; }
  .priv-row { padding: 10px 0; gap: 2px; }
  .priv-row .lbl { font-size: 9.5px; }

  /* SECURITY STRIP — tighter cards */
  .sec-grid { gap: 10px; }
  .sec-card { padding: 20px; border-radius: 14px; }
  .sec-icon { width: 36px; height: 36px; margin-bottom: 14px; }
  .sec-card h4 { font-size: 15px; }
  .sec-card p { font-size: 13.5px; line-height: 1.5; }

  /* TESTIMONIALS — horizontal swipe carousel on mobile */
  .test-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 18px 18px;
    margin: 0 -18px;
    scrollbar-width: none;
  }
  .test-grid::-webkit-scrollbar { display: none; }
  .test-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    padding: 22px;
    min-height: 0;
    border-radius: 14px;
    transform: none !important;
  }
  .test-card:hover { transform: none; box-shadow: none; }
  .test-quote { font-size: 14px; line-height: 1.5; }
  .test-author { padding-top: 14px; gap: 10px; }
  .test-author-av { width: 32px; height: 32px; font-size: 11.5px; }
  .test-author-name { font-size: 12.5px; }
  .test-author-role { font-size: 9.5px; }

  /* PRICING — denser cards, clearer featured */
  .price-grid { gap: 10px; }
  .price-card { padding: 22px; border-radius: 16px; gap: 10px; }
  .price-card.featured { padding: 22px; box-shadow: 0 0 0 1px var(--color-accent); }
  .price-name { font-size: 11.5px; }
  .price-num { font-size: 30px; }
  .price-num small { font-size: 12px; }
  .price-desc { font-size: 12.5px; min-height: 0; }
  .price-list li { font-size: 12.5px; gap: 8px; }
  .price-list { gap: 8px; }
  .price-card .btn { width: 100%; height: 44px; }

  /* FAQ — tighter rows */
  .faq-q { padding: 18px 0; font-size: 15px; }
  .faq-q .plus { width: 24px; height: 24px; }
  .faq-a-inner { font-size: 13.5px; padding-bottom: 18px; line-height: 1.55; }

  /* BOTTOM CTA — tighter, full-width primary */
  .cta-band { padding: 32px 18px; border-radius: 16px; gap: 18px; }
  .cta-band h2 { font-size: 24px; line-height: 1.05; }
  .cta-band p { font-size: 14px; max-width: 32ch; }
  .cta-band .btn-xl { width: 100%; height: 50px; font-size: 14.5px; padding: 0 18px; }
  .cta-form { padding: 6px; border-radius: 999px; }
  .cta-form input { font-size: 13px; padding: 8px 12px; text-align: left; }
  .cta-form .btn { width: auto; height: 36px; padding: 0 14px; font-size: 12.5px; }
  .footnote { font-size: 9.5px; }

  /* FOOTER — denser */
  .foot { padding: 18px 0 20px; }
  .foot-row { gap: 12px; padding-bottom: 14px; }
  .foot-row-l .wm { font-size: 16px; }
  .foot-copy { font-size: 11.5px; }
  .foot-row-r { gap: 10px 14px; }
  .foot-row-r a { font-size: 12px; }
  .foot-corp { font-size: 9.5px; padding-top: 14px; gap: 4px; }
  .foot-corp strong { font-size: 11px; }

  /* MOBILE STICKY CTA — more prominent, clearer hierarchy */
  .mobile-sticky-cta { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .mobile-sticky-cta .btn { min-height: 46px; font-size: 13px; }
  .mobile-sticky-cta .btn-ghost {
    flex: 0 0 auto; padding: 0 14px;
    background: transparent;
  }

  /* Give body padding-bottom so sticky CTA doesn't cover last content */
  body { padding-bottom: 56px; }
}

/* ============================================================
   ULTRA-NARROW — ≤ 414px (iPhone Pro Max wide, most Android budget)
   Squeeze further so hero, sticky CTA, and pricing don't break.
   ============================================================ */
@media (max-width: 414px) {
  .hero-section { padding: 24px 0 20px; }
  .hero-headline { font-size: 30px !important; }
  .hero-lead { font-size: 14px; margin-bottom: 20px; }
  .hero-stage { max-width: 280px; }
  .hero-dash-card { width: 92%; padding: 12px; gap: 8px; }
  .hero-dash-bal .v { font-size: 18px; }
  .hero-dash-bal { padding: 10px 0; }

  /* Hero CTAs stack to full-width on narrow */
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-ctas .btn-lg { height: 44px; }
  .hero-app-row { gap: 10px; }

  .s-head h2, .s-head-center h2 { font-size: 22px; }
  .ai-copy h3, .priv-band h2, .cta-band h2 { font-size: 20px; }

  .feat-card { padding: 18px; }
  .feat-card h3 { font-size: 17px; }
  .sec-card, .test-card { padding: 18px; }
  .price-card { padding: 18px; }

  .cta-band { padding: 28px 16px; }
  .priv-band { padding: 24px 16px; }
  .app-band { padding: 22px 16px; }

  .mobile-sticky-cta { padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-sticky-cta .btn { min-height: 42px; font-size: 12.5px; }

  /* Nav: smaller burger area */
  .nav { padding: 8px 12px; }
  .nav-brand .wm { font-size: 16px; }
  .nav-spacer { height: 52px; }
  .nav-mobile { top: 52px; }
}
