/* ============================================================
   PocketPA — landing page
   Discipline over decoration. Ink on warm paper, one lime accent,
   editorial serif display over Inter UI. The app's rule holds:
   the accent is a line, a mark or a glow — never a flood.
   ============================================================ */

:root {
  --paper:     #f5f4f1;   /* warm off-white ground */
  --paper-2:   #fffefb;   /* raised surface */
  --ink:       #14161d;
  --ink-bg:    #101219;   /* app dark ground */
  --ink-bg-2:  #171a22;

  --ink-72:    rgba(20,22,29,.72);
  --ink-58:    rgba(20,22,29,.58);
  --ink-42:    rgba(20,22,29,.42);
  --ink-30:    rgba(20,22,29,.30);
  --hair:      rgba(20,22,29,.12);
  --hair-soft: rgba(20,22,29,.07);

  --onink:     #eceae4;
  --onink-60:  rgba(236,234,228,.60);
  --onink-42:  rgba(236,234,228,.42);
  --hair-dark: rgba(236,234,228,.12);

  --lime:      #d6f53c;   /* PocketPA's voice — used sparingly */
  --lime-ink:  #7f9a00;   /* lime that carries as text on paper */
  --lime-disp: #8aa300;   /* readable lime for large display words on paper */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: clip; max-width: 100%; }   /* clip (not hidden) so position:sticky still works */

body {
  margin: 0;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- editorial display type --- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.018em;
  font-optical-sizing: auto;
}

mark {
  background: transparent;
  color: inherit;
  position: relative;
  white-space: nowrap;
  padding: 0 .04em;
}
mark::before {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em;
  bottom: .06em;
  height: .42em;
  background: var(--lime);
  z-index: -1;
  border-radius: 2px;
}

/* --- shared bits --- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-42);
  margin: 0 0 22px;
}
.kicker::after {
  content: "";
  width: 46px; height: 1px;
  background: linear-gradient(to right, var(--ink-30), transparent);
}
.kicker--center { justify-content: center; }
.kicker--center::before {
  content: "";
  width: 46px; height: 1px;
  background: linear-gradient(to left, var(--ink-30), transparent);
}
.kicker--center::after { background: linear-gradient(to right, var(--ink-30), transparent); }
.kicker--onDark { color: var(--onink-42); }
.kicker--onDark::before, .kicker--onDark::after { background-image: linear-gradient(to right, rgba(236,234,228,.4), transparent); }
.kicker--onDark::before { background-image: linear-gradient(to left, rgba(236,234,228,.4), transparent); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-58);
  padding: 8px 15px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  margin-bottom: 30px;
  background: var(--paper-2);
}

.section { padding: 130px 24px; }
.section__head { max-width: 660px; margin: 0 auto 72px; text-align: center; }
.section__title {
  font-size: clamp(40px, 5.7vw, 66px);
  line-height: 1.02;
  margin: 0 0 20px;
}
.section__lead {
  font-size: 18px;
  color: var(--ink-58);
  margin: 0;
  text-wrap: pretty;
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { color: var(--ink-72); border-color: var(--hair); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-30); color: var(--ink); }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }
.btn--block { width: 100%; justify-content: center; }

/* App Store download badge */
.appstore { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff;
  border-radius: 12px; padding: 10px 20px; transition: transform .12s ease, background .2s ease; }
.appstore:hover { background: #000; }
.appstore:active { transform: translateY(1px); }
.appstore svg { width: 23px; height: 23px; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore small { font-size: 10.5px; font-weight: 400; opacity: .82; letter-spacing: .02em; }
.appstore b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.appstore--sm { padding: 8px 15px; border-radius: 10px; }
.appstore--sm svg { width: 19px; height: 19px; }
.appstore--sm b { font-size: 14px; }
.appstore--sm small { font-size: 9.5px; }
.appstore--lime { background: var(--lime); color: var(--ink); }
.appstore--lime:hover { background: #e2ff5c; }
.appstore--block { width: 100%; justify-content: center; }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding: 14px 24px;
  background: rgba(245,244,241,.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--hair); background: rgba(245,244,241,.86); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark { width: 19px; height: 25px; color: var(--ink); }
.brand__name { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 28px; margin-left: 10px; }
.nav__links a { font-size: 14px; color: var(--ink-58); transition: color .18s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; }
.nav__burger { display: none; margin-left: auto; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; padding: 12px 4px 6px; max-width: var(--maxw); margin: 0 auto; }
.nav__mobile a { padding: 13px 6px; font-size: 15px; color: var(--ink-72); border-bottom: 1px solid var(--hair-soft); }
.nav__mobile .btn { margin-top: 12px; justify-content: center; }

/* ============================================================ DEVICE MOCKUP */
.device { position: relative; width: min(292px, 76vw); z-index: 2; }
.device__frame {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(150deg, #33363f 0%, #14161b 42%, #0a0b0e 100%);
  box-shadow:
    0 2px 3px rgba(255,255,255,.14) inset,
    0 0 0 1px rgba(10,11,14,.9),
    0 50px 70px -30px rgba(16,18,25,.5),
    0 20px 40px -24px rgba(16,18,25,.35);
}
.device__frame::before {  /* dynamic-island pill */
  content: "";
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px;
  background: #05060a;
  border-radius: 20px;
  z-index: 3;
}
.device__screen { border-radius: 38px; width: 100%; display: block; }
.device--float { animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* single restrained lime glow — the app's signature, used at most once per view */
.glow { position: absolute; border-radius: 50%; filter: blur(72px); z-index: 0; pointer-events: none; }
.glow--lime { width: 300px; height: 300px; background: rgba(214,245,60,.42); top: 8%; left: 0%; }
.glow--violet { display: none; }
.glow--soft { width: 340px; height: 340px; background: rgba(214,245,60,.24); top: 24%; left: 50%; transform: translateX(-50%); }

/* ============================================================ HERO */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px 48px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.0; margin: 0 0 26px; }
.hero__sub { font-size: 18.5px; line-height: 1.6; color: var(--ink-58); max-width: 33em; margin: 0 0 36px; text-wrap: pretty; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__note { font-size: 13.5px; color: var(--ink-45); margin: 0; letter-spacing: -.005em; }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-58); }
.hero__trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-ink); }
.hero__hand { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.hero__hand img {
  width: 100%; max-width: 640px; height: auto;
  margin: -32px -6% -72px 0;   /* enlarge + bleed slightly right and below */
}

/* ============================================================ SECTION 2+3+4 — PINNED SAGA */
.saga { position: relative; height: 480vh; }
.saga__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* shared type (also used by the locked S2 resting look) */
.load__title { font-size: clamp(40px, 5.7vw, 66px); line-height: 1.02; margin: 0 0 22px; }
.load__sub { font-size: 18.5px; line-height: 1.6; color: var(--ink-58);
  max-width: 33em; margin: 0 auto; text-wrap: pretty; }
.load__notes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 22px; max-width: 880px; margin: 60px auto 0; }
.tnote2 { display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 12px;
  padding: 11px 16px; font-size: 14px; color: var(--ink); white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(16,18,25,.20);
  transform: rotate(var(--r, 0deg)); }
.tnote2 i { width: 18px; height: 24px; display: block; color: var(--c, var(--ink)); flex: none; }
.tnote2 i svg { width: 100%; height: 100%; }
.tnote2 b { font-weight: 500; }

/* S2 group — the mental load. Header lifts out to the top fast; tasks resolve even quicker */
.saga__s2 { position: absolute; inset: 0; z-index: 5; padding: 100px 24px 0;
  text-align: center; pointer-events: none; }
.saga__s2head {
  opacity: clamp(0, calc(1 - var(--p, 0) / 0.30), 1);
  transform: translateY(calc(var(--p, 0) * -48vh)); }
.saga__s2 .load__notes {
  opacity: clamp(0, calc(1 - var(--p, 0) / 0.20), 1);
  transform: translateY(calc(var(--p, 0) * -10vh)); }

/* the circular words — scroll up from the bottom (p) + fade in, then dissolve (q) */
.saga__circle { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  font-size: clamp(40px, 5.7vw, 66px); line-height: 1; font-weight: 500; letter-spacing: -.01em;
  transform: translateY(calc((1 - var(--p, 0)) * 58vh)); }
.cw { position: absolute; left: var(--l); top: var(--t); transform: translate(-50%, -50%);
  white-space: nowrap; color: var(--ink);
  opacity: clamp(0, calc((var(--p, 0) - 0.15) / 0.4), 1); }
.cw:not(.cw--keep) {
  opacity: calc(clamp(0, calc((var(--p, 0) - 0.15) / 0.4), 1) * clamp(0, calc(1 - var(--q, 0) / 0.4), 1)); }
/* lime highlight behind the brand words */
.cw--hl::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .08em;
  height: .5em; background: var(--lime); border-radius: 3px; z-index: -1; }
/* keepers travel and SETTLE as the S4 headline itself (they stay — no hand-off) */
.cw--keep { z-index: 6;
  opacity: calc(clamp(0, calc((var(--p, 0) - 0.15) / 0.4), 1) * clamp(0, calc(1 - var(--r, 0) / 0.3), 1));
  transform: translate(-50%, -50%)
    translate(calc(var(--dx, 0) * 1vw * var(--q, 0)), calc(var(--dy, 0) * 1vh * var(--q, 0))); }
.cw--keep em { font-style: normal; }
/* comma / " and": shown in the ring, collapses to zero width as it becomes the headline */
.cw .pn { font-style: normal; display: inline-block; }
.cw--keep .pn { opacity: clamp(0, calc(1 - var(--q, 0) / 0.3), 1);
  font-size: calc((1 - var(--q, 0)) * 1em); }
/* the headline period: zero width in the ring, grows in as it locks in */
.cw .pd { font-style: normal; display: inline-block; opacity: 0; font-size: 0; }
.cw--keep .pd { opacity: clamp(0, calc((var(--q, 0) - 0.5) / 0.4), 1);
  font-size: calc(var(--q, 0) * 1em); }
/* "Sorted" gets the lime highlight, fading in as it lifts into the headline */
.cw--mark em { position: relative; }
.cw--mark em::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .08em;
  height: .5em; background: var(--lime); border-radius: 3px; z-index: -1; opacity: var(--q, 0); }

