/* ============================================
   PRESS AND PLAY — design tokens
   Linktree-energy: iris hero, hydrangea links,
   chartreuse used ONCE (hero CTA = magician moment).
   ============================================ */

:root {
  /* Primary palette */
  --iris:        #061492;           /* hero bg, brand mark, primary CTA */
  --iris-deep:   #050f7a;           /* iris hover/active */
  --hydrangea:   #2665d6;           /* links, secondary CTAs, accents */
  --hydrangea-deep: #1d50ad;
  --chartreuse:  #d2e823;           /* THE magician moment — once per page */
  --chartreuse-deep: #c0d420;

  /* Neutrals */
  --marble:      #F1EFE8;           /* warm cream base */
  --marble-deep: #E8E4D5;
  --shade:       #1E2330;           /* near-black ink */
  --shade-soft:  rgba(30, 35, 48, 0.08);
  --ink:         #2A2724;
  --warm-gray:   #6A655F;
  --soft-gray:   #98938B;
  --bone:        #DCD6C7;
  --white:       #FFFFFF;
  --off-white:   #FAFAF7;

  /* Hydrangea tints */
  --hydrangea-soft: rgba(38, 101, 214, 0.10);
  --hydrangea-mist: rgba(38, 101, 214, 0.05);

  /* Iris tints */
  --iris-soft:   rgba(6, 20, 146, 0.10);
  --iris-mist:   rgba(6, 20, 146, 0.05);

  /* Layout */
  --max-width:   1180px;
  --pill:        999px;
  --r-xl:        28px;
  --r-lg:        20px;
  --r-md:        14px;
  --r-sm:        10px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(22, 21, 19, 0.04);
  --shadow-sm:   0 2px 4px rgba(22, 21, 19, 0.04), 0 4px 12px rgba(22, 21, 19, 0.04);
  --shadow-md:   0 4px 8px rgba(22, 21, 19, 0.05), 0 12px 28px rgba(22, 21, 19, 0.07);
  --shadow-lg:   0 8px 16px rgba(22, 21, 19, 0.06), 0 24px 48px rgba(6, 20, 146, 0.12);
  --shadow-iris: 0 14px 32px rgba(6, 20, 146, 0.30);
  --shadow-chartreuse: 0 14px 30px rgba(210, 232, 35, 0.40);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--iris); color: var(--white); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--marble);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.serif-em {
  font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Grain overlay (subtle warmth on cream sections) ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.08, 0 0 0 0 0.05, 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

a { color: var(--hydrangea); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ============================================
   NAV — cream sticky bar, iris brand + CTA
   ============================================ */
.nav {
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  background: rgba(241, 239, 232, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  z-index: 50;
  border-bottom: 1px solid rgba(220, 214, 199, 0.55);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--shade);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: opacity 0.2s var(--ease-out);
}
.brand:hover { text-decoration: none; opacity: 0.78; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, var(--iris) 0%, var(--iris-deep) 100%);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.brand-name { font-size: 1rem; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  background: var(--iris);
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border-radius: var(--pill);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.nav-cta:hover { background: var(--iris-deep); text-decoration: none; transform: translateY(-1px); }
.play-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.005em;
  transition: transform 0.12s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.2s;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(145deg, var(--iris) 0%, var(--iris-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 12px 28px rgba(6, 20, 146, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: wait; transform: none; }

.btn-secondary {
  background: var(--white);
  color: var(--shade);
  border: 1px solid var(--bone);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { text-decoration: none; border-color: var(--shade); background: var(--off-white); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.95rem 1.4rem;
}
.btn-ghost:hover { text-decoration: none; color: var(--iris); background: var(--iris-mist); }

/* Press start — the large pill silhouette used in hero AND final-cta */
.btn-press {
  padding: 1.15rem 1.85rem;
  font-size: 1.02rem;
}
.btn-arrow { transition: transform 0.3s var(--ease-out); }
.btn-press:hover .btn-arrow { transform: translateX(3px); }
.play-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 0.62rem;
  padding-left: 2px;
  transition: background 0.2s;
}
.btn-press:hover .play-icon { background: rgba(255, 255, 255, 0.25); }

/* THE MAGICIAN MOMENT — chartreuse, scoped strictly to .hero .btn-press */
.hero .btn-press {
  background: var(--chartreuse);
  color: var(--shade);
  box-shadow: var(--shadow-chartreuse), inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}
.hero .btn-press:hover {
  background: var(--chartreuse-deep);
  box-shadow: 0 18px 36px rgba(210, 232, 35, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}
.hero .btn-press .play-icon {
  background: rgba(30, 35, 48, 0.14);
  color: var(--shade);
}

/* ============================================
   HERO — full-bleed iris, white text, asymmetric bento
   ============================================ */
.hero {
  padding: 4.5rem 0 5.5rem;
  background: var(--iris);
  background-image:
    radial-gradient(ellipse 80% 50% at 80% 20%, rgba(38, 101, 214, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 90%, rgba(6, 20, 146, 0.8) 0%, transparent 60%);
  color: var(--white);
  position: relative;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

/* eyebrow chip — on iris bg, render as soft glassy pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* HERO HEADLINE — exact tokens from the spec */
.hero-headline {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--white);
}
@media (max-width: 768px) {
  .hero-headline { font-size: clamp(38px, 7.5vw, 56px); }
}
.hero-headline strong { color: var(--white); font-weight: 800; }

/* Rotating word — white italic-feel on iris, no chartreuse (saving for the CTA) */
.rotator {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  position: relative;
  color: var(--white);
  padding: 0 0.05em;
}
.rotator::before, .rotator::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 0.2em;
  z-index: 2;
  pointer-events: none;
}
.rotator::before { top: 0; background: linear-gradient(to bottom, var(--iris), transparent); }
.rotator::after  { bottom: 0; background: linear-gradient(to top, var(--iris), transparent); }
.rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--ease-out);
}
.rotator-item {
  display: block;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* HERO BENTO CARDS */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "time price"
    "quote glyph";
  gap: 0.9rem;
  position: relative;
}
@media (max-width: 940px) {
  .hero-cards { max-width: 480px; }
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
  color: var(--white);
}
.hero-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-card-time { grid-area: time; }
.hero-card-price { grid-area: price; }
.hero-card-trust { grid-area: price; }
.hero-card-quote { grid-area: quote; grid-column: 1 / -1; }
.hero-card-glyph { display: none; }
@media (min-width: 540px) {
  .hero-cards {
    grid-template-areas:
      "time price"
      "quote quote"
      "quote quote";
  }
}

.card-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}
.card-big {
  font-size: clamp(2.2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.card-big-trust {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: var(--white);
}
.card-unit { font-size: 0.55em; font-weight: 700; letter-spacing: 0; color: inherit; }
.card-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.hero-card-trust { position: relative; }
.hero-card-trust::after {
  content: "✓";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-card-quote {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 1.6rem 1.5rem 1.4rem;
}
.quote-mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.4rem;
  line-height: 0.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}
.card-quote {
  font-size: 1.02rem;
  line-height: 1.45;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--white);
}
.card-attribution {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.hero-meta {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SECTION HEADS
   ============================================ */
section { padding: 5.5rem 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hydrangea);
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--hydrangea-soft);
  background: var(--hydrangea-mist);
  border-radius: var(--pill);
}
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  margin-bottom: 0.85rem;
  color: var(--shade);
  line-height: 1.08;
}
.section-sub {
  color: var(--warm-gray);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   QUIZ — dark contrast section
   ============================================ */
.quiz-section {
  background: var(--shade);
  color: var(--marble);
}
.quiz-section .section-title { color: var(--white); }
.quiz-section .section-sub { color: rgba(244, 241, 232, 0.65); }
.quiz-section .section-eyebrow {
  color: var(--hydrangea);
  background: rgba(38, 101, 214, 0.15);
  border-color: rgba(38, 101, 214, 0.3);
}

.quiz {
  max-width: 600px;
  margin: 0 auto;
  background: var(--marble);
  color: var(--ink);
  padding: 2.2rem 2.2rem 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(244, 241, 232, 0.1);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(38, 101, 214, 0.10);
  position: relative;
}
@media (max-width: 540px) {
  .quiz { padding: 1.6rem 1.25rem; border-radius: var(--r-lg); }
}

.progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.bar {
  flex: 1;
  height: 4px;
  background: var(--bone);
  border-radius: var(--pill);
  overflow: hidden;
  position: relative;
}
.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--iris) 0%, var(--hydrangea) 100%);
  border-radius: var(--pill);
  transition: width 0.4s var(--ease-out);
  width: 9%;
}
.step-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--warm-gray);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.step-of { color: var(--soft-gray); }

