/* ============================================================
   Commission Buddy — Home page
   Eucalyptus dark throughout: the hero and the scroll story are drawn
   like the app's own dark theme, so the numbers glow.
   Motion lives in js/home.js; everything here is the resting layout.
   ============================================================ */

:root {
  --carbon: #12150F;
  --euc: #1E4A3E;
  --hero-a: #235446;
  --hero-b: #143028;
  --lime: #CBF24F;
  --lime-soft: #BFE37A;
  --bone: #F3EFE6;
  --sage: #8AA89A;
  --ink: #161D1A;
  --net: #4FD08A;
  --inhand: #45CBD8;
  --blue: #6FA8FF;
  --fees: #F29A4B;
  --office: #E06BE6;
  --amber: #F2A93B;
  --red: #FF6B61;
  --t2: rgba(243, 239, 230, 0.68);
  --t3: rgba(243, 239, 230, 0.5);
  --hair: rgba(243, 239, 230, 0.1);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --ui: 'Hanken Grotesk', system-ui, sans-serif;
  --gutter: 22px;
  --nav-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; background-color: #12150F; }

body {
  margin: 0;
  background-color: var(--carbon);
  color: var(--bone);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--lime); }
a:hover { color: var(--lime-soft); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--lime); color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Atmosphere: carbon ground, lime + eucalyptus + teal glows, a faint dot grid. */
.atmo {
  position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: calc(100lvh + 120px); z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(243, 239, 230, 0.06) 1px, transparent 1.4px),
    radial-gradient(ellipse 80% 45% at 18% 4%, rgba(203, 242, 79, 0.15), rgba(203, 242, 79, 0) 70%),
    radial-gradient(ellipse 90% 55% at 50% 60%, rgba(35, 84, 70, 0.8), rgba(35, 84, 70, 0) 72%),
    radial-gradient(ellipse 60% 40% at 92% 92%, rgba(69, 203, 216, 0.13), rgba(69, 203, 216, 0) 70%);
  background-size: 12px 12px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

/* ── Type ─────────────────────────────────────────────────── */

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 1px; background: currentColor; flex: none; }

.display {
  margin: 0; font-family: var(--display); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02; color: var(--bone);
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--lime); }

.lede { margin: 0; color: var(--t2); font-size: 16px; line-height: 1.55; }

