@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300..700;1,300..700&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-base:          #07080C;
  --bg-surface-1:     #0E1018;
  --bg-surface-2:     #141824;
  --bg-surface-3:     #1A2030;

  --teal:             #3DC9A0;
  --teal-dim:         #1E7A62;
  --teal-glow:        rgba(61,201,160,0.12);
  --teal-glow-lg:     rgba(61,201,160,0.05);
  --forest:           #023D2A;

  --gold:             #F5C448;
  --gold-dim:         rgba(245,196,72,0.15);
  --blue-data:        #6C8EFF;
  --danger:           #FF5A5F;
  --success:          #1D9E75;

  --text-primary:     #F0EDE8;
  --text-secondary:   #97A8C0;
  --text-muted:       #5A6A7E;
  --text-teal:        #3DC9A0;

  --border-subtle:    rgba(255,255,255,0.05);
  --border-card:      rgba(255,255,255,0.08);
  --border-teal:      rgba(61,201,160,0.35);
  --border-gold:      rgba(245,196,72,0.35);

  --radius-card:      16px;
  --radius-button:    30px;
  --radius-input:     12px;
  --radius-chip:      20px;

  /* Vertical rhythm — used by every section */
  --section-y:        72px;
  --section-gap:      40px;
}
@media (min-width: 1024px) {
  :root {
    --section-y:      112px;
    --section-gap:    56px;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-base);
  min-height: 100vh;
  position: relative;
}

/* Atmospheric background — layered, fixed behind everything */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
}
.bg-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.9;
  will-change: transform;
}
.bg-aurora.a1 {
  top: -15%;
  left: -10%;
  width: 65vw;
  height: 65vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle, rgba(61,201,160,0.32) 0%, rgba(61,201,160,0.08) 40%, rgba(61,201,160,0) 70%);
  animation: auroraDrift1 48s ease-in-out infinite;
}
.bg-aurora.a2 {
  bottom: -15%;
  right: -15%;
  width: 75vw;
  height: 75vw;
  max-width: 920px;
  max-height: 920px;
  background: radial-gradient(circle, rgba(108,142,255,0.20) 0%, rgba(108,142,255,0.05) 40%, rgba(108,142,255,0) 70%);
  animation: auroraDrift2 62s ease-in-out infinite;
}
.bg-aurora.a3 {
  top: 30%;
  left: 50%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245,196,72,0.13) 0%, rgba(245,196,72,0.03) 40%, rgba(245,196,72,0) 70%);
  animation: auroraDrift3 75s ease-in-out infinite;
}
@keyframes auroraDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(8vw, 6vh) scale(1.1); }
  66%      { transform: translate(-4vw, 12vh) scale(0.95); }
}
@keyframes auroraDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-10vw, -8vh) scale(1.15); }
}
@keyframes auroraDrift3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50%      { transform: translate(-40%, -6vh) scale(1.08); }
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(7,8,12,0.55) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  .bg-aurora { animation: none !important; }
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input { font-family: inherit; }

::selection { background: var(--teal); color: var(--forest); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

main, .navbar, .footer, .sticky-bar, .trust-strip {
  position: relative;
  z-index: 2;
}

/* Skip-to-content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--teal);
  color: var(--forest);
  padding: 12px 18px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---- MOTION SYSTEM ---- */
/* One easing curve, used everywhere. */
:root { --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Generic reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance — staggered children */
.hero-enter > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 700ms var(--ease-out) forwards;
}
.hero-enter > *:nth-child(1) { animation-delay: 60ms; }
.hero-enter > *:nth-child(2) { animation-delay: 140ms; }
.hero-enter > *:nth-child(3) { animation-delay: 220ms; }
.hero-enter > *:nth-child(4) { animation-delay: 300ms; }
.hero-enter > *:nth-child(5) { animation-delay: 380ms; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-card-enter {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: heroCardIn 800ms var(--ease-out) 200ms forwards;
}
@keyframes heroCardIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Standardised hover for any card */
.card-hover {
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-enter > *, .hero-card-enter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  height: 60px;
  background: rgba(7,8,12,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { transition: transform 200ms ease; }
.brand:hover .brand-mark { transform: scale(1.04); }
.wordmark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.nav-links { display: none; gap: 28px; }
.nav-links a {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--forest);
  border-radius: var(--radius-button);
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,201,160,0.25); }
.nav-cta:active { transform: scale(0.97); }
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out);
}
.hamburger:hover { border-color: var(--border-teal); }
.hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 280ms var(--ease-out), opacity 240ms var(--ease-out);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-cta-desktop { display: none; }