/* the shared phone: half-visible (p=0) -> centre (p=1) -> parked right (q=1) */
.saga__phone { position: absolute; top: 50%; left: 50%; z-index: 3;
  width: clamp(230px, 25vw, 285px);
  /* X: park right on q (right edge to the header button), then slide right->left on r
     (S5). PARK = (nav content width - phone width) / 2 aligns an edge to the container. */
  transform: translate(-50%, -50%)
    translate(0, calc((1 - var(--p, 0)) * 50vh + 2vh))
    translate(calc((min(1120px, 100vw - 48px) - clamp(230px, 25vw, 285px)) / 2 * 0.82 * (var(--q, 0) * (1 - var(--r, 0)) - var(--r, 0))), 0); }
.saga__phone .device { width: 100%; }
/* phone screen: day-view still crossfades to the live "watch it work" animation as it reaches S4 */
.saga__scr { position: relative; width: 100%; aspect-ratio: 390 / 844;
  border-radius: 38px; overflow: hidden; background: #101219; }
/* layered phone screens: thread (bottom, S2/S3) · animation (S4) · Session Complete (S5) */
.saga__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.saga__live { position: absolute; inset: 0;
  opacity: calc(clamp(0, calc((var(--q, 0) - 0.9) / 0.08), 1) * clamp(0, calc(1 - (var(--r, 0) - 0.12) / 0.28), 1)); }
.saga__s5screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: clamp(0, calc((var(--r, 0) - 0.15) / 0.28), 1); }
.saga__live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* S4 copy — a real left-aligned column; the invisible headline is the layout ruler
   the traveling ring words land on (so the visible heading IS the words, spaced like the hero). */