.step { display: none; }
.step.active { display: block; animation: stepIn 0.45s var(--ease-out); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.q {
  display: block;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 1.1rem;
  color: var(--shade);
  letter-spacing: -0.015em;
}
.q-sub {
  color: var(--warm-gray);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: -0.4rem 0 1.25rem;
}
.q-sub em {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

.quiz input[type="text"],
.quiz input[type="email"],
.quiz input[type="tel"],
.quiz select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--bone);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 0.7rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
}
.quiz input::placeholder { color: var(--soft-gray); }
.quiz input:focus, .quiz select:focus {
  outline: none;
  border-color: var(--hydrangea);
  box-shadow: 0 0 0 4px rgba(38, 101, 214, 0.15);
  background: var(--white);
}

/* 4-col radio grid */
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 460px) { .radio-grid { grid-template-columns: 1fr; } }
.radio-grid-4 { grid-template-columns: 1fr 1fr; }

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--bone);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: var(--warm-gray); transform: translateY(-1px); }
.radio-card:has(input:checked) {
  border-color: var(--iris);
  background: var(--iris-mist);
  box-shadow: 0 0 0 3px rgba(6, 20, 146, 0.12);
}
.rc-title { font-weight: 700; color: var(--shade); font-size: 0.98rem; }
.rc-desc { font-size: 0.82rem; color: var(--warm-gray); }
.radio-card:has(input:checked) .rc-title { color: var(--iris); }