@media (min-width: 1024px) {
  .navbar { height: 72px; }
  .nav-links { display: flex; }
  .nav-cta-desktop { display: inline-flex; }
  .hamburger { display: none; }
}

/* ---- MOBILE DRAWER ---- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4,5,8,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 150;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--bg-surface-1);
  border-left: 1px solid var(--border-card);
  z-index: 160;
  box-shadow: -24px 0 60px rgba(0,0,0,0.5);
}
.drawer-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.drawer-close:hover { color: var(--teal); border-color: var(--border-teal); }
.drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  gap: 4px;
  flex: 1;
}
.drawer-nav a {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  transition: color 180ms var(--ease-out), padding-left 220ms var(--ease-out);
}
.drawer-nav a::after {
  content: '↗';
  margin-left: auto;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 180ms var(--ease-out), transform 220ms var(--ease-out);
}
.drawer-nav a:hover, .drawer-nav a:focus-visible {
  color: var(--teal);
  padding-left: 8px;
}
.drawer-nav a:hover::after { color: var(--teal); transform: translate(2px, -2px); }
.drawer-cta {
  background: var(--teal);
  color: var(--forest);
  border-radius: 999px;
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 15px;
  padding: 16px 24px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 180ms var(--ease-out);
}
.drawer-cta:hover { transform: translateY(-1px); }
.drawer-foot {
  margin-top: 20px;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
}

/* ---- HERO ---- */
.hero {
  padding: 56px 0 var(--section-y);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 9vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-wrap: pretty;
}
@media (max-width: 360px) {
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero { padding: 32px 0 var(--section-y); }
}
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--teal) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.btn-primary {
  background: var(--teal);
  color: var(--forest);
  border-radius: var(--radius-button);
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 70% { transform: translateX(-100%); }
  85% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 12px 36px rgba(61,201,160,0.3); }
.btn-primary:active { transform: scale(0.97); }
.link-secondary {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}
.link-secondary:hover { color: var(--text-secondary); border-color: var(--text-muted); }
.social-pill {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-chip);
  padding: 8px 14px;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 12px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
}
.social-pill .star { color: var(--teal); font-size: 13px; }

/* Hero card (result preview) */
.hero-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--border-subtle);
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  --glow-opacity: 0;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--mx) var(--my),
    rgba(61,201,160,0.16) 0%,
    rgba(61,201,160,0.06) 35%,
    transparent 70%);
  opacity: var(--glow-opacity);
  transition: opacity 400ms cubic-bezier(0.22,0.61,0.36,1);
  z-index: 1;
  mix-blend-mode: screen;
}
.hero-card-inner { position: relative; z-index: 2; }
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.hero-card-tag {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.hero-card-tag.mono-tag {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  color: var(--teal);
}
.hero-card-tag .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.hero-card-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.hero-card-ring {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}
.hero-card-amount-wrap { min-width: 0; flex: 1; }
.hero-card-amount {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 48px);
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-card-meta {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.hero-card-meta-dot { color: var(--text-muted); }
.hero-card-spark {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px 8px;
  margin-bottom: 18px;
}
.hero-card-spark svg { display: block; }
.hero-card-spark-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 13px;
  color: var(--teal);
  transition: gap 200ms var(--ease-out);
}
.hero-card-link:hover { gap: 10px; }
.hero-card-link .arrow {
  transition: transform 200ms var(--ease-out);
}
.hero-card-link:hover .arrow { transform: translateY(2px); }

@media (min-width: 1024px) {
  .hero { padding: 80px 0 var(--section-y); }
  .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: 64px;
  }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}