.saga__s4 { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  opacity: clamp(0, calc(1 - var(--r, 0) / 0.3), 1); }
.saga__s4inner { max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; }
.saga__s4copy { width: min(500px, 46vw); }
/* invisible: it only reserves the headline's space + gives the words their target slots */
.saga__s4title { visibility: hidden; font-size: clamp(40px, 5.7vw, 66px); line-height: 1.0;
  margin: 0 0 26px; }
.saga__s4lead { font-size: 18.5px; line-height: 1.6; color: var(--ink-58); margin: 0 0 24px; text-wrap: pretty;
  opacity: clamp(0, calc((var(--q, 0) - 0.6) / 0.25), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--q, 0) - 0.6) / 0.25), 1)) * 12px)); }
.saga__stepper { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  opacity: clamp(0, calc((var(--q, 0) - 0.68) / 0.25), 1); }
.saga__stepper span { position: relative; padding-left: 16px; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: var(--ink-58); }
.saga__stepper span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* S5 — Sessions. Copy on the RIGHT (phone slides to the left), fades in on r */
.saga__s5 { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  opacity: clamp(0, calc((var(--r, 0) - 0.45) / 0.4), 1); }
.saga__s5inner { max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: flex-end; }
.saga__s5copy { width: min(460px, 44vw);
  transform: translateY(calc((1 - clamp(0, calc((var(--r, 0) - 0.45) / 0.4), 1)) * 16px)); }
.saga__s5title { font-size: clamp(40px, 5.7vw, 66px); line-height: 1.02; margin: 0 0 24px; }
.saga__s5lead { font-size: 18.5px; line-height: 1.6; color: var(--ink-58); margin: 0; text-wrap: pretty; }

@media (max-width: 760px) {
  /* mobile fallback: stack the three beats statically, no pinning */
  .saga { height: auto; }
  .saga__stage { position: static; height: auto; overflow: visible; }
  .saga__s2 { position: static; opacity: 1; transform: none; padding: 64px 20px 0; }
  /* the circular ring is a desktop scroll flourish — drop it on mobile so the story stacks cleanly */
  .saga__circle { display: none; }
  .saga__phone { position: relative; top: auto; left: auto; width: min(300px, 78vw);
    margin: 32px auto 8px; transform: translateX(-50%); left: 50%; }
  /* S4 + S5 become plain stacked blocks on mobile */
  .saga__s4, .saga__s5 { position: static; opacity: 1; }
  .saga__s4inner, .saga__s5inner { position: static; height: auto; display: block; padding: 24px 20px 0; }
  .saga__s4copy, .saga__s5copy { width: auto; transform: none; }
  .saga__s4title, .saga__s5title { visibility: visible; }
}

