/* Sprout waitlist, in the manner of an Apple product page: frosted local nav, centred hero with the
   device below it, alternating white and light-grey bands, rounded feature tiles, one black privacy band.
   Sprout green replaces Apple blue so it stays Sprout. System fonts only (SF Pro on Apple devices). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;
  --tile-on-alt: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #2e6b46;
  --accent-hover: #25583a;
  --on-accent: #ffffff;
  --nav: rgb(255 255 255 / 0.72);
  /* The privacy band is black in both themes */
  --black: #000000;
  --on-black: #f5f5f7;
  --on-black-muted: #a1a1a6;
  --on-black-accent: #6fd39a;
  /* Phone mockups */
  --bezel: #1d1d1f;
  --screen: #ffffff;
  --bubble: #f2f2f7;
  --row: #f5f5f7;
  /* Area colours (tag text) */
  --t-money: #2e7d4f;
  --t-gym: #a14f12;
  --t-task: #3466c4;
  --t-habit: #7b4fc9;
  --t-ask: #146b63;
  --err: #c2392e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --bg-alt: #161617;
    --tile: #161617;
    --tile-on-alt: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #424245;
    --accent: #6fd39a;
    --accent-hover: #8adfad;
    --on-accent: #04140a;
    --nav: rgb(22 22 23 / 0.72);
    --bezel: #2c2c2e;
    --screen: #1c1c1e;
    --bubble: #2c2c2e;
    --row: #2c2c2e;
    --t-money: #74c995;
    --t-gym: #f0a15f;
    --t-task: #86a8f0;
    --t-habit: #b597ee;
    --t-ask: #6fd0c4;
    --err: #ff6961;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--on-black-accent); }

.wrap {
  width: 100%; max-width: 1024px; margin-inline: auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.028em; text-wrap: balance; max-width: 18em; }
.sub { font-size: clamp(19px, 2vw, 21px); line-height: 1.38; color: var(--muted); max-width: 36em; margin-top: 16px; }

/* ---------- Local nav ---------- */
.localnav {
  position: sticky; top: 0; z-index: 30;
  background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  padding-top: env(safe-area-inset-top, 0px);
}
.localnav-inner { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text); opacity: 0.8; text-decoration: none; font-size: 13px; letter-spacing: -0.01em; }
.nav-links a:hover { opacity: 1; }