.step-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.step-actions .btn-primary, .step-actions .btn-secondary {
  padding: 0.78rem 1.5rem;
  font-size: 0.95rem;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-note {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-top: 1.1rem;
  text-align: center;
}
.form-error {
  color: var(--iris);
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--iris-mist);
  padding: 0.7rem;
  border-radius: var(--r-sm);
}

/* Multi-select pain pills */
.check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}
.check-pill {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.check-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-pill span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--bone);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s var(--ease-out);
  line-height: 1.2;
}
.check-pill:hover span {
  border-color: var(--warm-gray);
  transform: translateY(-1px);
}
.check-pill:has(input:checked) span {
  background: var(--iris);
  border-color: var(--iris);
  color: var(--white);
  padding-left: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.check-pill:has(input:checked) span::before {
  content: "✓";
  font-size: 0.8rem;
  font-weight: 800;
}
.check-pill.is-disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}
.check-hint {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-top: 0.65rem;
  font-variant-numeric: tabular-nums;
}
.check-hint #pain-count {
  font-weight: 700;
  color: var(--iris);
}

/* ============================================
   VOICE INPUT
   ============================================ */
.voice-input {
  position: relative;
  margin-bottom: 0.5rem;
}
.voice-input input { padding-right: 3.4rem !important; margin-bottom: 0 !important; }
.voice-btn {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--marble);
  border: 1px solid var(--bone);
  color: var(--warm-gray);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease-out);
  padding: 0;
}
.voice-btn:hover {
  background: var(--hydrangea-mist);
  border-color: var(--hydrangea);
  color: var(--hydrangea);
}
.voice-btn.is-listening {
  background: var(--iris);
  border-color: var(--iris);
  color: var(--white);
  animation: voicePulse 1.4s var(--ease-in-out) infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 20, 146, 0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(6, 20, 146, 0); }
}
.voice-status {
  font-size: 0.85rem;
  color: var(--iris);
  margin: 0.3rem 0 0.5rem;
  padding-left: 0.25rem;
  font-weight: 500;
}