.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 1.75; }
.trust-text-label {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
}
.trust-text-sub {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .trust-grid { flex-direction: row; gap: 0; }
  .trust-item { padding: 0 28px; border-right: 1px solid var(--border-subtle); }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { padding-right: 0; border-right: none; }
}

/* ---- CALCULATOR SECTION ---- */
.calc {
  padding: var(--section-y) 0;
}
.section-head { margin-bottom: 32px; }
.section-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-sub {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
}

/* Mode tabs */
.mode-tabs {
  display: inline-flex;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-top: 24px;
  position: relative;
}
.mode-tab {
  position: relative;
  z-index: 2;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 240ms var(--ease-out);
  white-space: nowrap;
}
.mode-tab .mode-tab-icon, .mode-tab > span { position: relative; z-index: 2; }
.mode-tab.active { color: var(--forest); font-weight: 600; }
.tab-bg-slide {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: var(--teal);
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}
.mode-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.mode-tab-icon svg { width: 16px; height: 16px; }
.mode-tab .tab-bg {
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: 999px;
  z-index: -1;
  display: none;
}
.mode-tab-sub {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  min-height: 18px;
}

/* FIRE type cards */
.fire-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.fire-type-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), background 220ms var(--ease-out);
  text-align: left;
  width: 100%;
}
.fire-type-card:hover { border-color: var(--border-teal); transform: translateY(-2px); }
.fire-type-card.active {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(61,201,160,0.08) 0%, var(--bg-surface-1) 100%);
}
.fire-type-name {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fire-type-rule {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  color: var(--teal);
  background: var(--teal-glow);
  padding: 2px 8px;
  border-radius: 4px;
}
.custom-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.fire-type-desc {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 6px;
}
@media (min-width: 768px) {
  .fire-types { grid-template-columns: repeat(3, 1fr); }
}

/* Calc layout */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: 55fr 45fr; gap: 48px; align-items: start; }
  .calc-results-wrap { position: sticky; top: 96px; }
}

/* Inputs panel */
.inputs-panel {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.input-group {}
.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.input-label {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
}
.label-hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}
.input-helper {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}
.input-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 14px;
  color: var(--teal);
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-teal);
  color: var(--teal);
  font-size: 22px;
  display: grid;
  place-items: center;
  transition: background 200ms ease, transform 150ms ease, border-color 200ms ease;
}
.stepper-btn:hover { background: var(--teal-glow); border-color: var(--teal); }
.stepper-btn:active { transform: scale(0.92); }
.stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper-value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 52px;
  color: var(--teal);
  min-width: 100px;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Custom slider */
.slider {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  touch-action: none;
  user-select: none;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--bg-surface-3);
  border-radius: 3px;
  overflow: visible;
}
.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: 3px;
  transition: width 280ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.slider-thumb {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--bg-base);
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: box-shadow 200ms ease, transform 200ms cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slider-thumb:hover { box-shadow: 0 0 0 6px rgba(61,201,160,0.15); }
.slider.dragging .slider-thumb {
  cursor: grabbing;
  box-shadow: 0 0 0 8px rgba(61,201,160,0.2);
  transform: translate(-50%, -50%) scale(1.15);
}
.slider.dragging .slider-fill { transition: none; }
.slider-pill {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-teal);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--teal);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.slider.dragging .slider-pill,
.slider:hover .slider-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.slider-pill::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--border-teal);
}
.slider-min-max {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}

/* Results panel */
.results-panel {
  background: linear-gradient(180deg, var(--bg-surface-1) 0%, rgba(14,16,24,0.6) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.results-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 65%);
  pointer-events: none;
}
.results-inner { position: relative; z-index: 2; }

.ring-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.ring-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 65%);
  pointer-events: none;
}
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); position: relative; z-index: 2; }
.ring-track { fill: none; stroke: var(--bg-surface-3); stroke-width: 8; }
.ring-progress {
  fill: none;
  stroke: var(--teal);
  stroke-width: 8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(61,201,160,0.5));
  transition: stroke-dashoffset 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}