/* ============================================================ FACTS */
.band { max-width: var(--maxw); margin: 30px auto 0; padding: 0 24px; }
.band__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.fact { padding: 30px 28px 30px 0; border-right: 1px solid var(--hair-soft); display: flex; flex-direction: column; gap: 7px; }
.fact:last-child { border-right: 0; }
.fact__value { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.fact__label { font-size: 13px; color: var(--ink-42); }

/* ============================================================ TURN — chaos rises into order, then lifts into the next headline (pinned scroll) */
.turn { position: relative; height: 250vh; }
.turn__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* phone: rises from low -> centre (--p), then continues up and fades out (--q) */
/* phone rises to centre (--p), then STAYS put (reused for the demo) */
.turn__phone { position: absolute; top: 50%; left: 50%; z-index: 3;
  width: clamp(275px, 29vw, 325px);   /* dominant, hero-scale phone */
  transform: translate(-50%, calc(-50% + (1 - var(--p, 0)) * 50vh)); }
.turn__screens { border-radius: 38px; }   /* same device frame as the other sections */

/* the headline that lifts out of the circle and locks at the top -> becomes the next section's title */
.turn__lift { position: absolute; top: 13%; left: 50%; z-index: 5; width: 92%; max-width: 780px;
  margin: 0; text-align: center; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; color: var(--ink);
  pointer-events: none;
  transform: translate(-50%, calc((1 - var(--q, 0)) * 30vh));
  opacity: clamp(0, calc((var(--q, 0) - 0.28) / 0.6), 1); }
.turn__screens { position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 38px; overflow: hidden; background: var(--ink-bg); }
.turn__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* floating tasks — scattered ON TOP of the phone, fade + drift out as it resolves */
.turn__notes { position: absolute; inset: 0; z-index: 4;
  opacity: clamp(0, calc((0.34 - var(--p, 0)) / 0.34), 1); }
.tnote { position: absolute; left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 12px;
  padding: 10px 15px; font-size: 14px; white-space: nowrap; color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(16,18,25,.20);
  transform: translate(-50%, -50%)
             translate(calc(var(--dx,0px) * var(--p,0)), calc(var(--dy,0px) * var(--p,0)))
             rotate(var(--r,0deg)) scale(calc(1 + 0.08 * var(--p,0))); }
.tnote i { width: 18px; height: 24px; display: block; color: var(--c, var(--ink)); flex: none; }
.tnote i svg { width: 100%; height: 100%; }
.tnote b { font-weight: 500; }

/* circular words — rise up WITH the phone (--p), then lift away and fade (--q) */
.turn__words { position: absolute; top: 50%; left: 50%; z-index: 1;
  transform: translate(-50%, calc(-50% + (1 - var(--p, 0)) * 56vh - var(--q, 0) * 16vh));
  opacity: calc(clamp(0, calc((var(--p, 0) - 0.22) / 0.5), 1) * clamp(0, calc(1 - var(--q, 0) / 0.5), 1)); }

/* intro (kicker + headline + subtitle) fades and lifts away */
.turn__intro { position: absolute; top: 8%; left: 50%; z-index: 4; width: 92%; max-width: 660px;
  text-align: center; transform: translate(-50%, calc(-24px * var(--p,0)));
  opacity: clamp(0, calc((0.3 - var(--p, 0)) / 0.3), 1); }
.turn__head { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.0; margin: 0 0 16px; }
.turn__sub { font-size: 18.5px; line-height: 1.6; color: var(--ink-58); margin: 0 auto; max-width: 34em; text-wrap: pretty; }

@media (max-width: 760px) {
  .turn { height: auto; }
  .turn__stage { position: relative; height: auto; min-height: 74vh; overflow: visible; padding: 40px 20px; }
  .turn__intro, .turn__notes { display: none; }
  .turn__words { opacity: 1; transform: translate(-50%, -50%); }
  .turn__phone { transform: translate(-50%, -50%); }
}

/* ============================================================ PROBLEM — the scattered mind */
.problem { position: relative; overflow: hidden; padding: 150px 24px; text-align: center; }
.problem__inner { position: relative; z-index: 3; max-width: 600px; margin: 0 auto; }
.problem__inner::before { content: ""; position: absolute; inset: -30% -34%; z-index: -1;
  background: radial-gradient(closest-side, var(--paper) 52%, rgba(245,244,241,0) 82%); }
.problem__scatter { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pnote {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 10px;
  padding: 9px 13px; font-size: 13.5px; color: var(--ink-55); white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(16,18,25,.14);
  opacity: 0; transform: translateY(8px) rotate(var(--r,0deg));
  animation: pnotein .6s ease forwards; animation-play-state: paused;
}
.pnote::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-30); flex: none; }
.problem.is-in .pnote { animation-play-state: running; }
@keyframes pnotein { to { opacity: 1; transform: translateY(0) rotate(var(--r,0deg)); } }
@media (max-width: 680px) {
  .problem { padding: 96px 20px; }
  .problem__scatter { display: none; }
}