/* ── Nav ──────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(18, 21, 15, 0.93);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--hair);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; }
.brand:hover { color: var(--bone); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: none; }
.nav-links a { color: var(--t2); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--bone); }
.nav-links a.pill-cta, .nav-links a.pill-cta:hover { color: var(--ink); }

.pill-cta {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 19px;
  background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(203, 242, 79, 0.6);
}
.pill-cta:hover { color: var(--ink); background: var(--lime-soft); }

/* Mobile menu */
.nav-m { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0;
  border-radius: 19px; border: 1px solid rgba(243, 239, 230, 0.16); background: rgba(243, 239, 230, 0.08);
  color: var(--bone); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn path { transform-origin: 12px 12px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; z-index: 49; left: 12px; right: 12px; top: calc(var(--nav-h) + 8px);
  display: flex; flex-direction: column; padding: 8px; border-radius: 22px;
  background: rgba(24, 30, 26, 0.9); border: 1px solid rgba(243, 239, 230, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: 90% 0;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu[hidden] { display: none; }
.menu.open { opacity: 1; transform: none; }
.menu a {
  display: flex; align-items: center; min-height: 50px; padding: 0 14px; border-radius: 14px;
  color: var(--bone); text-decoration: none; font-size: 17px; font-weight: 600;
}
.menu a:hover, .menu a:focus-visible { background: rgba(243, 239, 230, 0.07); color: var(--bone); }
.menu a + a { border-top: 1px solid var(--hair); }

.badge { display: inline-block; line-height: 0; border-radius: 10px; }
.badge img { height: 48px; width: auto; }

/* ── Phone ────────────────────────────────────────────────── */

.phone {
  position: absolute; width: 250px; aspect-ratio: 1470 / 3000;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}
.phone .glass {
  position: absolute; top: 2.233%; left: 5.102%; width: 89.796%; height: 95.533%;
  overflow: hidden; border-radius: 13% / 6%; background: #000;
}
.phone .glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* A one-pass light sweep across the glass (hero entrance, Pro card). */
.sweep {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none;
}
.sweep::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(100deg, rgba(214, 240, 160, 0), rgba(214, 240, 160, 0.22) 50%, rgba(214, 240, 160, 0));
  transform: translateX(0) skewX(-12deg); opacity: 0;
}

/* ── Floating chip ────────────────────────────────────────── */

.chip {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 16px; white-space: nowrap;
  background: rgba(22, 28, 24, 0.92); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip small {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--t2);
}
.chip small i { width: 7px; height: 7px; border-radius: 4px; background: var(--dot); }
.chip b {
  font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  padding: calc(var(--nav-h) + 24px) 0 0;
}
.hero-copy { position: relative; z-index: 2; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: clamp(40px, 11.3vw, 48px); }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.hero-cta p { margin: 0; font-size: 12px; line-height: 1.4; color: var(--t3); }

/* Headline words rise out of a mask on load. */
.m { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em; margin: 0 -0.06em -0.14em; }
.w { display: inline-block; }

/* The visual is laid out at 390 px and scaled to fit (--s is set by home.js). */
.hero-visual { position: relative; height: calc(420px * var(--s, 1)); margin-top: 26px; }
.rig { position: absolute; left: 50%; top: 0; width: 390px; transform-origin: 50% 0; transform: translateX(-50%) scale(var(--s, 1)); }
.hero-rig { height: 560px; }
.hero-rig .glow {
  position: absolute; left: -40px; top: -40px; width: 470px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 40%, rgba(203, 242, 79, 0.2), rgba(203, 242, 79, 0) 70%);
}
.hero-rig .phone { left: 60px; top: 0; width: 270px; }
.hero-rig .chip-a { left: 14px; top: 132px; }
.hero-rig .chip-b { left: 232px; top: 212px; }

.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 130px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 21, 15, 0), rgba(18, 21, 15, 0.97) 72%);
}
.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--t3);
}
.scroll-cue svg { width: 12px; height: 12px; }

/* ── Scroll story ─────────────────────────────────────────── */

.story { position: relative; height: 600vh; height: 600lvh; }
/* Safari on iOS 26 draws the page under its floating toolbar, and even the large viewport stops
   short of the screen's bottom edge. On phones the stage runs 120 px past it so the story never
   ends in a hard line; everything in it is anchored to the top, so the overhang is only backdrop. */
.stage { position: sticky; top: 0; height: 100vh; height: calc(100lvh + 120px); overflow: hidden; }

.progress {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 8px);
  display: flex; gap: 5px; z-index: 5;
}
.progress i { flex: 1; height: 3px; border-radius: 2px; background: rgba(243, 239, 230, 0.14); overflow: hidden; }
.progress i::after {
  content: ''; display: block; height: 100%; background: var(--lime);
  transform-origin: 0 50%; transform: scaleX(var(--f, 0));
}

.chapters {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 36px); z-index: 5;
}
.chapter { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 12px; }
.chapter .body { display: flex; flex-direction: column; gap: 12px; }
.chapter h2 { font-size: clamp(34px, 9.8vw, 40px); }
.chapter .num { display: none; }

.story-rig { height: 560px; top: 0; left: 0; transform-origin: 0 0; transform: none; }
.story-rig .phone { left: 70px; top: 0; }
.shots img { opacity: 0; }
.shots img:first-child { opacity: 1; }

/* Overlays share the rig's coordinates: 0,0 is the phone's top edge. */
.ov { position: absolute; left: 0; top: 0; width: 390px; opacity: 0; pointer-events: none; }

.panel {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(44, 50, 46, 0.97), rgba(30, 35, 32, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.9);
}