.ring-center-inner { text-align: center; }
.ring-percent {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 26px;
  color: var(--teal);
  line-height: 1;
}
.ring-percent-label {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-number-block { flex: 1; min-width: 0; }
.hero-number-label {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero-number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-number.flash { animation: numberFlash 400ms ease; }
@keyframes numberFlash {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.freedom-row {
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.freedom-label {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.freedom-value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 480px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px 14px;
}
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.1;
}
.stat-label {
  font-family: 'DM Sans';
  font-weight: 400;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
}

/* Insight box */
.insight-box {
  border-left: 3px solid var(--teal);
  background: var(--bg-surface-2);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-family: 'DM Sans';
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.insight-box strong { color: var(--teal); font-family: 'JetBrains Mono', monospace; font-weight: 500; }

/* Withdrawal check */
.withdrawal-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-input);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.withdrawal-check .check-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.withdrawal-check.safe .check-dot { background: var(--success); box-shadow: 0 0 8px var(--success); }
.withdrawal-check.unsafe .check-dot { background: var(--danger); }
.withdrawal-check strong { color: var(--text-primary); font-weight: 500; }

/* Scenario chips */
.scenarios { display: flex; gap: 8px; flex-wrap: wrap; }
.scenario-chip {
  border: 1px solid var(--border-card);
  background: var(--bg-surface-2);
  border-radius: var(--radius-chip);
  padding: 8px 14px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: all 200ms ease;
}
.scenario-chip:hover { border-color: var(--border-teal); }
.scenario-chip.active {
  border-color: var(--teal);
  background: var(--teal-glow);
  color: var(--text-primary);
}
.scenario-age {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--teal);
}

/* Sticky bottom bar (mobile) */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14,16,24,0.95);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-card);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}
.sticky-label {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sticky-amount {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sticky-date {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  text-align: right;
}
.sticky-date-label {
  font-family: 'DM Sans';
  font-size: 10px;
  color: var(--text-muted);
  text-align: right;
}
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* ---- CHART ---- */
.chart-timeline-section {
  padding: var(--section-y) 0;
}
.chart-section {
  margin-top: 0;
}
.chart-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.chart-title {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chart-legend { display: flex; gap: 16px; }
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--text-secondary);
}
.legend-line {
  width: 18px;
  height: 2px;
  border-radius: 2px;
}
.legend-line.teal { background: var(--teal); }
.legend-line.gold {
  background: linear-gradient(90deg, var(--gold) 50%, transparent 50%) repeat-x;
  background-size: 6px 2px;
}
.chart-wrap {
  width: 100%;
  position: relative;
}
@media (max-width: 767px) { .chart-wrap { min-height: 220px; } }

.chart-tooltip {
  position: absolute;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-teal);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'DM Sans';
  font-size: 12px;
  width: 180px;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 5;
}
.tt-year { color: var(--text-secondary); font-weight: 500; margin-bottom: 6px; font-size: 11px; }
.tt-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 2px; }
.tt-row-divider { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border-subtle); }
.tt-row .tt-label { color: var(--text-muted); font-size: 11px; }
.tt-row .tt-value { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; }