/* ============================================================ CIRCLE — words form the mass, phone overlaid in front */
.circle { padding: 116px 24px; overflow: hidden; position: relative; }
.circle__stage {
  position: relative;
  max-width: 940px; margin: 0 auto;
  display: grid; place-items: center;
  min-height: 660px;
}
.circle__words {
  width: min(980px, 96vw);
  letter-spacing: -.02em;
  line-height: 1.1;
  font-size: clamp(28px, 4.6vw, 56px);
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  z-index: 1; pointer-events: none;
}
/* two arcs: each line splits into a left + right word; per-line width traces a circle */
.circle__words .line { display: flex; justify-content: space-between; white-space: nowrap; margin: .24em 0; }
.circle__words .line--c { justify-content: center; }
.circle__words .w1 { width: auto; } .circle__words .w2 { width: 48%; }
.circle__words .w3 { width: 68%; } .circle__words .w4 { width: 86%; }
.circle__words .w5 { width: 86%; } .circle__words .w6 { width: 58%; }
.circle__words .w7 { width: 48%; } .circle__words .w8 { width: auto; }
.circle__words .fill { color: var(--ink); }
/* tagline words: dark text on a lime marker, exactly like the hero highlight */
.circle__words .tag { position: relative; color: var(--ink); }
.circle__words .tag::before {
  content: ""; position: absolute;
  left: -.08em; right: -.08em; bottom: .06em;
  height: .5em; background: var(--lime);
  border-radius: 3px; z-index: -1;
}
/* the middle line: two words hug the phone, gap ≈ phone width so it sits between them */
.cw-mid { display: flex; width: 100%; justify-content: center; gap: clamp(206px, 23vw, 250px); }
.circle .device {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(188px, 21vw, 224px);
}
.circle .device--float { animation: floatc 8s ease-in-out infinite; }
@keyframes floatc {
  0%,100% { transform: translate(-50%, -50%); }
  50%     { transform: translate(-50%, calc(-50% - 10px)); }
}
.circle__cta { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.badge--light { color: var(--ink-58); border-color: var(--hair); }
.badge--light svg { color: var(--ink); }

/* ============================================================ HOW */
.how .section__head { text-align: left; max-width: none; margin-bottom: 40px; }
.steps {
  max-width: var(--maxw); margin: 0 auto; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
}
.step { padding: 32px 22px 8px 0; border-right: 1px solid var(--hair-soft); position: relative; }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--ink); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--lime-ink); }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 16px 0 9px; }
.step p { font-size: 14px; color: var(--ink-58); margin: 0; line-height: 1.55; }

/* ============================================================ FEATURE ROWS */
/* scroll-in reveal for standard sections */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-f { opacity: 0; transition: opacity .7s ease; }   /* fade only — for elements that own their transform */
.reveal-f.is-in { opacity: 1; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-f { opacity: 1; transform: none; transition: none; } }

/* Adaptive scheduling — centred phone framed by calm 'rule' pills */
.adapt { padding: 120px 24px; text-align: center; }
.adapt__head { max-width: 760px; margin: 0 auto 44px; }
.adapt .section__title { font-size: clamp(40px, 5.7vw, 66px); line-height: 1.02; }  /* match S2/S4/S5 */
.adapt__stage { position: relative; max-width: 900px; margin: 0 auto; min-height: 600px;
  display: flex; justify-content: center; align-items: center; }
.adapt__phone .device { width: min(280px, 72vw); }
.rule { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 999px;
  padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(16,18,25,.20); }
.rule::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }

/* the "it re-plans" callout card, overlapping the phone's right edge */
.conflict { position: absolute; left: 57%; top: 30%; width: min(340px, 46vw); z-index: 3;
  text-align: left; background: #14161d; color: #e9e9ed;
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px 18px 16px;
  box-shadow: 0 34px 70px -26px rgba(16,18,25,.6); }