/* 1 · the breakdown */
.ov-breakdown { top: -12px; }
.ov-breakdown .shade {
  position: absolute; left: -200px; right: -200px; top: -20px; height: 320px;
  background: linear-gradient(180deg, rgba(18, 21, 15, 0.9), rgba(18, 21, 15, 0.78) 80%, rgba(18, 21, 15, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.breakdown { position: relative; margin: 0 22px; display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.breakdown .sold { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--lime); }
.bar { position: relative; height: 44px; }
.bar .track { position: absolute; inset: 0; border-radius: 14px; border: 1.5px dashed rgba(243, 239, 230, 0.22); }
.bar .seg { position: absolute; top: 0; height: 44px; }
.bar .seg.inhand { border-radius: 14px 0 0 14px; background: var(--inhand); box-shadow: 0 0 30px rgba(69, 203, 216, 0.45); }
.bar .seg.tax { background: #9FB0A6; }
.bar .seg.office { background: var(--office); }
.bar .seg.fees { background: var(--fees); }
.bar .seg.gst { background: var(--sage); border-radius: 0 14px 14px 0; }
.bar .slash {
  position: absolute; top: -10px; left: 0; width: 5px; height: 64px; margin-left: -2px; border-radius: 3px;
  background: var(--bone); box-shadow: 0 0 14px rgba(243, 239, 230, 0.8); transform: rotate(24deg);
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--t2); }
.legend span { display: flex; align-items: center; gap: 5px; opacity: 0.45; transition: opacity 0.2s ease; }
.legend span.on { opacity: 1; }
.legend i { width: 7px; height: 7px; border-radius: 4px; background: var(--c); }
.legend b { color: var(--bone); font-weight: 600; }
.result { display: flex; align-items: flex-end; gap: 12px; margin-top: 4px; }
.result .big {
  font-family: var(--display); font-size: 74px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9;
  color: var(--inhand); font-variant-numeric: tabular-nums;
}
.result .what { padding-bottom: 6px; font-size: 13px; line-height: 1.35; color: var(--t2); }

/* 2 · settlement runway */
.ov-runway { left: 30px; top: 140px; width: 330px; }
.runway { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.runway header { display: flex; flex-direction: column; gap: 2px; }
.runway h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 17px; font-weight: 700; }
.runway h3 svg { width: 16px; height: 16px; }
.runway header p { margin: 0; padding-left: 24px; font-size: 11px; color: var(--t2); }
.line { position: relative; height: 110px; margin: 0 4px; }
.line .rail { position: absolute; left: 0; right: 0; top: 55px; height: 2px; background: rgba(243, 239, 230, 0.16); transform-origin: 0 50%; }
.line .today { position: absolute; left: 0; top: 48px; width: 16px; height: 16px; border-radius: 8px; border: 2.5px solid var(--bone); background: #1E2622; }
.line .today-l { position: absolute; left: 0; top: 72px; font-size: 10px; font-weight: 600; color: var(--t2); }
.stop { position: absolute; top: 48px; }
.stop .dot {
  width: 16px; height: 16px; border-radius: 8px; background: var(--inhand); border: 3px solid #1E2622;
  box-shadow: 0 0 12px rgba(69, 203, 216, 0.7);
}
.stop .lbl { position: absolute; left: -44px; width: 104px; text-align: center; }
.stop.up .lbl { bottom: 22px; }
.stop.down .lbl { top: 22px; }
.stop .lbl b { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stop .lbl small { display: block; font-size: 10px; color: var(--t2); white-space: nowrap; }

/* 3 · tiers */
.ov-tiers { left: 45px; top: 150px; width: 300px; }
.ladder { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ladder header { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.ladder h3 { margin: 0; font-family: var(--display); font-size: 16px; font-weight: 700; }
.ladder header span { font-size: 11px; color: var(--t2); }
.fill { height: 8px; border-radius: 4px; background: rgba(243, 239, 230, 0.12); overflow: hidden; margin: 0 2px; }
.fill i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--lime-soft), var(--lime)); transform-origin: 0 50%; transform: scaleX(0); }
.rungs { display: flex; flex-direction: column; gap: 2px; }
.rung {
  display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px;
  border: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease;
}
.rung > div { display: flex; align-items: center; gap: 10px; }
.rung i { width: 12px; height: 12px; border-radius: 6px; background: var(--c); }
.rung b { display: block; font-size: 13px; }
.rung small { display: block; font-size: 10px; color: var(--t2); }
.rung strong { font-family: var(--display); font-size: 18px; font-weight: 700; transition: color 0.3s ease; }
.rung.on { background: rgba(203, 242, 79, 0.14); border-color: rgba(203, 242, 79, 0.5); }
.rung.on strong { color: var(--lime); }
.tier-chip {
  position: absolute; left: -7px; top: -82px; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--lime); color: var(--ink);
  box-shadow: 0 18px 40px -12px rgba(203, 242, 79, 0.55); white-space: nowrap;
  opacity: 0; transform: translateY(12px) scale(0.85);
  transition: opacity 0.25s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tier-chip.on { opacity: 1; transform: none; }
.tier-chip .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.tier-chip .ic svg { width: 16px; height: 16px; }
.tier-chip small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; }
.tier-chip b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; }

/* 4 · Siri */
.ov-siri { left: 0; top: 0; width: 390px; height: 560px; }
.ov-siri .scrim { position: absolute; left: -160px; right: -160px; top: -60px; height: 760px; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(10, 13, 10, 0.78) 55%, rgba(10, 13, 10, 0) 100%); }
.ov-siri .siri-glow {
  position: absolute; left: 34px; top: 380px; width: 322px; height: 90px; border-radius: 45px; filter: blur(22px);
  background: linear-gradient(90deg, rgba(111, 168, 255, 0), rgba(111, 168, 255, 0.6), rgba(224, 107, 230, 0.55), rgba(242, 154, 75, 0.5), rgba(69, 203, 216, 0));
}
.siri { position: absolute; left: 30px; top: 86px; width: 330px; display: flex; flex-direction: column; gap: 10px; }
.siri .q {
  align-self: flex-end; max-width: 250px; min-height: 42px; padding: 10px 14px; border-radius: 18px 18px 4px 18px;
  background: rgba(243, 239, 230, 0.14); border: 1px solid rgba(243, 239, 230, 0.18); font-size: 14px; line-height: 1.4;
}
.answer { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.answer .who { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--t2); }
.answer .who svg { width: 22px; height: 22px; }
.answer p { margin: 0; font-size: 14px; line-height: 1.45; }
.answer p b.n { color: var(--inhand); }
.answer hr { margin: 0; border: 0; height: 1px; background: var(--hair); }
.confirm { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.confirm span { font-size: 12px; color: var(--t2); }
.confirm div { display: flex; gap: 6px; }
.confirm em {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; white-space: nowrap;
  font-style: normal; font-size: 12px; font-weight: 700; background: rgba(243, 239, 230, 0.12);
}
.confirm em.yes { background: var(--lime); color: var(--ink); }

/* 5 · share cards */
.ov-share { top: 0; height: 560px; }
.share {
  position: absolute; left: 120px; top: 210px; width: 150px; height: 200px; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; border-radius: 20px;
  background: linear-gradient(155deg, var(--hero-a), var(--hero-b)); border: 1px solid rgba(243, 239, 230, 0.16);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.9);
}
.share header { display: flex; justify-content: space-between; align-items: center; }
.share header svg { width: 22px; height: 22px; }
.share header span { padding: 3px 8px; border-radius: 9px; background: var(--c); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; }
.share small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--t2); }
.share b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--c2, var(--bone)); }
.share p { margin: 0; font-size: 11px; color: var(--t2); }

