/* ============ Sha Landing v2 — scroll story styles ============ */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --ink: #131a24;
  --text: #414a57;
  --muted: #6c7682;
  --muted-2: #98a1ad;
  --line: rgba(17, 26, 36, 0.10);
  --line-2: rgba(17, 26, 36, 0.06);
  --blue: #2f68f5;
  --violet: #6c5ce7;
  --green: #18b87f;
  --amber: #e79c1d;
  --pink: #e11d63;
  --accent: var(--blue);
  --glow: 47, 104, 245;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* snap each story step into place (desktop) — mandatory: never rests between */
@media (min-width: 901px) {
  html { scroll-snap-type: y mandatory; }
  .hero { scroll-snap-align: start; }
  .step { scroll-snap-align: center; scroll-snap-stop: always; }
  .manifesto { scroll-snap-align: center; }
  /* the reviews carousel + FAQ sit between manifesto and closing — with
     y-mandatory each MUST be a snap stop of its own, or the viewport can never
     rest on it (it would always snap past onto .closing). Taller-than-viewport
     sections (FAQ answers opened) are fine: snap areas larger than the snapport
     allow free scrolling within. */
  .geo-rv { scroll-snap-align: start; }
  .geo-faq { scroll-snap-align: start; }
  .closing { scroll-snap-align: start; }
}
html, body {
  margin: 0;
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  /* overflow-x: hidden creates a scroll container and BREAKS position:sticky —
     clip prevents sideways scroll without disabling sticky descendants */
  overflow-x: clip;
}

/* ---------- fixed nav ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 48px);
}
.nav .brand img { height: 26px; width: auto; display: block; filter: brightness(0); }
.launch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--blue);
  box-shadow: 0 8px 18px -8px rgba(47, 104, 245, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.launch:hover { transform: translateY(-1px); filter: brightness(1.05); }
.launch svg { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}
.hero-bg { display: none; }
.hero-left {
  position: absolute;
  z-index: 30;
  top: 50%;
  /* On very wide screens the edge clamp stops growing while the viewport
     doesn't, leaving an exaggerated gap between phone and copy. max() pins
     both halves to a centered ~1360px band instead (mirrors .story-grid's
     max-width), so the hero stays a cohesive pair on large monitors. */
  right: max(clamp(28px, 6vw, 96px), calc(50% - 680px));
  transform: translateY(-50%);
  width: min(46vw, 540px);
}
.hero-left .logo img { display: none; }
.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 100px;
  background: rgba(47, 104, 245, 0.10);
  border: 1px solid rgba(47, 104, 245, 0.22);
  box-shadow: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47,104,245,0.16); }