.conflict__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lime); }
.conflict__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.conflict__title { font-size: 16px; line-height: 1.35; font-weight: 600; margin: 0 0 14px; color: #f3f3f5; }
.conflict__opt { display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--lime); border-radius: 10px; padding: 11px 12px; background: rgba(214,245,60,.07); }
.conflict__opt b { display: block; font-size: 13.5px; font-weight: 600; color: #f3f3f5; }
.conflict__opt span { display: block; font-size: 12px; line-height: 1.4; color: #9aa0ad; margin-top: 3px; }
.conflict__dot { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 1px;
  border: 2px solid var(--lime); background: radial-gradient(circle, var(--lime) 0 3.5px, transparent 4.5px); }
.conflict__apply { display: inline-block; margin-top: 13px; padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #11130f; background: var(--lime); }

@media (max-width: 760px) {
  .adapt__stage { min-height: 0; flex-direction: column; }
  .adapt__phone { margin-bottom: 22px; }
  .rule { position: static; transform: none; margin: 5px; }
  .conflict { position: static; width: 100%; max-width: 360px; margin: 18px auto 0; }
}

.feature { padding: 104px 24px; }
.feature__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature__grid--reverse { direction: rtl; }
.feature__grid--reverse > * { direction: ltr; }
.feature__media { position: relative; display: flex; justify-content: center; }
.feature__media .device { width: min(272px, 70vw); }
.feature__copy h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; margin: 0 0 20px; }
.feature__copy p { font-size: 17px; color: var(--ink-58); margin: 0 0 28px; line-height: 1.62; text-wrap: pretty; }
.feature__copy em { font-style: italic; font-family: var(--serif); font-size: 1.06em; color: var(--ink); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-72); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 13px; height: 8px; border-left: 2px solid var(--lime-ink); border-bottom: 2px solid var(--lime-ink);
  transform: rotate(-45deg);
}

.feature--dark {
  background: var(--ink-bg); color: var(--onink);
  border-radius: 34px;
  max-width: calc(var(--maxw) + 44px);
  margin: 0 auto; padding: 104px 46px;
}
.feature--dark .feature__copy h2 { color: var(--onink); }
.feature--dark .feature__copy p { color: var(--onink-60); }
.feature--dark .feature__copy em { color: var(--onink); }
.ticks--onDark li { color: var(--onink-60); }
.ticks--onDark li::before { border-color: var(--lime); }

/* ============================================================ MODES */
.modes__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mode {
  border: 1px solid var(--hair); border-radius: 16px; background: var(--paper-2);
  padding: 26px 24px 28px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.mode::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--m, var(--ink-30)); }
.mode:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(16,18,25,.28); }
.mode__icon { display: block; width: 32px; height: 42px; color: var(--m, var(--ink)); margin-bottom: 20px; }
.mode__icon svg { width: 100%; height: 100%; }
.mode h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 7px; }
.mode p { font-size: 13.5px; color: var(--ink-42); margin: 0; line-height: 1.5; }
.mode--brand { background: var(--ink-bg); border-color: transparent; }
.mode--brand::before { background: var(--lime); }
.mode--brand h3 { color: var(--onink); }
.mode--brand p { color: var(--onink-60); }
.mode__icon--brand { color: var(--lime); }

/* ============================================================ PRIVACY */
/* Privacy — full-bleed dark band; a deliberate, premium pause */
.privacy-band { background: var(--ink-bg); color: var(--onink); text-align: center;
  padding-top: 154px; padding-bottom: 154px; position: relative; overflow: hidden; }
.privacy-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 12%, rgba(214,245,60,.07), transparent 60%); }
.privacy-band::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(214,245,60,.11); filter: blur(120px); bottom: -220px; left: 50%; transform: translateX(-50%);
  pointer-events: none; }
.privacy-band__inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 1; }
.privacy-band__mark { display: inline-block; margin: 0 0 30px; color: var(--lime);
  filter: drop-shadow(0 0 18px rgba(214,245,60,.45)); }
.privacy-band__mark svg { display: block; width: 44px; height: 57px; }
.privacy-band__title { font-size: clamp(42px, 6vw, 72px); line-height: 1.0; letter-spacing: -.01em;
  margin: 0 0 22px; color: var(--onink); }
.privacy-band__title mark { color: var(--lime); background: transparent; }
.privacy-band__title mark::before { display: none; }   /* lime text on dark, not a highlighter bar */
.privacy-band__lead { font-size: 18.5px; line-height: 1.6; color: var(--onink-60);
  margin: 0 auto 40px; max-width: 38em; text-wrap: pretty; }
/* proof points: one refined divided capsule */
.privacy-band__proof { list-style: none; margin: 0; padding: 6px;
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  border: 1px solid var(--hair-dark); border-radius: 999px; background: rgba(255,255,255,.02); }
.privacy-band__proof li { position: relative; padding: 9px 20px 9px 32px;
  font-size: 13.5px; font-weight: 500; color: var(--onink); }
.privacy-band__proof li::before { content: ""; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 8px rgba(214,245,60,.7); }
.privacy-band__proof li + li { border-left: 1px solid var(--hair-dark); }
@media (max-width: 560px) {
  .privacy-band__proof { border: 0; padding: 0; gap: 10px; }
  .privacy-band__proof li { border-left: 0; padding: 8px 14px 8px 26px; }
}

.privacy {
  background: var(--ink-bg); color: var(--onink); border-radius: 34px;
  max-width: calc(var(--maxw) + 44px); margin: 0 auto; position: relative; overflow: hidden;
}
.privacy::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(214,245,60,.10); filter: blur(90px); bottom: -140px; right: -60px; pointer-events: none;
}
.privacy__inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.privacy__title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; margin: 0 0 24px; color: var(--onink); }
.privacy__title mark { color: var(--ink); }
.privacy__lead { font-size: 17.5px; color: var(--onink-60); margin: 0 auto 52px; max-width: 44em; text-wrap: pretty; }
.privacy__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.pcard { border: 1px solid var(--hair-dark); border-radius: 14px; padding: 24px; }
.pcard h3 { font-size: 16px; font-weight: 600; margin: 0 0 9px; color: var(--onink); }
.pcard p { font-size: 14px; color: var(--onink-60); margin: 0; line-height: 1.55; }