.stage-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 210px; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 21, 15, 0), rgba(18, 21, 15, 0.92));
}
.rail-v { display: none; }

/* ── Sections after the story ─────────────────────────────── */

.section { position: relative; padding: 72px var(--gutter) 0; max-width: 1120px; margin: 0 auto; }
.section h2.display { font-size: clamp(32px, 9vw, 52px); }
.stack { display: flex; flex-direction: column; gap: 22px; }

.facts { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(203, 242, 79, 0.12); display: flex; align-items: center; justify-content: center; }
.fact .ic svg { width: 20px; height: 20px; }
.fact h3 { margin: 0; font-size: 15px; font-weight: 700; }
.fact p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--t2); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li {
  padding: 8px 12px; border-radius: 12px; background: rgba(243, 239, 230, 0.06);
  border: 1px solid rgba(243, 239, 230, 0.1); font-size: 13px; font-weight: 600; color: var(--t2);
}

.plans { display: grid; gap: 14px; }
.plan {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(243, 239, 230, 0.05); border: 1px solid rgba(243, 239, 230, 0.12);
}
.plan.pro {
  background: linear-gradient(155deg, var(--hero-a), var(--hero-b)); border-color: rgba(203, 242, 79, 0.45);
  box-shadow: 0 30px 60px -24px rgba(203, 242, 79, 0.3);
}
.plan header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 20px; font-weight: 700; }
.plan h3 span { padding: 3px 8px; border-radius: 9px; background: var(--lime); color: var(--ink); font-family: var(--ui); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.plan .price { text-align: right; white-space: nowrap; }
.plan .price b { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 13px; color: var(--t2); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.plan .fine { margin: 0; font-size: 12px; color: var(--t2); }
.plan .btn {
  display: flex; justify-content: center; align-items: center; height: 46px; border-radius: 23px; margin-top: 4px;
  font-size: 15px; font-weight: 700; text-decoration: none; color: var(--bone); background: rgba(243, 239, 230, 0.1);
}
.plan.pro .btn { background: var(--lime); color: var(--ink); }
.solo { margin: 0; font-size: 13px; color: var(--t3); }

.faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer;
  list-style: none; font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 10px; height: 10px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--t2); border-bottom: 2px solid var(--t2); transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--t2); }