/* ============================================
   SUGGESTION PILLS — autocomplete chips
   ============================================ */
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0.4rem 0 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--hydrangea-mist);
  border: 1px dashed var(--hydrangea-soft);
  border-radius: var(--r-md);
}
.suggestions[hidden] { display: none; }
.sug-label {
  font-size: 0.78rem;
  color: var(--warm-gray);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 0.15rem;
}
.sug-pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--bone);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s var(--ease-out);
}
.sug-pill:hover {
  background: var(--hydrangea);
  border-color: var(--hydrangea);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================
   CITY COMBOBOX
   ============================================ */
.combo { position: relative; margin-bottom: 0.5rem; }
.combo-input { width: 100%; }
.combo-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.3rem;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-height: 280px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
}
.combo-list[hidden] { display: none; }
.combo-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.12s var(--ease-out);
}
.combo-item:hover,
.combo-item.is-active { background: var(--hydrangea-mist); }
.combo-city {
  color: var(--shade);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.combo-region {
  color: var(--warm-gray);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   SKIP — for skippable steps
   ============================================ */
.btn-ghost.skip {
  color: var(--warm-gray);
  background: transparent;
  border: 1px dashed var(--bone);
  padding: 0.78rem 1.4rem;
  font-weight: 500;
}
.btn-ghost.skip:hover {
  color: var(--ink);
  border-color: var(--warm-gray);
  border-style: solid;
  background: var(--white);
}

/* ============================================
   FIELD GROUP — two-field step (role + team size)
   ============================================ */
.field-group { margin-bottom: 1rem; }
.field-group:last-of-type { margin-bottom: 0.5rem; }
.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}

/* ============================================
   REVEAL SCREEN
   ============================================ */
.step-reveal { animation: revealIn 0.6s var(--ease-out); }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.rev-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iris);
  background: var(--iris-mist);
  border: 1px solid var(--iris-soft);
  padding: 0.42rem 0.9rem;
  border-radius: var(--pill);
  margin-bottom: 1.1rem;
}
.rev-eyebrow .eyebrow-dot {
  background: var(--iris);
  box-shadow: 0 0 0 3px var(--iris-soft);
}
.rev-headline {
  font-size: clamp(1.85rem, 4.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--shade);
  margin-bottom: 0.4rem;
}
.rev-headline [data-rec-name] {
  background: linear-gradient(110deg, var(--iris) 0%, var(--hydrangea) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--iris);
}
.rev-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}
.rev-block {
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--r-md);
  margin-bottom: 0.85rem;
}
.rev-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 0.55rem;
}
.rev-why, .rev-evidence, .rev-alt, .rev-team-note {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink);
}
.rev-why strong, .rev-evidence strong { color: var(--iris); }
.rev-block-alt {
  background: var(--hydrangea-mist);
  border-color: var(--hydrangea-soft);
}
.rev-block-note {
  background: var(--shade);
  border-color: var(--shade);
}
.rev-block-note .rev-block-label { color: var(--hydrangea); }
.rev-block-note .rev-team-note { color: var(--marble); }

/* ============================================
   BY THE NUMBERS — bento grid
   ============================================ */
.numbers { background: var(--marble); }

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 780px) {
  .bento {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "lead a b"
      "lead wide wide";
    gap: 1rem;
  }
}

.stat {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--bone);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--iris);
}

.stat-lead {
  grid-area: lead;
  background: linear-gradient(165deg, var(--iris) 0%, var(--iris-deep) 100%);
  color: var(--marble);
  border-color: var(--iris);
  padding: 2.25rem 2rem;
}
.stat-lead .stat-tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.stat-lead .stat-big { color: var(--white); font-size: clamp(3rem, 7vw, 4.6rem); }
.stat-lead .stat-claim { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.stat-lead .stat-source { color: rgba(255, 255, 255, 0.5); border-top-color: rgba(255, 255, 255, 0.15); }

.bento .stat:nth-child(2) { grid-area: a; }
.bento .stat:nth-child(3) { grid-area: b; }
.stat-wide { grid-area: wide; }

.stat-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hydrangea);
  background: var(--hydrangea-mist);
  border: 1px solid var(--hydrangea-soft);
  padding: 0.3rem 0.7rem;
  border-radius: var(--pill);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.stat-big {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--iris);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 0.85rem;
}
.stat-unit { font-size: 0.55em; font-weight: 700; }
.stat-claim {
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.stat-claim em { font-style: italic; color: inherit; font-weight: 600; }
.stat-source {
  font-size: 0.76rem;
  color: var(--warm-gray);
  line-height: 1.4;
  border-top: 1px solid var(--bone);
  padding-top: 0.85rem;
  margin-top: auto;
}
.stat-twin {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}
.stat-twin > div { flex: 1; }
.stat-sub-claim {
  font-size: 0.82rem;
  color: var(--warm-gray);
  letter-spacing: 0.02em;
  margin-top: -0.4rem;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars { background: var(--off-white); }
.pillar-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.pillar {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--iris);
  box-shadow: var(--shadow-lg);
}
.pillar-featured {
  background: linear-gradient(180deg, var(--white) 0%, var(--marble) 100%);
  border-color: var(--iris);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
@media (max-width: 880px) {
  .pillar-featured { transform: none; margin: 1.5rem 0; }
}
.pillar-ribbon {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, var(--iris) 0%, var(--iris-deep) 100%);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--pill);
  box-shadow: var(--shadow-iris);
  white-space: nowrap;
}

.pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.pillar-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hydrangea);
  background: var(--hydrangea-mist);
  border: 1px solid var(--hydrangea-soft);
  padding: 0.32rem 0.8rem;
  border-radius: var(--pill);
}
.pillar-step {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.6rem;
  color: var(--soft-gray);
  font-weight: 400;
  font-style: italic;
}

.pillar h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  color: var(--shade);
}
.price-veiled {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.price-veiled::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hydrangea);
}
.timeline {
  color: var(--warm-gray);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bone);
}
.pillar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}
.pillar li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.5;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--hydrangea);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--hydrangea-mist);
}