/* ============================================================ PRICING */
.plans { max-width: 840px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.plan { border: 1px solid var(--hair); border-radius: 20px; background: var(--paper-2); padding: 32px 30px; position: relative; }
.plan--pro { border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(16,18,25,.4); }
.plan__flag {
  position: absolute; top: -13px; left: 30px;
  background: var(--lime); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.plan__head { padding-bottom: 24px; border-bottom: 1px solid var(--hair); margin-bottom: 24px; }
.plan__head h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-58); margin: 0 0 14px; }
.plan__price { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.plan__price span { font-family: var(--serif); font-weight: 500; font-size: 46px; letter-spacing: -.02em; }
.plan__price small { font-size: 15px; color: var(--ink-42); font-weight: 500; }
.plan__note { font-size: 13.5px; color: var(--ink-42); margin: 0; }
.plan__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.plan__list li { position: relative; padding-left: 29px; font-size: 14.5px; color: var(--ink-72); }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 8px;
  border-left: 2px solid var(--ink-30); border-bottom: 2px solid var(--ink-30); transform: rotate(-45deg);
}
.plan__list--pro li::before { border-color: var(--lime-ink); }
/* keep the whole pricing section (incl. the download button) within one screen */
.pricing { padding-top: 84px; padding-bottom: 90px; }
.pricing .section__head { margin-bottom: 36px; }
.pricing .plan { padding: 26px 28px; }
.pricing .plan__head { padding-bottom: 18px; margin-bottom: 18px; }
.pricing .plan__list { gap: 11px; margin-bottom: 0; }
.pricing__cta { text-align: center; margin: 28px auto 0; }
.pricing__fineprint { max-width: 600px; margin: 18px auto 0; text-align: center; font-size: 12.5px; color: var(--ink-42); line-height: 1.6; }

/* ============================================================ FAQ */
.faq__list { max-width: 740px; margin: 0 auto; border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  list-style: none; cursor: pointer; padding: 24px 4px;
  font-size: 18px; font-weight: 500; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__mark { position: relative; width: 15px; height: 15px; flex: none; }
.qa__mark::before, .qa__mark::after { content: ""; position: absolute; background: var(--ink); transition: opacity .2s ease, transform .2s ease; }
.qa__mark::before { left: 0; top: 6.5px; width: 15px; height: 2px; }
.qa__mark::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.qa[open] .qa__mark::after { opacity: 0; transform: rotate(90deg); }
.qa p { margin: 0 4px 26px; font-size: 15.5px; color: var(--ink-58); line-height: 1.6; max-width: 62ch; }

/* ============================================================ CTA */
/* final CTA — full-bleed dark finale, the loudest note on the page */
.cta { background: var(--ink-bg); color: var(--onink); text-align: center;
  padding: 150px 24px 158px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 6%, rgba(214,245,60,.10), transparent 60%); }
.cta::after { content: ""; position: absolute; width: 580px; height: 580px; border-radius: 50%;
  background: rgba(214,245,60,.12); filter: blur(130px); bottom: -250px; left: 50%;
  transform: translateX(-50%); pointer-events: none; }