/* ---- MILESTONE TIMELINE ---- */
.timeline-section { margin-top: 40px; }
.timeline-title {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.timeline {
  position: relative;
  padding: 24px 0 16px;
}
.timeline-line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  background: var(--bg-surface-3);
  transform: translateY(-50%);
  transform-origin: left center;
}
.timeline-nodes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 8px;
}
.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg-base);
}
@keyframes msFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes msPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.milestone.gold .milestone-dot {
  width: 14px; height: 14px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 16px var(--gold);
}
.milestone.fire .milestone-dot {
  width: 16px; height: 16px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 20px rgba(245,196,72,0.6);
  animation: firepulse 2s ease-in-out infinite;
}
@keyframes firepulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.milestone-amt {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 12px;
  color: var(--text-primary);
  white-space: nowrap;
  position: absolute;
  bottom: calc(100% + 6px);
}
.milestone-when {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 11px;
  color: var(--teal);
  white-space: nowrap;
  position: absolute;
  top: calc(100% + 6px);
}
.milestone.fire .milestone-amt { color: var(--gold); }
.milestone.fire .milestone-when { color: var(--gold); }
@media (max-width: 767px) {
  .timeline-nodes { flex-direction: column; gap: 28px; align-items: flex-start; padding-left: 24px; }
  .timeline-line {
    left: 28px; right: auto; top: 0; bottom: 0;
    width: 1.5px; height: auto;
    transform: none;
  }
  .milestone { flex-direction: row; gap: 12px; align-items: center; flex: 0; }
  .milestone-amt { position: static; }
  .milestone-when { position: static; }
}

/* ---- SHARE SECTION ---- */
.share-section {
  padding: var(--section-y) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: hidden;
}
.share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
@media (min-width: 1024px) { .share-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.share-card-title {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.share-card-badge {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* OG Result preview card */
.og-card {
  position: relative;
  background: linear-gradient(135deg, #0D2818 0%, #0E1018 100%);
  border: 1px solid var(--border-teal);
  border-radius: 16px;
  padding: 32px 28px;
  overflow: hidden;
  aspect-ratio: 1.91 / 1;
  min-height: 280px;
}
@media (max-width: 420px) {
  .og-card {
    aspect-ratio: auto;
    min-height: auto;
    padding: 24px 20px;
  }
}
.og-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(61,201,160,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.og-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.og-head { display: flex; align-items: center; gap: 10px; }
.og-wordmark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
}
.og-amount {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 48px);
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.og-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-primary);
}
.og-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.og-stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 14px;
  color: var(--teal);
}
.og-stat-lbl {
  font-family: 'DM Sans';
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.og-foot {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.og-foot .dot { color: var(--teal); }

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-input);
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 14px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn:active { transform: scale(0.97); }
.share-btn.whatsapp { background: #25D366; color: #053220; }
.share-btn.x { background: #000; color: #fff; border: 1px solid var(--border-card); }
.share-btn.copy { background: var(--bg-surface-2); color: var(--text-secondary); border: 1px solid var(--border-card); }
.share-btn.copied { background: var(--teal-glow); color: var(--teal); border-color: var(--border-teal); }
.share-btn.failed { background: rgba(255,90,95,0.08); color: var(--danger); border-color: rgba(255,90,95,0.35); }

/* "Share your story" trigger — tertiary action under the share buttons */
.story-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  background: transparent;
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.story-trigger:hover {
  color: var(--teal);
  border-color: var(--border-teal);
  background: var(--teal-glow-lg);
  border-style: solid;
}
.story-trigger svg { color: var(--teal); }

/* Story modal */
.story-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4,5,8,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
}
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}
.story-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}
.story-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.story-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
.story-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-top: 4px;
}
.story-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.story-close:hover { color: var(--teal); border-color: var(--border-teal); }
.story-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 22px;
}
.story-intro strong { color: var(--text-primary); font-weight: 500; }
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.story-row label { display: flex; flex-direction: column; }
.story-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.story-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.story-hint {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
}
.story-input, .story-textarea {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  width: 100%;
}
.story-input:focus, .story-textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.story-textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.story-input::placeholder, .story-textarea::placeholder { color: var(--text-muted); }

.story-bands { display: flex; flex-wrap: wrap; gap: 6px; }
.story-band {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.story-band:hover { border-color: var(--border-teal); color: var(--text-primary); }
.story-band.active {
  background: var(--teal-glow);
  color: var(--teal);
  border-color: var(--teal);
}

.story-stats-preview {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.story-stats-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.story-stats-row { display: flex; flex-wrap: wrap; gap: 6px; }
.story-stats-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--bg-surface-3);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
}
.story-stats-chip strong { color: var(--teal); font-weight: 500; }