h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
h1 .grad, .hl {
  background: linear-gradient(105deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.desc {
  margin: clamp(14px, 2.4vh, 22px) 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 30em;
  text-wrap: pretty;
}
.desc b { color: var(--ink); font-weight: 700; }

.dl-label {
  margin: clamp(20px, 3vh, 30px) 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(17, 26, 36, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover { transform: translateY(-2px); border-color: rgba(47,104,245,0.5); box-shadow: 0 10px 22px -6px rgba(47,104,245,0.28); }
.chip svg { width: 20px; height: 20px; flex: none; fill: var(--ink); }
.chip .tx { display: flex; flex-direction: column; line-height: 1.1; }
.chip .tx small { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chip .tx span { font-size: 13.5px; font-weight: 700; }
.browser-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.browser-note a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(47,104,245,0.5); padding-bottom: 1px; }
.browser-note a:hover { color: var(--blue); border-color: var(--blue); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  z-index: 30;
  /* Centered horizontally on the page. */
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue .bounce {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  animation: cue-bob 2.2s ease-in-out infinite;
}
.scroll-cue svg { width: 13px; height: 13px; stroke: var(--ink); }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* short windows: hero content crowds the corner — drop the cue */
@media (max-height: 720px) {
  .scroll-cue { display: none; }
}

/* hero phone — single large device */
.hero-phone {
  position: absolute;
  z-index: 20;
  top: 50%;
  /* Paired with .hero-left's centered band — see comment there. */
  left: max(clamp(36px, 7vw, 120px), calc(50% - 680px));
  transform: translateY(-50%);
  /* width capped by viewport height so the whole device always fits
     (760/1652 aspect → height = width × 2.174) */
  width: min(clamp(340px, 32vw, 520px), calc((100vh - 110px) * 0.46));
}
.hero-phone .phone {
  box-shadow:
    0 0 0 1px rgba(17, 26, 36, 0.05),
    inset 0 0 0 1.4px rgba(255, 255, 255, 0.85),
    0 28px 50px -20px rgba(30, 42, 66, 0.35),
    0 70px 120px -45px rgba(30, 42, 66, 0.32);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: hero-bob 7s ease-in-out infinite; }
  @keyframes hero-bob {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 12px)); }
  }
}

/* shared phone frame */
.phone {
  width: 100%;
  aspect-ratio: 760 / 1652;
  border-radius: 46px;
  padding: 6px;
  background: linear-gradient(155deg, #ffffff, #e4e7ee 46%, #f3f4f8);
  box-shadow:
    0 0 0 1px rgba(17, 26, 36, 0.05),
    inset 0 0 0 1.4px rgba(255, 255, 255, 0.85),
    0 18px 34px -16px rgba(30, 42, 66, 0.30),
    0 44px 74px -34px rgba(30, 42, 66, 0.26);
  position: relative;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #f1f2f4;
}
.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ====================================================================
   STORY — sticky stage (bold full-bleed backgrounds, cash.app-style)
==================================================================== */
.story {
  position: relative;
  z-index: 10;
  background: #2f68f5;
  transition: background 0.7s cubic-bezier(.2,.7,.3,1);
}
/* accent bloom removed */
.story-grid {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) clamp(300px, 25vw, 400px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  /* rails must stretch to the full row height or sticky has no travel */
}
.phone-rail, .illo-rail { align-self: stretch; }

/* left: steps */
.steps { padding: 10vh 0 12vh; }
.step {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh 0;
  opacity: 0.25;
  transition: opacity 0.45s ease;
}
.step.active { opacity: 1; }
.step .s-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}
.step .s-eyebrow .n {
  font-size: 13px;
  letter-spacing: 0;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.step h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: #fff;
  text-wrap: balance;
}
.step .s-desc {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 26em;
  text-wrap: pretty;
}

/* per-step accent */
.step[data-a="blue"]   { --accent: var(--blue);   --glow: 47,104,245; }
.step[data-a="violet"] { --accent: var(--violet); --glow: 108,92,231; }
.step[data-a="green"]  { --accent: var(--green);  --glow: 24,184,127; }
.step[data-a="amber"]  { --accent: #ff9f1c;       --glow: 255,159,28; }
.step[data-a="pink"]   { --accent: var(--pink);   --glow: 225,29,99; }
.step[data-a="teal"]   { --accent: #0b97b4;       --glow: 11,151,180; }

/* feature illustration card */
.illo {
  margin-top: 26px;
  width: min(330px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 54px -22px rgba(10, 18, 40, 0.5);
  transform: translateY(14px);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
/* when parked in the right-hand rail (desktop) the cards stack & crossfade */
.illo-rail { position: relative; }
.illo-rail-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illo.in-rail {
  position: absolute;
  margin: 0;
  width: min(340px, 92%);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.illo.in-rail.on { opacity: 1; transform: translateY(0); }
.step.active .illo { transform: translateY(0); }
.illo .i-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.illo .i-title { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.illo .i-badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(var(--glow), .1); padding: 3px 8px; border-radius: 100px; }

/* avatars */
.avs { display: flex; }
.avs i { width: 22px; height: 22px; border-radius: 50%; margin-left: -7px; box-shadow: 0 0 0 2px #fff; }
.avs i:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg,#ff8a8a,#ff5e8a); }
.a2 { background: linear-gradient(135deg,#7f8bff,#a86bff); }
.a3 { background: linear-gradient(135deg,#5ad1c4,#3aa0ff); }
.a4 { background: linear-gradient(135deg,#ffc36b,#ff8a5e); }
.a5 { background: linear-gradient(135deg,#7be3a2,#2bbf86); }

/* --- rsvp illo --- */
.rsvp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rsvp-going { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--green); }
.rsvp-going .cnt { font-size: 20px; font-weight: 800; color: var(--ink); }
.rsvp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 100px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 800;
  box-shadow: 0 8px 16px -8px rgba(24,184,127,.7);
}
.rsvp-btn svg { width: 13px; height: 13px; stroke: #fff; }
.rsvp-meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.rsvp-meta svg { width: 13px; height: 13px; stroke: var(--accent); flex: none; }

/* --- poll illo --- */
.poll-opt { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; overflow: hidden; }
.poll-opt .fill { position: absolute; inset: 0; width: var(--w); background: rgba(var(--glow), 0.12); transform-origin: left; }
.step.active .poll-opt .fill { animation: poll-grow 0.9s cubic-bezier(.2,.7,.3,1) both; }
@keyframes poll-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.poll-opt .row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.poll-opt .o-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.poll-opt .o-votes { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--accent); }
.poll-opt.win { border-color: rgba(var(--glow), 0.5); }
.poll-opt .avs i { width: 17px; height: 17px; margin-left: -5px; }

/* --- availability illo --- */
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.avail-grid .d { text-align: center; font-size: 9.5px; font-weight: 800; color: var(--muted-2); padding-bottom: 3px; }
.avail-grid .c { aspect-ratio: 1; border-radius: 7px; background: rgba(17,26,36,0.05); }
.avail-grid .c.lo { background: rgba(var(--glow), 0.22); }
.avail-grid .c.hi { background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow), .45); }
.avail-best { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(var(--glow), .1); border: 1px solid rgba(var(--glow), .3); }
.avail-best .bn { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.avail-best .bl { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.avail-best .bl b { color: var(--accent); }

/* --- todos illo --- */
.todo-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.todo-row:last-child { border-bottom: none; padding-bottom: 0; }
.todo-check { width: 20px; height: 20px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.todo-row.done .todo-check { background: var(--green); border-color: var(--green); }
.todo-check svg { width: 11px; height: 11px; stroke: #fff; }
.todo-name { flex: 1; font-size: 13px; font-weight: 700; color: var(--ink); }
.todo-row.done .todo-name { text-decoration: line-through; color: var(--muted-2); }
.todo-row .avs i { width: 20px; height: 20px; }

/* --- discussion illo --- */
.chat-bub { display: flex; align-items: flex-end; gap: 7px; max-width: 88%; margin-bottom: 8px; }
.chat-bub i { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.chat-bub p { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; padding: 8px 12px; border-radius: 14px; background: rgba(17,26,36,0.05); color: var(--ink); border-bottom-left-radius: 5px; }
.chat-bub.out { margin-left: auto; flex-direction: row-reverse; }
.chat-bub.out p { background: var(--accent); color: #fff; border-radius: 14px; border-bottom-right-radius: 5px; position: relative; }
.chat-react {
  position: absolute; right: -6px; bottom: -10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 2px 6px; font-size: 10px;
  box-shadow: 0 4px 10px rgba(17,26,36,.12);
}

/* --- memories illo --- */
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mem-grid .m { aspect-ratio: 1; border-radius: 10px; }
.m1 { background: linear-gradient(135deg,#ffd9a0,#ff9a6b); }
.m2 { background: linear-gradient(135deg,#a0c8ff,#6b8aff); }
.m3 { background: linear-gradient(135deg,#ffb3c8,#ff6b9a); }
.m4 { background: linear-gradient(135deg,#b6f0cf,#57c690); }
.m5 { background: linear-gradient(135deg,#d9c5ff,#a06bff); }
.mem-grid .add { display: grid; place-items: center; background: rgba(var(--glow), .1); border: 2px dashed rgba(var(--glow), .45); color: var(--accent); font-size: 22px; font-weight: 800; }

/* --- ask illo --- */
.ask-q { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.ask-q p { margin: 0; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--violet), #4f7dff); padding: 8px 13px; border-radius: 14px; border-bottom-right-radius: 5px; }
.ask-a { border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; background: #fbfbfd; }
.ask-a .aa-label { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.ask-a .aa-label .spark { width: 14px; height: 14px; }
.ask-a .aa-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ask-a .aa-main { font-size: 13px; font-weight: 700; color: var(--ink); }
.ask-a .aa-sub { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* --- score illo --- */
.score-wrap { display: flex; align-items: center; gap: 16px; }
.score-ring {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) calc(var(--v) * 1%), rgba(17,26,36,0.07) 0);
  display: grid; place-items: center;
  position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--surface); }
.score-ring b { position: relative; font-size: 24px; font-weight: 800; color: var(--ink); }
.score-bars { flex: 1; }
.score-bar { margin-bottom: 8px; }
.score-bar .sb-l { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.score-bar .sb-t { height: 6px; border-radius: 4px; background: rgba(17,26,36,0.06); overflow: hidden; }
.score-bar .sb-f { height: 100%; border-radius: 4px; background: var(--accent); width: var(--w); }

/* --- split costs illo --- */
.split-total {
  border-radius: 13px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #17a873, #0e8a5d);
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.split-total b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.split-total span { font-size: 11px; font-weight: 700; opacity: .85; }
.split-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.split-row:last-child { border-bottom: none; padding-bottom: 0; }
.split-row i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.split-row .sp-n { flex: 1; font-size: 13px; font-weight: 700; color: var(--ink); }
.split-row .sp-a {
  font-size: 11.5px; font-weight: 800; color: #0e8a5d;
  background: rgba(24, 184, 127, 0.14);
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}

/* callout chips under illo */
.callouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.co {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 30px;
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(10, 18, 40, 0.45);
  opacity: 0;
  transform: translateY(8px) rotate(-1deg);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.3,1);
}
.co:nth-child(2) { transition-delay: .12s; transform: translateY(8px) rotate(1deg); }
.step.active .co { opacity: 1; transform: translateY(0) rotate(-1deg); }
.step.active .co:nth-child(2) { transform: translateY(0) rotate(1deg); }
.co svg { width: 14px; height: 14px; flex: none; }

/* right: sticky phone rail */
.phone-rail { position: relative; }
.rail-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rail-glow { display: none; }
.stage-phone { width: min(340px, 94%); position: relative; z-index: 2; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.stage-phone .phone {
  box-shadow:
    0 0 0 1px rgba(17, 26, 36, 0.05),
    inset 0 0 0 1.4px rgba(255, 255, 255, 0.85),
    0 24px 44px -16px rgba(10, 18, 40, 0.5),
    0 60px 100px -40px rgba(10, 18, 40, 0.45);
}
/* screens are scrubbed by scroll (JS-driven, lerp-smoothed) — no CSS transition */
.stage-phone .screen .shot {
  transform: translateY(103%);
  will-change: transform;
}
/* progress dots */
.rail-dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 3;
}
.rail-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background .3s ease, transform .3s ease;
}
.rail-dots button.on { background: #fff; transform: scale(1.35); }

/* ---------- manifesto (dark: text left, phone right) ---------- */
.manifesto {
  position: relative;
  z-index: 11;
  background: #000;
  color: #eef2f7;
  padding: clamp(80px, 14vh, 150px) clamp(24px, 6vw, 60px);
  overflow: hidden;
}
.m-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.m-copy { max-width: 30em; }
.m-phone { display: flex; justify-content: center; }
.m-phone .phone { width: min(300px, 74%); }
/* dark device shell to match the black screenshot */
.phone-dark {
  background: linear-gradient(155deg, #2a2d33, #0c0d10 46%, #17191d) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1.4px rgba(255, 255, 255, 0.10),
    0 28px 50px -20px rgba(0, 0, 0, 0.7),
    0 70px 120px -45px rgba(0, 0, 0, 0.65) !important;
}
.phone-dark .screen { background: #000; }
.manifesto .m-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #7f9dff; margin-bottom: 22px; }
.manifesto blockquote {
  margin: 0;
  max-width: 15em;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}
.manifesto blockquote .q { background: linear-gradient(120deg, #8fa8ff, #b79cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto .m-body {
  margin: 26px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.7;
  color: #9aa6b6;
  text-wrap: pretty;
}
.manifesto .m-body i { color: #cfd8ea; }
.manifesto .m-sign { margin-top: 24px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; color: #fff; letter-spacing: -0.01em; }

/* ---------- final CTA ---------- */
.closing {
  position: relative;
  z-index: 11;
  text-align: center;
  padding: clamp(80px, 14vh, 140px) clamp(24px, 6vw, 60px) 40px;
  background: var(--bg);
}
.closing h2 {
  margin: 0 auto;
  max-width: 14em;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.closing .c-sub { margin: 16px auto 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--muted); }
.closing .downloads { justify-content: center; margin-top: 30px; }
.closing .browser-note { margin-top: 18px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: clamp(50px, 9vh, 90px);
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer .sep { opacity: .5; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .story-grid { grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 0; display: flex; flex-direction: column; }
  .hero-left {
    position: static; transform: none;
    width: auto; max-width: 640px;
    margin: 0 auto;
    padding: 96px clamp(24px, 6vw, 40px) 10px;
  }
  .hero-phone {
    position: static;
    transform: none;
    width: min(300px, 74vw);
    margin: 26px auto 40px;
    animation: none !important;
  }
  .scroll-cue { display: none; }

  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .phone-rail, .illo-rail { display: none; }
  .m-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .m-copy { max-width: none; }
  .manifesto blockquote, .manifesto .m-body { max-width: 24em; margin-left: auto; margin-right: auto; }
  .m-phone { order: -1; }
  .m-phone .phone { width: min(260px, 66vw); }
  .step { min-height: 0; padding: 9vh 0; opacity: 1; }
  .step h2 { font-size: clamp(28px, 7vw, 38px); }
  .steps { padding: 4vh 0 6vh; }
  /* on mobile, show a static screenshot card per step instead of sticky phone */
  .step .m-shot { display: block; }
}
@media (min-width: 901px) {
  .step .m-shot { display: none; }
}
.m-shot { display: none; margin: 26px 0 0; width: min(300px, 88%); }

/* hide callout cards on very small screens */
@media (max-width: 560px) {
  .illo { display: none; }
  .hero-phone { width: min(260px, 78vw); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .step { opacity: 1; }
  .co { opacity: 1; transform: none; }
}

/* ---------- skip-to-content link (a11y, carried over from prior homepage) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link:focus {
  left: 12px; top: 12px; padding: 10px 16px;
  background: var(--blue); color: #fff; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