.more { font-weight: 600; text-decoration: none; }

.final { position: relative; overflow: hidden; text-align: center; padding: 96px var(--gutter) 40px; }
.final::before {
  content: ''; position: absolute; left: 50%; top: 20px; width: 520px; height: 460px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(203, 242, 79, 0.18), rgba(203, 242, 79, 0) 70%);
}
.final > * { position: relative; }
.final .mark { width: 84px; height: 84px; margin: 0 auto 18px; }
.final h2 { font-size: clamp(34px, 9vw, 56px); max-width: 640px; margin: 0 auto; }
.final p { margin: 14px 0 22px; color: var(--t2); }
.final .badge img { height: 52px; margin: 0 auto; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 32px var(--gutter) 40px;
  font-size: 13px; color: var(--t3);
}
.foot a { color: var(--t3); text-decoration: none; }
.foot a:hover { color: var(--bone); }

/* Gentle reveal once the pin has released. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.plan.pro.in .sweep::after { animation: sweep 1.4s 0.4s cubic-bezier(0.45, 0, 0.2, 1) both; }

/* ── Hero entrance (runs once; js adds .go when fonts are ready) ── */

.js .hero .w { transform: translateY(105%); }
.js .hero .eyebrow, .js .hero .lede, .js .hero-cta { opacity: 0; transform: translateY(12px); }
.js .hero-rig .phone { opacity: 0; transform: translateY(40px); }
.js .hero-rig .chip { opacity: 0; transform: translateY(10px) scale(0.86); }

.hero.go .w { transform: none; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(0.12s + var(--i) * 0.055s); }
.hero.go .eyebrow { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero.go .lede { opacity: 1; transform: none; transition: opacity 0.7s ease 0.45s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s; }
.hero.go .hero-cta { opacity: 1; transform: none; transition: opacity 0.7s ease 0.6s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s; }
.hero.go .hero-rig .phone { opacity: 1; transform: none; transition: opacity 0.8s ease 0.25s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s; }
.hero.go .hero-rig .phone .sweep::after { animation: sweep 1.3s 0.9s cubic-bezier(0.45, 0, 0.2, 1) both; }
.hero.go .hero-rig .chip { opacity: 1; transform: none; transition: opacity 0.3s ease var(--d), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d); }
.hero.go .glow { animation: drift 16s ease-in-out 2s infinite alternate; }