.story-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}
.story-consent input {
  margin-top: 3px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.story-consent strong { color: var(--text-primary); font-weight: 500; }

.story-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--danger);
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(255,90,95,0.08);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
}

.story-actions { display: flex; gap: 10px; justify-content: flex-end; }
.story-cancel, .story-submit {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.story-cancel {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}
.story-cancel:hover { color: var(--text-primary); border-color: var(--border-strong); }
.story-submit {
  background: var(--teal);
  color: var(--forest);
  font-weight: 600;
}
.story-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,201,160,0.25); }
.story-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

.story-success {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 16px 0;
}
.story-success p strong { color: var(--text-primary); }

@media (max-width: 480px) {
  .story-row { grid-template-columns: 1fr; }
  .story-inner { padding: 22px 20px 20px; }
}

/* Inline URL row — always shown, doubles as fallback for blocked clipboard */
.share-url-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-input);
  padding: 4px;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.share-url-row.highlight {
  border-color: var(--border-teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.share-url {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
  outline: none;
  text-overflow: ellipsis;
  cursor: text;
}
.share-url:focus { color: var(--text-primary); }
.share-url-btn {
  background: transparent;
  border: none;
  padding: 0 10px;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 6px;
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.share-url-btn:hover { color: var(--teal); background: var(--teal-glow); }

/* Compare card */
.compare-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  height: 100%;
}
.compare-intro {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.compare-row { margin-bottom: 22px; }
.compare-row:last-child { margin-bottom: 0; }
.compare-label-row {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.compare-label-row strong { color: var(--text-primary); font-weight: 500; }
.compare-bar {
  position: relative;
  height: 6px;
  background: var(--bg-surface-3);
  border-radius: 3px;
}
.compare-marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--bg-surface-2);
  transition: left 600ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.compare-marker.avg { background: var(--text-muted); }
.compare-marker.you { background: var(--teal); box-shadow: 0 0 0 3px rgba(61,201,160,0.2); z-index: 2; }
.compare-marker.top { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.compare-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
}
.compare-legend span { display: flex; align-items: center; gap: 4px; }
.compare-legend .dot { width: 6px; height: 6px; border-radius: 50%; }
.compare-legend .dot.avg { background: var(--text-muted); }
.compare-legend .dot.you { background: var(--teal); }
.compare-legend .dot.top { background: var(--gold); }
.compare-foot {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.5;
}

/* ---- METHODOLOGY ACCORDION ---- */
.method-section { padding: var(--section-y) 0; }
.accordion { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.acc-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 200ms ease;
}
.acc-item.open { border-color: var(--border-teal); }
.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  transition: background 180ms ease;
}
.acc-header:hover { background: var(--bg-surface-2); }
.acc-chev {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 240ms cubic-bezier(0.34, 1.4, 0.64, 1);
  flex-shrink: 0;
  margin-left: 12px;
}
.acc-item.open .acc-chev { transform: rotate(90deg); color: var(--teal); }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner {
  overflow: hidden;
  padding: 0 22px;
}
.acc-item.open .acc-body-inner { padding: 4px 22px 22px; }
.acc-body-inner-fm {
  padding: 4px 22px 22px;
}
.acc-body-inner-fm p {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.code-block {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-primary);
  padding: 16px 18px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .code-block { font-size: 11px; padding: 14px; }
}
.code-block .k { color: var(--teal); }
.code-block .c { color: var(--text-muted); }
.acc-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }
.acc-links a {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 12px;
  color: var(--teal);
  border-bottom: 1px dashed rgba(61,201,160,0.4);
  padding-bottom: 1px;
}
.acc-links a:hover { border-bottom-color: var(--teal); }
.acc-links-note {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 12px 14px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-input);
  border-left: 2px solid var(--border-card);
}
.acc-links-note a {
  color: var(--teal);
  border: none;
  padding: 0;
}
.acc-links-note a:hover { text-decoration: underline; }