.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--hydrangea);
  margin-bottom: 1.25rem;
  align-self: flex-start;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--bone);
  border-radius: var(--pill);
  background: var(--white);
  transition: all 0.2s var(--ease-out);
}
.pillar-cta:hover {
  text-decoration: none;
  background: var(--hydrangea);
  color: var(--white);
  border-color: var(--hydrangea);
  transform: translateX(3px);
}
.pillar-featured .pillar-cta {
  background: var(--iris);
  color: var(--white);
  border-color: var(--iris);
}
.pillar-featured .pillar-cta:hover { background: var(--iris-deep); border-color: var(--iris-deep); }

.pillar-evidence {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--bone);
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.5;
}
.pillar-evidence em { color: var(--ink); }

/* ============================================
   COMMITMENTS
   ============================================ */
.commitments { background: var(--marble); }
.commit-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .commit-grid { grid-template-columns: repeat(3, 1fr); }
}
.commit {
  padding: 2rem 1.75rem 1.85rem;
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  background: var(--white);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  position: relative;
}
.commit:hover { transform: translateY(-3px); border-color: var(--iris); }
.commit-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 400;
  color: var(--iris);
  line-height: 1;
  margin-bottom: 0.85rem;
}
.commit h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.018em;
  color: var(--shade);
}
.commit p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.55;
}

/* ============================================
   FOUNDER
   ============================================ */
.founder { background: var(--off-white); }
.founder-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-direction: column;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
  .founder-row { flex-direction: row; text-align: left; }
}
.founder-photo-wrap {
  position: relative;
  width: 130px; height: 130px;
  flex-shrink: 0;
}
.founder-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.founder-photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--iris) 0%, var(--iris-deep) 100%);
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.no-photo .founder-photo-fallback { z-index: 3; }
.founder-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--iris-soft);
  border-radius: 50%;
}
.founder-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hydrangea);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.founder-label .eyebrow-dot {
  background: var(--hydrangea);
  box-shadow: 0 0 0 3px var(--hydrangea-mist);
}
.founder h3 {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--shade);
}
.founder-bio { color: var(--warm-gray); margin-bottom: 0.85rem; font-size: 0.98rem; line-height: 1.55; }
.founder-contact { font-size: 0.93rem; }
.founder-contact a { color: var(--shade); font-weight: 500; }
.founder-contact a:hover { color: var(--hydrangea); }
.dot-sep { color: var(--soft-gray); margin: 0 0.4rem; }

/* ============================================
   FINAL CTA — quiet cream close (iris button, not chartreuse)
   ============================================ */
.final-cta {
  background: var(--marble);
  padding: 6rem 0 5.5rem;
}
.final-cta-wrap { text-align: center; max-width: 640px; margin: 0 auto; }
.eyebrow-light {
  background: var(--white);
  color: var(--iris);
  border-color: var(--iris-soft);
}
.eyebrow-light .eyebrow-dot {
  background: var(--iris);
  box-shadow: 0 0 0 3px var(--iris-soft);
}
.final-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0.5rem 0 2rem;
  color: var(--shade);
}
.final-sub {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--warm-gray);
}
.final-sub a { color: var(--shade); font-weight: 600; }
.final-sub a:hover { color: var(--hydrangea); }

/* Final-cta button uses standard iris .btn-primary — NOT chartreuse.
   Chartreuse is reserved for the hero CTA (the magician moment). */

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--shade);
  color: rgba(244, 241, 232, 0.7);
  padding: 3rem 0 2.5rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-brand .brand-mark { width: 38px; height: 38px; font-size: 0.85rem; }
.footer-name { font-weight: 700; color: var(--marble); font-size: 1.02rem; letter-spacing: -0.01em; }
.footer-tagline { font-size: 0.82rem; color: rgba(244, 241, 232, 0.5); margin-top: 0.15rem; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
}
@media (min-width: 720px) {
  .footer-contact { text-align: right; }
}
.footer-contact a { color: var(--marble); }
.footer-contact a:hover { color: var(--hydrangea); }
.copy {
  font-size: 0.78rem;
  color: rgba(244, 241, 232, 0.4);
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
}
.thanks-page h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: var(--iris);
  font-weight: 800;
}
.thanks-page p {
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.thanks-page .btn-primary { margin-top: 1rem; }
.thanks-sign {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--shade);
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
}

/* ============================================
   SCROLL REVEAL — gated by .js so JS-off users see content
   ============================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal-delay { transition-delay: 0.15s; }

/* ============================================
   A11Y / motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 540px) {
  section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
}