.cta__inner { max-width: 840px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta__mark { display: block; width: 40px; height: 52px; color: var(--lime); margin: 0 auto 26px; position: relative; z-index: 1;
  filter: drop-shadow(0 0 18px rgba(214,245,60,.4)); }
.cta__mark svg { display: block; width: 40px; height: 52px; }
.cta__title { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.0; letter-spacing: -.01em; margin: 0 0 20px; color: var(--onink); position: relative; z-index: 1; }
.cta__sub { font-size: 17px; color: var(--onink-60); margin: 0 auto 34px; max-width: 32em; position: relative; z-index: 1; }
.cta__title mark { color: var(--lime); background: transparent; }
.cta__title mark::before { display: none; }
.cta__note { margin: 16px 0 0; font-size: 13px; color: var(--onink-42); position: relative; z-index: 1; }
.signup { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.signup input {
  flex: 1; font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 11px;
  border: 1px solid var(--hair-dark); background: rgba(255,255,255,.05); color: var(--onink);
  outline: none; transition: border-color .2s ease, background .2s ease;
}
.signup input::placeholder { color: var(--onink-42); }
.signup input:focus { border-color: var(--lime); background: rgba(255,255,255,.08); }
.signup .btn--primary { background: var(--lime); color: var(--ink); }
.signup .btn--primary:hover { background: #e2ff5c; }
.signup__ok { margin: 16px 0 0; font-size: 14px; color: var(--lime); position: relative; z-index: 1; }
.cta__store { margin-top: 30px; position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500;
  color: var(--onink-60); padding: 10px 18px; border: 1px solid var(--hair-dark); border-radius: 999px;
}
.badge svg { color: var(--onink); }

/* ============================================================ FOOTER */
.footer.footer--min { padding: 13px 24px 15px; border-top: 1px solid var(--hair); }
.footer__row { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 14px; color: var(--ink-58); }
.footer__legal a:hover { color: var(--ink); }
.footer__copy { max-width: var(--maxw); margin: 7px auto 0; font-size: 12px; color: var(--ink-42); }

.footer { padding: 60px 24px 44px; border-top: 1px solid var(--hair); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 44px; }
.footer__brand p { font-size: 14px; color: var(--ink-42); margin: 16px 0 0; max-width: 24em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-42); margin: 0 0 16px; }
.footer__cols a { display: block; font-size: 14px; color: var(--ink-72); padding: 6px 0; }
.footer__cols a:hover { color: var(--ink); }
.footer__base {
  max-width: var(--maxw); margin: 48px auto 0; padding-top: 26px; border-top: 1px solid var(--hair-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-42);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .hero { position: relative; }
  .hero__grid { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .hero__copy { order: 1; position: relative; z-index: 2; }
  /* hand becomes a faint, blurred backdrop behind the copy */
  .hero__hand { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden;
    display: block; pointer-events: none; }
  .hero__hand img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: auto; max-width: none; height: 92%; margin: 0;
    opacity: 0.13; filter: blur(3px); }
  /* fade the edges into the page so the text stays crisp */
  .hero__hand::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 46%, transparent 30%, var(--paper) 82%); }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .band__inner { grid-template-columns: repeat(2, 1fr); }
  .fact { padding-right: 20px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--hair-soft); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-top: 1px solid var(--hair-soft); padding-right: 20px; }
  .step::before { display: none; }
  .how .section__head { text-align: center; }
  .feature__grid, .feature__grid--reverse { grid-template-columns: 1fr; gap: 44px; direction: ltr; text-align: center; }
  .feature__copy { order: 2; }
  .feature__media { order: 1; }
  .ticks { display: inline-grid; text-align: left; }
  .feature--dark { padding: 72px 26px; }
  .modes__grid { grid-template-columns: repeat(2, 1fr); }
  .privacy__cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 440px; }
  .circle__stage { min-height: 560px; }
  .circle__words { font-size: clamp(24px, 6.4vw, 44px); }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .section { padding: 88px 20px; }
  .band__inner { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--hair-soft); padding: 24px 0; }
  .fact:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .modes__grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup .btn { justify-content: center; }
  .footer__base { flex-direction: column; }
  .cta__inner { padding: 52px 24px; }
  .circle__words { font-size: clamp(21px, 7.4vw, 34px); }
  .circle__stage { min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .device--float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================ DEMO — in-phone animation */
.demo { padding-top: 30px; }   /* continues straight out of the pinned handoff */
.demo .section__head { margin-bottom: 48px; }
.demo__stage { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; }
.demo__rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.demo__rail li { position: relative; padding-left: 24px; opacity: .38; transition: opacity .35s ease; }
.demo__rail li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-30); background: transparent; transition: .35s ease; }
.demo__rail li.is-on { opacity: 1; }
.demo__rail li.is-on::before { background: var(--lime-ink); border-color: var(--lime-ink); box-shadow: 0 0 0 4px rgba(127,154,0,.12); }
.demo__rail b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.demo__rail span { font-size: 13px; color: var(--ink-55); }
.demo__device { justify-self: center; width: min(300px, 82vw); }

/* the phone cycles through the real designed screens */
.demo__screens { position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 38px; overflow: hidden; background: var(--ink-bg); }
.demo__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.015); transition: opacity .6s ease, transform .8s ease; }
.demo__screen.is-active { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .demo__stage { grid-template-columns: 1fr; gap: 28px; }
  .demo__rail { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .demo__rail li { padding-left: 20px; }
  .demo__rail span { display: none; }
  .demo__rail b { font-size: 14px; }
  .demo__device { order: -1; }
}

/* ============================================================ LEGAL PAGES */
.legalnav { border-bottom: 1px solid var(--hair); background: var(--paper); }
.legalnav__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legalnav .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.legalnav .brand svg { width: 17px; height: 23px; }
.legalnav__back { font-size: 14px; color: var(--ink-58); }
.legalnav__back:hover { color: var(--ink); }

.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 120px; }
.legal__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-42); margin: 0 0 12px; }
.legal__title { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0 0 10px; }
.legal__updated { font-size: 14px; color: var(--ink-42); margin: 0 0 8px; }
.legal__lede { font-size: 18px; line-height: 1.65; color: var(--ink-72); margin: 24px 0 8px; text-wrap: pretty; }
.legal__body h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 42px 0 12px; }
.legal__body p, .legal__body li { font-size: 16px; line-height: 1.7; color: var(--ink-72); }
.legal__body p { margin: 0 0 16px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin: 0 0 9px; }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__foot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--hair);
  font-size: 13.5px; color: var(--ink-42); display: flex; gap: 18px; flex-wrap: wrap; }
.legal__foot a { color: var(--ink-58); }