/* ---- WAITLIST ---- */
.waitlist-section {
  padding: var(--section-y) 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61,201,160,0.06) 0%, transparent 70%),
    var(--bg-base);
}
.waitlist-headline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.waitlist-sub {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 24px;
}
.waitlist-counter {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Primary action now that the product ships — deliberately heavier than the
   email form beneath it, so the eye lands on "use it" before "hear about it". */
.app-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--teal);
  color: #07080C;
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 28px rgba(61, 201, 160, 0.22);
}
.app-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(61, 201, 160, 0.34);
}
.app-cta:active { transform: scale(0.98); }
.app-cta-note {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Separates "use the product" from "hear about the product". */
.waitlist-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin: 40px auto 24px;
  color: var(--text-muted);
  font-family: 'DM Sans';
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.waitlist-divider::before,
.waitlist-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-card);
}
.waitlist-sub-tight { margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  .app-cta, .app-cta:hover, .app-cta:active { transition: none; transform: none; }
}
.waitlist-counter strong {
  font-family: 'JetBrains Mono', monospace;
  color: var(--teal);
  font-weight: 500;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}
@media (min-width: 600px) { .waitlist-form { flex-direction: row; } }
.waitlist-input {
  flex: 1;
  height: 52px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-input);
  padding: 0 18px;
  font-family: 'DM Sans';
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.waitlist-btn {
  background: var(--teal);
  color: var(--forest);
  border-radius: var(--radius-button);
  height: 52px;
  padding: 0 28px;
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 15px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}
.waitlist-btn:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(61,201,160,0.3); }
.waitlist-btn.success { background: var(--success); color: #fff; }
.waitlist-foot {
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}
.waitlist-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.waitlist-chip {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-chip);
  padding: 6px 14px;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 12px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.waitlist-chip::before {
  content: '✓';
  color: var(--teal);
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1.4fr 1fr; gap: 48px; } }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-tagline {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.footer-disclaimer {
  font-family: 'DM Sans';
  font-weight: 300;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 360px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 180ms ease;
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-teal);
  color: var(--teal);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 13px;
  z-index: 200;
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.34, 1.4, 0.64, 1), opacity 220ms ease;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast.error {
  border-color: rgba(255,90,95,0.5);
  color: var(--danger);
}