/* Pill buttons, like Apple's */
.pill {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--on-accent); border-radius: 980px; font-size: 17px; font-weight: 400;
  height: 48px; padding: 0 24px; transition: background 150ms, transform 120ms var(--ease-out);
}
.pill:hover { background: var(--accent-hover); }
.pill:active { transform: scale(0.98); }
.pill:disabled { opacity: 0.6; cursor: default; }
.pill-sm { height: 28px; padding: 0 12px; font-size: 12px; }
.ghost { background: transparent; color: var(--accent); }
.ghost:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 64px; overflow: clip; }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 18px; }
.product { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--accent); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 7.2vw, 80px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; max-width: 13em; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.33; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.terms { font-size: 14px; color: var(--muted); }
.hero-auth-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 14px 0 6px; }
.hero-cta-pill {
  padding: 13px 36px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  background: var(--accent, #4ade80) !important;
  color: #08120b !important;
  box-shadow: 0 4px 18px rgba(74, 222, 128, 0.28), 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}
.hero-cta-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.42), 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.hero-cta-pill:active {
  transform: translateY(0);
}
.hero-meta { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 6px; }
.hero-meta .privacy-note, .hero-meta .terms { font-size: 13px; color: #8fa596; margin: 0; line-height: 1.4; text-align: center; }
.hero-meta a { color: #a4d8b6; text-decoration: underline; text-underline-offset: 3px; }
.hero-meta a:hover { color: var(--accent, #4ade80); }

/* Sign-up form (hero and final band) */
.join { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; max-width: 480px; margin-top: 8px; }
.join input { min-width: 0; height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 17px; }
.join input::placeholder { color: var(--muted); }
.join input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.join.joined input { opacity: 0.6; }
.join.joined .pill { opacity: 1; background: var(--bg-alt); color: var(--accent); }
.form-msg { grid-column: 1 / -1; min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
.form-msg.ok { color: var(--accent); font-weight: 600; }
.form-msg.err { color: var(--err); }


/* ---------- Phone mockup ---------- */
.phone { width: 300px; max-width: 100%; flex: none; padding: 11px; border-radius: 52px; background: var(--bezel); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bezel) 60%, #8e8e93); }
.screen { position: relative; min-height: 600px; border-radius: 41px; background: var(--screen); color: var(--text); padding: 14px 14px 16px; display: flex; flex-direction: column; overflow: hidden; letter-spacing: -0.01em; }
.status { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; padding: 0 12px 12px; }
.island { width: 92px; height: 27px; border-radius: 99px; background: #000; }
.screen-title { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; padding: 4px 6px 12px; }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chat li { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.36; }
.chat .me { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.chat .it { justify-self: start; background: var(--bubble); border-bottom-left-radius: 6px; }
.tag { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.t-money { color: var(--t-money); } .t-gym { color: var(--t-gym); } .t-task { color: var(--t-task); } .t-habit { color: var(--t-habit); } .t-ask { color: var(--t-ask); }
.filed { font-size: 12.5px; color: var(--muted); padding: 12px 6px 0; }
.fan { display: grid; gap: 8px; margin-top: 8px; }
.fan-row { display: grid; gap: 1px; padding: 10px 13px; border-radius: 14px; background: var(--row); }
.fan-row b { font-size: 15px; font-weight: 600; }
.fan-row small { color: var(--muted); font-size: 12.5px; }
.composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 6px 0 15px; border-radius: 22px; background: var(--bubble); color: var(--muted); font-size: 14px; }
.composer i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.chart-reply { width: 86%; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin: 6px 0 8px; }
.bars i { flex: 1; border-radius: 4px; background: color-mix(in srgb, var(--t-gym) 30%, transparent); }
.bars i.now { background: var(--t-gym); }
.bars [data-b="1"] { height: 48%; } .bars [data-b="2"], .bars [data-b="3"] { height: 55%; } .bars [data-b="4"] { height: 66%; } .bars [data-b="5"] { height: 74%; } .bars [data-b="6"] { height: 84%; }

/* Real screenshots inside the phone frame */
figure.phone { margin: 0; }
.shot .screen { padding: 0; background: #e7e9e7; min-height: 0; aspect-ratio: 390 / 870; }
.shot .status { padding: 14px 24px 6px; color: #141a16; }
.shot picture, .shot img { display: block; width: 100%; height: auto; }
@media (prefers-color-scheme: dark) {
  .shot .screen { background: #0b0f0c; }
  .shot .status { color: #f5f5f7; }
}

/* The phone fades into the page instead of being cut off by a hard edge */

/* Coming next */
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.next-item { background: var(--tile-on-alt); border-radius: 22px; padding: 32px; display: grid; gap: 10px; align-content: start; border: 1px dashed var(--line); }
.next-item h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.next-item p { color: var(--muted); }
/* Plans: four cards; the Community card is the highlighted one */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px 24px; border-radius: 22px; background: var(--bg-alt); border: 1px solid var(--line); }
.plan-name { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.plan-price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-for { color: var(--muted); font-size: 15px; line-height: 1.45; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan-community { border: 2px solid var(--accent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan-soon { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; letter-spacing: 0; }
.plan-avail { font-size: 11px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; letter-spacing: 0; }
.plan-terms-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.plan-terms-item { display: inline-flex; align-items: center; gap: 6px; }
.plan-terms-item b { color: var(--text); }
.privacy-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.privacy-note a { color: var(--accent); text-decoration: none; font-weight: 500; }
.privacy-note a:hover { text-decoration: underline; }
.plans-note { margin-top: 24px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Lock screen */
.lock .screen { background: linear-gradient(180deg, #3d6b52, #142a1d); color: #ffffff; }
.lock-date { text-align: center; font-weight: 600; font-size: 16px; opacity: 0.9; margin-top: 6px; }
.lock-time { text-align: center; font-family: var(--display); font-weight: 700; font-size: 88px; line-height: 1; letter-spacing: -0.03em; margin: 0 0 28px; }
.notif { background: rgb(245 245 247 / 0.92); color: #1d1d1f; border-radius: 22px; padding: 14px; display: grid; gap: 6px; }
.notif-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #6e6e73; }
.notif-icon { width: 18px; height: 18px; border-radius: 5px; background: #2e6b46; }
.notif-when { margin-left: auto; font-weight: 400; }
.notif-title { font-weight: 600; font-size: 15px; }
.notif ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.notif .t-money { color: #2e7d4f; } .notif .t-gym { color: #a14f12; } .notif .t-habit { color: #7b4fc9; }

/* ---------- Bands ---------- */
.band { padding-block: 104px; }
.band.alt { background: var(--bg-alt); }

/* Story: day 1 to day 30 */
.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline li { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 28px; border-top: 2px solid var(--accent); }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--accent); }
.timeline li:nth-child(1)::before { background: var(--accent); }
.timeline li:nth-child(3) { border-top-style: dashed; border-top-color: var(--muted); }
.timeline li:nth-child(3)::before { border-color: var(--muted); }
.day { font-size: 14px; font-weight: 600; color: var(--accent); }
.timeline li:nth-child(3) .day { color: var(--muted); }
.timeline h3 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.timeline li:nth-child(3) h3 { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.timeline p { color: var(--muted); }

/* ---------- Sound familiar? Tap what's true; each line flips to how Sprout handles it ---------- */
.rel-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.rel-item { width: 100%; text-align: left; display: grid; gap: 6px; padding: 18px 22px; border-radius: 18px; border: 1.5px solid var(--line);
  background: var(--bg-alt); color: var(--text); font: inherit; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 120ms var(--ease-out); }
.rel-item:active { transform: scale(0.99); }
.rel-said { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.rel-fix { display: none; font-size: 15px; color: var(--accent); }
.rel-item[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-alt)); }
.rel-item[aria-pressed="true"] .rel-fix { display: block; }
.relate:not(.ready) .rel-fix { display: block; }   /* without the script, show every answer */
.rel-result { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rel-result p { font-size: 18px; color: var(--muted); }
.rel-result p b { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .rel-item:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); } }
@media (prefers-reduced-motion: reduce) { .rel-item { transition: none; } }

/* ---------- Story: a week with Sprout ----------
   Six scenes, alternating sides; each pairs a real screen in a phone frame with one callout.
   Static by default; scenes rise in on scroll where scroll timelines exist (motion block below). */
.story-head { display: grid; gap: 14px; justify-items: center; text-align: center; }
.story-head h2 { max-width: 20em; }
.story-head .sub { margin-top: 0; }
.ch-when { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.chapters { list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 96px; }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.chapter:nth-child(even) .ch-text { order: 2; }
.ch-text { display: grid; gap: 14px; max-width: 30em; }
.ch-text h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.ch-text p:last-child { color: var(--muted); font-size: 19px; line-height: 1.5; }
.ch-visual { position: relative; display: grid; justify-items: center; padding: 24px 0; }
.ch-phone { margin: 0; width: min(280px, 70vw); padding: 8px; border-radius: 44px; background: #0d0f0e;
  box-shadow: inset 0 0 0 1.5px #3f4542, 0 40px 80px -24px rgb(0 0 0 / 0.55); }
.ch-phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.ch-callout { position: absolute; bottom: 64px; left: calc(50% + 70px); display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px;
  background: var(--tile-on-alt); border: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.35); white-space: nowrap; }
.chapter:nth-child(even) .ch-callout { left: auto; right: calc(50% + 70px); }
.ch-callout b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; color: var(--accent); }
.ch-callout small { font-size: 13px; color: var(--muted); }

.story-end { margin-top: 112px; padding: 48px; border-radius: 32px; background: var(--tile-on-alt); border: 1px solid var(--line); display: grid; gap: 32px; justify-items: start; }
.wait-text { display: grid; gap: 12px; max-width: 40em; }
.wait-text h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.wait-text p:last-child { color: var(--muted); font-size: 18px; }
.road { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.road li { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 3px solid var(--line); }
.road li b { font-size: 15px; }
.road li span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.road li.here { border-top-color: var(--accent); }
.road li em { font-style: normal; justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.perks { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--bg-alt); }
.perk b { font-size: 16px; } .perk span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.perk-hi { border: 1.5px solid var(--accent); }

@media (max-width: 860px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .chapter:nth-child(even) .ch-text { order: 0; }
  .ch-callout, .chapter:nth-child(even) .ch-callout { left: auto; right: max(0px, calc(50% - 200px)); bottom: 40px; }
  .road, .perks { grid-template-columns: minmax(0, 1fr); }
  .story-end { padding: 28px 20px; }
  .chapters { gap: 72px; }
}
.proof { margin-top: 48px; font-size: 21px; line-height: 1.38; color: var(--text); max-width: 34em; }

/* How it works: tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { background: var(--tile); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tile-wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.tile-copy { padding: 40px 40px 0; display: grid; gap: 12px; align-content: start; }
.tile-wide .tile-copy { flex: 1; padding: 52px; align-content: center; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.024em; text-wrap: balance; }
.tile p { color: var(--muted); }
.asks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.asks li { justify-self: start; background: var(--bg); padding: 8px 14px; border-radius: 18px; font-size: 15px; }
.tile-visual { display: flex; justify-content: center; align-items: flex-start; }
.crop { height: 420px; overflow: hidden; padding-top: 32px; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
/* Phones sit on the tile's bottom edge, so both tiles' phones line up and the fade ends at the edge */
.tile > .crop { margin-top: auto; }
.tile-wide .crop { flex: 0 0 380px; height: auto; max-height: 560px; padding-top: 48px; }
.tile .phone { width: 280px; }

.versus { gap: 14px; padding: 32px 32px 40px; margin-top: auto; }
.mini { margin: 0; display: grid; gap: 10px; flex: 1; min-width: 0; }
.mini figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.mini-screen { border-radius: 26px; padding: 22px 14px; min-height: 230px; display: grid; align-content: center; justify-items: center; gap: 6px; text-align: center; border: 7px solid var(--bezel); background: var(--screen); }
.streak-zero { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--err); }
.mini-title { font-weight: 600; font-size: 15px; }
.mini-text { font-size: 13px; color: var(--muted); line-height: 1.35; }
.welcome { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; color: var(--accent); }

/* Privacy: the black band */
.band.dark { background: var(--black); color: var(--on-black); }
.dark .sub { color: var(--on-black-muted); }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; margin-top: 64px; }
.answer { display: grid; gap: 10px; align-content: start; padding-top: 24px; border-top: 1px solid #424245; }
.complaint { color: var(--on-black-muted); font-size: 15px; }
.complaint b { color: var(--on-black); font-weight: 600; }
.reply { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }

/* Questions */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 22px; font-weight: 600; font-size: 19px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 200ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 24px; color: var(--muted); max-width: 36em; }

/* Final invite */
.end { display: grid; justify-items: center; text-align: center; }
.end .join { margin-top: 32px; }

.foot { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: 20px 32px; font-size: 12px; line-height: 1.5; color: var(--muted); letter-spacing: -0.01em; }
.foot .wrap { display: grid; gap: 8px; }

/* ---------- Follow-up questions dialog ---------- */
.more { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; border: 0; border-radius: 22px; padding: 28px; background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgb(0 0 0 / 0.3); }
.more::backdrop { background: rgb(0 0 0 / 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.more form { display: grid; gap: 18px; }
.more h2 { font-size: 28px; }
.more-sub { color: var(--muted); font-size: 15px; margin-top: -10px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 10px; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chips label { position: relative; }
.seg input, .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span, .chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 980px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; transition: background 150ms, border-color 150ms, color 150ms; }
.seg input:checked + span, .chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Area interest selection cards */
.fieldset-sub { font-size: 13.5px; color: var(--muted); margin: -6px 0 2px; }
.area-cards { display: grid; gap: 8px; }
.area-card { position: relative; display: flex; cursor: pointer; }
.area-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.area-box { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
.area-card:hover .area-box { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.area-card input:focus-visible + .area-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.area-card input:checked + .area-box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.area-title { font-weight: 600; font-size: 15px; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.area-card input:checked + .area-box .area-title::after { content: "✓"; font-weight: 700; font-size: 14px; color: var(--accent); }
.area-desc { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.other-wrap { display: grid; gap: 8px; margin-top: 4px; }

.note-l { font-weight: 600; font-size: 15px; }
textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; resize: vertical; font-size: 15px; margin-top: -8px; }
.more-actions { display: flex; justify-content: flex-end; gap: 10px; }
.more .form-msg { text-align: left; }

/* ---------- Motion: one moment, in the hero phone ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .chat .me { animation: rise 450ms var(--ease-out) 250ms both; }
  .hero .filed { animation: fade 300ms ease 750ms both; }
  .hero .fan-row { animation: rise 480ms var(--ease-out) both; }
  .hero .fan-row:nth-child(1) { animation-delay: 900ms; } .hero .fan-row:nth-child(2) { animation-delay: 1000ms; }
  .hero .fan-row:nth-child(3) { animation-delay: 1100ms; } .hero .fan-row:nth-child(4) { animation-delay: 1200ms; }
  .more[open] { animation: pop 240ms var(--ease-out); }
}
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } }




/* ---------- Wordmark: the outline sprout beside the name ----------
   One rule, from the capital height H of the name (0.705em) and a module m = H/10:
   mark 11m tall (stem end dips below the baseline exactly as far as the round S does, 0.012em), line 1m (half a letter
   stem), ink gap to the S 4m (0.25em box gap + the S's own 0.032em side space).
   Same in the intro and the top bar, so intro.js glides one into the other. Full rule: design/logo/final/GUIDELINES.md */
.wordmark { display: inline-flex; align-items: center; gap: 0.25em; white-space: nowrap; }
.wm-mark { width: auto; height: 0.775em; flex: none; overflow: visible; translate: 0 -0.004em; shape-rendering: geometricPrecision;
  fill: none; stroke: var(--accent); stroke-width: 15.92; stroke-linecap: round; stroke-linejoin: round; }
/* The top bar draws the same wordmark as the intro, so the glide lands without a change of weight */
.brand .wordmark { font-weight: 700; letter-spacing: -0.03em; }

/* ---------- Intro: the logo on every page load, dismissed by the first scroll ----------
   intro.js adds html.has-intro, then .intro-leaving on the first scroll/click and .intro-done
   once the logo has gone. Reduced motion never sees it. */
.intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  /* The page is held still by intro.js (it cancels wheel, touch and key scrolling), not by
     overflow: hidden, which would make the hero's scroll animation jump to its end state */
  html.has-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background-color: var(--bg); cursor: pointer;
    transition: background-color 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
  /* Leaving: the screen dissolves into the hero while the wordmark glides to the top bar (intro.js) */
  html.intro-leaving .intro { background-color: transparent; pointer-events: none; cursor: default; }
  html.intro-leaving .intro::before, html.intro-leaving .intro-cue { animation: none; opacity: 0; transition: opacity 0.45s ease; }
  html.intro-gone .intro { display: none; }
  /* The top-bar wordmark waits underneath; intro.js swaps it in on the very frame the big one lands
     (no fade: two half-faded logos on top of each other read as a flicker) */
  html.has-intro:not(.intro-gone) .brand .wordmark { opacity: 0; }
  /* The bar is built around the logo as it lands: glass first, then the links one by one, the invite last */
  html.has-intro:not(.intro-landed) .localnav { background-color: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.has-intro:not(.intro-landed) :is(.nav-links a, .localnav .sprout-pwa-nav-install-btn, .localnav .sprout-pwa-nav-login-btn, .localnav .pill-sm) { opacity: 0; transform: translateY(-6px); }
  html.intro-landed:not(.intro-settled) .localnav { transition: background-color 0.6s var(--ease-out), border-bottom-color 0.6s var(--ease-out); }
  html.intro-landed:not(.intro-settled) :is(.nav-links a, .localnav .sprout-pwa-nav-install-btn, .localnav .sprout-pwa-nav-login-btn, .localnav .pill-sm) { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
  html.intro-landed:not(.intro-settled) .nav-links a:nth-child(1) { transition-delay: 0.08s; }
  html.intro-landed:not(.intro-settled) .nav-links a:nth-child(2) { transition-delay: 0.13s; }
  html.intro-landed:not(.intro-settled) .nav-links a:nth-child(3) { transition-delay: 0.18s; }
  html.intro-landed:not(.intro-settled) .nav-links a:nth-child(4) { transition-delay: 0.23s; }
  html.intro-landed:not(.intro-settled) :is(.localnav .sprout-pwa-nav-install-btn, .localnav .sprout-pwa-nav-login-btn, .localnav .pill-sm) { transition-delay: 0.3s; }
  .intro-cue { position: absolute; bottom: max(32px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted);
    animation: cue-in 0.6s ease 1.6s both; }
  .intro-cue::after { content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: linear-gradient(var(--accent), transparent); }
  @keyframes cue-in { from { opacity: 0; transform: translateY(-6px); } }
  /* Glow: drawn once at full size and only faded in (scaling it up made the browser stretch a small
     bitmap, which looked soft). Many eased stops keep the faint green from banding into rings. */
  .intro::before { content: ""; position: absolute; width: min(80vw, 820px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle closest-side,
      color-mix(in srgb, var(--accent) 22%, transparent) 0%,
      color-mix(in srgb, var(--accent) 19%, transparent) 14%,
      color-mix(in srgb, var(--accent) 14.5%, transparent) 28%,
      color-mix(in srgb, var(--accent) 10%, transparent) 42%,
      color-mix(in srgb, var(--accent) 6%, transparent) 56%,
      color-mix(in srgb, var(--accent) 3%, transparent) 70%,
      color-mix(in srgb, var(--accent) 1%, transparent) 84%,
      transparent 100%);
    animation: glow-in 1.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both; }
  @keyframes glow-in { from { opacity: 0; } }
  /* A barely visible grain over the intro: breaks up any remaining banding and gives the dark a texture */
  .intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  html.intro-leaving .intro::after { opacity: 0; transition: opacity 0.45s ease; }
  /* Above the grain, and back to plain text once each letter lands (`backwards`, not `both`: a held
     blur(0) and transform keep every letter on its own soft bitmap layer) */
  .intro-mark { position: relative; z-index: 1; font-size: clamp(64px, 13vw, 156px); }
  .intro-word { font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
  .intro-word .wm-word > span { display: inline-block; animation: letter-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
  .intro-word .wm-word > span:nth-child(1) { animation-delay: 0.45s; } .intro-word .wm-word > span:nth-child(2) { animation-delay: 0.51s; }
  .intro-word .wm-word > span:nth-child(3) { animation-delay: 0.57s; } .intro-word .wm-word > span:nth-child(4) { animation-delay: 0.63s; }
  .intro-word .wm-word > span:nth-child(5) { animation-delay: 0.69s; } .intro-word .wm-word > span:nth-child(6) { animation-delay: 0.75s; }
  @keyframes letter-in { from { opacity: 0; transform: translateY(40%); filter: blur(6px); } }
  /* The icon draws itself: stem first, then each leaf */
  .intro .wm-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .intro .r-stem { animation: draw 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards; }
  .intro .r-leaf { animation: draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.55s forwards; }
  .intro .r-leaf-l { animation: draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.7s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  /* The hero rises in, one line after another, as the intro leaves (or straight away on a repeat visit) */
  .hero-copy > * { animation: hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: calc(var(--d) + 0.2s); }
  html.has-intro:not(.intro-leaving) .hero-copy > * { animation-play-state: paused; }
  .hero-copy > :nth-child(1) { --d: 0s; } .hero-copy > :nth-child(2) { --d: 0.08s; } .hero-copy > :nth-child(3) { --d: 0.16s; }
  .hero-copy > :nth-child(4) { --d: 0.24s; } .hero-copy > :nth-child(5) { --d: 0.32s; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
}

/* ---------- Cinematic hero ----------
   Static layout first (what reduced-motion users and older browsers see): the headline and form,
   then a deep green card with three real phone screens. With scroll timelines, the section pins
   for about four screens of scrolling and plays one sequence: the text recedes, the card slides up
   and fills the screen, the main phone flies in from a 3D tilt, the side phones fan out, badges and
   text arrive, and the card pulls back as the page moves on. Transforms, opacity, clip-path only. */
.cine-card {
  position: relative; margin: 48px auto 0; width: min(1240px, 100% - 32px); border-radius: 36px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 0%, rgb(111 211 154 / 0.18), transparent 70%), linear-gradient(160deg, #1f5a3a 0%, #0f2d1d 45%, #07150d 100%);
  color: #eef5ee; padding: 56px 40px 36px;
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.6), inset 0 1px 1px rgb(255 255 255 / 0.12);
}
.cine-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 24px; width: 100%; max-width: 1180px; margin: 0 auto; }
.cine-left { display: grid; gap: 16px; justify-items: start; }
.cine-h { font-size: clamp(32px, 3.6vw, 52px); color: #ffffff; }
.cine-left p { color: #b5c9ba; font-size: 17px; max-width: 26em; }
.cine-cta { background: #6fd39a; color: #04140a; }
.cine-cta:hover { background: #8adfad; }
.cine-brand {
  justify-self: end; font-size: clamp(64px, 9vw, 148px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 0%, #9fd9b4 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cine-note { margin-top: 24px; text-align: center; font-size: 13px; color: #8fa596; }
.tunnel, .scroll-cue { display: none; }
/* The Mac app in a slim dark frame, under the headline */
.hero-device { width: min(1080px, 100% - 32px); margin: 56px auto 0; }
.hd-frame { padding: 10px; border-radius: 26px; background: #111214;
  box-shadow: inset 0 0 0 1px #2c2e31, 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 60px 120px -40px rgb(0 0 0 / 0.75); }
.hd-frame img { display: block; width: 100%; height: auto; border-radius: 17px; }

/* Phones: placed with the individual translate/rotate properties, so the animation's transform layers on top */
.cine-phones { position: relative; height: 600px; perspective: 1200px; }
.cp { position: absolute; top: 50%; left: 50%; margin: 0; padding: 8px; border-radius: 44px; background: #0d0f0e;
  box-shadow: inset 0 0 0 1.5px #3f4542, 0 40px 80px -20px rgb(0 0 0 / 0.8); }
.cp img { display: block; width: 100%; height: auto; border-radius: 36px; }
.cp-main { width: 268px; translate: -50% -50%; z-index: 3; }
.cp-main img { border-radius: 0 0 36px 36px; }
.cp-status { display: flex; align-items: center; justify-content: space-between; aspect-ratio: 390 / 48; padding: 0 22px;
  background: #0b0f0c; color: #f5f5f7; border-radius: 36px 36px 0 0; font-size: 12px; font-weight: 600; }
.cp-island { width: 32%; height: 56%; background: #000; border-radius: 99px; }
.cp-l, .cp-r { width: 218px; z-index: 2; filter: brightness(0.82); }
.cp-l { translate: -112% -46%; rotate: -7deg; }
.cp-r { translate: 12% -46%; rotate: 7deg; }
.cine-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 24px 48px -16px rgb(0 0 0 / 0.7); }
.cine-badge b { display: block; font-size: 14px; color: #ffffff; }
.cine-badge small { font-size: 12px; color: #a9c4b2; }
.b-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.b-money { background: #74c995; box-shadow: 0 0 12px #74c995; }
.b-habit { background: #b597ee; box-shadow: 0 0 12px #b597ee; }
.b1 { top: 9%; left: -4%; }
.b2 { bottom: 12%; right: -4%; }

@media (max-width: 980px) {
  .cine-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; }
  .cine-brand { order: 1; justify-self: center; font-size: clamp(56px, 14vw, 96px); }
  .cine-phones { order: 2; width: 100%; height: 470px; }
  .cine-left { order: 3; justify-items: center; }
  .cine-phones > * { scale: 0.78; }
  .cp-main { scale: 0.78; } .cp-l, .cp-r { scale: 0.78; }
  .b1 { left: 2%; } .b2 { right: 2%; }
}
@media (max-width: 560px) {
  .cine-card { padding: 36px 16px 28px; border-radius: 28px; }
  .cine-phones { height: 400px; }
  .cp-main, .cp-l, .cp-r, .cine-badge { scale: 0.64; }
  .cp-l { translate: -98% -46%; } .cp-r { translate: -2% -46%; }
  .b1 { top: 6%; left: 0; transform-origin: 0 0; } .b2 { bottom: 8%; right: 0; left: auto; transform-origin: 100% 100%; }
  .cine-left p { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (clip-path: inset(0 round 1px)) {
    .cine { height: 770vh; height: 770svh; padding: 0; overflow: visible; view-timeline: --cine block; }
    .cine-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; place-items: center; perspective: 1500px; }
    .cine-text, .cine-card, .hero-device { grid-area: 1 / 1; }
    /* First view: the headline near the top, the Mac app tilted back and peeking up from below */
    .cine-text {
      align-self: start;
      padding-top: clamp(20px, 3.6vh, 42px);
      gap: clamp(8px, 1.4vh, 14px);
      position: relative;
      z-index: 6;
      max-width: 900px;
      margin: 0 auto;
    }
    .cine-text .product { font-size: clamp(14px, 1.6vh, 17px); margin: 0; }
    .cine-text h1 {
      font-size: clamp(32px, 4.2vw, 52px);
      line-height: 1.08;
      letter-spacing: -0.03em;
      max-width: 15em;
      margin: 0;
    }
    .cine-text .lede {
      font-size: clamp(15px, 1.5vw, 18px);
      line-height: 1.35;
      max-width: 32em;
      margin: 0;
    }
    .cine-text .hero-auth-actions { margin: 12px 0 6px; }
    .cine-text .hero-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
    .cine-text .privacy-note, .cine-text .terms { font-size: clamp(12px, 1.3vh, 13px); margin: 0; line-height: 1.4; color: #8fa596; }
    .cine-card {
      position: relative; z-index: 5;
      align-self: stretch; justify-self: stretch; width: auto; margin: 0; border-radius: 0; display: grid; align-content: center; padding: 72px 40px 32px;
      clip-path: inset(6vh 6vw round 40px);
    }
    .cine-text, .cine-card, .hero-device, .cp, .cine-badge, .cine-left, .cine-brand, .cine-note, .tc, .scroll-cue {
      animation-timeline: --cine; animation-fill-mode: both; animation-timing-function: linear;
    }
    /* The answer (card, phones, badges, text) plays in the last half, after the screen and the tunnel */
    .cine-card, .cp, .cine-badge, .cine-left, .cine-brand, .cine-note { animation-range: contain 51.6% contain 100%; }
    .cine-text { animation-range: contain 0% contain 100%; position: relative; z-index: 6; }

    /* The tunnel: problems people describe in tracker reviews fly from far away, past the headline */
    .tunnel { display: block; position: absolute; inset: 0; perspective: 1200px; pointer-events: none; z-index: 3; }
    .tc {
      position: absolute; left: 50%; top: 50%; width: clamp(200px, 24vw, 300px); padding: 18px 20px; border-radius: 20px;
      background: var(--tile); border: 1px solid var(--line); color: var(--text);
      box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.5); animation-name: tunnel; will-change: transform, opacity;
    }
    .tc p { margin-top: 8px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
    .tc-area { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
    .tc-area::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
    .a-habit::before { background: var(--t-habit); } .a-gym::before { background: var(--t-gym); }
    .a-money::before { background: var(--t-money); } .a-task::before { background: var(--t-task); } .a-all::before { background: var(--accent); }
    .tc:nth-child(1) { --x: 28.0vw; --y: 0.0vh; --r: 3deg; animation-range: contain 21.0% contain 37.9%; }
    .tc:nth-child(2) { --x: -26.5vw; --y: 23.6vh; --r: -5deg; animation-range: contain 22.9% contain 39.8%; }
    .tc:nth-child(3) { --x: 3.8vw; --y: -25.9vh; --r: 7deg; animation-range: contain 24.7% contain 41.6%; }
    .tc:nth-child(4) { --x: 17.0vw; --y: 27.8vh; --r: -9deg; animation-range: contain 26.6% contain 43.5%; }
    .tc:nth-child(5) { --x: -35.5vw; --y: -4.5vh; --r: 11deg; animation-range: contain 28.4% contain 45.3%; }
    .tc:nth-child(6) { --x: 37.1vw; --y: -18.8vh; --r: -3deg; animation-range: contain 30.3% contain 47.2%; }
    .tc:nth-child(7) { --x: -7.2vw; --y: 25.1vh; --r: 5deg; animation-range: contain 32.1% contain 49.1%; }
    .tc:nth-child(8) { --x: -16.6vw; --y: -31.0vh; --r: -7deg; animation-range: contain 34.0% contain 50.9%; }
    .tc:nth-child(9) { --x: 41.3vw; --y: 8.9vh; --r: 9deg; animation-range: contain 35.8% contain 52.8%; }
    @keyframes tunnel {
      /* Each card emerges from the vanishing point behind the headline, then grows and sweeps out past you */
      0% { transform: translate3d(calc(-50% + var(--x) * 0.3), calc(-50% + var(--y) * 0.3), -2200px) rotate(var(--r)); opacity: 0; }
      22% { opacity: 1; }
      84% { opacity: 1; }
      100% { transform: translate3d(calc(-50% + var(--x) * 2.2), calc(-50% + var(--y) * 2.2), 700px) rotate(var(--r)); opacity: 0; }
    }
    .scroll-cue {
      display: block; position: absolute; bottom: max(28px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; z-index: 2;
      text-align: center; font-size: 13px; color: var(--muted); animation-name: cue-out; animation-range: contain 0% contain 4%;
    }
    .scroll-cue { display: none; }
    .scroll-cue::after { content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: linear-gradient(var(--accent), transparent); }
    @keyframes cue-out { to { opacity: 0; transform: translateY(12px); } }
    @media (max-width: 560px) { .tc { width: 180px; padding: 14px 16px; } .tc p { font-size: 15px; } }

    .cine-text { animation-name: cine-recede; }
    /* The headline steps back as the screen rises over it */
    @keyframes cine-recede {
      0%, 1% { transform: none; filter: blur(0); opacity: 1; }
      7% { transform: translateY(-3vh) scale(0.96); filter: blur(6px); opacity: 0; visibility: visible; }
      8%, 100% { transform: translateY(-3vh) scale(0.96); filter: blur(6px); opacity: 0; visibility: hidden; }
    }
    /* The screen: tilted back and peeking from below, it tips up flat and rises to the centre,
       holds so the app can be read, then sinks into the distance before the tunnel */
    .hero-device {
      align-self: center; position: relative; z-index: 3; margin: 0;
      width: min(1080px, 92vw, (88vh - 20px) * 1.6); transform-origin: 50% 0;
      animation-name: hd-rise; animation-range: contain 0% contain 100%;
    }
    @keyframes hd-rise {
      0% { transform: translateY(calc(10vh + 48%)) rotateX(15deg) scale(0.93); animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1); }
      9%, 15% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 0.75, 0.4); }
      21% { transform: translateY(-4vh) scale(0.62); opacity: 0; visibility: visible; }
      22%, 100% { transform: translateY(-4vh) scale(0.62); opacity: 0; visibility: hidden; }
    }

    @media (max-height: 820px) {
      .cine-text { padding-top: clamp(16px, 2.5vh, 26px); gap: 8px; }
      .cine-text h1 { font-size: clamp(26px, 3.8vw, 40px); }
      .cine-text .lede { font-size: 14.5px; line-height: 1.32; }
      .cine-text .hero-auth-actions { margin: 8px 0 4px; }
      .cine-text .hero-cta-pill { padding: 11px 28px !important; font-size: 14.5px !important; height: 44px !important; }
      .cine-text .privacy-note, .cine-text .terms { font-size: 12px; }
      .hero-device { width: min(980px, 92vw, (82vh - 20px) * 1.6); }
    }
    @media (max-height: 640px) {
      .cine-stage { overflow-y: auto; overflow-x: clip; }
      .cine-text { padding-top: 10px; gap: 6px; }
      .cine-text h1 { font-size: 24px; }
      .cine-text .lede { font-size: 13.5px; line-height: 1.25; }
      .cine-text .hero-cta-pill { padding: 9px 24px !important; font-size: 13.5px !important; height: 40px !important; }
      .hero-device { width: min(840px, 90vw, (76vh - 20px) * 1.6); }
    }
    .cine-card { animation-name: cine-card; }
    @keyframes cine-card {
      0% { transform: translateY(105%); clip-path: inset(6vh 6vw round 40px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
      18% { transform: none; clip-path: inset(6vh 6vw round 40px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
      30%, 100% { transform: none; clip-path: inset(0 0 round 0); }
    }
    .cp-main { animation-name: cp-fly; }
    @keyframes cp-fly {
      0%, 17% { transform: translateY(300px) rotateX(50deg) rotateY(-26deg) scale(0.6); opacity: 0; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
      26% { opacity: 1; }
      44%, 100% { transform: none; opacity: 1; }
    }
    .cp-l { animation-name: cp-fan-l; }
    @keyframes cp-fan-l {
      0%, 44% { transform: translateX(46%) rotate(7deg) scale(0.9); opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
      50% { opacity: 1; }
      60%, 100% { transform: none; opacity: 1; }
    }
    .cp-r { animation-name: cp-fan-r; }
    @keyframes cp-fan-r {
      0%, 46% { transform: translateX(-46%) rotate(-7deg) scale(0.9); opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
      52% { opacity: 1; }
      62%, 100% { transform: none; opacity: 1; }
    }
    .cine-badge { animation-name: badge-pop; }
    .b2 { animation-range: contain 53.3% contain 101.6%; }
    @keyframes badge-pop {
      0%, 56% { transform: translateY(60px) scale(0.7) rotate(-8deg); opacity: 0; animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
      66%, 100% { transform: none; opacity: 1; }
    }
    .cine-left { animation-name: slide-from-left; }
    @keyframes slide-from-left {
      0%, 54% { transform: translateX(-50px); opacity: 0; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
      66%, 100% { transform: none; opacity: 1; }
    }
    .cine-brand { animation-name: brand-in; }
    @keyframes brand-in {
      0%, 54% { transform: translateX(50px) scale(0.85); opacity: 0; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
      68%, 100% { transform: none; opacity: 1; }
    }
    .cine-note { animation-name: note-in; }
    @keyframes note-in { 0%, 62% { opacity: 0; } 72%, 100% { opacity: 1; } }
    @media (max-width: 560px) {
      .cine-card { padding: 64px 16px 24px; clip-path: inset(4vh 4vw round 28px); }
      @keyframes cine-card {
        0% { transform: translateY(105%); clip-path: inset(4vh 4vw round 28px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
        18% { transform: none; clip-path: inset(4vh 4vw round 28px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
        30%, 100% { transform: none; clip-path: inset(0 0 round 0); }
      }
    }
  }
}

/* ---------- Bento: what Sprout does, one working illustration per card ----------
   Six-column grid on desktop (lg = 4, md = 3, sm = 2), two columns on tablets, one on phones.
   Each illustration is built from real feature behaviour with sample numbers. Motion: one quiet
   in-view moment per card (scroll timeline, transform/opacity only); static for reduced motion. */
.bento-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.bento-head h2 { max-width: 13em; }
.bento-intro { display: grid; gap: 14px; justify-items: start; }
.bento-intro p { color: var(--muted); font-size: 17px; max-width: 34em; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.bento { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--tile); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.c-lg { grid-column: span 4; } .c-md { grid-column: span 3; } .c-sm { grid-column: span 2; }
.viz { flex: 1; min-height: 210px; display: grid; place-items: center; padding: 24px 22px 6px; }
.card-text { padding: 16px 24px 24px; }
.card-text h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.card-text p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 48ch; }
.viz b { font-weight: 600; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }

/* 1. Capture */
.v-capture { width: 100%; max-width: 560px; display: grid; gap: 14px; }
.v-type { display: flex; align-items: center; gap: 2px; justify-self: end; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 18px 18px 6px 18px; font-size: 15px; }
.caret { width: 2px; height: 1.1em; background: currentColor; opacity: 0.7; }
.v-parse { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: grid; gap: 1px; padding: 8px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.chip b { font-size: 14px; } .chip small { font-size: 11.5px; color: var(--muted); }
.chip:first-child { border-color: color-mix(in srgb, var(--t-money) 55%, var(--line)); }
.chip:first-child b { color: var(--t-money); }
.v-filed { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.v-filed .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--t-money); }

/* 2. Ask */
.v-ask { width: 100%; max-width: 300px; display: grid; gap: 10px; }
.v-q { justify-self: end; background: var(--bg); border: 1px solid var(--line); padding: 8px 12px; border-radius: 16px 16px 6px 16px; font-size: 13.5px; }
.v-a { font-size: 13.5px; color: var(--muted); } .v-a b { font-size: 28px; color: var(--text); letter-spacing: -0.03em; margin-right: 4px; }
.v-bars { display: grid; gap: 8px; }
.v-bars span { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; }
.v-bars em { font-style: normal; color: var(--muted); }
.v-bars i { height: 8px; border-radius: 4px; background: var(--accent); transform-origin: left; }
.v-bars span:nth-child(1) i { width: 100%; } .v-bars span:nth-child(2) i { width: 94%; opacity: 0.6; }
.v-bars b { font-variant-numeric: tabular-nums; }

/* 3. Days, not streaks */
.v-days { width: 100%; max-width: 280px; display: grid; gap: 12px; }
.v-days-head { display: flex; justify-content: space-between; font-size: 13.5px; } .v-days-head span { color: var(--muted); }
.v-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.v-grid i { aspect-ratio: 1; border-radius: 6px; background: var(--line); }
.v-grid i.on { background: var(--t-habit); }
.v-grid i.tiny { background: color-mix(in srgb, var(--t-habit) 45%, transparent); }
.v-grid i.rest { background: transparent; border: 1.5px dashed var(--muted); }
.v-grid i.today { background: transparent; border: 2px solid var(--t-habit); }
.v-grid i.later { background: transparent; border: 1px solid var(--line); }
.v-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.v-legend .k { width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.v-legend .k:first-child { margin-left: 0; }
.k.on { background: var(--t-habit); } .k.tiny { background: color-mix(in srgb, var(--t-habit) 45%, transparent); } .k.rest { border: 1.5px dashed var(--muted); }

/* 4. Money with people */
.v-people { width: 100%; max-width: 300px; display: grid; gap: 8px; }
.v-people .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.v-people .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--accent) 16%, var(--bg)); color: var(--accent); }
.v-people span b { display: block; font-size: 13px; } .v-people small { font-size: 11.5px; color: var(--muted); }
.v-people .amt { font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* 5. Loans */
.v-loan { width: 100%; max-width: 300px; display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.v-loan-head, .v-loan-foot { display: flex; justify-content: space-between; gap: 10px; }
.v-loan-head b { font-size: 15px; } .v-loan-head span { font-size: 12.5px; color: var(--t-task); font-weight: 600; }
.v-loan-foot { font-size: 12px; color: var(--muted); }
.v-meter { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.v-meter i { display: block; height: 100%; width: 23%; border-radius: 5px; background: var(--t-task); transform-origin: left; }

/* 6. Rings */
.v-rings { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.v-rings svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.v-rings circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.v-rings .track { stroke: var(--line); }
.v-rings .fill { stroke-dasharray: 100; }
.v-rings .fill.r1 { stroke: var(--accent); stroke-dashoffset: 0; }
.v-rings .fill.r2 { stroke: var(--t-task); stroke-dashoffset: 40; }
.v-rings .fill.r3 { stroke: var(--t-gym); stroke-dashoffset: 33; }
.v-ring-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.v-ring-legend li { display: grid; grid-template-columns: auto 64px auto; align-items: center; gap: 8px; }
.v-ring-legend b { font-variant-numeric: tabular-nums; }
.v-ring-legend .k { width: 9px; height: 9px; border-radius: 50%; }
.k1 { background: var(--accent); } .k2 { background: var(--t-task); } .k3 { background: var(--t-gym); }

/* 7. Private */
.v-private { width: 100%; max-width: 420px; display: grid; gap: 8px; }
.v-private .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; }
.v-private .row b { font-size: 13px; }
.v-private .mark { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.v-private .yes .mark { background: color-mix(in srgb, var(--t-money) 18%, transparent); }
.v-private .yes .mark::before { content: ""; width: 8px; height: 4px; border: solid var(--t-money); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.v-private .no .mark { background: color-mix(in srgb, var(--muted) 18%, transparent); }
.v-private .no .mark::before { content: ""; width: 8px; height: 2px; background: var(--muted); border-radius: 1px; }
.v-private .yes b { color: var(--t-money); }

/* Motion: one quiet moment per card as it scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .card { animation: card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .ch-phone { animation: ch-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .ch-text { animation: card-in linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    .ch-callout { animation: ch-pop linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    @keyframes ch-rise { from { opacity: 0; transform: translateY(60px) rotate(-2deg); } }
    @keyframes ch-pop { from { opacity: 0; transform: translateY(16px) scale(0.92); } }
    @keyframes card-in { from { opacity: 0; transform: translateY(24px); } }
    .chip, .v-filed { animation: chip-in linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
    .chip:nth-child(2) { animation-range: entry 50% cover 45%; } .chip:nth-child(3) { animation-range: entry 60% cover 50%; }
    .chip:nth-child(4) { animation-range: entry 70% cover 55%; } .v-filed { animation-range: entry 80% cover 60%; }
    @keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
    .v-bars i, .v-meter i { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    @keyframes grow-x { from { transform: scaleX(0); } }
    .v-grid i.on, .v-grid i.tiny { animation: pop-in linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
    @keyframes pop-in { from { transform: scale(0.4); opacity: 0; } }
    .v-rings .fill { animation: ring-draw linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    @keyframes ring-draw { from { stroke-dashoffset: 100; } }
  }
  .caret { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

/* Bento on smaller screens */
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-lg { grid-column: span 2; } .c-md, .c-sm { grid-column: span 1; }
}
@media (max-width: 700px) {
  .bento-head { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .c-lg, .c-md, .c-sm { grid-column: span 1; }
  .viz { min-height: 0; padding: 22px 18px 4px; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { flex-direction: column; }
  .tile-wide .tile-copy { padding: 40px 32px 0; }
  .tile-wide .crop { flex: none; height: 440px; padding-top: 32px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .answers { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .next-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .localnav-inner { justify-content: space-between; }
  .band { padding-block: 72px; }
  .hero { padding-top: 44px; }
  .join { grid-template-columns: minmax(0, 1fr); }
  .next-item { padding: 26px 22px; }
  .phone, .tile .phone { width: 270px; }
  .tile-copy { padding: 32px 24px 0; }
  .tile-wide .tile-copy { padding: 32px 24px 0; }
  .versus { padding: 24px 18px 32px; gap: 10px; }
  .mini-screen { padding: 18px 8px; border-width: 6px; }
  .streak-zero { font-size: 52px; }
  .welcome { font-size: 20px; }
  .reply { font-size: 21px; }
}

/* Plan purchase CTAs & Checkout Modal */
.plan-cta {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.plan-cta:hover { background: rgba(255, 255, 255, 0.1); }
.plan-cta-buy {
  background: var(--accent);
  color: #052e16;
  border: none;
}
.plan-cta-buy:hover {
  background: var(--accent-hover, #22c55e);
  color: #052e16;
}
.plan-cta-soon {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line);
  cursor: not-allowed;
  opacity: 0.7;
}

.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal-backdrop[hidden] {
  display: none !important;
}
.checkout-modal-card {
  background: #151d18;
  border: 1px solid #223027;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  color: #f0fdf4;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  position: relative;
}
.checkout-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.checkout-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
}
.checkout-modal-close {
  background: transparent;
  border: none;
  color: #86a390;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}
.checkout-modal-desc {
  font-size: 14px;
  color: #86a390;
  margin-bottom: 20px;
  line-height: 1.5;
}
.checkout-price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #223027;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.checkout-price-num {
  font-size: 28px;
  font-weight: 800;
  color: #4ade80;
}
.checkout-price-sub {
  font-size: 13px;
  color: #86a390;
}
.checkout-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-modal-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #223027;
  background: #0d120f;
  color: #f0fdf4;
  padding: 0 14px;
  font-size: 15px;
}
.checkout-modal-form button {
  height: 46px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.checkout-modal-footer {
  font-size: 12px;
  color: #86a390;
  margin-top: 16px;
  text-align: center;
  line-height: 1.4;
}