@keyframes sweep {
  0% { opacity: 0; transform: translateX(0) skewX(-12deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateX(420%) skewX(-12deg); }
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(14px, 18px) scale(1.06); }
}

/* Narrow phones: a smaller nav so the name, the button and the menu keep their breathing room. */
@media (max-width: 420px) {
  .nav { padding: 0 12px; }
  .brand { gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .brand span { font-size: 15px; }
  .nav-m { gap: 6px; }
  .nav-m .pill-cta { height: 34px; padding: 0 12px; font-size: 13px; }
  .menu-btn { width: 34px; height: 34px; }
  .menu-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 349px) {
  .brand span { display: none; }
}

/* ── Desktop ──────────────────────────────────────────────── */

@media (min-width: 1000px) {
  :root { --gutter: 48px; --nav-h: 76px; }
  .nav { padding: 0 max(48px, 5.5vw); }
  .brand svg { width: 34px; height: 34px; }
  .brand span { font-size: 19px; }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-m, .menu { display: none; }
  .pill-cta { height: 40px; padding: 0 18px; font-size: 14px; }

  .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; padding: var(--nav-h) max(48px, 8vw) 0; }
  .hero-copy { padding: 0; gap: 22px; }
  .hero h1 { font-size: clamp(56px, 5.4vw, 80px); line-height: 0.98; }
  .hero .lede { font-size: 19px; max-width: 520px; }
  .hero-cta p { font-size: 13px; }
  .badge img { height: 54px; }
  .hero-visual { height: calc(620px * var(--s, 1)); margin-top: 0; }
  .scroll-cue { display: none; }

  .story { height: 560vh; height: 560lvh; }
  .stage { height: 100vh; height: 100lvh; }
  .stage-fade { height: 90px; }
  .chapters {
    left: max(48px, 8vw); right: auto; width: min(560px, 42vw); top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column;
  }
  .chapter {
    position: relative; flex-direction: row; gap: 20px; padding: 18px 0; border-top: 1px solid var(--hair);
    opacity: 0.38; transition: opacity 0.4s ease;
  }
  .chapter .num { display: block; padding-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--t2); transition: color 0.3s ease; }
  .chapter .body { display: flex; flex-direction: column; gap: 10px; }
  .chapter .eyebrow { display: none; }
  .chapter h2 { font-size: 26px; line-height: 1.05; transition: font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
  .chapter .lede { font-size: 17px; max-width: 440px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s ease, opacity 0.4s ease; }
  .chapter.is-on { opacity: 1; }
  .chapter.is-on .num { color: var(--lime); padding-top: 14px; }
  .chapter.is-on h2 { font-size: 46px; }
  .chapter.is-on .lede { max-height: 140px; opacity: 1; }
  .progress { display: none; }
  .rail-v { display: block; position: absolute; right: max(32px, 3vw); top: 22%; height: 56%; width: 4px; border-radius: 2px; background: var(--hair); }
  .rail-v i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--lime); transform-origin: 50% 0; transform: scaleY(var(--f, 0)); }

  .section { padding-top: 120px; }
  .privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .facts { gap: 26px; }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .final { padding-top: 140px; }
}

/* ── Reduced motion: everything shows, nothing travels ────── */

@media (prefers-reduced-motion: reduce) {
  .js .hero .w, .js .hero .eyebrow, .js .hero .lede, .js .hero-cta, .js .hero-rig .phone, .js .hero-rig .chip { opacity: 1; transform: none; transition: none; }
  .hero.go .glow, .hero.go .hero-rig .phone .sweep::after, .plan.pro.in .sweep::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tier-chip { transition: opacity 0.2s ease; transform: none; }
  .menu, .menu-btn path { transition: none; }
}