/* ---- INDIA FEATURES ---- */
.india-section { padding: var(--section-y) 0; }
.india-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 600px) { .india-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .india-grid { grid-template-columns: repeat(3, 1fr); } }
.india-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.india-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
.india-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.india-icon svg { width: 20px; height: 20px; color: var(--teal); }
.india-title {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.india-body {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.india-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.india-card-head .india-icon { margin-bottom: 0; }
.india-tag {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.india-tag.live {
  background: var(--teal-glow);
  color: var(--teal);
  border: 1px solid var(--border-teal);
}
.india-tag.live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
}
.india-tag.soon {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.india-card.soon { opacity: 0.92; }
.india-card.soon .india-icon { background: var(--gold-dim); }
.india-card.soon .india-icon svg { color: var(--gold); }
.india-card.soon:hover { border-color: var(--border-gold); }

/* ---- WHAT-IF ENGINE ---- */
.whatif-section {
  padding: var(--section-y) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
.whatif-baseline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-chip);
  padding: 10px 16px;
  margin-top: 16px;
}
.whatif-baseline-label {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.whatif-baseline-value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.whatif-baseline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}
.whatif-apply {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 11px;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 180ms ease;
}
.whatif-apply:hover { background: var(--teal-glow); }
.whatif-apply:disabled {
  opacity: 0;
  pointer-events: none;
}
.whatif-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.whatif-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  align-items: center;
}
@media (min-width: 768px) {
  .whatif-row {
    grid-template-columns: 1.1fr 1.4fr 0.9fr;
    gap: 24px;
  }
}
.whatif-label {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}
.whatif-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--teal);
  display: block;
  margin-top: 4px;
}
.whatif-impact { text-align: left; }
@media (min-width: 768px) { .whatif-impact { text-align: right; } }
.whatif-impact-age {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.whatif-impact-delta {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 12px;
  margin-top: 2px;
}
.whatif-impact-delta.better { color: var(--success); }
.whatif-impact-delta.worse { color: var(--danger); }
.whatif-impact-delta.neutral { color: var(--text-muted); }
.whatif-bottom {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bg-surface-2);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  font-family: 'DM Sans';
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.whatif-bottom strong { color: var(--teal); font-weight: 500; }

.whatif-combined {
  margin-top: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(61,201,160,0.10) 0%, var(--bg-surface-2) 100%);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 900px) {
  .whatif-combined { grid-template-columns: 1.4fr 1fr; gap: 28px; }
}
.whatif-combined-label {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.whatif-combined-text {
  font-family: 'DM Sans';
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.whatif-combined-text strong { color: var(--text-primary); font-weight: 500; }
.whatif-combined-result {
  text-align: left;
}
@media (min-width: 768px) { .whatif-combined-result { text-align: right; } }
.whatif-combined-from {
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--text-muted);
}
.whatif-combined-from s { color: var(--text-muted); }
.whatif-combined-age {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 36px;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 4px 0;
}
.whatif-combined-delta {
  font-family: 'DM Sans';
  font-weight: 600;
  font-size: 13px;
}
.whatif-combined-delta.better { color: var(--success); }
.whatif-combined-delta.worse { color: var(--danger); }
.whatif-combined-delta.neutral { color: var(--text-muted); }

/* ---- SOCIAL PROOF ---- */
.social-section { padding: var(--section-y) 0; }
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial:hover {
  border-color: var(--border-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
.test-head { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--forest);
  font-size: 16px;
}
.test-name { font-family: 'DM Sans'; font-weight: 500; font-size: 13px; color: var(--text-primary); }
.test-meta { font-family: 'DM Sans'; font-size: 11px; color: var(--text-muted); }
.test-badge {
  margin-left: auto;
  background: var(--teal-glow);
  color: var(--teal);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-teal);
}
.test-stats { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.test-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--teal); font-weight: 500; }
.test-stat-lbl { font-family: 'DM Sans'; font-size: 10px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.5px; text-transform: uppercase; }
.test-quote { font-family: 'DM Sans'; font-weight: 300; font-style: italic; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.test-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }

/* Hydration banner — shown when URL params restored state */
.hydration-banner {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  padding: 10px 14px 10px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--text-secondary);
  max-width: calc(100vw - 32px);
}
.hydration-banner strong { color: var(--teal); font-weight: 600; }
.hydration-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  flex-shrink: 0;
}
.hydration-banner button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
}
.hydration-banner button:hover { color: var(--text-primary); }

/* Waitlist input states */
.waitlist-input.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,90,95,0.15);
}
.waitlist-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.waitlist-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.waitlist-btn:disabled:hover { transform: none; box-shadow: none; }
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinnerRotate 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}
.waitlist-error {
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--danger);
  margin-top: 10px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- CONSENT TOAST ---- */
.consent-toast {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 560px;
  z-index: 220;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.consent-text {
  flex: 1;
  min-width: 200px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.consent-text a {
  color: var(--teal);
  border-bottom: 1px dashed rgba(61,201,160,0.4);
}
.consent-text a:hover { border-bottom-color: var(--teal); }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.consent-btn.ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}
.consent-btn.ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }
.consent-btn.primary {
  background: var(--teal);
  color: var(--forest);
  font-weight: 600;
}
.consent-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61,201,160,0.3);
}
@media (max-width: 600px) {
  .consent-toast { flex-direction: column; align-items: stretch; }
  .consent-actions { justify-content: flex-end; }
}

/* Focus */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.slider-thumb:focus-visible {
  box-shadow: 0 0 0 8px rgba(61,201,160,0.25), 0 2px 8px rgba(0,0,0,0.4);
  outline: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn-primary:focus-visible, .nav-cta:focus-visible, .waitlist-btn:focus-visible {
  outline-offset: 4px;
}
/* Visible focus ring on the chevron of accordions */
.acc-header:focus-visible { background: var(--bg-surface-2); }
