/* ══════════════════════════════════════════════════════════════════════
   FX LAYER — 2026-11-19
   ----------------------------------------------------------------------
   Loaded after style.css + modes.css on / and /features/. Brief: "smoother
   transitions, morph animations, bubbles coming up (get it from the store),
   modern, juicy, punchy — and great on every phone".

   Same contract as the two motion layers before it: presentation only.
   With this file AND fx.js gone, the page is exactly what it was. Under
   prefers-reduced-motion every animation here is dropped (end of file).

   What lives here:
     · real spring easing (CSS linear(), sampled from a damped spring)
     · the nav: left glass rail + phone tab bar, or a glass top bar (data-nav)
     · a hero entrance: words rise in, the phone springs up, a morphing
       colour blob behind it, and app notifications popping off the phone
     · the store dock — a bubble that rises from the bottom once the hero
       CTA has scrolled away, and steps aside for the download section
     · word-by-word section headings, springier reveals
     · the mode modal grows OUT of the tile you tapped (clip-path morph)
     · a circular theme-switch wipe (View Transitions)
     · rising bubbles behind the download panel, a lit Pro border
     · a phone-first pass: fluid type, stacked CTAs, 2-up mode tiles,
       safe-area insets, no horizontal scroll down to 320px
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* stiffness 180, damping 14 — a visible overshoot, ~1s to settle */
  --spring: linear(0, 0.06, 0.191, 0.36, 0.539, 0.709, 0.864, 0.979, 1.061, 1.113, 1.139, 1.144, 1.132, 1.112, 1.087, 1.062, 1.038, 1.017, 1, 0.989, 0.983, 0.98, 0.979, 0.981, 0.984, 0.988, 0.992, 0.995, 0.998, 1, 1.002, 1.003, 1.003, 1.003, 1.003, 1.002, 1.002, 1.001, 1.001, 1, 1);
  --spring-d: 1000ms;
  /* stiffness 260, damping 26 — a whisper of overshoot, ~580ms */
  --spring-soft: linear(0, 0.048, 0.154, 0.274, 0.41, 0.528, 0.642, 0.731, 0.811, 0.869, 0.917, 0.949, 0.975, 0.991, 1.002, 1.008, 1.011, 1.012, 1.012, 1.011, 1.009, 1.008, 1.006, 1.005, 1.004, 1.003, 1.002, 1.001, 1.001, 1, 1);
  --spring-soft-d: 580ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── 1. Nav → floating island ─────────────────────────────────────────── */
.nav {
  transition: background 380ms var(--ease-out), border-color 380ms var(--ease-out),
              box-shadow 380ms var(--ease-out);
}
.nav__inner {
  transition: max-width var(--spring-soft-d) var(--spring-soft),
              height var(--spring-soft-d) var(--spring-soft),
              margin var(--spring-soft-d) var(--spring-soft),
              padding var(--spring-soft-d) var(--spring-soft),
              border-radius var(--spring-soft-d) var(--spring-soft),
              background 380ms ease, box-shadow 380ms ease, border-color 380ms ease;
  border: 1px solid transparent;
  border-radius: 0;
}
.nav.is-island,
.nav.is-island.is-stuck {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;            /* only the pill itself takes clicks */
}
/* The pill's glass lives on a pseudo-element: a backdrop-filter on
   .nav__inner itself would become the containing block for the fixed
   mobile menu inside it, and pin that menu to the pill. */
.nav__inner { position: relative; }
.nav__inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--card-border) 80%, transparent);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(20, 18, 26, .32);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.nav.is-island .nav__inner::before { opacity: 1; }
.nav.is-island .nav__inner {
  pointer-events: auto;
  max-width: 960px;
  height: 60px;
  margin-top: 10px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
}
.nav.is-island .nav__progress { opacity: 0; }
.nav__progress { transition: opacity 300ms ease; }
.nav__logo img { transition: transform 500ms var(--spring); }
@media (hover: hover) { .nav__logo:hover img { transform: rotate(-10deg) scale(1.08); } }

/* Nav links: a pill that slides under the hovered link */
@media (min-width: 881px) {
  .nav__links a:not(.btn) {
    position: relative;
    padding: 7px 12px;
    border-radius: 999px;
    transition: color 200ms ease;
  }
  .nav__links { gap: 6px; }
  .nav__links li:has(> .btn) { margin-left: 8px; }
  .nav__pill {
    position: absolute;
    left: 0; top: 0;
    height: var(--ph, 34px);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 13%, transparent);
    transform: translate(var(--px, 0), var(--py, 0));
    width: var(--pw, 0);
    opacity: 0;
    pointer-events: none;
    transition: transform 420ms var(--spring-soft), width 420ms var(--spring-soft),
                height 420ms var(--spring-soft), opacity 200ms ease;
    z-index: -1;
  }
  .nav__links { position: relative; isolation: isolate; }
  .nav__links.has-pill .nav__pill { opacity: 1; }
}
.nav__pill { display: none; }
@media (min-width: 881px) { .nav__pill { display: block; } }

/* Icons ride along on every link but the bar shows labels only; the rail
   and the phone menu show both. Extras exist only in the rail. */
.nav__ico { display: none; }
.nav__extra { display: none; }
.nav__links a .nav__lbl, .theme-btn .nav__lbl { display: contents; }
.theme-btn .nav__lbl { display: none; }

/* ── 1b. The vertical rail (wide screens, fx.js) ─────────────────────── */
@media (min-width: 900px) {
  .nav.is-rail { min-height: 72px; }
  .nav.is-rail .nav__progress { opacity: 0; }
  .nav.is-rail .nav__inner {
    position: fixed;
    left: 18px;
    top: 50%;
    translate: 0 -50%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    width: 64px;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 10px 0;
    border-radius: 32px;
    overflow: hidden;
    transition: width 520ms var(--spring-soft), box-shadow 300ms ease;
  }
  .nav.is-rail .nav__inner:hover,
  .nav.is-rail .nav__inner:focus-within { width: 212px; }
  .nav.is-rail .nav__inner:hover::before,
  .nav.is-rail .nav__inner:focus-within::before {
    box-shadow: 0 24px 50px -20px rgba(20, 18, 26, .45);
  }

  /* Rows: a 64px icon column, the label sliding out beside it */
  .nav.is-rail .nav__logo,
  .nav.is-rail .nav__links a,
  .nav.is-rail .theme-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 44px;
    margin: 0 8px;
    padding: 0 0 0 10px;
    border-radius: 22px;
    white-space: nowrap;
    width: auto;
  }
  .nav.is-rail .nav__logo { padding-left: 4px; gap: 12px; height: 48px; }
  .nav.is-rail .nav__logo img { flex: none; width: 40px; height: 40px; border-radius: 12px; }
  .nav.is-rail .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--card-border) 80%, transparent);
    margin: 0 10px;
  }
  .nav.is-rail .nav__links > li { display: block; margin: 0 -10px; }
  .nav.is-rail .nav__extra { display: block; }
  .nav.is-rail .nav__ico { display: inline-block; flex: none; width: 24px; font-size: 22px; text-align: center; }
  .nav.is-rail .nav__links a .nav__lbl,
  .nav.is-rail .theme-btn .nav__lbl,
  .nav.is-rail .nav__logo .nav__lbl {
    display: block;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 200ms ease, transform 420ms var(--spring-soft);
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: .98rem;
    color: var(--ink);
  }
  .nav.is-rail .nav__inner:hover .nav__lbl,
  .nav.is-rail .nav__inner:focus-within .nav__lbl {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--li, 0) * 22ms + 60ms);
  }
  .nav.is-rail .nav__logo .nav__lbl { font-weight: 900; font-size: 1.15rem; }
  .nav.is-rail .nav__links a:not(.btn) { color: var(--muted); padding-right: 0; }
  .nav.is-rail .nav__ico { transition: transform 500ms var(--spring); }

  /* Theme toggle as a row */
  .nav.is-rail .theme-btn {
    width: calc(100% - 16px);
    border: 0;
    background: transparent;
    color: var(--muted);
    justify-content: flex-start;
  }
  .nav.is-rail .theme-btn:hover { background: transparent; }
  .nav.is-rail .theme-btn .sym { width: 24px; font-size: 22px; text-align: center; flex: none; }

  /* Get the app: a green circle that grows into a pill */
  .nav.is-rail .nav__links li:has(> .btn) { margin: 6px -10px 2px; }
  .nav.is-rail .nav__links a.btn {
    justify-content: flex-start;
    padding: 0 0 0 10px;
    border-radius: 22px;
    box-shadow: 0 3px 0 var(--accent-depth);
  }
  .nav.is-rail .nav__links a.btn .nav__ico,
  .nav.is-rail .nav__links a.btn .nav__lbl { color: var(--on-accent); }
  .nav.is-rail .nav__links a.btn:active { box-shadow: none; }

  /* The hover pill slides vertically and spans the row */
  .nav.is-rail .nav__pill {
    left: 8px;
    right: 8px;
    width: auto;
    transform: translateY(var(--py, 0));
    border-radius: 22px;
  }
  .nav.is-rail .nav__links.has-pill .nav__pill { opacity: 1; }

  body.fx-rail .back-to-top { opacity: 0 !important; pointer-events: none !important; }
}
/* Phone menu: show the icons next to the labels */
@media (max-width: 880px) {
  .nav__links a .nav__ico { display: inline-block; font-size: 22px; color: var(--accent); vertical-align: -5px; margin-right: 12px; width: 24px; }
  .nav__links a.btn .nav__ico { color: inherit; }
}

/* ── 2. Hero entrance ─────────────────────────────────────────────────── */
/* Runs once on load, CSS-only, so nothing waits on fx.js to become visible.
   Every keyframe ends on the element's normal state ("both"). */
@keyframes fx-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fx-word {
  0%   { opacity: 0; transform: translateY(.55em) rotate(4deg) scale(.92); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes fx-phone {
  from { opacity: 0; transform: translateY(80px) rotate(4deg) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes fx-pop {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: none; }
}

.hero__free  { animation: fx-rise 700ms var(--ease-out) 60ms both; }
.hero h1 .wd {
  display: inline-block;
  animation: fx-word 900ms var(--spring) both;
  animation-delay: calc(140ms + var(--w, 0) * 90ms);
}
.hero__sub     { animation: fx-rise 800ms var(--ease-out) 520ms both; }
.hero__actions { animation: fx-rise 800ms var(--ease-out) 640ms both; }
.hero__trust   { animation: fx-rise 800ms var(--ease-out) 760ms both; }
.hero__stage   { animation: fx-phone 1100ms var(--spring) 300ms both; }
.hero__stage .fw { animation-name: float-card, fx-pop; animation-duration: 7s, 700ms; animation-timing-function: ease-in-out, var(--spring); animation-iteration-count: infinite, 1; animation-fill-mode: none, both; }
.fw--1 { animation-delay: -.6s, 900ms !important; }
.fw--2 { animation-delay: -3.4s, 1100ms !important; animation-duration: 8.4s, 700ms !important; }
.fw--3 { animation-delay: -1.9s, 1300ms !important; animation-duration: 6.4s, 700ms !important; }

/* The h1 was a background-clip:text sheen. Clip-text does not survive
   transformed inline-block children, so the words carry plain ink and the
   accent moves onto "them." instead. */
.hero h1.fx-words {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--ink);
  animation: none;
}
.hero h1 .swash {
  background: linear-gradient(100deg, var(--accent) 0%, #12B6A0 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fx-ink 6s ease-in-out 1.6s infinite;
}
@keyframes fx-ink { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero h1 .swash svg { -webkit-text-fill-color: initial; }
.hero h1 .swash path { animation-delay: 1.05s; }

/* Morphing blob behind the phone: border-radius keyframes + a slow spin,
   painted with the app's progress gradient. */
.hero__blob {
  position: absolute;
  z-index: 0;
  width: min(440px, 92%);
  aspect-ratio: 1;
  pointer-events: none;
  background: conic-gradient(from 200deg,
    color-mix(in srgb, #58CC02 55%, transparent),
    color-mix(in srgb, #12CDB0 55%, transparent),
    color-mix(in srgb, #12B6F3 55%, transparent),
    color-mix(in srgb, #A560E8 45%, transparent),
    color-mix(in srgb, #58CC02 55%, transparent));
  /* Softened by a radial mask instead of filter: blur(42px) — a big blur
     re-rasterised every frame of the morph was the costliest thing on the
     page. Now it is one raster, and the spin runs on the compositor. */
  border-radius: 50%;
  -webkit-mask: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, .55) 52%, transparent 100%);
  mask: radial-gradient(closest-side, #000 18%, rgba(0, 0, 0, .55) 52%, transparent 100%);
  opacity: .55;
  will-change: transform;
  animation: fx-spin 30s linear infinite;
}
:root[data-theme="dark"] .hero__blob { opacity: .38; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__blob { opacity: .38; } }
@keyframes fx-morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33%      { border-radius: 63% 37% 38% 62% / 55% 61% 39% 45%; }
  66%      { border-radius: 36% 64% 52% 48% / 62% 36% 64% 38%; }
}
@keyframes fx-spin { to { rotate: 360deg; } }

/* App notifications popping off the phone */
.pops {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 12%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pop {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  white-space: nowrap;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--pc, var(--accent)) 45%, transparent), 0 18px 34px -16px rgba(20, 18, 26, .5);
  translate: -50% 0;
  animation: fx-bubble 2400ms both;
}
.pop__i {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--pc, var(--accent));
}
.pop__i .sym { font-size: 18px; }
.pop b { font-family: 'Nunito', system-ui, sans-serif; font-weight: 900; font-size: .9rem; color: var(--ink); letter-spacing: -.01em; }
.pop > span:last-child { font-size: .78rem; font-weight: 700; color: var(--muted); }
@keyframes fx-bubble {
  0%   { opacity: 0; transform: translateY(30px) scale(.5); animation-timing-function: var(--spring); }
  22%  { opacity: 1; transform: translateY(0) scale(1); animation-timing-function: ease-in-out; }
  78%  { opacity: 1; transform: translateY(-6px) scale(1); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
  100% { opacity: 0; transform: translateY(-28px) scale(.94); }
}

/* Scroll-away: fx.js writes --hx (0 → 1) as the hero leaves */
.hero__stage { --hx: 0; }
.hero__stage > .phone,
.hero__stage > .hero__blob { will-change: transform; }
.hero__inner > div:first-child { transform: translateY(calc(var(--hy, 0) * -40px)); opacity: calc(1 - var(--hy, 0) * .6); }

/* ── 3. Buttons: squish, ripple, burst ────────────────────────────────── */
.btn { transition: transform 420ms var(--spring-soft), box-shadow 160ms ease-out, filter 200ms ease; }
.btn:hover { filter: brightness(1.04) saturate(1.06); transform: translateY(-2px); }
.btn:active { transform: translateY(4px) scale(.97); transition-duration: 90ms; }
.btn--go:hover { box-shadow: 0 6px 0 var(--accent-depth), 0 16px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--go:active { box-shadow: none; }
.fx-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: currentColor;
  opacity: .25;
  transform: translate(-50%, -50%) scale(0);
  animation: fx-ripple 620ms var(--ease-out) forwards;
}
@keyframes fx-ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.fx-spark {
  position: fixed;
  z-index: 200;
  width: 10px; height: 10px;
  border-radius: 3px;
  pointer-events: none;
}

/* ── 4. Section headings: word by word ────────────────────────────────── */
h2[data-reveal].fx-words { opacity: 1; transform: none; }
/* Words are hidden only once script.js has tagged something to reveal them,
   so with no observer the heading simply stays put. No blur: a blurred
   word is a full-size filter layer per word, and it read as smudge on
   phones. The last word starts within 360ms whatever the heading length. */
/* Timings and travel are tokens (--rv-*, defaults = the desktop values);
   §63 retunes them for touch and tablet widths only. */
h2.fx-words .wd {
  display: inline-block;
  transition: opacity var(--rv-wo, 460ms) ease, transform var(--rv-wt, 820ms) var(--spring);
  transition-delay: calc(var(--rd, 0ms) + min(var(--w, 0) * var(--rv-ws, 45ms), var(--rv-wmax, 360ms)));
}
h2[data-reveal].fx-words .wd,
[data-reveal] h2.fx-words .wd {
  opacity: 0;
  transform: translateY(var(--rv-wy, .6em)) rotate(3deg);
}
/* Scrolling up, the words drop in from above instead */
h2[data-reveal].from-top.fx-words:not(.in) .wd,
[data-reveal].from-top:not(.in) h2.fx-words .wd { transform: translateY(calc(var(--rv-wy, .6em) * -1)) rotate(-3deg); }
h2[data-reveal].fx-words.in .wd,
[data-reveal].in h2.fx-words .wd { opacity: 1; transform: none; }

/* Reveals: rise + a whisper of scale on the soft spring. Transform and
   opacity only — no filter, so a fling through the page stays on the GPU. */
[data-reveal] {
  transform: translateY(var(--rv-y, 24px)) scale(var(--rv-s, .985));
  transition: opacity var(--rv-o, 450ms) cubic-bezier(.16, 1, .3, 1), transform var(--rv-t, 750ms) var(--spring-soft);
  transition-delay: var(--rd, 0ms);
}
/* Entering from the top edge (scrolling up): it comes down into place */
[data-reveal].from-top:not(.in) { transform: translateY(calc(var(--rv-yt, 28px) * -1)) scale(var(--rv-s, .985)); }
/* Cards and tiles pop rather than slide */
.modes > [data-reveal], .features__grid > [data-reveal], .pricing__grid > [data-reveal] {
  transform: translateY(var(--rv-cy, 34px)) scale(var(--rv-cs, .9));
  transition: opacity var(--rv-o, 450ms) cubic-bezier(.16, 1, .3, 1),
              transform var(--rv-ct, var(--spring-d)) var(--spring),
              box-shadow 200ms ease, background 200ms ease;
  transition-delay: var(--rd, 0ms);
}
.modes > [data-reveal].from-top:not(.in), .features__grid > [data-reveal].from-top:not(.in),
.pricing__grid > [data-reveal].from-top:not(.in) { transform: translateY(calc(var(--rv-cy, 34px) * -1)) scale(var(--rv-cst, .94)); }
.modes > [data-reveal].in, .features__grid > [data-reveal].in, .pricing__grid > [data-reveal].in { transform: none; }
/* Once in, hover must answer instantly, not after the stagger delay */
.modes > [data-reveal].fx-settled, .features__grid > [data-reveal].fx-settled,
.pricing__grid > [data-reveal].fx-settled, .srs__steps > [data-reveal].fx-settled,
.faq__list > [data-reveal].fx-settled { transition-delay: 0ms; }

/* ── 5. Mode tiles: springier, with a wiggling icon ───────────────────── */
.modes .tile.fx-settled { transition: transform 460ms var(--spring), box-shadow 200ms ease; }
@media (hover: hover) { .modes .tile:hover { transform: translateY(-6px) rotate(-.6deg); } }
@media (hover: hover) { .modes .tile:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); } }
.modes .tile .tile-ico { transition: transform 600ms var(--spring); }
@media (hover: hover) { .modes .tile:hover .tile-ico { transform: scale(1.14) rotate(-10deg); } }
.modes .tile:active { transform: translateY(2px) scale(.97); transition-duration: 90ms; }

/* Feature cards tilt toward the pointer (fx.js, fine pointers only) */
.fcard.fx-tilt { transition: transform 160ms ease-out, box-shadow 200ms ease; transform-style: preserve-3d; }

/* ── 6. Modal grows out of the tile ───────────────────────────────────── */
.mx__panel.fx-morph-from {
  transition: none !important;
  opacity: 1 !important;
}
.mx__panel.fx-morph {
  opacity: 1 !important;
  transform: none !important;
  transition: clip-path 640ms var(--spring-soft), opacity 200ms ease !important;
}
.mx__panel.fx-morph > * { animation: fx-rise 520ms var(--ease-out) 140ms both; }
/* Folding back into the tile (fx.js drives clip-path + opacity): hold the
   panel still so the clip lands exactly on the tile. */
.mx__panel.fx-closing { transform: none !important; transition: none !important; }

/* ── 7. Theme wipe ────────────────────────────────────────────────────── */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ── 8. Stats pop as they land ────────────────────────────────────────── */
.stat__n.fx-landed { animation: fx-land 700ms var(--spring); }
@keyframes fx-land { 0% { transform: scale(1); } 30% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ── 9. Pro plan: a lit, travelling border ────────────────────────────── */
@property --fx-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.plan--pro { position: relative; isolation: isolate; }
.plan--pro::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--fx-ang), var(--accent), #12CDB0, #12B6F3, var(--accent) 40%, transparent 55%, transparent 85%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: fx-ang 4.5s linear infinite;
  pointer-events: none;
}
@keyframes fx-ang { to { --fx-ang: 360deg; } }
.plan__badge { animation: fx-badge 2.8s ease-in-out infinite; }
@keyframes fx-badge { 0%, 80%, 100% { transform: none; } 86% { transform: scale(1.15) rotate(-4deg); } 92% { transform: scale(1.05) rotate(3deg); } }

/* ── 10. Download panel: bubbles rising inside the lit panel ─────────── */
.cta .wrap > *:not(.cta-bubbles) { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.cta-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.cta-bubbles i {
  position: absolute;
  bottom: -70px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9) 0 11%, transparent 12%),
              radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 18%, transparent), color-mix(in srgb, var(--c) 42%, transparent));
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent);
  opacity: 0;
  animation: fx-rise-bubble var(--d) ease-in var(--dl) infinite;
}
@keyframes fx-rise-bubble {
  0%   { opacity: 0; transform: translate(0, 0) scale(.6); }
  12%  { opacity: .85; }
  50%  { transform: translate(var(--sw), -280px) scale(1); }
  80%  { opacity: .6; }
  100% { opacity: 0; transform: translate(calc(var(--sw) * -1), -600px) scale(1.1); }
}
.cta__logo {
  display: block;
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 24px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 20px 40px -14px rgba(30, 60, 160, .55);
  animation: fx-hop 3.2s var(--ease-out) infinite;
}
@keyframes fx-hop {
  0%, 60%, 100% { transform: none; }
  68% { transform: translateY(-14px) rotate(-6deg) scale(1.04); }
  76% { transform: translateY(0) scale(1.06, .94); }
  84% { transform: translateY(-4px) rotate(2deg); }
  92% { transform: none; }
}
.store-badge { position: relative; border-radius: 12px; }
.store-badge img { height: 64px; }
.store-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: fx-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fx-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 60%, 100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); } }
.store-badge { display: inline-block; transition: transform 500ms var(--spring); }
.store-badge:hover { transform: translateY(-4px) scale(1.05) rotate(-1deg); }
.store-badge:active { transform: scale(.95); transition-duration: 90ms; }

/* ── 11. The store dock ───────────────────────────────────────────────── */
.dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 20px);
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid color-mix(in srgb, var(--card-border) 90%, transparent);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--card-border) 80%, transparent),
              0 24px 50px -18px rgba(20, 18, 26, .55);
  transform: translate(-50%, 160%) scale(.7);
  opacity: 0;
  pointer-events: none;
  transition: transform 700ms var(--spring), opacity 260ms ease;
}
.dock[hidden] { display: none; }
.dock.is-up { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; }
.dock.is-up:hover { transform: translate(-50%, -3px) scale(1.02); }
.dock__logo { flex: none; width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.dock.is-up .dock__logo { animation: fx-wobble 3.6s ease-in-out 1s infinite; }
@keyframes fx-wobble { 0%, 84%, 100% { transform: none; } 88% { transform: rotate(-12deg) scale(1.08); } 93% { transform: rotate(8deg); } 97% { transform: rotate(-3deg); } }
.dock__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.dock__txt b { font-family: 'Nunito', system-ui, sans-serif; font-weight: 900; font-size: 1rem; letter-spacing: -.02em; color: var(--ink); }
.dock__sub { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); }
.dock__sub .sym { font-size: 15px; color: var(--accent); }
.dock__btn { flex: none; padding: 11px 20px; border-radius: 999px; }
/* A 40px hit area around the same 30px-looking glyph button */
.dock__x {
  flex: none;
  width: 40px; height: 40px;
  margin: 0 -4px 0 -8px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: background 200ms ease, transform 400ms var(--spring);
}
@media (hover: hover) { .dock__x:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); transform: rotate(90deg); } }
.dock__x .sym { font-size: 18px; }
.back-to-top { transition: opacity 300ms ease, transform 500ms var(--spring); }
body.fx-dock-up .back-to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body.mx-open .dock { transform: translate(-50%, 160%) scale(.7); opacity: 0; pointer-events: none; }
/* Wide screens: the nav always carries the store button — no dock. */
@media (min-width: 900px) {
  .dock { display: none !important; }
  body.fx-dock-up .back-to-top { bottom: 24px; }
}

/* ══ PHONE-FIRST PASS ═══════════════════════════════════════════════════ */
@media (max-width: 880px) {
  /* Mobile menu: a floating card under the island, links spring in */
  html[data-nav="top"] .nav__links {
    inset: 80px 10px auto !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 24px;
    background: color-mix(in srgb, var(--card) 96%, transparent) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -24px rgba(20, 18, 26, .55);
    padding: 10px 14px 16px !important;
    transform: translateY(-14px) scale(.96) !important;
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    transition: transform 520ms var(--spring-soft), opacity 220ms ease, visibility 0s 520ms !important;
  }
  html[data-nav="top"] .nav__links.open {
    transform: none !important;
    opacity: 1;
    visibility: visible;
    transition: transform 520ms var(--spring-soft), opacity 220ms ease, visibility 0s !important;
  }
  html[data-nav="top"] .nav__links li { opacity: 0; transform: translateX(16px); transition: opacity 260ms ease, transform 520ms var(--spring-soft); }
  html[data-nav="top"] .nav__links.open li { opacity: 1; transform: none; transition-delay: calc(var(--li, 0) * 40ms + 60ms); }
  html[data-nav="top"] .nav__links a:not(.btn) { display: block; font-size: 1.05rem; color: var(--ink); padding: 13px 4px !important; }
  html[data-nav="top"] .nav__links li:last-child a { width: 100%; margin-top: 10px; padding: 13px; font-size: 1rem; }
  html[data-nav="top"] .nav__links li:has(.theme-btn) { padding: 8px 0 0; }
  .nav__toggle { border-radius: 50%; transition: background 200ms ease, transform 400ms var(--spring); }
  .nav__toggle:active { transform: scale(.9); }
  .nav__toggle[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); }
  .nav.is-island .nav__inner { max-width: calc(100% - 20px); padding: 0 8px 0 14px; }

  .hero__stage .fw { display: none; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav__inner { height: 64px; }
  .nav.is-island .nav__inner { height: 56px; margin-top: 8px; }
  .nav__logo { font-size: 1.2rem; }
  .nav__logo img { width: 32px; height: 32px; }

  .hero { padding: 30px 0 30px; }
  .hero__inner { gap: 26px !important; }
  .hero__free { font-size: 1.05rem; margin-bottom: 10px; }
  .hero__free .sym { font-size: 24px; }
  .hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.3rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 14px; }
  .hero__sub { font-size: 1.02rem; margin-bottom: 22px; }
  .hero__actions { flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .hero__actions .btn { width: 100%; padding: 16px 20px; font-size: 1.05rem; }
  .hero__inner > * { min-width: 0; }
  .hero__trust { flex-wrap: wrap; gap: 6px; }
  .hero__trust span { font-size: .72rem; padding: 6px 9px 6px 6px !important; gap: 5px !important; white-space: nowrap; }
  .hero__trust span .sym { font-size: 15px; }
  .hero__stage { padding: 6px 0 18px; }
  /* One lane, on the phone's top edge: a notification arriving */
  .pops { bottom: auto; top: 56px; }
  .pop { padding: 7px 14px 7px 7px; gap: 8px; }
  .pop__i { width: 26px; height: 26px; }
  .pop b { font-size: .82rem; }
  .pop > span:last-child { font-size: .72rem; }

  .proof { padding-top: 26px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); line-height: 1.08; }
  .lede { font-size: .98rem; margin-bottom: 26px; }

  /* 2-up mode tiles: icon over label, so all eight fit in one thumb-scroll */
  .modes { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .modes .tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .modes .tile-d { font-size: .74rem; }
  .tile-go { display: none; }
  /* An odd count (nine on /features/) would leave one tile alone: span it */
  .modes > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .story__card, .story__opts { padding: 18px; }
  .story__text { font-size: .98rem; line-height: 1.8; }
  .opt { gap: 8px; }

  .fcard { padding: 20px; }
  .srs__step { padding: 12px 14px; gap: 10px; }
  .plan { padding: 24px 22px; }
  .faq__q { padding: 15px 16px; font-size: .95rem; }

  .feedback__submit { width: 100%; }
  .footer__columns { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

  /* The dock goes edge-to-edge-ish and replaces back-to-top */
  .dock { width: calc(100vw - 20px); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 7px; gap: 10px; }
  .dock__txt { flex: 1; }
  .dock__logo { width: 42px; height: 42px; }
  .dock__btn { padding: 11px 18px; }
  body.fx-dock-up .back-to-top { opacity: 0; pointer-events: none; }
}

@media (max-width: 370px) {
  .wrap { padding: 0 14px; }
  .hero__trust span { font-size: .66rem; padding: 5px 7px 5px 5px !important; }
  .hero__trust span .sym { display: none; }
  .modes .tile-d { display: none; }
  .dock__x { display: none; }
  .stat__l { font-size: .74rem; }
}

/* Touch: hover lifts stick after a tap on mobile — keep them to real pointers */
@media (hover: none) {
  .btn:hover, .modes .tile:hover, .modes .tile:nth-child(even):hover,
  .store-badge:hover, .dock.is-up:hover { transform: none; filter: none; }
  .modes .tile.in:hover, .fcard.in:hover { transform: none; }
  .modes .tile:hover .tile-ico { transform: none; }
}

/* ══ Reduced motion: drop it all ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero__blob, .plan--pro::before, .plan__badge, .dock__logo, .cta__logo,
  .store-badge::after { animation: none !important; }
  .cta-bubbles { display: none; }
}

/* ── 12. Store-style Play button (hero) ───────────────────────────────── */
/* The black Google Play badge, rebuilt as a chunky button: the coloured
   Play triangle, the two-line wordmark and a green Android, on the same
   solid offset shadow as every other button on the page. */
.btn.btn--play {
  gap: 13px;
  padding: 11px 20px 11px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2A2A2A, #0B0B0B);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 5px 0 #000, 0 14px 26px -14px rgba(0, 0, 0, .6);
  text-align: left;
}
.btn.btn--play:hover {
  box-shadow: 0 7px 0 #000, 0 20px 34px -14px rgba(61, 220, 132, .55);
}
.btn.btn--play:active { box-shadow: 0 0 0 #000; }
.btn--play__logo { flex: none; width: 30px; height: 30px; transition: transform 600ms var(--spring); }
.btn--play__t { display: flex; flex-direction: column; line-height: 1.05; }
.btn--play__t small { font-family: 'Inter', system-ui, sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.btn--play__t b { font-family: 'Nunito', system-ui, sans-serif; font-size: 1.32rem; font-weight: 900; letter-spacing: -.02em; }
.btn--play__droid {
  flex: none;
  width: 34px; height: 34px;
  margin-left: 6px;
  padding-left: 12px;
  box-sizing: content-box;
  border-left: 1px solid rgba(255, 255, 255, .16);
  transform-origin: 70% 90%;
  transition: transform 600ms var(--spring);
}
@media (hover: hover) { .btn--play:hover .btn--play__logo { transform: scale(1.12) rotate(-8deg); } }
@media (hover: hover) { .btn--play:hover .btn--play__droid { transform: rotate(-10deg) translateY(-2px); } }
.hero .btn--play .btn--play__droid { animation: fx-droid 4s ease-in-out 2.2s infinite; }
@keyframes fx-droid {
  0%, 82%, 100% { transform: none; }
  86% { transform: rotate(-14deg) translateY(-3px); }
  91% { transform: rotate(9deg); }
  95% { transform: rotate(-4deg); }
}
:root[data-theme="dark"] .btn.btn--play { border-color: rgba(255, 255, 255, .22); }
@media (max-width: 600px) {
  .hero__actions .btn.btn--play { justify-content: center; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero .btn--play .btn--play__droid { animation: none; } }

/* ── 13. Rail, juiced: coloured icons, a water-drop highlight, and the
   black Play-style button with the green Android ─────────────────────── */
.nav__droid { fill: currentColor; }
@media (min-width: 881px) {
  .nav__links a, .theme-btn { position: relative; }
}
@media (min-width: 900px) {
  /* Idle icons wear their own colour, a touch softened */
  .nav.is-rail .nav__links a:not(.btn) .nav__ico,
  .nav.is-rail .theme-btn .sym {
    color: color-mix(in srgb, var(--dc, var(--accent)) 82%, var(--ink));
    transition: transform 500ms var(--spring), color 220ms ease;
  }
  .nav.is-rail .nav__links a:not(.btn):hover .nav__ico { color: color-mix(in srgb, var(--dc, var(--accent)) 82%, var(--ink)); }

  /* The drop — saturated and chunky: a deep body, a solid darker edge
     underneath like the app's buttons, and one tight highlight up top so it
     reads as glossy without washing the colour out. It overhangs its row by
     a few px on every side so it feels thick, not like a flat tint. */
  .nav.is-rail .nav__pill {
    left: 4px;
    right: 4px;
    margin-top: -4px;
    height: calc(var(--ph, 44px) + 8px);
    background-color: var(--dc, var(--accent));
    background-image:
      radial-gradient(42% 30% at 24% 20%, rgba(255, 255, 255, .55) 0, rgba(255, 255, 255, 0) 100%),
      linear-gradient(180deg,
        color-mix(in srgb, var(--dc, var(--accent)) 88%, #fff) 0%,
        var(--dc, var(--accent)) 45%,
        color-mix(in srgb, var(--dc, var(--accent)) 72%, #000) 100%);
    box-shadow:
      inset 0 2px 0 rgba(255, 255, 255, .35),
      inset 0 -6px 10px color-mix(in srgb, var(--dc, var(--accent)) 50%, #000),
      0 5px 0 color-mix(in srgb, var(--dc, var(--accent)) 55%, #000),
      0 14px 24px -8px color-mix(in srgb, var(--dc, var(--accent)) 80%, transparent);
    border-radius: 26px;
    transition: transform 560ms var(--spring), background-color 260ms ease,
                box-shadow 260ms ease, opacity 180ms ease;
    transform-origin: 50% 50%;
  }
  /* A glint that runs across the drop each time it lands somewhere new */
  .nav.is-rail .nav__pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .4) 46%, transparent 60%);
    background-size: 250% 100%;
    background-position: 120% 0;
    opacity: .9;
  }
  .nav.is-rail .nav__links.has-pill .nav__pill::after { animation: fx-glint 900ms ease-out; }
  @keyframes fx-glint { from { background-position: 120% 0; } to { background-position: -40% 0; } }

  /* What sits on the drop turns white and lifts a little */
  .nav.is-rail .nav__links .is-drop .nav__ico,
  .nav.is-rail .nav__links .theme-btn.is-drop .sym,
  .nav.is-rail .nav__links a:not(.btn).is-drop:hover .nav__ico {
    color: #fff;
    transform: scale(1.2) rotate(-6deg);
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .3));
  }
  .nav.is-rail .nav__links .is-drop .nav__lbl {
    color: #fff !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .22);
  }
  /* Active section: a soft tint in its own colour, not the accent */
  .nav.is-rail .nav__links a.active:not(.is-drop) {
    background: color-mix(in srgb, var(--dc, var(--accent)) 14%, transparent);
  }
  .nav.is-rail .nav__links a.active:not(.is-drop) .nav__lbl { color: color-mix(in srgb, var(--dc, var(--accent)) 70%, var(--ink)); }

  /* Get the app: black, glossy, green Android — the hero button in miniature */
  .nav.is-rail .nav__links a.btn {
    background: linear-gradient(180deg, #2A2A2A, #0B0B0B);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 3px 0 #000, 0 10px 18px -10px rgba(61, 220, 132, .6);
  }
  .nav.is-rail .nav__links a.btn .nav__lbl { color: #fff; }
  .nav.is-rail .nav__links a.btn .nav__droid {
    fill: #3DDC84;
    width: 24px; height: 24px;
    transition: transform 600ms var(--spring);
    animation: fx-droid 4s ease-in-out 1.5s infinite;
    transform-origin: 60% 90%;
  }
  .nav.is-rail .nav__links a.btn:hover {
    box-shadow: 0 4px 0 #000, 0 14px 24px -10px rgba(61, 220, 132, .75);
  }
  .nav.is-rail .nav__links a.btn:hover .nav__droid { animation: none; transform: rotate(-12deg) scale(1.15); }
  .nav.is-rail .nav__links a.btn:active { box-shadow: 0 0 0 #000; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.is-rail .nav__links a.btn .nav__droid, .nav.is-rail .nav__pill::after { animation: none !important; }
}

/* ── 14. Phone pass, round two ────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Trust claims: three equal tiles in one row instead of a 2 + 1 wrap */
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero__trust span {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    white-space: normal !important;
    line-height: 1.2;
    padding: 10px 6px !important;
    border-radius: 16px !important;
    font-size: .72rem !important;
    gap: 6px !important;
  }
  .hero__trust span .sym { display: grid !important; }

  /* Stats: tighter band */
  .proof__grid { row-gap: 18px; }
  .stat__n { font-size: 2.3rem; }
  .stat__l { font-size: .8rem; }

  /* Feature cards: compact rows — icon left, words right */
  .features__grid { gap: 10px; }
  .fcard {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px !important;
  }
  .fcard__ico { grid-row: span 2; width: 46px; height: 46px; margin: 0 !important; }
  .fcard h3 { font-size: 1rem; margin: 1px 0 3px; }
  .fcard p { font-size: .86rem; line-height: 1.5; }

  /* SRS: the day pill never wraps */
  .srs__day { white-space: nowrap; flex: none; min-width: 74px; text-align: center; }
  .srs__step p { font-size: .86rem; }

  /* Download panel: inset from the screen edge like every other card */
  .cta { padding-left: 0; padding-right: 0; }
  .cta .wrap { margin: 0 12px; padding: 36px 20px 40px; }
  .cta__logo { width: 72px; height: 72px; border-radius: 20px; }
  .store-badge img { height: 56px; }

  /* Footer: brand row, then three link columns side by side */
  .footer__columns { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer__col a { font-size: .84rem; }
  .footer__col a[href^="mailto"] { word-break: break-all; }
}
@media (max-width: 370px) {
  .hero__trust span { font-size: .64rem !important; }
  .footer__columns { grid-template-columns: 1fr 1fr; }
}

/* ── 15. Hero mock: the app's current Holo app-bar icons ──────────────── */
.pa__ib .holo { width: 24px; height: 24px; overflow: visible; }
.pa__ib--lead .holo { width: 28px; height: 28px; }
.holo path.s { fill: none; stroke: url(#holo); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.holo path.f { fill: url(#holo); fill-opacity: .2; }

/* ── 14. Nav layouts — html[data-nav="rail" | "top"] (fx.js) ────────────
   One layout per screen size, chosen up front; nothing changes shape on
   scroll. The old top-bar → rail morph is gone because it read as strange.

   rail: ≥900px a glass rail on the left from the first frame;
         <900px  a bottom tab bar (a side rail would eat a fifth of a phone).
   top:  a floating glass bar with coloured icons at every width; on phones
         its menu is a grid of colour tiles, like the app's mode grid.     */

.nav:not(.is-tabs) .nav__theme-top { display: none !important; }

/* Rail: no top band at all. Content steps right only as far as it has to
   to clear the 82px rail — nothing on screens wide enough to have room. */
.nav.is-rail { position: static; height: 0; min-height: 0; border: 0; }
.nav.is-rail .nav__inner { z-index: 30; }
.nav.is-rail .nav__progress { display: none; }
body.fx-rail { padding-left: clamp(0px, 1290px - 100vw, 96px); }
body.fx-rail .back-to-top, body.fx-tabs .back-to-top { display: none; }
@media (min-width: 900px) and (max-height: 640px) {
  .nav.is-rail .nav__extra { display: none; }
}

/* Tabs: the logo + theme button scroll away with the page; the links live
   in a glass bar pinned to the bottom edge, in the thumb's reach. */
.nav.is-tabs {
  position: relative;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;   /* or it becomes the fixed bar's containing block */
}
.nav.is-tabs .nav__progress,
.nav.is-tabs .nav__toggle { display: none !important; }
.nav.is-tabs .nav__theme-top { display: grid; margin-left: auto; }
.nav.is-tabs .nav__links {
  position: fixed !important;
  z-index: 35;
  inset: auto 10px calc(10px + env(safe-area-inset-bottom, 0px)) 10px !important;
  max-width: 520px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 2px !important;
  height: 66px;
  padding: 6px !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--card-border) 90%, transparent) !important;
  background: color-mix(in srgb, var(--card) 86%, transparent) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--card-border) 80%, transparent),
              0 24px 50px -18px rgba(20, 18, 26, .5);
}
.nav.is-tabs .nav__links > li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
.nav.is-tabs .nav__links > li.nav__no-tab,
.nav.is-tabs .nav__links > li.nav__extra,
.nav.is-tabs .nav__pill { display: none !important; }
.nav.is-tabs .nav__links a {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: auto !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 18px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: .74rem !important;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--muted) !important;
  transition: background 220ms ease, transform 400ms var(--spring);
}
.nav.is-tabs .nav__links a:active { transform: scale(.9); }
.nav.is-tabs .nav__links a .nav__ico {
  display: block;
  margin: 0 !important;
  width: auto;
  font-size: 25px;
  line-height: 1;
  vertical-align: 0;
  color: var(--dc, var(--accent)) !important;
}
.nav__short { display: none; }
.nav.is-tabs .nav__links a[data-short] .nav__lbl { display: none; }
.nav.is-tabs .nav__links a .nav__short { display: block; }
.nav.is-tabs .nav__links a.active {
  background: color-mix(in srgb, var(--dc, var(--accent)) 16%, transparent);
  color: var(--ink) !important;
}
/* Get app: the one solid tile, with the dock's wobble so it still calls. */
.nav.is-tabs .nav__links a.btn {
  background: var(--accent);
  color: var(--on-accent) !important;
  box-shadow: 0 3px 0 var(--accent-depth);
}
.nav.is-tabs .nav__links a.btn .nav__ico { color: var(--on-accent) !important; width: 25px; height: 25px; }
.nav.is-tabs .nav__links a.btn .nav__droid { animation: fx-wobble 3.6s ease-in-out 2s infinite; }
/* The tab bar's green tile does the dock's job on phones, so the dock
   would just be a second bubble over the content. */
body.fx-tabs .dock { display: none; }
body.fx-tabs { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

/* Top: a floating glass bar from the first frame, icons in their colours */
html[data-nav="top"] .nav__pill {
  background: color-mix(in srgb, var(--dc, var(--accent)) 15%, transparent);
}
@media (min-width: 1100px) {
  html[data-nav="top"] .nav.is-island .nav__inner { max-width: 1080px; }
  html[data-nav="top"] .nav__links a:not(.btn) .nav__ico {
    display: inline-block;
    width: 20px;
    margin-right: 6px;
    font-size: 20px;
    vertical-align: -5px;
    color: var(--dc, var(--accent));
    transition: transform 500ms var(--spring);
  }
  html[data-nav="top"] .nav__links a:not(.btn):hover .nav__ico { transform: scale(1.2) rotate(-8deg); }
  html[data-nav="top"] .nav__links a.btn .nav__ico {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin-right: 7px;
    vertical-align: -4px;
  }
}

/* Top, phones: the menu is a grid of colour tiles */
@media (max-width: 880px) {
  html[data-nav="top"] .nav__links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    padding: 12px !important;
  }
  html[data-nav="top"] .nav__links > li { margin: 0 !important; padding: 0 !important; }
  html[data-nav="top"] .nav__links a:not(.btn) {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 18px;
    background: color-mix(in srgb, var(--dc, var(--accent)) 14%, var(--card));
    box-shadow: 0 3px 0 color-mix(in srgb, var(--dc, var(--accent)) 32%, transparent);
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    transition: transform 400ms var(--spring);
  }
  html[data-nav="top"] .nav__links a:not(.btn):active { transform: scale(.95); }
  html[data-nav="top"] .nav__links a:not(.btn) .nav__ico {
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    border-radius: 12px;
    background: var(--dc, var(--accent));
    color: #fff !important;
    font-size: 22px;
    box-shadow: 0 3px 0 color-mix(in srgb, var(--dc, var(--accent)) 60%, #000);
  }
  html[data-nav="top"] .nav__links li:has(> .theme-btn) { display: flex; }
  html[data-nav="top"] .nav__links .theme-btn {
    width: 100%;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 0;
    border-radius: 18px;
    background: color-mix(in srgb, var(--cat-indigo) 14%, var(--card));
    box-shadow: 0 3px 0 color-mix(in srgb, var(--cat-indigo) 32%, transparent);
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1rem;
  }
  html[data-nav="top"] .nav__links .theme-btn .nav__lbl { display: block; }
  html[data-nav="top"] .nav__links .theme-btn .sym-light,
  html[data-nav="top"] .nav__links .theme-btn .sym-dark {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background: var(--cat-indigo);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 3px 0 color-mix(in srgb, var(--cat-indigo) 60%, #000);
  }
  html[data-nav="top"] .nav__links li:has(> .btn) { grid-column: 1 / -1; }
  html[data-nav="top"] .nav__links a.btn {
    width: 100%;
    margin: 4px 0 0 !important;
    padding: 14px !important;
    justify-content: center;
    font-size: 1.05rem;
  }
  html[data-nav="top"] .nav__links a.btn .nav__ico { display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; }
}

/* Until fx.js has picked the layout, keep the default bar from flashing.
   If the script never runs, the bar still appears after 0.5s. */
.nav:not(.is-island):not(.is-tabs) { animation: fx-nav-wait 500ms step-end both; }
@keyframes fx-nav-wait { from { visibility: hidden; } to { visibility: visible; } }

/* ── 15. Phones: swipe decks + a calmer type scale ─────────────────────
   Brief: "very clean — the smaller the text and the more visual on a
   phone screen, the better", and no long stacks of cards. Under 600px the
   study modes, feature cards and plans become horizontal swipe decks
   (fx.js adds .fx-deck); mode cards flip to explain themselves. Above
   600px none of this applies and the wrappers fx.js adds are invisible. */

.tile-f { display: contents; }
.tile-b, .tile-wm, .tile-flip, .fx-dots { display: none; }

/* Each mode card knows its own colour */
.c-green  { --tc: var(--cat-green);  --td: var(--cat-green-depth); }
.c-blue   { --tc: var(--cat-blue);   --td: var(--cat-blue-depth); }
.c-purple { --tc: var(--cat-purple); --td: var(--cat-purple-depth); }
.c-teal   { --tc: var(--cat-teal);   --td: var(--cat-teal-depth); }
.c-orange { --tc: var(--cat-orange); --td: var(--cat-orange-depth); }
.c-pink   { --tc: var(--cat-pink);   --td: var(--cat-pink-depth); }
.c-indigo { --tc: var(--cat-indigo); --td: var(--cat-indigo-depth); }
.c-lime   { --tc: var(--cat-lime);   --td: var(--cat-lime-depth); }
.c-amber  { --tc: var(--cat-amber);  --td: var(--cat-amber-depth); }

@media (max-width: 600px) {
  /* ── Type + spacing: everything a step smaller and closer ── */
  .hero { padding: 20px 0 22px; }
  .hero__free { font-size: .86rem; margin-bottom: 8px; }
  .hero__free .sym { font-size: 19px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); margin-bottom: 10px; }
  .hero__sub { font-size: .98rem; line-height: 1.55; margin-bottom: 18px; }
  .hero__actions { gap: 9px; margin-bottom: 14px; }
  .hero__actions .btn { padding: 12px 16px; font-size: .92rem; }
  .hero__actions .btn.btn--play { padding: 8px 16px; }
  .hero__trust { display: flex; flex-wrap: wrap; gap: 6px; }
  .hero__trust span {
    flex-direction: row;
    padding: 4px 10px 4px 5px !important;
    border-radius: 999px !important;
    font-size: .74rem !important;
    white-space: nowrap !important;
    gap: 5px !important;
  }
  .hero__trust span .sym { width: 20px; height: 20px; font-size: 13px; }

  /* Type floor (2026-11-21): nothing a visitor reads is under 14px. */
  .section { padding: 48px 0; }
  .eyebrow { font-size: .7rem; margin-bottom: 12px; }
  .section h2 { font-size: clamp(1.65rem, 7.6vw, 2rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 10px; }
  .lede { font-size: .98rem; line-height: 1.6; margin-bottom: 22px; }
  .note { font-size: .82rem; margin-top: 10px; }
  .try { display: none; }

  .proof { padding-top: 18px; }
  .stat__n { font-size: 1.85rem; }
  .stat__l { font-size: .78rem; }

  .story__opts, .story__card { padding: 14px; }
  .story__text { font-size: .94rem; line-height: 1.75; }
  .opt__label { font-size: .76rem; }
  .chip { font-size: .76rem; }

  .srs__step { padding: 10px 12px; }
  .srs__step p { font-size: .88rem; line-height: 1.5; }
  .srs__day { font-size: .74rem; min-width: 62px; }

  .faq__q { font-size: .95rem; padding: 14px 16px; }
  .faq__a, .faq details p { font-size: .9rem; }

  .footer__col a { font-size: .9rem; }

  /* ── Decks ── */
  .fx-deck {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Full-bleed, and padded so the first and last card can sit dead
       centre too: (screen - card) / 2 on each side. */
    --cw: 64vw;
    /* Full-bleed from any wrap padding (14px on 360px phones, 18px up):
       exactly the viewport, so a 360px phone never gets 4px of side-scroll. */
    margin-block: 0;
    margin-inline: calc(50% - 50vw);
    padding: 4px calc((100vw - var(--cw)) / 2) 12px;
    scroll-padding: 0;
    max-width: none;
  }
  .fx-deck::-webkit-scrollbar { display: none; }
  /* Centre snap, one card per swipe: a flick can't skate past three. */
  /* .fx-deck.fx-deck: outranks the scroll-reveal's [data-reveal].in, which
     otherwise resets opacity. Size uses the separate `scale` property so it
     never fights the reveal's or the hover's `transform`. */
  .fx-deck.fx-deck > * {
    flex: none;
    width: var(--cw) !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* fx.js writes --k: 0 on the centred card → 1 a full card away */
    scale: calc(1 - var(--k, 0) * .1);
    opacity: calc(1 - var(--k, 0) * .4);
    transition: scale 90ms linear, opacity 90ms linear;
    will-change: scale;
  }
  .fx-deck--modes { --cw: 60vw; }
  .features__grid.fx-deck { --cw: 70vw; }
  .pricing__grid.fx-deck { --cw: 80vw; }
  .fx-dots { display: flex; justify-content: center; gap: 6px; margin: 6px 0 2px; }
  .fx-dots i {
    width: 6px; height: 6px; border-radius: 3px;
    background: color-mix(in srgb, var(--ink) 18%, transparent);
    transition: width 360ms var(--spring-soft), background 200ms ease;
  }
  .fx-dots i.on { width: 18px; background: var(--accent); }

  /* Mode cards: front = the mode's colour, back = what it does */
  .fx-deck--modes .tile {
    position: relative;
    display: block !important;
    height: 210px;
    padding: 0 !important;
    border: 0;
    background: none !important;
    box-shadow: none !important;
    perspective: 900px;
    text-align: left;
  }
  .fx-deck--modes .tile:hover { transform: none; }
  .fx-deck--modes .tile-f,
  .fx-deck--modes .tile-b {
    position: absolute;
    inset: 0 0 4px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 22px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 700ms var(--spring);
  }
  .fx-deck--modes .tile-f {
    justify-content: flex-end;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 60%),
      linear-gradient(165deg, var(--tc), color-mix(in srgb, var(--tc) 72%, #000));
    box-shadow: 0 4px 0 var(--td);
    color: #fff;
  }
  .fx-deck--modes .tile-ico {
    position: absolute;
    top: 14px; left: 14px;
    width: 36px; height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .24) !important;
    box-shadow: none;
  }
  .fx-deck--modes .tile-ico .sym { font-size: 20px; color: #fff; }
  .fx-deck--modes .tile-wm {
    display: block;
    position: absolute;
    right: -18px; bottom: 34px;
    font-size: 132px;
    line-height: 1;
    color: #fff;
    opacity: .16;
    transform: rotate(-12deg);
    pointer-events: none;
  }
  .fx-deck--modes .tile-l {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
  }
  .fx-deck--modes .tile-d { font-size: .72rem; color: rgba(255, 255, 255, .86); margin-top: 1px; }
  .fx-deck--modes .tile-flip {
    position: absolute;
    top: 14px; right: 14px;
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
  }
  .fx-deck--modes .tile-flip .sym { font-size: 15px; color: #fff; }
  .fx-deck--modes .tile-go { display: none; }

  .fx-deck--modes .tile-b {
    justify-content: space-between;
    gap: 8px;
    transform: rotateY(180deg);
    background: var(--card);
    border: 2px solid var(--tc);
    box-shadow: 0 4px 0 var(--td);
    color: var(--ink);
  }
  .fx-deck--modes .tile-bt {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    display: flex; align-items: center; gap: 7px;
  }
  .fx-deck--modes .tile-bt::before {
    content: '';
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--tc);
  }
  .fx-deck--modes .tile-bd { flex: 1; font-size: .76rem; line-height: 1.5; color: var(--muted); }
  .fx-deck--modes .tile-bp {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 3px;
    padding: 7px 12px 7px 8px;
    border-radius: 999px;
    background: var(--tc);
    box-shadow: 0 3px 0 var(--td);
    color: #fff;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: .76rem;
    font-weight: 800;
  }
  .fx-deck--modes .tile-bp .sym { font-size: 18px; }
  .fx-deck--modes .tile.is-flipped .tile-f { transform: rotateY(-180deg); }
  .fx-deck--modes .tile.is-flipped .tile-b { transform: rotateY(0deg); }
  .fx-deck--modes .tile:active .tile-f,
  .fx-deck--modes .tile:active .tile-b { scale: .97; }

  /* Feature cards: tinted by their own icon colour, icon on top */
  .features__grid.fx-deck .fcard {
    display: flex !important;
    flex-direction: column;
    padding: 16px !important;
    background: color-mix(in srgb, var(--fc, var(--accent)) 13%, var(--card));
    border-color: color-mix(in srgb, var(--fc, var(--accent)) 30%, var(--card-border));
    box-shadow: 0 4px 0 color-mix(in srgb, var(--fc, var(--accent)) 30%, var(--card-border));
  }
  .features__grid.fx-deck .fcard__ico { width: 40px; height: 40px; margin: 0 0 12px !important; }
  .features__grid.fx-deck .fcard h3 { font-size: .95rem; margin: 0 0 4px; }
  .features__grid.fx-deck .fcard p { font-size: .78rem; line-height: 1.5; }

  /* Plans side by side, swipe to Pro */
  .pricing__grid.fx-deck .plan { padding: 18px 18px 20px; }
  .pricing__grid.fx-deck .plan__amount { font-size: 2rem; }
  .pricing__grid.fx-deck .plan__feat li { font-size: .8rem; }
  .pricing__grid.fx-deck .plan .btn { padding: 11px 14px; font-size: .9rem; }

  .ticker__row { gap: 7px; padding-right: 7px; }
  .lang { font-size: .74rem; padding: 6px 13px; }

  .cta .wrap { padding: 28px 18px 26px; }
  .cta h2 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.05; text-wrap: balance; }
  .cta p { font-size: .86rem; }
}

/* ── 16. Top bar: room to breathe + a soft frosted fade behind it ──────
   The island floated only 8–10px under the screen edge, so it read as
   stuck to the top. It now sits lower, and a blurred band (strongest at
   the edge, gone by the bar's bottom + 28px) lets the page soften as it
   scrolls under, rather than cutting off hard against the glass. */
/* Padding on the nav, not margin on the bar: a child's top margin
   collapses out through .nav, so the sticky box stuck at 0 and the gap
   vanished the moment the page scrolled (which is why the old 10px never
   showed either). */
html[data-nav="top"] .nav.is-island { padding-top: 18px; }
html[data-nav="top"] .nav.is-island .nav__inner { margin-top: 0; }
html[data-nav="top"] .nav.is-island::before {
  content: '';
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--scaffold) 70%, transparent) 0%,
    color-mix(in srgb, var(--scaffold) 35%, transparent) 55%,
    transparent 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}
@media (max-width: 600px) {
  html[data-nav="top"] .nav.is-island { padding-top: 12px; }
  html[data-nav="top"] .nav.is-island::before { inset: 0 0 -18px; }
}
html[data-nav="top"] { scroll-padding-top: 104px; }

/* ── 17. Duotone icons + vivid two-hue colour (fx.js ICONS) ────────────
   The mode tiles and feature cards drew a single Material glyph on a flat
   fill, and the phone cards darkened that fill toward black — the "dull,
   meh" look. Now: hand-drawn 24px icons in white / half-white with
   cut-outs in the chip's own deep colour, on a two-hue gradient chip with
   a glossy top and a solid depth edge, like the app's buttons. */
.ic { display: block; width: 62%; height: 62%; overflow: visible; }
/* The watermark copy is for the phone cards only. Without this, .ic's
   display: block (same specificity, later) un-hides it on desktop and it
   squeezes every tile's text into a column. */
.tile .tile-wm { display: none; }
.ic .w   { fill: #fff; }
.ic .w2  { fill: #fff; opacity: .55; }
.ic .c   { fill: var(--g2); }
.ic .cs  { fill: none; stroke: var(--g2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic .ws  { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ic .ws2 { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }

.ic-chip {
  position: relative;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, var(--g1), var(--g2)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              inset 0 -2px 0 rgba(0, 0, 0, .1),
              0 3px 0 color-mix(in srgb, var(--g2) 62%, #000) !important;
}
.ic-chip::after {           /* glossy top half, like _glossy() */
  content: '';
  position: absolute;
  inset: 0 0 52% 0;
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.ic-chip .ic { position: relative; z-index: 1; filter: drop-shadow(0 1px .5px rgba(0, 0, 0, .14)); }

/* Desktop tiles: a clean tint of their own hue instead of the beige-ish soft */
.modes .tile.has-ic {
  background: color-mix(in srgb, var(--g1) 15%, var(--card));
  box-shadow: 0 3px 0 color-mix(in srgb, var(--g2) 38%, transparent);
}
@media (hover: hover) { .modes .tile.has-ic:hover { box-shadow: 0 6px 0 color-mix(in srgb, var(--g2) 45%, transparent); } }
.modes .tile.has-ic .tile-ico { transition: transform 500ms var(--spring); }
@media (hover: hover) { .modes .tile.has-ic:hover .tile-ico { transform: rotate(-8deg) scale(1.08); } }
.fcard.has-ic .fcard__ico { transition: transform 500ms var(--spring); }
@media (hover: hover) { .fcard.has-ic:hover .fcard__ico { transform: rotate(-8deg) scale(1.08); } }

@media (max-width: 600px) {
  /* Phone mode cards: the real two-hue gradient, lit from the top corner */
  .fx-deck--modes .tile.has-ic .tile-f {
    background:
      radial-gradient(130% 90% at 100% 0%, rgba(255, 255, 255, .32), transparent 58%),
      linear-gradient(155deg, var(--g1), var(--g2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4),
                0 4px 0 color-mix(in srgb, var(--g2) 62%, #000);
  }
  /* On the coloured card the chip turns to frosted white glass */
  .fx-deck--modes .tile.has-ic .tile-ico.ic-chip {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  .fx-deck--modes .tile.has-ic .tile-ico.ic-chip::after { display: none; }
  .fx-deck--modes svg.tile-wm {
    display: block;
    width: 150px; height: 150px;
    right: -26px; bottom: 30px;
    opacity: .2;
  }
  .fx-deck--modes .tile.has-ic .tile-b { border-color: var(--g2); box-shadow: 0 4px 0 color-mix(in srgb, var(--g2) 62%, #000); }
  .fx-deck--modes .tile.has-ic .tile-bt::before { background: linear-gradient(150deg, var(--g1), var(--g2)); }
  .fx-deck--modes .tile.has-ic .tile-bp {
    background: linear-gradient(150deg, var(--g1), var(--g2));
    box-shadow: 0 3px 0 color-mix(in srgb, var(--g2) 62%, #000);
  }
  .features__grid.fx-deck .fcard.has-ic {
    background: color-mix(in srgb, var(--g1) 15%, var(--card));
    border-color: color-mix(in srgb, var(--g2) 28%, var(--card-border));
    box-shadow: 0 4px 0 color-mix(in srgb, var(--g2) 32%, var(--card-border));
  }
  .features__grid.fx-deck .fcard__ico.ic-chip { width: 44px; height: 44px; }
}

/* ═══ §18 · Inline duotone chips ════════════════════════════════════════
   The text-sized icons (trust row, /features/ jump links, eyebrows, notes,
   tap hints, Story card head) as small glossy chips from the §17 set.
   fx.js swaps them in; buttons, toggles and the phone mocks keep Material. */
.ic-chip.ic-mini {
  display: inline-grid !important;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  vertical-align: -6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              0 2px 0 color-mix(in srgb, var(--g2) 62%, #000) !important;
}
.ic-chip.ic-mini .ic { width: 70%; height: 70%; }
.note > .ic-mini { margin-right: 8px; }
.toc a .ic-mini { width: 20px; height: 20px; border-radius: 6px; margin-left: -4px; }
.try .ic-mini { animation: tap 2.6s ease-in-out infinite; }
.story__why > .ic-mini { margin-top: 1px; }
.ic-chip.ic-mini--lg { width: 38px; height: 38px; border-radius: 12px; vertical-align: middle; }
.ic-chip.ic-mini--lg .ic { width: 60%; height: 60%; }

/* ═══ §19 · Download panel in the logo's blue ═══════════════════════════
   The panel takes the FLX icon's own gradient (sampled off flx-logo.png:
   #80A0D6 at the top → #2E3774 at the foot), so the page ends on the
   brand colour. The icon gets a white rim so it doesn't sink into a
   background of its own colour. Same in both themes: it is a lit panel. */
.cta .wrap {
  /* 2026-11-21: deeper base, and the white top wash is gone (over the old
     pale #86A4E2 top it read chalky-lavender). The top light is a cool
     blue now, plus a 1px inner hairline (::after) for the lit edge. */
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(140, 170, 255, .38), transparent 60%),
    radial-gradient(ellipse 55% 65% at 100% 110%, rgba(18, 205, 176, .26), transparent 70%),
    linear-gradient(165deg, #5671C9 0%, #3D4FA6 40%, #2C3683 72%, #1E2560 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 6px 0 #1A2050, 0 26px 50px -22px rgba(30, 40, 110, .6);
  color: #fff;
}
.cta .wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
:root[data-theme="dark"] .cta .wrap {
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(110, 140, 255, .30), transparent 60%),
    radial-gradient(ellipse 55% 65% at 100% 110%, rgba(18, 205, 176, .20), transparent 70%),
    linear-gradient(165deg, #2E3C8C, #1F2766 55%, #151A45);
  border-color: rgba(140, 160, 255, .22);
  box-shadow: 0 6px 0 #0E1235, 0 30px 70px -30px rgba(80, 110, 255, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta .wrap {
    background:
      radial-gradient(ellipse 70% 80% at 50% -20%, rgba(110, 140, 255, .30), transparent 60%),
      radial-gradient(ellipse 55% 65% at 100% 110%, rgba(18, 205, 176, .20), transparent 70%),
      linear-gradient(165deg, #2E3C8C, #1F2766 55%, #151A45);
    border-color: rgba(140, 160, 255, .22);
    box-shadow: 0 6px 0 #0E1235, 0 30px 70px -30px rgba(80, 110, 255, .45);
  }
}
.cta h2 { color: #fff; text-shadow: 0 2px 0 rgba(20, 26, 80, .35); }
.cta .wrap > p:not(.cta__note) { color: rgba(255, 255, 255, .86); }
.cta .wrap > p.cta__note { color: rgba(255, 255, 255, .80); }
.cta .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .32);
}
.cta .eyebrow::before { background: #8CF0C0; }
.cta__logo {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 6px 0 3px rgba(20, 26, 80, .35),
              0 22px 44px -12px rgba(10, 16, 60, .7);
}
.cta .store-badge::after { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
/* On blue the tinted bubbles went muddy: plain glass instead. */
.cta .cta-bubbles i {
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 11%, transparent 12%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .06), rgba(255, 255, 255, .22));
  border-color: rgba(255, 255, 255, .45);
}

/* §20 · Hero fit (fx.js zooms .hero__inner to the window): a tighter top
   pad so the zoom has less to take away. */
@media (min-width: 900px) {
  .hero.fx-fit { padding-top: clamp(20px, 4vh, 56px); padding-bottom: 40px; }
}

/* ═══ §21 · Modern-site effects (2026-11-20) ═══════════════════════════ */

/* Dark mode: the glows were tinting the whole page green/amber. Cooler and
   quieter now — the slate should read as slate. */
:root[data-theme="dark"] .hero__glow, :root[data-theme="dark"] .cta .wrap { --glow-k: 22%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__glow, :root:not([data-theme="light"]) .cta .wrap { --glow-k: 22%; }
}
.aura i:nth-child(3) { --ac: color-mix(in srgb, var(--cat-purple) calc(var(--ao) * 100%), transparent); }
:root[data-theme="dark"] .aura i { --ao: .14; }
:root[data-theme="dark"] .aura i:nth-child(1) { --ao: .09; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .aura i { --ao: .14; }
  :root:not([data-theme="light"]) .aura i:nth-child(1) { --ao: .09; }
}

/* ── Grain ── */
/* Static on touch screens (a full-screen layer repainting at 4fps costs a
   phone more than it gives); the shimmer only runs under a fine pointer,
   where the layer is oversized so its drift never shows an edge. */
.fx-grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035;
}
@media (hover: hover) and (pointer: fine) {
  .fx-grain { inset: -6%; will-change: transform; animation: fx-grain 1.2s steps(4) infinite; }
}
:root[data-theme="dark"] .fx-grain { opacity: .05; }
@keyframes fx-grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); }
}

/* ── Spotlight ── */
.fx-spot-host { isolation: isolate; }
.fx-spot-pos { position: relative; }
.fx-spot {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity 260ms ease;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%),
    color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
}
.fx-spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(180px circle at var(--sx, 50%) var(--sy, 50%),
    color-mix(in srgb, var(--accent) 75%, #fff 10%), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
:root[data-theme="dark"] .fx-spot { background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .07), transparent 70%); }
.fx-lit > .fx-spot { opacity: 1; }


/* ── Magnetic buttons (translate is separate from the squish transform) ── */
.fx-mag { translate: var(--mx, 0px) var(--my, 0px); transition: translate 380ms cubic-bezier(.2, 1.4, .4, 1), transform 420ms var(--spring-soft, ease), box-shadow 160ms ease-out, filter 200ms ease; }

/* ── Page-to-page transitions (same-origin navigations, Chromium) ── */
@view-transition { navigation: auto; }
.nav { view-transition-name: fx-nav; }
::view-transition-group(fx-nav) { animation: none; }
::view-transition-old(root) { animation: fx-vt-out 220ms cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: fx-vt-in 420ms cubic-bezier(.2, .9, .3, 1) both; }
@keyframes fx-vt-out { to { opacity: 0; transform: translateY(-10px) scale(.99); } }
@keyframes fx-vt-in { from { opacity: 0; transform: translateY(16px); } }
/* The theme wipe (§7) keeps its own clip-path reveal */
html.fx-wipe::view-transition-old(root),
html.fx-wipe::view-transition-new(root) { animation: none; mix-blend-mode: normal; filter: none; transform: none; opacity: 1; }

/* ── Scroll tour (pinned) ── */
.tour__step.tc-green { --tile-c: var(--cat-green); }
.tour__step.tc-blue { --tile-c: var(--cat-blue); }
.tour__step.tc-orange { --tile-c: var(--cat-orange); }
.tour__step.tc-pink { --tile-c: var(--cat-pink); }
.tour { padding-bottom: 0; }
.tour__head .lede { margin-bottom: 0; }
/* 4 steps, each owning one equal stretch of scroll (the last one too, so it
   holds on screen like the others before the stage lets go) */
.tour__track { position: relative; height: calc(100vh + 4 * 90vh); height: calc(100svh + 4 * 90svh); }
.tour__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding-top: 70px;
}
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; width: 100%; }

.tour__texts { display: grid; position: relative; padding-left: 28px; }
.tour__texts::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--track); }
.tour__texts::after {   /* the lit part of the rail, in the step's colour */
  content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 120px; margin-top: -60px; border-radius: 4px;
  background: var(--tc, var(--accent)); box-shadow: 0 0 18px var(--tc, var(--accent));
  transition: background 500ms ease, box-shadow 500ms ease;
}
.tour__step { grid-area: 1 / 1; align-self: center; pointer-events: none; }
.tour__step.is-on { pointer-events: auto; }
.tour__step > * {
  opacity: 0; transform: translateY(48px); filter: blur(6px);
  transition: opacity 320ms ease, filter 320ms ease, transform 320ms cubic-bezier(.5, 0, .75, 0);
  will-change: transform, opacity;
}
.tour__step.is-past > * { transform: translateY(-48px); }
/* entering: 120ms after the old one starts leaving, staggered, all done by ~720ms */
.tour__step.is-on > * { opacity: 1; transform: none; filter: none;
  transition: opacity 380ms ease, filter 380ms ease, transform 560ms cubic-bezier(.2, 1.25, .35, 1); }
.tour__step.is-on > :nth-child(1) { transition-delay: 100ms; }
.tour__step.is-on > :nth-child(2) { transition-delay: 140ms; }
.tour__step.is-on > :nth-child(3) { transition-delay: 180ms; }
.tour__n { display: block; font: 900 .9rem/1 'Nunito', system-ui, sans-serif; letter-spacing: .12em; color: var(--tile-c); margin-bottom: 14px; }
.tour__n i { font-style: normal; color: var(--muted); opacity: .7; }
.tour__step h3 { font: 900 clamp(1.8rem, 3.4vw, 2.7rem)/1.1 'Nunito', system-ui, sans-serif; margin-bottom: 14px; color: var(--ink); }
.tour__step p { color: var(--muted); font-size: 1.1rem; line-height: 1.55; max-width: 42ch; }
.tour__bar { position: absolute; left: 28px; right: 25%; bottom: -46px; height: 4px; border-radius: 4px; background: var(--track); overflow: hidden; }
.tour__bar i { display: block; height: 100%; background: var(--tc, var(--accent)); transform-origin: 0 50%; transform: scaleX(.25);
  transition: transform 700ms cubic-bezier(.2, 1.2, .4, 1), background 500ms ease; }

.tour__stick { display: grid; justify-items: center; gap: 16px; }
.tour__phone {
  zoom: var(--pz, 1);
  width: 320px; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2E3442, #0A0C11);
  box-shadow: 0 40px 80px -26px color-mix(in srgb, var(--tc, var(--accent)) 75%, transparent),
              0 18px 40px -18px rgba(10, 14, 24, .5);
  transition: box-shadow 700ms ease;
}
.tour__screen { position: relative; height: 596px; border-radius: 32px; overflow: hidden; background: var(--scaffold);
  /* overflow + radius alone let a transformed layer poke past the rounded
     corners mid-morph (it gets its own compositing layer); clip-path clips
     composited children too. The inset ring is a hairline glass edge. */
  clip-path: inset(0 round 32px); isolation: isolate; }
.tour__screen::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10, 14, 24, .06); }
:root[data-theme="dark"] .tour__screen::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tour__screen::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
}
.tour__layer { position: absolute; inset: 0; background: var(--scaffold); transform-origin: 50% 40%; }
.tour__layer > * { height: 100%; }
.tour__dots { display: flex; gap: 8px; }
.tour__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--track); cursor: pointer;
  transition: width 500ms cubic-bezier(.2, 1.4, .4, 1), background 400ms; }
.tour__dots i.on { width: 28px; background: var(--tc, var(--accent)); }

@media (max-width: 899px) {
  /* The step text sits at the bottom of the pinned stage: nothing floats over it */
  body.fx-tour-on .back-to-top { opacity: 0; pointer-events: none; transform: translateY(8px); }
  .tour__track { height: calc(100svh + 4 * 80svh); }
  .tour__pin { height: 100svh; align-items: flex-start; padding-top: 78px; }
  .tour__grid { grid-template-columns: 1fr; gap: 18px; }
  .tour__stick { grid-row: 1; }
  .tour__dots { display: none; }
  .tour__texts { padding-left: 18px; min-height: 9.5em; }
  .tour__texts::after { height: 70px; margin-top: -35px; }
  .tour__step h3 { font-size: 1.55rem; margin-bottom: 8px; }
  .tour__step p { font-size: .98rem; }
  .tour__n { margin-bottom: 8px; }
  .tour__bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-grain { animation: none; }
  .fx-mag { transition: none; translate: none; }
}

/* ═══ §23 · Premium pass (2026-11-21, batch 2) ═════════════════════════
   Static layout and type: hero rating, the Story link card under the mode
   tiles, pricing, the SRS timeline, a two-column FAQ, the final CTA and
   the footer bar. Motion here is limited to state-driven transitions that
   run the same in both scroll directions. */

/* ── Hero: rating line + a short third trust chip on narrow phones ── */
.hero__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: -16px 0 24px;
  font: 600 .85rem/1.3 'Inter', system-ui, sans-serif;
  color: var(--muted);
  animation: fx-rise 800ms var(--ease-out) 700ms both;
}
.hero__rating b { color: var(--ink); font-weight: 800; }
.hero__stars { display: inline-flex; gap: 1px; }
.hero__stars .sym { font-size: 14px; color: #F5B301; font-variation-settings: 'FILL' 1, 'wght' 600; }
.hero__trust em { font-style: normal; }
.hero__trust .t-short { display: none; }
@media (max-width: 600px) {
  .hero__rating { margin: -2px 0 12px; }
}
@media (max-width: 420px) {
  .hero__trust .t-long { display: none; }
  .hero__trust .t-short { display: inline; }
  /* Three chips, one row, down to 360px */
  .hero__trust { gap: 5px; flex-wrap: nowrap; }
  .hero__trust > span { padding: 3px 9px 3px 3px !important; gap: 5px !important; }
  .hero__trust > span > .ic-chip { width: 20px; height: 20px; border-radius: 999px; }
}
/* Short phones: the rating gives way before the trust chips do. */
@media (max-width: 600px) and (max-height: 600px) {
  .hero__rating { display: none; }
}

/* ── Small green buttons: white text at 4.5:1 ── */
.btn--go.btn--sm {
  background: linear-gradient(180deg, #2E8B34, #2E7D32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 3px 0 #1B5E20;
}
.btn--go.btn--sm:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5px 0 #1B5E20, 0 14px 26px -12px rgba(46, 125, 50, .7); }
.btn--go.btn--sm:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }

/* ── Story, the ninth mode: a link card under the eight tiles ──
   Not a modal tile (no data-mode): it scrolls to the Story band. The hover
   lift rides on `translate`, so it never fights the reveal's `transform`. */
.mode-story-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--story-grad-a), var(--story-grad-b));
  border: 1.5px solid rgba(240, 168, 24, .55);
  box-shadow: 0 4px 0 var(--cat-amber-depth);
  color: var(--ink);
  transition: opacity 450ms cubic-bezier(.16, 1, .3, 1), transform 750ms var(--spring-soft),
              translate 460ms var(--spring), box-shadow 200ms ease;
  transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms;
}
.mode-story-link__ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cat-amber);
  color: #fff;
}
.mode-story-link__ico > .ic-chip { width: 40px; height: 40px; border-radius: 12px; vertical-align: 0; }
.mode-story-link__ico > .ic-chip .ic { width: 62%; height: 62%; }
.mode-story-link__ico > .sym { font-size: 21px; }
.mode-story-link__t { flex: 1; min-width: 0; line-height: 1.35; font-size: 1rem; }
.mode-story-link__t b { font-family: 'Nunito', system-ui, sans-serif; font-weight: 900; letter-spacing: -.01em; }
.mode-story-link__d { font-weight: 500; }
.mode-story-link__go {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cat-amber);
  color: #fff;
  box-shadow: 0 3px 0 color-mix(in srgb, var(--cat-amber) 55%, #000);
  transition: translate 500ms var(--spring);
}
.mode-story-link__go .sym { font-size: 20px; }
@media (hover: hover) {
  .mode-story-link:hover { translate: 0 -4px; box-shadow: 0 8px 0 var(--cat-amber-depth), 0 18px 30px -16px rgba(20, 18, 26, .35); }
  .mode-story-link:hover .mode-story-link__go { translate: 0 3px; }
}
.mode-story-link:active { translate: 0 3px; box-shadow: 0 1px 0 var(--cat-amber-depth); transition-duration: 90ms; }
@media (max-width: 600px) {
  .mode-story-link { margin-top: 12px; min-height: 68px; padding: 12px 14px; gap: 12px; }
  .mode-story-link__t { font-size: .95rem; }
}

/* ── Pricing ── */
.pricing .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; min-height: 48px; }
.plan__amount {
  font-size: clamp(2.75rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 4px;
}
.plan__per { font-weight: 600; }
/* Pro: a soft accent light from the top edge (::before is the lit border) */
.plan--pro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%);
}
@media (max-width: 700px) {
  .pricing__grid { display: grid !important; grid-template-columns: 1fr; gap: 14px; max-width: none; }
  .pricing__grid > .plan { width: auto !important; scale: none; }
  .plan { padding: 22px 20px; }
  .plan--pro .plan__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .875rem; line-height: 1.4; }
  .plan--pro .plan__feat .sym { font-size: 17px; }
}

/* ── SRS: a timeline. The rail is drawn in segments inside each card
   (pill centre → card edge → next pill centre), so it sits above the card
   surface but under the pills whatever stacking the cards end up in. It
   grows top-down once the first step is in, and back up if that reverses. */
.srs__steps { position: relative; gap: 10px; --rail-x: 57px; }
.srs__step { position: relative; }
.srs__step:nth-child(1) { --si: 0; }
.srs__step:nth-child(2) { --si: 1; margin-top: 10px; }
.srs__step:nth-child(3) { --si: 2; margin-top: 20px; }
.srs__step:nth-child(4) { --si: 3; margin-top: 34px; }
.srs__day {
  position: relative;
  z-index: 1;
  flex: none;
  width: 84px;
  min-width: 0;
  /* white on the fill green is 3.3:1; the deeper green holds 5:1 */
  background: linear-gradient(180deg, #2E8B34, #2E7D32);
  box-shadow: 0 0 0 3px var(--card);
}
.srs__step::before,
.srs__step::after {
  content: '';
  position: absolute;
  left: var(--rail-x);
  width: 2px;
  pointer-events: none;
  transform-origin: 50% 0;
  transform: scaleY(1);
  transition: transform 300ms linear;
}
/* lower half: pill centre → past the card's bottom (the next card covers the overshoot) */
.srs__step:not(:last-child)::after {
  top: 50%;
  height: calc(50% + 60px);
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 45%, transparent));
  transition-delay: calc(var(--si) * 300ms);
}
/* upper half: card's top edge → pill centre */
.srs__step:not(:first-child)::before {
  top: 0;
  height: 50%;
  background: color-mix(in srgb, var(--accent) calc(70% - var(--si) * 16%), transparent);
  transition-duration: 150ms;
  transition-delay: calc(var(--si) * 300ms - 60ms);
}
.srs__steps:has(> [data-reveal]:first-child:not(.in)) > .srs__step::before,
.srs__steps:has(> [data-reveal]:first-child:not(.in)) > .srs__step::after {
  transform: scaleY(0);
  transition-delay: 0ms;
  transition-duration: 200ms;
}
.srs__step:last-child {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.srs__step:last-child .srs__day { box-shadow: 0 0 0 3px var(--accent-soft); }
.srs__step:last-child p { color: var(--ink); }
@media (max-width: 600px) {
  .srs__steps { --rail-x: 49px; }
  .srs__day { width: 76px; }
  .srs__step:nth-child(2) { margin-top: 6px; }
  .srs__step:nth-child(3) { margin-top: 12px; }
  .srs__step:nth-child(4) { margin-top: 20px; }
}

/* ── FAQ: sticky head + a "still stuck" card ── */
.faq__stuck {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 440px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1.5px solid var(--card-border);
  box-shadow: 0 4px 0 var(--btn-depth), var(--card-shadow);
}
.faq__stuck > .ic-chip { width: 38px; height: 38px; border-radius: 12px; vertical-align: 0; }
.faq__stuck > .ic-chip .ic { width: 60%; height: 60%; }
.faq__stuck > .sym { font-size: 26px; color: var(--accent-ink); }
.faq__stuck b { display: block; font-family: 'Nunito', system-ui, sans-serif; font-weight: 900; font-size: 1.02rem; letter-spacing: -.01em; }
.faq__stuck p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 2px 0 8px; }
.faq__stuck-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.faq__stuck-links a {
  color: var(--accent-ink);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.faq__stuck-links a:hover { color: var(--ink); }
@media (max-width: 979px) {
  .faq__stuck { margin-bottom: 22px; }
}
@media (min-width: 980px) {
  #faq .wrap { display: grid; grid-template-columns: minmax(260px, .8fr) 1.6fr; gap: 56px; align-items: start; }
  .faq__head { position: sticky; top: 120px; }
  .faq__head .lede { margin-bottom: 26px; }
  .faq__list { max-width: none; }
}

/* ── Feedback: a quieter epilogue after the download panel ── */
.section--quiet h2 { font-size: 1.5rem; }
.section--quiet .lede { font-size: 1rem; margin-bottom: 26px; }
/* (Its own 72/96 desktop padding went 2026-11-21: it now sits mid-page,
   before the download panel, on the shared section rhythm.) */

/* ── Final CTA: the chunky Play button, a glass secondary, glass chips ── */
.cta__buttons { display: flex; gap: 12px; justify-content: center; align-items: stretch; flex-wrap: wrap; margin-bottom: 0; }
.cta .btn--play { min-width: 260px; justify-content: center; }
.btn--ghost-light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .34);
  box-shadow: 0 4px 0 rgba(20, 26, 80, .35);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .22); box-shadow: 0 6px 0 rgba(20, 26, 80, .35); }
.btn--ghost-light:active { box-shadow: 0 0 0 rgba(20, 26, 80, .35); }
.cta .btn--play .btn--play__droid { animation: fx-droid 4s ease-in-out 2.6s infinite; }
.cta__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.cta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.cta__trust .sym { font-size: 17px; }
/* The logo drops in with the panel — keyed to the eyebrow's reveal state,
   so it plays (and un-plays) in either scroll direction. Individual
   transform properties, so it composes with the idle hop. */
.cta__logo { transition: translate 800ms var(--spring), rotate 800ms var(--spring), scale 800ms var(--spring), opacity 380ms ease; }
.cta__logo:has(~ .eyebrow[data-reveal]:not(.in)) { opacity: 0; translate: 0 -10px; rotate: -6deg; scale: .8; }
@media (max-width: 480px) {
  .cta__buttons .btn { width: 100%; min-width: 0; }
  .cta__trust { gap: 6px; }
  .cta__trust span { font-size: .78rem; padding: 5px 11px 5px 6px; }
}
@media (prefers-reduced-motion: reduce) { .cta .btn--play .btn--play__droid { animation: none; } }

/* ── Footer ── */
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0; }
.footer__col a[href^="mailto"] { word-break: normal; white-space: nowrap; }
.social__link { width: 44px; height: 44px; }
.footer__bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}
.footer__bar .footer__copy { grid-column: auto; border: 0; padding: 0; }
.footer__bar-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn.footer__theme {
  width: auto;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 3px 0 var(--btn-depth);
}
.theme-btn.footer__theme:active { transform: translateY(3px); box-shadow: none; }
.btn.btn--play.btn--play-sm { zoom: .85; }
.btn--play__t b { white-space: nowrap; }
/* Small phones: the theme pill drops its label so the Play badge keeps
   "Google Play" on one line beside it. */
@media (max-width: 380px) {
  .theme-btn.footer__theme { padding: 0; width: 44px; justify-content: center; }
  .theme-btn.footer__theme .footer__theme-l { display: none; }
}
@media (max-width: 600px) {
  .footer__columns { grid-template-columns: 1fr 1fr !important; gap: 22px 14px; }
  .footer__col h4 { margin-bottom: 4px; }
  .footer__col:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .footer__bar { gap: 14px; }
}

/* ── Phones: remaining type floor (deck card copy) ── */
.note { font-size: .9rem; }
.story__why p { font-size: .9rem; }
.cta .wrap > p.cta__note { font-size: .875rem; }
@media (max-width: 600px) {
  .features__grid.fx-deck .fcard p, .fcard p { font-size: .88rem; }
  .note { font-size: .875rem; line-height: 1.55; }
  .story__why p, .cta .wrap > p, .cta .wrap > p.cta__note { font-size: .9rem; }
}

/* ═══ §22 · FAQ accordion: opens and closes, both ways, smoothly ═══════
   Native <details> snaps. Where the browser can animate its content box
   (::details-content + interpolate-size), the height eases open and shut
   in CSS; elsewhere fx.js animates the height itself. Either way the
   answer drops in a few px and the chevron turns on the spring. */
.faq__item { interpolate-size: allow-keywords; }
.faq__item::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition: block-size 420ms cubic-bezier(.16, 1, .3, 1), opacity 260ms ease,
              content-visibility 420ms allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; opacity: 1; }
.faq__item .faq__a { transform: translateY(-6px); transition: transform 420ms cubic-bezier(.16, 1, .3, 1); }
.faq__item[open] .faq__a { transform: none; }
.faq__q .sym { transition: transform 700ms var(--spring), color 200ms ease; }
.faq__q { transition: color 200ms ease; }
@media (hover: hover) {
  .faq__q:hover, .faq__q:hover .sym { color: var(--accent); }
}

/* ═══ §24 · Sub-pages up to standard (2026-11-21, batch 3) ═════════════
   /features/: bento feature lists, a constellation of the nine modes in
   the head, and a sticky jump bar under the nav island. /create/ and /s/
   pieces follow further down. */

/* ── /features/ head: copy left, the nine modes right (≥1100px) ── */
.fx-constellation { display: none; }
/* The constellation's glow bleeds past the viewport edge at 1100-1180px;
   clip it sideways only (overflow-x: clip makes no scroll container). */
.phead { overflow-x: clip; }
@media (min-width: 1100px) {
  .phead__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
  }
  .phead__copy .lede { max-width: 54ch; }
  .fx-constellation {
    display: grid;
    position: relative;
    isolation: isolate;
    justify-self: end;
    width: min(100%, 392px);
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 12px;
    padding: 30px 24px 26px;
    border-radius: 32px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--card) 88%, transparent), color-mix(in srgb, var(--card) 62%, transparent));
    border: 1px solid color-mix(in srgb, var(--card-border) 75%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7),
                0 1px 2px rgba(20, 30, 60, .05),
                0 34px 64px -34px rgba(30, 50, 100, .38);
  }
  /* The soft accent glow behind the glass: a gradient, no filter. */
  .fx-constellation::before {
    content: '';
    position: absolute;
    inset: -18% -14%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
    pointer-events: none;
  }
  .cst__cell {
    display: grid;
    justify-items: center;
    gap: 9px;
    rotate: var(--r, 0deg);
    animation: cst-in 760ms var(--spring) calc(260ms + var(--i, 0) * 70ms) both;
  }
  .cst__chip {
    width: 64px; height: 64px;
    border-radius: 19px;
    animation: cst-float 6s ease-in-out calc(var(--i, 0) * -.67s) infinite;
    transition: scale 400ms var(--spring);
  }
  .cst__chip.ic-chip {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
                inset 0 -2px 0 rgba(0, 0, 0, .1),
                0 4px 0 color-mix(in srgb, var(--g2) 62%, #000),
                0 14px 22px -10px color-mix(in srgb, var(--g2) 70%, transparent) !important;
  }
  .cst__chip .ic { width: 58%; height: 58%; }
  @media (hover: hover) { .cst__cell:hover .cst__chip { scale: 1.08; } }
  .cst__l {
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .01em;
    color: var(--label);
    white-space: nowrap;
  }
  .fx-constellation.is-off .cst__chip { animation-play-state: paused; }
}
@keyframes cst-in {
  from { opacity: 0; scale: .55; translate: 0 14px; }
  to   { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes cst-float {
  0%, 100% { translate: 0 -4px; }
  50%      { translate: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .cst__chip { animation: none; }
}
:root[data-theme="dark"] .fx-constellation { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 34px 64px -30px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fx-constellation { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 34px 64px -30px rgba(0, 0, 0, .7); }
}

/* ── /features/ sticky jump bar ── */
html:has(.subnav) { scroll-padding-top: 156px; }
/* Sections already carry ~110px of top padding, so on desktop let that padding
   tuck under the bar: the eyebrow lands ~45px below the subnav, not 140px. */
@media (min-width: 900px) { html:has(.subnav) .section[id] { scroll-margin-top: -90px; } }
.phead { padding-bottom: 30px; }
.subnav {
  position: sticky;
  top: 84px;
  z-index: 5;
  pointer-events: none;            /* only the strip itself takes clicks */
  margin-bottom: 4px;
}
.subnav .wrap { display: flex; justify-content: center; max-width: 1128px; }
.subnav .toc {
  pointer-events: auto;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 5px;
  margin: 0;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--scaffold) 82%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--card-border) 80%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: box-shadow 300ms ease, opacity 300ms ease, translate 300ms var(--ease-out);
}
.subnav .toc::-webkit-scrollbar { display: none; }
.subnav.is-stuck .toc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 28px -14px rgba(20, 30, 70, .35); }
/* Past the last section the bar has nothing left to point at. */
.subnav.is-done .toc { opacity: 0; translate: 0 -8px; pointer-events: none; }
/* Edge fades only while the strip actually scrolls (fx.js sets them). */
.subnav .toc.can-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 34px); mask-image: linear-gradient(90deg, transparent, #000 34px); }
.subnav .toc.can-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
.subnav .toc.can-l.can-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent); }
.subnav .toc a {
  flex: none;
  white-space: nowrap;
  gap: 6px;
  padding: 7px 9px 7px 7px;
  font-size: .78rem;
  background: transparent;
  border-color: transparent;
  color: var(--label);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform var(--t-fast);
}
.subnav .toc a:hover { background: color-mix(in srgb, var(--card) 80%, transparent); transform: none; }
.subnav .toc a.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}
.subnav .toc a .ic-mini { margin-left: 0; }
:root[data-theme="dark"] .subnav .toc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .subnav.is-stuck .toc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 28px -12px rgba(0, 0, 0, .6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .subnav .toc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
  :root:not([data-theme="light"]) .subnav.is-stuck .toc { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 28px -12px rgba(0, 0, 0, .6); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .subnav .toc a { padding: 7px 7px 7px 6px; gap: 5px; font-size: .75rem; }
}
/* Below 1100px the nine labels only fit on one line without their chips. */
@media (min-width: 900px) and (max-width: 1099px) {
  .subnav .toc a > .ic-chip.ic-mini, .subnav .toc a > .sym { display: none !important; }
  .subnav .toc a { padding: 7px 9px; }
}
@media (max-width: 899px) {
  .subnav { top: 76px; }
  html:has(.subnav) { scroll-padding-top: 140px; }
}
@media (max-width: 600px) {
  .subnav .wrap { padding: 0 12px; justify-content: flex-start; }
  .subnav .toc a { padding: 7px 12px 7px 9px; font-size: .8rem; }
}

/* ── /features/ bento lists (≥980px) ── */
.fitem { transition: border-color 300ms ease, translate 400ms var(--spring); }
.fitem p { max-width: 64ch; }
@media (min-width: 980px) {
  .flist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
  }
  .flist > .fitem:first-child,
  .flist > .fitem:last-child:nth-child(even) { grid-column: 1 / -1; }
}
/* The lead item: a bigger chip and a faint wash of its own colour. */
.flist > .fitem:first-child {
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--g1, var(--accent)) 9%, transparent), transparent 75%),
    var(--card);
  box-shadow: inset 0 3px 0 color-mix(in srgb, var(--g1, var(--accent)) 70%, transparent), var(--card-shadow);
}
.flist > .fitem:first-child .fitem__ico { width: 56px; height: 56px; border-radius: 16px; }
.flist > .fitem:first-child h3 { font-size: 1.2rem; margin-bottom: 7px; }
@media (hover: hover) and (pointer: fine) {
  .fitem:hover { translate: 0 -2px; border-color: color-mix(in srgb, var(--g1, var(--accent)) 40%, var(--card-border)); }
}
@media (max-width: 560px) {
  .flist > .fitem:first-child { grid-template-columns: 1fr; }
}


/* ═══ §25 · Home finish pass (2026-11-21, batch 4) ════════════════════════
   · section rhythm: one fluid padding on desktop
   · feedback moved before the download panel (the page ends on install),
     two columns on desktop, the form on a chunky card
   · the download panel gets more room under it, and the page's last word
   · back-to-top goes neutral, and steps aside over the download panel
   ══════════════════════════════════════════════════════════════════════ */

/* ── Rhythm ── The pinned tour (.section.tour, 2 classes) and the story
   band keep their own padding exactly. */
@media (min-width: 900px) {
  .section { padding-block: clamp(72px, 10vh, 128px); }
  .section.story { padding-block: 112px; }
  .section.cta { padding-bottom: 120px; }
}

/* ── Feedback ── */
.feedback__head .lede { margin-bottom: 0; }
.feedback__form {
  max-width: none;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: 0 4px 0 var(--btn-depth), var(--card-shadow);
}
.feedback__form .field input, .feedback__form .field textarea {
  background: var(--scaffold);
  border-width: 1.5px;
}
.feedback__form .field input:focus, .feedback__form .field textarea:focus {
  background: var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
@media (max-width: 899px) {
  .feedback__head { margin-bottom: 22px; }
}
@media (max-width: 600px) {
  .feedback__form { padding: 18px 16px 20px; }
}
@media (min-width: 900px) {
  .feedback .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .feedback__head { position: sticky; top: 120px; padding-top: 6px; }
  .section--quiet.feedback h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
  .section--quiet.feedback .lede { font-size: 1.12rem; }
  .feedback__form { padding: 30px 30px 32px; }
}

/* ── The footer starts clean under the panel: no rule above it ── */
.cta + .footer { border-top: 0; }

/* ── Back to top: neutral, a quiet surface instead of a second green CTA ── */
.back-to-top {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--ink);
  box-shadow: 0 8px 22px -10px rgba(10, 14, 24, .28), 0 1px 2px rgba(10, 14, 24, .06);
  transition: opacity 300ms ease, transform 500ms var(--spring), background 200ms ease, border-color 200ms ease;
}
:root[data-theme="dark"] .back-to-top {
  background: var(--card-2);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .back-to-top {
    background: var(--card-2);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
  }
}
.back-to-top .sym { font-size: 22px; transition: transform 300ms var(--spring); }
@media (hover: hover) and (pointer: fine) {
  .back-to-top.visible:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 22%, var(--card-border)); }
  .back-to-top.visible:hover .sym { transform: translateY(-2px); }
}
.back-to-top.visible:active { transform: translateY(1px); box-shadow: none; }
@media (pointer: coarse), (max-width: 899px) {
  .back-to-top { width: 46px; height: 46px; }
}

/* ═══ §26 · Scan-to-install QR + home bento (2026-11-21, batch 5) ═══════
   1. a.qr-card: the Play listing as a QR, desktop + fine pointer only —
      in the hero beside the two buttons, and on the download panel. The
      code itself is one <symbol> path (#qr-play) at the top of <body>.
   2. .bento: "Beyond the drill" on the home page as a 6-column bento with
      three live micro-visuals. Prefix .bento- so nothing collides with the
      /features/ page, which reuses .features__grid / .fcard.
   Visual motion = CSS transitions keyed on .bento-on (fx.js toggles it
   with hysteresis), so it plays forward on the way in and backward on the
   way up, under reduce motion too, transform + opacity only. */

/* ── 26.1 Scan-to-install: a small QR button → a full-screen code ──
   The button is a mini white QR tile (it reads as "QR" at a glance). Tap
   or click it and the code grows out of the button into a big, easily
   scanned card over a dimmed page (fx.js "QR full screen" block). Shown
   wherever there is room beside the buttons (≥ 900px). */
.qr-btn { display: none; }
@media (min-width: 900px) {
  .qr-btn {
    display: inline-grid; place-items: center; align-self: center;
    width: 50px; height: 50px; padding: 7px; flex: none;
    border-radius: 14px; border: 1.5px solid var(--card-border);
    background: #fff; color: #15171D; cursor: zoom-in;
    box-shadow: 0 4px 0 var(--btn-depth), 0 10px 22px -14px rgba(10, 14, 24, .3);
    transition: transform 420ms var(--spring), box-shadow 200ms ease, border-color 200ms ease;
  }
  .qr-btn svg { display: block; width: 100%; height: 100%; }
  .qr-btn:hover, .qr-btn:focus-visible {
    transform: translateY(-2px) scale(1.08);
    border-color: color-mix(in srgb, var(--accent) 55%, var(--card-border));
  }
  .qr-btn:active { transform: translateY(2px) scale(.96); box-shadow: 0 1px 0 var(--btn-depth); transition-duration: 90ms; }
  .qr-btn--cta { border-color: rgba(255, 255, 255, .45); box-shadow: 0 4px 0 rgba(20, 26, 80, .35); }
  :root[data-theme="dark"] .qr-btn { border-color: rgba(255, 255, 255, .14); box-shadow: 0 4px 0 rgba(0, 0, 0, .45); }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .qr-btn { border-color: rgba(255, 255, 255, .14); box-shadow: 0 4px 0 rgba(0, 0, 0, .45); }
  }
  .cta__buttons { align-items: center; }
}

.qr-full {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 24px;
  background: rgba(8, 10, 14, .74);
  overscroll-behavior: contain;
}
.qr-full[hidden] { display: none; }
.qr-full__card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(460px, 100%);
  padding: 26px 26px 22px; border-radius: 30px;
  background: #fff; color: #15171D; text-align: center;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .25), 0 40px 90px -20px rgba(0, 0, 0, .6);
  transform-origin: 0 0;
}
.qr-full__code { display: block; width: min(340px, 62vmin); height: min(340px, 62vmin); }
.qr-full__t { margin: 4px 0 0; font: 800 1.35rem/1.2 'Nunito', system-ui, sans-serif; letter-spacing: -.01em; color: #15171D; }
.qr-full__s { margin: 0; font: 500 .92rem/1.45 'Inter', system-ui, sans-serif; color: #5A6075; }
.qr-full__link { font: 700 .9rem/1 'Inter', system-ui, sans-serif; color: #2E7D32; text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.qr-full__link:hover, .qr-full__link:focus-visible { background: #EEF6EE; }
.qr-full__x {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: #EEF1F7; color: #15171D;
  transition: background 160ms ease, transform 300ms var(--spring);
}
@media (hover: hover) { .qr-full__x:hover, .qr-full__x:focus-visible { background: #E1E5EE; transform: rotate(90deg); } }
.qr-full__x svg { width: 18px; height: 18px; }

/* ── 26.2 Home bento: layout ── */
.bento-vis { display: none; }
.bento .bento-card--scan, .bento .bento-card--sheet, .bento .bento-card--link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 13px;
  align-content: start;
}
.bento .bento-vis {
  --h: var(--cat-blue);
  position: relative;
  display: block;
  grid-column: 1 / -1;
  height: 128px;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--h) 16%, transparent), transparent 60%),
    color-mix(in srgb, var(--h) 7%, var(--card-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 16%, var(--card-border));
}
.bento .bento-sheet { --h: var(--cat-green); }
.bento .bento-link { --h: var(--cat-purple); }
.bento .bento-card--scan .fcard__ico, .bento .bento-card--sheet .fcard__ico, .bento .bento-card--link .fcard__ico {
  grid-column: 1; grid-row: 2; margin: 0 !important; align-self: center;
}
.bento .bento-card--scan h3, .bento .bento-card--sheet h3, .bento .bento-card--link h3 {
  grid-column: 2; grid-row: 2; align-self: center; margin: 0;
}
.bento .bento-card--scan p, .bento .bento-card--sheet p, .bento .bento-card--link p {
  grid-column: 1 / -1; grid-row: 3; margin-top: 10px;
}

@media (min-width: 900px) {
  .features__grid.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .bento > .bento-card { grid-column: span 2; }
  .bento > .bento-card--scan { grid-column: span 4; grid-row: span 2; grid-template-rows: 1fr auto auto; }
  .bento > .bento-card--scan .bento-vis { height: auto; min-height: 300px; margin-bottom: 20px; }
  .bento > .bento-card--scan h3 { font-size: 1.3rem; }
  .bento > .bento-card--scan p { font-size: .98rem; max-width: 58ch; }
  .bento > .bento-card--scan .fcard__ico { width: 50px; height: 50px; }
}

/* ── 26.3 Scan a page ── */
.bento-scan__page {
  position: absolute;
  left: 9%; top: 15%;
  width: 32%; height: 70%;
  padding: 46px 20px 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 4px 0 color-mix(in srgb, var(--h) 22%, var(--card-border)), 0 18px 30px -18px rgba(10, 14, 24, .35);
  transform: rotate(-4deg);
  overflow: hidden;
}
/* A heading, then five ruled lines: a word and its translation on each */
.bento-scan__page::before {
  content: '';
  position: absolute; left: 10%; top: 7%;
  width: 46%; height: 9px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--h) 55%, var(--ink));
  opacity: .55;
}
.bento-scan__line {
  position: relative;
  display: flex; justify-content: space-between;
  height: 7px;
  border-bottom: 1px solid color-mix(in srgb, var(--h) 22%, var(--card-border));
  padding-bottom: 9px;
  box-sizing: content-box;
}
.bento-scan__line b {
  position: relative;
  width: var(--w);
  height: 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
}
/* The scan lights each word up as the beam passes it */
.bento-scan__line b::after {
  content: '';
  position: absolute; inset: -3px -4px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 34%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: 0 50%;
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.bento-scan__line:nth-child(2) { --l: 1; } .bento-scan__line:nth-child(3) { --l: 2; }
.bento-scan__line:nth-child(4) { --l: 3; } .bento-scan__line:nth-child(5) { --l: 4; }
.bento-on .bento-scan__line b::after {
  opacity: 1; transform: none;
  transition-delay: calc(260ms + var(--l, 0) * 150ms);
}
.bento-on .bento-scan__line b + b::after { transition-delay: calc(300ms + var(--l, 0) * 150ms); }
/* The beam: from above the sheet to below it, once, clipped by the sheet */
.bento-scan__beam {
  position: absolute;
  left: -4%; right: -4%; top: 0;
  height: 42%;
  transform: translateY(-110%);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 20%, transparent) 78%, color-mix(in srgb, var(--accent) 34%, transparent));
  border-bottom: 2.5px solid var(--accent);
  transition: transform 900ms cubic-bezier(.45, .05, .4, 1);
  pointer-events: none;
}
.bento-on .bento-scan__beam { transform: translateY(260%); transition-delay: 160ms; }
/* Camera-frame corners around the sheet */
.bento-scan__corner {
  position: absolute; width: 16px; height: 16px;
  border: 2.5px solid color-mix(in srgb, var(--accent) 80%, transparent);
  opacity: 0;
  transition: opacity 260ms ease, transform 500ms var(--spring);
}
.bento-scan__corner--tl { top: 5px; left: 5px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; transform: translate(-6px, -6px); }
.bento-scan__corner--tr { top: 5px; right: 5px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; transform: translate(6px, -6px); }
.bento-scan__corner--bl { bottom: 5px; left: 5px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; transform: translate(-6px, 6px); }
.bento-scan__corner--br { bottom: 5px; right: 5px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; transform: translate(6px, 6px); }
.bento-on .bento-scan__corner { opacity: 1; transform: none; transition-delay: 60ms; }
/* A chevron from the page to the list, lit once the scan has passed */
.bento-scan::after {
  content: '';
  position: absolute; left: 47.5%; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border: solid var(--accent); border-width: 3px 3px 0 0; border-radius: 2px;
  opacity: 0;
  transform: translateX(-10px) rotate(45deg);
  transition: opacity 240ms ease, transform 500ms var(--spring);
}
.bento-on.bento-scan::after { opacity: .9; transform: rotate(45deg); transition-delay: 900ms; }
/* The words it found */
.bento-scan__list {
  position: absolute;
  right: 7%; top: 50%;
  width: 40%;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  transform: translateY(-50%);
}
.bento-scan__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 3px 0 color-mix(in srgb, var(--h) 24%, var(--card-border));
  font: 800 .95rem/1.15 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-46%) scale(.55);
  transform-origin: 0 50%;
  transition: opacity 260ms ease, transform 650ms var(--spring);
  transition-delay: calc((3 - var(--i)) * 40ms);
}
.bento-scan__list li::before {
  content: '';
  flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.bento-scan__list li span { margin-left: auto; font: 600 .8rem/1.2 'Inter', system-ui, sans-serif; color: var(--muted); white-space: nowrap; }
.bento-scan__list li b { white-space: nowrap; }
.bento-on .bento-scan__list li { opacity: 1; transform: none; transition-delay: calc(1000ms + var(--i) * 80ms); }

/* ── 26.4 Import a spreadsheet ── */
.bento-sheet__file {
  position: absolute;
  left: 14px; top: 50%;
  width: 58%;
  padding: 24px 0 2px;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 3px 0 color-mix(in srgb, var(--h) 24%, var(--card-border));
  transform: translateY(-50%);
  overflow: hidden;
}
/* Header strip with two column stubs */
.bento-sheet__file::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 20px;
  background:
    linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--h) 30%, var(--card-border)) 47%, color-mix(in srgb, var(--h) 30%, var(--card-border)) calc(47% + 1px), transparent calc(47% + 1px)),
    color-mix(in srgb, var(--h) 14%, var(--card-2));
  border-bottom: 1px solid color-mix(in srgb, var(--h) 26%, var(--card-border));
}
.bento-sheet__tag {
  position: absolute; right: 6px; top: 3px; z-index: 1;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--h);
  color: #fff;
  font: 800 .62rem/1.3 'Inter', system-ui, sans-serif;
  letter-spacing: .02em;
}
.bento-sheet__row {
  position: relative;
  display: grid; grid-template-columns: 47% 1fr;
  font: 600 .7rem/1 'Inter', system-ui, sans-serif;
  font-style: normal;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.bento-sheet__row:last-child { border-bottom: 0; }
.bento-sheet__row b, .bento-sheet__row span { position: relative; z-index: 1; padding: 6px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento-sheet__row b { font-weight: 700; border-right: 1px solid var(--hairline); }
.bento-sheet__row span { color: var(--muted); }
/* Each row leaves a soft green trace as it is taken */
.bento-sheet__row::after {
  content: '';
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--h) 18%, transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: opacity 240ms ease, transform 420ms var(--ease-out);
}
.bento-on .bento-sheet__row::after { opacity: 1; transform: none; transition-delay: calc(200ms + var(--i) * 160ms); }
.bento-sheet__arrow {
  position: absolute; left: calc(58% + 14px); top: 50%;
  width: 22px; text-align: center;
  color: var(--h);
  opacity: .35;
  transform: translate(-4px, -50%);
  transition: opacity 300ms ease, transform 500ms var(--spring);
}
.bento-sheet__arrow .sym { display: block; font-size: 22px; }
.bento-on .bento-sheet__arrow { opacity: 1; transform: translate(2px, -50%); transition-delay: 180ms; }
/* The set it becomes */
.bento-sheet__set {
  position: absolute; right: 14px; top: 50%;
  width: calc(42% - 50px);
  min-width: 74px;
  padding: 34px 8px 8px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--cat-green), color-mix(in srgb, var(--cat-green) 70%, #0b3d17));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 color-mix(in srgb, var(--cat-green) 55%, #000);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(-50%) scale(.7);
  transition: opacity 260ms ease, transform 650ms var(--spring);
}
.bento-on .bento-sheet__set { opacity: 1; transform: translateY(-50%); transition-delay: 120ms; }
.bento-sheet__set b { display: block; font: 800 .74rem/1.15 'Nunito', system-ui, sans-serif; }
.bento-sheet__set > span { display: block; font: 600 .62rem/1.3 'Inter', system-ui, sans-serif; opacity: .88; }
/* Three cards land on the set, one per row, fanning a little */
.bento-sheet__cards { position: absolute; left: 50%; top: 7px; width: 30px; height: 22px; margin-left: -15px; }
.bento-sheet__cards i {
  position: absolute; inset: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translate(-90px, calc(var(--i) * 22px - 8px)) scale(1.6, .6);
  transition: opacity 200ms ease, transform 620ms var(--spring);
  transition-delay: calc((2 - var(--i)) * 50ms);
}
.bento-sheet__cards i::before, .bento-sheet__cards i::after {
  content: ''; position: absolute; left: 5px; height: 3px; border-radius: 2px;
  background: color-mix(in srgb, var(--cat-green) 70%, #fff);
}
.bento-sheet__cards i::before { top: 6px; width: 14px; }
.bento-sheet__cards i::after { top: 12px; width: 9px; background: #d5dbe5; }
.bento-on .bento-sheet__cards i { opacity: 1; transition-delay: calc(360ms + var(--i) * 160ms); }
.bento-on .bento-sheet__cards i:nth-child(1) { transform: rotate(-9deg) translateX(-3px); }
.bento-on .bento-sheet__cards i:nth-child(2) { transform: rotate(6deg) translateX(3px); }
.bento-on .bento-sheet__cards i:nth-child(3) { transform: none; }

/* ── 26.5 Share a set as a link ── */
.bento-link__words {
  position: absolute; left: 0; right: 0; top: 16px;
  display: flex; justify-content: center; gap: 6px;
}
.bento-link__words i {
  font-style: normal;
  padding: 5px 9px;
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 2px 0 color-mix(in srgb, var(--h) 24%, var(--card-border));
  font: 800 .72rem/1.1 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity 320ms ease, transform 640ms var(--spring);
  transition-delay: calc((2 - var(--i)) * 40ms);
}
/* Into the fragment: each word drops into the "#…" of the link */
.bento-on .bento-link__words i {
  opacity: 0;
  transition-duration: 420ms, 560ms;
  transition-timing-function: ease-in, cubic-bezier(.5, 0, .75, .2);
  transition-delay: calc(140ms + var(--i) * 90ms);
}
.bento-on .bento-link__words i:nth-child(1) { transform: translate(var(--dx0, 96px), 44px) scale(.3); }
.bento-on .bento-link__words i:nth-child(2) { transform: translate(var(--dx1, 30px), 44px) scale(.3); }
.bento-on .bento-link__words i:nth-child(3) { transform: translate(var(--dx2, -30px), 44px) scale(.3); }
.bento-link__pill {
  position: absolute; left: 50%; top: 56px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--h) 40%, var(--card-border)), 0 3px 0 color-mix(in srgb, var(--h) 30%, var(--card-border));
  font: 700 .82rem/1.1 'Inter', system-ui, sans-serif;
  color: var(--ink);
  white-space: nowrap;
  transform: translateX(-50%) scale(.94);
  transition: transform 700ms var(--spring);
}
.bento-link__pill .sym {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--h); color: #fff;
  font-size: 15px;
}
.bento-link__pill em { font-style: normal; color: var(--h); font-weight: 800; }
.bento-link__pill > span:last-child { white-space: nowrap; }
.bento-on .bento-link__pill { transform: translate(-50%, -16px); transition-delay: 520ms; }
.bento-link__ok {
  position: absolute; left: 0; right: 0; top: 96px;
  display: flex; justify-content: center; align-items: center; gap: 6px;
  font: 700 .74rem/1.2 'Inter', system-ui, sans-serif;
  color: var(--accent-ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 500ms var(--spring);
}
.bento-link__ok .sym {
  display: grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px;
  transform: scale(.4);
  transition: transform 500ms var(--spring);
}
.bento-on .bento-link__ok { opacity: 1; transform: translateY(-16px); transition-delay: 640ms; }
.bento-on .bento-link__ok .sym { transform: none; transition-delay: 700ms; }
:root[data-theme="dark"] .bento-link__ok { color: var(--accent-lite); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bento-link__ok { color: var(--accent-lite); } }

/* Narrow (a deck card, or the 2-col tile between 900 and ~1100px): the
   table runs under the set card and the arrow goes */
.bento .bento-sheet { container-type: inline-size; }
@container (max-width: 300px) {
  .bento-sheet__file { left: 10px; width: 64%; }
  .bento-sheet__row { font-size: .64rem; }
  .bento-sheet__row b, .bento-sheet__row span { padding: 6px 5px; text-overflow: clip; }
  .bento-sheet__arrow { display: none; }
  .bento-sheet__set { right: 10px; width: 76px; min-width: 0; }
}

/* ── 26.6 Phones + tablets: the deck keeps its swipe; visuals on top ── */
@media (max-width: 600px) {
  .features__grid.fx-deck.bento .bento-card--scan,
  .features__grid.fx-deck.bento .bento-card--sheet,
  .features__grid.fx-deck.bento .bento-card--link {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    column-gap: 10px;
  }
  .features__grid.fx-deck.bento .bento-vis { flex: 0 0 100%; height: 120px; margin: 0 0 12px; }
  .features__grid.fx-deck.bento .bento-card--scan .fcard__ico,
  .features__grid.fx-deck.bento .bento-card--sheet .fcard__ico,
  .features__grid.fx-deck.bento .bento-card--link .fcard__ico { width: 34px; height: 34px; margin: 0 !important; }
  .features__grid.fx-deck.bento .bento-card--scan h3,
  .features__grid.fx-deck.bento .bento-card--sheet h3,
  .features__grid.fx-deck.bento .bento-card--link h3 { flex: 1; margin: 0; }
  .features__grid.fx-deck.bento .bento-card--scan p,
  .features__grid.fx-deck.bento .bento-card--sheet p,
  .features__grid.fx-deck.bento .bento-card--link p { flex: 0 0 100%; margin-top: 8px; }
}
@media (max-width: 899px) {
  /* Scan, compact: the sheet on the left, the words stacked on the right */
  .bento-scan__page { left: 7%; top: 12%; width: 30%; height: 78%; padding: 22px 9px 10px; }
  .bento-scan__page::before { height: 5px; top: 8%; }
  .bento-scan__line { height: 4px; padding-bottom: 3px; }
  .bento-scan__line b { height: 4px; }
  .bento-scan__list { right: 6%; width: 50%; gap: 4px; }
  .bento-scan__list li { padding: 3px 9px 3px 8px; border-radius: 8px; font-size: .7rem; gap: 6px; }
  .bento-scan__list li span { font-size: .62rem; }
  .bento-scan__list li::before { width: 6px; height: 6px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent); }
  .bento-scan::after { left: 40.5%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-width: 2.5px 2.5px 0 0; }
}
@media (min-width: 601px) and (max-width: 899px) {
  /* Tablet 2-col grid: a plain card beside a taller visual card centres
     its content instead of leaving a gap under it */
  .bento > .bento-card:not(.bento-card--scan):not(.bento-card--sheet):not(.bento-card--link) {
    display: flex; flex-direction: column; justify-content: center;
  }
}
@media (max-width: 600px) {
  /* A deck card is ~240px wide: the found words go without translations */
  .bento-scan__list { width: 46%; right: 7%; gap: 5px; }
  .bento-scan__list li span { display: none; }
  .bento-scan__list li { padding: 4px 8px; font-size: .74rem; }
  /* Cards without a visual: same height as their neighbours in the deck,
     so their content sits in the middle instead of leaving a gap below */
  .features__grid.fx-deck.bento .bento-card:not(.bento-card--scan):not(.bento-card--sheet):not(.bento-card--link) { justify-content: center; }
  .features__grid.fx-deck.bento .bento-card:not(.bento-card--scan):not(.bento-card--sheet):not(.bento-card--link) .fcard__ico.ic-chip { width: 52px; height: 52px; margin-bottom: 16px !important; }
}

/* ═══ §27 · Home signature polish (2026-11-21, batch 1/2) ══════════════════
   Layout and paint only: the tour's scroll maths, HOLD queue and the smooth
   wheel are untouched. */

/* ── Tour stage fill: a huge faint step numeral + a mode-coloured bleed ──
   fx.js sets --tc on the pin at the HOLD-queue apply point (the same place
   the step gets .is-on), so both follow the queued step in either scroll
   direction. --tour-c is a registered colour so the bleed CROSSFADES between
   modes instead of snapping (a gradient alone can't transition). */
@property --tour-c { syntax: '<color>'; inherits: true; initial-value: #43A047; }
.tour__pin { --tour-c: var(--tc, var(--accent)); transition: --tour-c 600ms ease; overflow: clip; }
.tour__grid { position: relative; z-index: 1; }
.tour__pin::before {
  content: '';
  position: absolute; right: 8%; top: 50%;
  width: 900px; height: 900px; translate: 0 -50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tour-c) 14%, transparent), transparent);
  pointer-events: none; z-index: 0;
}
/* The numeral hangs just left of the step text and sits wholly ABOVE it:
   its glyph ends ~16px over the "0N / 04" label (the text block is ~145px
   tall around the stage centre), so it never sits behind any copy, the rail
   or the phone. The fill fades downward into the label. */
.tour__num {
  --ny: calc(-50% - .325em - 58px);
  position: absolute; left: max(16px, calc(50% - 640px)); top: 50%;
  transform: translateY(var(--ny));
  font: 900 clamp(14rem, 24vw, 26rem)/1 'Nunito', system-ui, sans-serif;
  font-size: min(clamp(14rem, 24vw, 26rem), 40vh);   /* short screens: clear of the nav */
  letter-spacing: -.06em;
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tour-c) 15%, transparent) 22%,
              color-mix(in srgb, var(--tour-c) 3%, transparent) 82%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  z-index: 0; white-space: nowrap;
}
/* An entrance: it runs under reduce-motion too, on every step change. */
.tour__num.is-swap { animation: tourNum 640ms var(--ease-out, cubic-bezier(.2, .8, .2, 1)) both; }
@keyframes tourNum { from { opacity: 0; transform: translateY(calc(var(--ny) + 40px)) scale(.96); } }
:root[data-theme="dark"] .tour__num {
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--tour-c) 17%, transparent) 22%,
                    color-mix(in srgb, var(--tour-c) 3%, transparent) 82%);
}
:root[data-theme="dark"] .tour__pin::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--tour-c) 10%, transparent), transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tour__num {
    background-image: linear-gradient(180deg, color-mix(in srgb, var(--tour-c) 17%, transparent) 22%,
                      color-mix(in srgb, var(--tour-c) 3%, transparent) 82%);
  }
  :root:not([data-theme="light"]) .tour__pin::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--tour-c) 10%, transparent), transparent); }
}
/* Wide screens: the text and the phone close ranks in the middle instead of
   sitting at the two ends of the wrap. */
@media (min-width: 1200px) {
  .tour__grid { grid-template-columns: minmax(0, 520px) auto; justify-content: center; gap: clamp(56px, 7vw, 120px); }
  /* Anchored to the text column's left edge (column 520 + gap + phone 320) */
  .tour__num { left: max(16px, calc(50% - (840px + clamp(56px, 7vw, 120px)) / 2 - .16em)); }
}
@media (max-width: 899px) {
  .tour__num { display: none; }
  /* The phone sits on top here: the bleed glows behind it */
  .tour__pin::before { right: auto; left: 50%; top: 40%; width: 640px; height: 640px; translate: -50% -50%; }
}

/* ── Dark mode: a titanium rim on both phones (paint only) ── */
.tour__phone { position: relative; }
:root[data-theme="dark"] .phone {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .22),
              0 0 0 1px rgba(0, 0, 0, .6), 0 40px 80px -30px rgba(0, 0, 0, .8),
              0 22px 44px -14px rgba(33, 31, 38, .42);
}
:root[data-theme="dark"] .tour__phone {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .22),
              0 0 0 1px rgba(0, 0, 0, .6), 0 40px 80px -30px rgba(0, 0, 0, .8),
              0 40px 80px -26px color-mix(in srgb, var(--tc, var(--accent)) 75%, transparent),
              0 18px 40px -18px rgba(10, 14, 24, .5);
}
:root[data-theme="dark"] .phone::after,
:root[data-theme="dark"] .tour__phone::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .04) 35%,
              rgba(255, 255, 255, .02) 65%, rgba(255, 255, 255, .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .22),
                0 0 0 1px rgba(0, 0, 0, .6), 0 40px 80px -30px rgba(0, 0, 0, .8),
                0 22px 44px -14px rgba(33, 31, 38, .42);
  }
  :root:not([data-theme="light"]) .tour__phone {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .22),
                0 0 0 1px rgba(0, 0, 0, .6), 0 40px 80px -30px rgba(0, 0, 0, .8),
                0 40px 80px -26px color-mix(in srgb, var(--tc, var(--accent)) 75%, transparent),
                0 18px 40px -18px rgba(10, 14, 24, .5);
  }
  :root:not([data-theme="light"]) .phone::after,
  :root:not([data-theme="light"]) .tour__phone::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .04) 35%,
                rgba(255, 255, 255, .02) 65%, rgba(255, 255, 255, .18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; z-index: 6;
  }
}

/* ── Download panel: bubbles keep to the sides, a solid secondary, even air ── */
.cta-bubbles {
  -webkit-mask-image: radial-gradient(ellipse 45% 62% at 50% 52%, transparent 74%, #000 94%);
  mask-image: radial-gradient(ellipse 45% 62% at 50% 52%, transparent 74%, #000 94%);
}
.cta .btn--ghost-light {
  background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)), #3A4796;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 0 rgba(20, 26, 80, .45);
}
.cta .btn--ghost-light:hover {
  background: linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .24)), #3A4796;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 0 rgba(20, 26, 80, .45);
}
.cta .btn--ghost-light:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 rgba(20, 26, 80, .45); }
/* Dark: the panel is deeper, so the solid base steps down with it (the
   light base read as a pale slab competing with the Play button). */
:root[data-theme="dark"] .cta .btn--ghost-light { background: linear-gradient(rgba(255, 255, 255, .13), rgba(255, 255, 255, .13)), #283275; border-color: rgba(255, 255, 255, .28); }
:root[data-theme="dark"] .cta .btn--ghost-light:hover { background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), #283275; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta .btn--ghost-light { background: linear-gradient(rgba(255, 255, 255, .13), rgba(255, 255, 255, .13)), #283275; border-color: rgba(255, 255, 255, .28); }
  :root:not([data-theme="light"]) .cta .btn--ghost-light:hover { background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), #283275; }
}
.cta .wrap > :last-child { margin-bottom: 0; }
/* The note's line box adds its own air under the text, so the panel's foot
   is a touch shorter than its head: measured equal on the render. */
.cta .wrap { padding-bottom: 48px; }
@media (max-width: 600px) {
  .cta .wrap { padding-bottom: 22px; }
  /* One column: the copy spans the whole panel, so the bubbles only surface
     in the two top corners beside the logo. */
  .cta-bubbles {
    -webkit-mask-image: radial-gradient(ellipse 75% 66% at 50% 70%, transparent 86%, #000 100%);
    mask-image: radial-gradient(ellipse 75% 66% at 50% 70%, transparent 86%, #000 100%);
  }
}


/* ═══ §28 · Pricing headline: "EVERY FEATURE IS FREE." (2026-11-21, owner's pick) ═══
   Playfair Display Black in caps; "free." in italic liquid gold that flows
   slowly through the letters, with a soft golden glow breathing underneath.
   Deeper gold in light mode (contrast on the pale slate), brighter in dark.
   The owner asked for this to move, so it keeps playing under reduce motion
   too; it is small and animates background-position / transform only. */
.pricing .pricing__h {
  font: 900 clamp(2rem, 4.4vw, 3.5rem)/1.06 'Playfair Display', Georgia, serif;
  text-transform: uppercase; letter-spacing: .02em; text-wrap: balance;
  margin-bottom: 20px;
  --g1: #7A5A12; --g2: #B8871F; --g3: #E0B64A; --g4: #F6DC8A;
  --gl1: #E9B949; --gl2: #F7D774; --gl3: #C9902A; --glo: .42;
}
:root[data-theme="dark"] .pricing .pricing__h {
  --g1: #A97C22; --g2: #D9A93A; --g3: #F3CF6A; --g4: #FFF0BE;
  --gl1: #C99A2E; --gl2: #F2C94C; --gl3: #8A6B1F; --glo: .34;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing .pricing__h {
    --g1: #A97C22; --g2: #D9A93A; --g3: #F3CF6A; --g4: #FFF0BE;
    --gl1: #C99A2E; --gl2: #F2C94C; --gl3: #8A6B1F; --glo: .34;
  }
}
.pr-free { position: relative; display: inline-block; z-index: 0; isolation: isolate; padding: 0 .06em; }
.pr-free::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 32%; bottom: -6%;
  border-radius: 50%; filter: blur(20px); opacity: var(--glo); pointer-events: none;
  background: linear-gradient(90deg, var(--gl1), var(--gl2), var(--gl3), var(--gl2), var(--gl1));
  background-size: 400% 100%;
  animation: pr-glow-flow 6s ease-in-out infinite alternate, pr-glow-breathe 3s ease-in-out infinite alternate;
}
.pr-free__t {
  font-style: italic;
  background: linear-gradient(100deg, var(--g1), var(--g2), var(--g3), var(--g4), var(--g3), var(--g2), var(--g1), var(--g2), var(--g3), var(--g4), var(--g3), var(--g2), var(--g1));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pr-gold-flow 7s linear infinite;
}
@keyframes pr-gold-flow { to { background-position: -150% 0; } }
@keyframes pr-glow-flow { to { background-position: 100% 0; } }
@keyframes pr-glow-breathe { from { transform: scale(.9, .8); } to { transform: scale(1.08, 1.05); } }
@media (prefers-reduced-motion: reduce) {
  .pr-free::before { animation: pr-glow-flow 6s ease-in-out infinite alternate, pr-glow-breathe 3s ease-in-out infinite alternate !important; }
  .pr-free__t { animation: pr-gold-flow 7s linear infinite !important; }
}

/* ═══ §29 · Chrome + sub-pages (2026-11-21, batch 2/2) ═════════════════
   Mobile nav sheet: solid card + opaque tiles + a scrim under the island.
   /features/ head: crafted fact tiles, stacked phone actions, mode strip. */

/* ── Mobile nav sheet: nothing shows through ── */
@media (max-width: 880px) {
  html[data-nav="top"] .nav__links {
    background: var(--card) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html[data-nav="top"] .nav__links a:not(.btn) {
    background: color-mix(in srgb, var(--dc, var(--accent)) 14%, var(--card));
  }
  html[data-nav="top"] .nav__links .theme-btn {
    background: color-mix(in srgb, var(--cat-indigo) 14%, var(--card));
  }
  :root[data-theme="dark"] .nav__links a:not(.btn) { background: color-mix(in srgb, var(--dc, var(--accent)) 18%, var(--card)); }
  :root[data-theme="dark"] .nav__links .theme-btn { background: color-mix(in srgb, var(--cat-indigo) 18%, var(--card)); }
  :root[data-theme="dark"][data-nav="top"] .nav__links { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); }
}
@media (max-width: 880px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav__links a:not(.btn) { background: color-mix(in srgb, var(--dc, var(--accent)) 18%, var(--card)); }
  :root:not([data-theme="light"]) .nav__links .theme-btn { background: color-mix(in srgb, var(--cat-indigo) 18%, var(--card)); }
  :root:not([data-theme="light"])[data-nav="top"] .nav__links { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); }
}
/* The scrim: under the nav (z 30), so the close button and the tiles stay
   live; a tap on it closes the sheet (script.js). The theme wipe is a view
   transition, which paints above the whole document anyway. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(8, 10, 16, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
body:has(.nav__links.open)::after { opacity: 1; pointer-events: auto; }
:root[data-theme="dark"] body::after { background: rgba(8, 10, 16, .55); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body::after { background: rgba(8, 10, 16, .55); }
}
/* The island's top fade paints page colour above the scrim, which left an
   undimmed band round the bar; it steps aside while the sheet is open. */
html[data-nav="top"] .nav.is-island::before { transition: opacity 280ms ease; }
body:has(.nav__links.open) .nav.is-island::before { opacity: 0; }
/* Floating bits that sit above z 29 step aside while the sheet is open. */
body:has(.nav__links.open) :is(.back-to-top, .dock, .ss-bar) { opacity: 0 !important; pointer-events: none !important; }

/* ── /features/ fact tiles: tinted, chunky, a duotone chip each ── */
.phead .facts { gap: 16px; }
.fact {
  --tile-c: var(--accent);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 18px 15px 16px;
  border-radius: 20px;
  border: 1.5px solid color-mix(in srgb, var(--tile-c) 28%, var(--card-border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--tile-c) 9%, var(--card)), var(--card));
  box-shadow: 0 5px 0 color-mix(in srgb, var(--tile-c) 30%, var(--btn-depth)), var(--card-shadow);
}
.fact__ico {
  grid-row: 1 / 3;
  width: 48px; height: 48px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--tile-c);
  color: #fff;
}
.fact__ico .sym { font-size: 26px; }
.fact__ico.ic-chip .ic { width: 60%; height: 60%; }
.fact__ico.ic-chip {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              inset 0 -2px 0 rgba(0, 0, 0, .1),
              0 3px 0 color-mix(in srgb, var(--g2) 62%, #000),
              0 10px 18px -8px color-mix(in srgb, var(--g2) 60%, transparent) !important;
}
.fact__n {
  align-self: end;
  font: 900 2.2rem/1 'Nunito', system-ui, sans-serif;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--tile-c) 75%, var(--ink));
}
.fact__l {
  grid-column: 2;
  align-self: start;
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--label);
}
:root[data-theme="dark"] .fact {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tile-c) 13%, var(--card)), var(--card));
  border-color: color-mix(in srgb, var(--tile-c) 30%, var(--card-border));
  box-shadow: 0 5px 0 color-mix(in srgb, var(--tile-c) 26%, #06080C), 0 18px 30px -18px rgba(0, 0, 0, .6);
}
:root[data-theme="dark"] .fact__n { color: color-mix(in srgb, var(--tile-c) 70%, #fff); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fact {
    background: linear-gradient(180deg, color-mix(in srgb, var(--tile-c) 13%, var(--card)), var(--card));
    border-color: color-mix(in srgb, var(--tile-c) 30%, var(--card-border));
    box-shadow: 0 5px 0 color-mix(in srgb, var(--tile-c) 26%, #06080C), 0 18px 30px -18px rgba(0, 0, 0, .6);
  }
  :root:not([data-theme="light"]) .fact__n { color: color-mix(in srgb, var(--tile-c) 70%, #fff); }
}
@media (max-width: 860px) and (min-width: 601px) { .facts { grid-template-columns: repeat(2, 1fr); } }
/* Every label holds two lines, so the numbers line up across the row
   whether a label wraps or not. */
@media (min-width: 601px) { .fact__l { min-height: 2.7em; } }

/* ── /features/ head on phones ── */
@media (max-width: 600px) {
  header.phead { padding-top: 40px; }
  header.phead .lede { font-size: 1rem; line-height: 1.55; margin-bottom: 22px; }
  .phead__more { display: none; }
  .phead .phead__actions { display: grid; gap: 10px; }
  .phead .phead__actions .btn { width: 100%; justify-content: center; }

  /* The nine modes as one swipeable strip under the buttons */
  .fx-constellation {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: none;
    grid-auto-columns: 74px;
    gap: 8px;
    margin: 22px -18px 0;
    padding: 6px 18px 10px;            /* lines up with the 18px page gutter */
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .fx-constellation::-webkit-scrollbar { display: none; }
  /* No glass panel here: the dark theme's inset edge would draw a hairline. */
  .phead .fx-constellation { box-shadow: none !important; background: none; border: 0; border-radius: 0; }
  .fx-constellation .cst__cell {
    display: grid;
    justify-items: center;
    gap: 7px;
    scroll-snap-align: start;
    animation: none;
  }
  /* The pop-in runs on the cell's children: a transformed snap target
     would make the strip settle a few pixels off its first item. */
  .fx-constellation .cst__cell > * {
    animation: cst-in 680ms var(--spring) calc(200ms + var(--i, 0) * 55ms) both;
  }
  .fx-constellation .cst__cell > .cst__l { animation-delay: calc(260ms + var(--i, 0) * 55ms); }
  .fx-constellation .cst__chip { width: 56px; height: 56px; border-radius: 17px; }
  .fx-constellation .cst__chip .ic { width: 58%; height: 58%; }
  .fx-constellation .cst__l {
    font: 800 .7rem/1.15 'Nunito', system-ui, sans-serif;
    color: var(--label);
    white-space: nowrap;
    max-width: 100%;
  }

  /* Facts: 2×2, the chip stacked above the number */
  .phead .facts { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
  .fact {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-items: start;
    row-gap: 0;
    padding: 14px 14px 13px;
    border-radius: 18px;
  }
  .fact__ico { grid-row: auto; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
  .fact__n { font-size: 1.9rem; }
  .fact__l { grid-column: auto; font-size: .78rem; }
}

/* ═══ §30 · Hero rating, bigger (2026-11-21, owner request) ═══
   Big stars, a large 4.8 and "1,000+ happy students" as a second score,
   split by a thin rule — one line on desktop, the stars on their own row
   on small phones. */
.hero__rating { gap: 8px 12px; margin: -10px 0 26px; flex-wrap: nowrap; white-space: nowrap; }
.hero__stars { gap: 1px; }
.hero__stars .sym { font-size: 21px; filter: drop-shadow(0 1px 0 rgba(180, 120, 0, .25)); }
.hero__score { display: inline-flex; align-items: baseline; gap: 6px; }
.hero__score b { font: 900 1.6rem/1 'Nunito', system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.hero__score small { font: 600 .84rem/1.2 'Inter', system-ui, sans-serif; color: var(--muted); }
.hero__sep { flex: none; width: 1.5px; height: 24px; border-radius: 2px; background: var(--card-border, rgba(0, 0, 0, .12)); }
@media (max-width: 600px) {
  .hero__rating { margin: 0 0 14px; gap: 6px 12px; flex-wrap: wrap; }
  .hero__stars .sym { font-size: 20px; }
  .hero__score b { font-size: 1.45rem; }
  .hero__score small { font-size: .8rem; }
  .hero__sep { height: 22px; }
}
@media (max-width: 420px) {
  .hero__stars { flex-basis: 100%; }
}

/* ═══ §31 · Tour stage fill (2026-11-21, batch 1/2) ═══════════════════════
   The pinned tour fills a big screen: a phone sized from the viewport, the
   step text centred on the phone's screen, "what's on screen" chips, a Write
   prompt card that fills its screen, and a Rush lane with speed and a queue.
   Layout and paint only: the track height, the scroll geometry, the 780ms
   HOLD queue, the numeral, the bleed and the titanium rim are untouched.
   Every size change lives at 900px and up, so the phone layout is as it was. */

/* ── Chips: two or three short phrases lifted from the step's own copy ──
   A direct child of the step, so they join its '> *' fly-in and fly-out. */
.tour__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 20px 0 0; padding: 0; list-style: none;
}
.tour__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 8px; border-radius: 99px;
  font: 700 13px/1.25 'Nunito', system-ui, sans-serif; letter-spacing: .01em;
  color: var(--ink);
  background: color-mix(in srgb, var(--tile-c) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--tile-c) 25%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 14px -10px color-mix(in srgb, var(--tile-c) 70%, transparent);
  white-space: nowrap;
}
.tour__chips .sym {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 99px;
  font-size: 15px; color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tile-c) 72%, #fff), var(--tile-c));
  box-shadow: 0 2px 6px -2px color-mix(in srgb, var(--tile-c) 80%, transparent);
}
:root[data-theme="dark"] .tour__chips li { box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--tile-c) 60%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tour__chips li { box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--tile-c) 60%, transparent); }
}
/* Enters last, 40ms after the paragraph; leaves with the rest (the shared
   '.is-past > *' translate), in both scroll directions. */
.tour__step.is-on > :nth-child(4) { transition-delay: 220ms; }
@media (max-width: 899px) {
  .tour__chips { display: none; }
}

@media (min-width: 900px) {
  /* ── Phone scale: width from the viewport height, capped so the whole
     phone (bezel + dots) fits under the nav. Where the cap falls under 320px
     the width stays 320 and fx.js's fit zoom (--pz) shrinks it exactly as
     before; above it the zoom is 1 and the phone simply grows. The screen
     keeps the original 302 x 596 proportions. */
  .tour__pin {
    --tw: min(clamp(320px, 34vh, 400px), max(320px, calc((100vh - 168px) * 302 / 596 + 18px)));
    --tcol: 520px;
  }
  .tour__phone { width: var(--tw); }
  .tour__screen { height: auto; aspect-ratio: 302 / 596; }

  /* ── Centring: the stick is the phone plus the dots row (16 + 8px), so
     the grid centres the text 12px below the phone. Lift it by that much:
     every step (they share one cell, each centred) lines up with the
     middle of the screen. */
  .tour__texts { margin-bottom: 24px; }
  .tour__step h3 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); }
  .tour__texts::after { height: 150px; margin-top: -75px; }
}
@media (min-width: 1200px) {
  .tour__pin { --tcol: 560px; }
  .tour__grid { grid-template-columns: minmax(0, var(--tcol)) auto; }
  /* The numeral stays anchored to the text column's left edge */
  .tour__num { left: max(16px, calc(50% - (var(--tcol) + var(--tw) + clamp(56px, 7vw, 120px)) / 2 - .16em));
    --ny: calc(-50% - .325em - 92px); }
}
/* Shorter screens: the lifted numeral stays clear of the nav island */
@media (min-width: 1200px) and (max-height: 880px) {
  .tour__num { font-size: min(clamp(14rem, 24vw, 26rem), calc(42vh - 80px)); }
}
@media (min-width: 1600px) {
  .tour__pin { --tcol: 640px; }
  .tour__grid.wrap { max-width: 1320px; }
  .tour__step p { max-width: 46ch; font-size: 1.18rem; }
}

/* ── Rush lane (tour only) ──
   modes.js moves the card by setting --x (-4% to 78%) under a transform
   transition, but the stylesheet places it with `left`, so it jumps and
   half of it hangs off the screen. Here the card element becomes a
   full-lane carrier moved by transform, and the visible card is its span,
   pulled back by the same fraction of its OWN width: the card's left edge
   sits at x * (lane - card), always inside the lane. The span inherits the
   inline transition, so both glide in lockstep, and a reset
   (transition: none) snaps both back together. */
.tour .rush__card {
  left: 0; right: 0; max-width: none;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  transform: translateX(clamp(0%, var(--x, 0%), 100%));
  animation: none !important;
}
.tour .rush__card > span {
  position: relative; display: block; width: max-content; max-width: 70%;
  padding: 16px 20px; border-radius: 22px;
  background: none; border: 0; box-shadow: none;   /* the face is ::before */
  transform: translateX(calc(-1 * clamp(0%, var(--x, 0%), 100%)));
  transition: inherit;
}
/* The span is a stacking context (it is transformed), so its face and the
   queue are pseudo-elements under its text: ::before is the card itself,
   ::after the next card in line (25%), whose shadow draws the one after
   that (about 12%). Blank shapes, stacked to the right like a deck. */
.tour .rush__card > span::before,
.tour .rush__card > span::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--card);
  border: 2px solid color-mix(in srgb, var(--m) 28%, transparent);
  pointer-events: none;
}
.tour .rush__card > span::before {
  z-index: -1;
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--md) 50%, transparent);
}
.tour .rush__card > span::after {
  z-index: -2; opacity: .25;
  translate: 24px 9px; scale: .92;
  background: color-mix(in srgb, var(--m) 10%, var(--card));
  border-color: color-mix(in srgb, var(--m) 70%, transparent);
  box-shadow: 24px 9px 0 -4px color-mix(in srgb, var(--m) 5%, color-mix(in srgb, var(--card) 50%, transparent)),
              24px 9px 0 -2px color-mix(in srgb, var(--m) 35%, transparent);
}
/* hit / miss: the same keyframes, on the visible card (individual
   transform properties, so they compose with the pull-back) */
.tour .rush__card.hit > span { animation: tourRushHit 300ms ease-out forwards; }
.tour .rush__card.gone > span { animation: tourRushGone 340ms ease-in forwards; }
@keyframes tourRushHit { to { opacity: 0; scale: 1.14; } }
@keyframes tourRushGone { to { opacity: 0; translate: 0 26px; rotate: 9deg; } }

/* Speed lines: faint dashes streaming toward the gate. An ambient loop on
   a compositor layer (transform only); it stops under reduce-motion, while
   the layer morphs out, and whenever the tour is off-screen. */
.tour .rush__track::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -180px; right: 0;
  --sl: linear-gradient(90deg, transparent 0 50%, color-mix(in srgb, var(--m) 30%, transparent) 92%, transparent 93%);
  --sl2: linear-gradient(90deg, transparent 0 72%, color-mix(in srgb, var(--m) 24%, transparent) 95%, transparent 96%);
  background:
    var(--sl) 0 11% / 180px 2px repeat-x,
    var(--sl2) 70px 27% / 180px 2px repeat-x,
    var(--sl) 25px 44% / 180px 2px repeat-x,
    var(--sl2) 110px 61% / 180px 2px repeat-x,
    var(--sl) 45px 77% / 180px 2px repeat-x,
    var(--sl2) 135px 92% / 180px 2px repeat-x;
  opacity: .8;
  pointer-events: none;
  animation: tourRushLines 900ms linear infinite;
  will-change: transform;
}
@keyframes tourRushLines { to { transform: translateX(180px); } }
.tour .tour__layer.is-out .rush__track::before,
body:not(.fx-tour-on) .tour .rush__track::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .tour .rush__track::before { animation: none; }
}
/* Breathing room between the score/shields row and the two bars */
.tour .dm:has(.rush__hud) > .dm__prog { margin-top: 10px; }

/* ═══ §29 · SRS curve (2026-11-21, batch 2/2) ═══════════════════════════
   A forgetting curve on a card, above the review cards (home: the right
   column; /features/: above "How the interval grows"). fx.js clones it in
   from <template id="srs-curve"> and toggles .is-on; every move here is a
   transition, so drawing and un-drawing reverse from wherever they are.
   Segment i starts at i × 460ms (fx.js GAP) and draws in 520ms; its dot
   pops as it starts, its dashed tail runs on once the next review lands.
   Not gated by reduce motion: it is an entrance. */
.srs__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.srs-curve {
  margin: 0;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 14px 16px 6px;
  box-shadow: 0 4px 0 var(--btn-depth), var(--card-shadow);
}
.srs-curve__svg { display: block; width: 100%; height: auto; overflow: visible; }
.srs-curve__svg--n { display: none; }
@media (max-width: 560px) {
  .srs-curve { padding: 12px 12px 4px; }
  .srs-curve__svg--w { display: none; }
  .srs-curve__svg--n { display: block; min-height: 150px; }
}
.srs-curve__y, .srs-curve__lab {
  fill: var(--muted);
  font: 700 11px 'Nunito', system-ui, sans-serif;
  letter-spacing: .01em;
}
.srs-curve__base, .srs-curve__tick {
  stroke: color-mix(in srgb, var(--ink) 14%, transparent);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.srs-curve__top {
  stroke: color-mix(in srgb, var(--ink) 10%, transparent);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.srs-curve__stop1 { stop-color: var(--accent); stop-opacity: .14; }
.srs-curve__stop2 { stop-color: var(--accent); stop-opacity: .02; }
.srs-curve__area { opacity: 0; transition: opacity 400ms ease; }
.srs-curve.is-on .srs-curve__area { opacity: 1; transition: opacity 700ms ease 1750ms; }

.srs-curve__seg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* --len is set once by fx.js; the gap is longer than the path, and the
     hidden offset pushes the dash (and its round cap) wholly off the path */
  stroke-dasharray: var(--len) calc(var(--len) + 12px);
  stroke-dashoffset: calc(var(--len) + 6px);
  transition: stroke-dashoffset 400ms cubic-bezier(.4, 0, .2, 1);
}
.srs-curve.is-on .srs-curve__seg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 520ms cubic-bezier(.45, .05, .35, 1) calc(var(--i) * 460ms);
}
.srs-curve__tail {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: .35;
  stroke-width: 2;
  stroke-dasharray: 4 5;
}
/* the tail is drawn through a mask: a plain stroke that runs out along it */
.srs-curve__tm {
  fill: none;
  stroke: #fff;
  stroke-width: 10;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset 400ms cubic-bezier(.4, 0, .2, 1);
}
.srs-curve.is-on .srs-curve__tm {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 560ms cubic-bezier(.2, .7, .3, 1) calc(var(--i) * 460ms + 500ms);
}
.srs-curve__dot, .srs-curve__ring { transform-box: fill-box; transform-origin: center; }
.srs-curve__dot {
  fill: var(--accent);
  stroke: var(--card);
  stroke-width: 2;
  opacity: 0;
  transform: scale(.6);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(.4, 0, .2, 1);
}
.srs-curve.is-on .srs-curve__dot {
  opacity: 1;
  transform: none;
  transition: opacity 160ms ease calc(var(--i) * 460ms + 40ms),
              transform 480ms cubic-bezier(.3, 1.8, .5, 1) calc(var(--i) * 460ms + 40ms);
}
/* a one-shot ripple as each dot lands (invisible at rest, so never a snap) */
.srs-curve__ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; }
.srs-curve.is-on .srs-curve__ring {
  animation: srsPing 760ms cubic-bezier(.2, .7, .3, 1) calc(var(--i) * 460ms + 60ms) forwards;
}
@keyframes srsPing {
  from { opacity: .6; transform: scale(1); }
  to { opacity: 0; transform: scale(3.4); }
}

/* The matching card answers as its dot lands: a lift and a green ring.
   Only the 35% frame is given, so it starts and ends on the card's own
   resting shadow and position — removing the class never jumps. */
.srs__step.is-hit { animation: srsHit 600ms cubic-bezier(.3, .7, .3, 1); }
@keyframes srsHit {
  35% {
    translate: 0 -4px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent),
                0 6px 0 var(--btn-depth), var(--card-shadow);
  }
}
.srs__step .srs__day { transition: scale 380ms cubic-bezier(.3, 1.6, .5, 1); }
.srs__step.is-hit .srs__day { scale: 1.1; }

/* /features/: a full-width row of the list. Wide screens get a long, low
   drawing (its own viewBox), so 11px labels stay about 11px instead of
   growing with the column. */
.srs-curve--in-list { grid-column: 1 / -1; margin-bottom: 14px; }
.srs-curve__svg--x { display: none; }
/* a long, low band across the list on wider screens */
@media (min-width: 761px) {
  .srs-curve--in-list .srs-curve__svg--x { display: block; }
  .srs-curve--in-list .srs-curve__svg--w { display: none; }
}
@media (min-width: 561px) { .srs-curve--in-list { padding: 16px 20px 8px; } }
@media (min-width: 980px) {
  .srs-curve--in-list { margin-bottom: 0; }
  .flist:has(> .srs-curve) > .fitem:last-child:nth-child(even) { grid-column: auto; }
}

/* ═══ §30 · Back-to-top tuck (2026-11-21, batch 2/2) ════════════════════
   fx.js §30 adds .is-tucked while the arrow would sit on a button, a FAQ
   chevron, a footer link or a QR button; it fades and dips out, and comes
   back on the base spring. Out of the way of the dock rule's precedence:
   body.fx-dock-up .back-to-top still decides its bottom when the dock is up. */
.back-to-top.is-tucked,
.back-to-top.visible.is-tucked {
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1),
              background 200ms ease, border-color 200ms ease;
}
@media (max-width: 600px) {
  .back-to-top { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}


/* ═══ §31 · Proof band: five figures (53 countries added 2026-11-21) ═══ */
.proof__grid { grid-template-columns: repeat(5, 1fr); }
.stat__globe { color: var(--accent); }
@media (max-width: 720px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  /* 53 countries leads on its own row; the other four pair up below */
  .proof__grid .stat--wide { grid-column: 1 / -1; }
  .proof__grid .stat--wide::before { display: none !important; }
  .proof__grid .stat:not(.stat--wide)::before { display: none; }
  .proof__grid .stat:not(.stat--wide):nth-child(odd)::before { display: block; }
}


/* ── 31.1 The countries figure gets a small spinning Earth ──
   Blue sea, gradient continents (a simplified world map, two copies side
   by side) and a faster cloud layer scrolling behind a sphere clip; night
   shading, a rim light, a specular highlight and a breathing blue halo.
   Five pins in the FlexLex mode colours ping in turn. Transform/opacity
   only; it keeps turning under reduce motion as a deliberate flourish. */
.stat__row { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.globe-wrap { display: block; width: clamp(60px, 6vw, 78px); aspect-ratio: 1; flex: none; margin: -8px -4px -8px -10px; }
.globe { display: block; width: 100%; height: 100%; overflow: visible; }
.globe__land { fill: url(#globeLand); stroke: #2A8C3A; stroke-opacity: .55; stroke-width: .5; stroke-linejoin: round; animation: globe-spin 18s linear infinite; }
.globe__clouds { fill: #fff; opacity: .42; animation: globe-spin 11s linear infinite; }
@keyframes globe-spin { to { transform: translateX(-120px); } }
.globe__halo { transform-box: fill-box; transform-origin: center; animation: globe-halo 3.2s ease-in-out infinite alternate; }
@keyframes globe-halo { from { opacity: .7; transform: scale(.97); } to { opacity: 1; transform: scale(1.04); } }
:root[data-theme="dark"] .globe__halo { filter: brightness(1.15); }
.globe__dot { fill: var(--c); stroke: #fff; stroke-width: .9; transform-box: fill-box; transform-origin: center; animation: globe-dot 4.5s ease-out var(--d) infinite; }
.globe__ring { fill: none; stroke: var(--c); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: globe-ring 4.5s ease-out var(--d) infinite; }
@keyframes globe-dot { 0%, 100% { transform: scale(1); } 5% { transform: scale(1.6); } 16% { transform: scale(1); } }
@keyframes globe-ring { 0%, 3% { opacity: 0; transform: scale(1); } 6% { opacity: .95; } 30%, 100% { opacity: 0; transform: scale(3.6); } }
@media (prefers-reduced-motion: reduce) {
  .globe__land { animation: globe-spin 18s linear infinite !important; }
  .globe__clouds { animation: globe-spin 11s linear infinite !important; }
  .globe__halo { animation: globe-halo 3.2s ease-in-out infinite alternate !important; }
  .globe__dot { animation: globe-dot 4.5s ease-out var(--d) infinite !important; }
  .globe__ring { animation: globe-ring 4.5s ease-out var(--d) infinite !important; }
}

/* ═══ §32 · Home rhythm (2026-11-21, body batch 1/2) ═══════════════════
   One calmer, fluid section padding on tablets and up, so the gap from a
   section's last card to the next eyebrow lands around 140-170px. The
   pinned tour is excluded (:not(.tour)) — its track geometry (100vh +
   4 × 90vh) and its 74px top stay exactly as they were. Phones keep their
   own tighter padding (§15). */
@media (min-width: 601px) {
  .section:not(.tour) { padding-block: clamp(68px, 3vh + 44px, 96px); }
  .section.story:not(.tour) { padding-block: 96px; }
  .section.cta:not(.tour) { padding-bottom: 96px; }
  #faq.section, #feedback.section { padding-block: clamp(60px, 2vh + 44px, 80px); }
}


/* ═══ §33 · #srs: the curve matches /features (Today · +1 · +6 · +3 wk) ═══
   Markup only (index.html <template id="srs-curve">); the draw-in is §29. */


/* ═══ §34 · #features: a soft green band, full bleed ═══════════════════
   Gradients only — no blur, filter or blend. The wash fades in and out at
   the section's top and bottom, so there is no edge against the amber
   story band above or the page below; the corner glow sits low enough
   (centre 300px down, gone by 252px out) that it never touches the top. */
section#features {
  --fb: color-mix(in srgb, var(--accent) 5%, var(--scaffold));
  background:
    radial-gradient(600px 360px at 85% 300px, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, transparent, var(--fb) 12%, var(--fb) 88%, transparent);
}
:root[data-theme="dark"] section#features { --fb: color-mix(in srgb, var(--accent) 7%, var(--scaffold)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) section#features { --fb: color-mix(in srgb, var(--accent) 7%, var(--scaffold)); }
}
/* The amber story band above used to stop on a hard line. Its bottom
   padding now melts into the page, and the features wash rises out of
   the same page colour, so the two bands hand over without a seam. */
.section.story { background: linear-gradient(180deg, var(--story-band) calc(100% - 96px), transparent); }
@media (max-width: 600px) {
  .section.story { background: linear-gradient(180deg, var(--story-band) calc(100% - 48px), transparent); }
}


/* ═══ §35 · Proof band: one crafted panel ═════════════════════════════
   The five figures and the language marquee share one rounded panel; the
   marquee runs along its bottom edge as the panel's footer strip. The
   globe stat (§31.1) is untouched. Numbers keep their exact values and
   their count-up (script.js writes textContent; the gradient is on the
   element, so it survives every frame). */
.proof::before { display: none; }
.proof__panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% -20%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    color-mix(in srgb, var(--accent) 4%, var(--card));
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 24px 60px -30px rgb(0 0 0 / .25);
}
.proof__panel .proof__grid { padding: 34px 24px 28px; }
/* The globe row stands taller than a bare numeral, which dropped its
   label below the other four. Each stat is a column whose first row
   takes the spare height and centres its figure, so all five numerals
   share a centre line and all five labels share a baseline. */
.proof__panel .stat { display: flex; flex-direction: column; }
.proof__panel .stat > :first-child { flex: 1; display: flex; align-items: center; justify-content: center; }
.proof__panel .stat__row { display: flex; }
/* Two up (≤720px) the globe has its own row, so the pairs simply sit at
   the top — a label that wraps never pushes its numeral down. */
@media (max-width: 720px) {
  .proof__panel .stat > :first-child { flex: none; }
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .proof__panel .stat__n {
    background: linear-gradient(180deg, var(--accent-lite) 0%, var(--accent) 45%, var(--accent-depth) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* the gradient needs a little room under descender-free numerals */
    padding-bottom: .06em;
  }
}
/* The marquee: the panel's footer strip, a hairline above, edges fading
   over 64px. Paused while off screen (fx.js) as well as on hover. */
.proof__panel .ticker {
  padding: 16px 0 18px;
  border-top: 1px solid color-mix(in srgb, var(--card-border) 80%, transparent);
  background: color-mix(in srgb, var(--accent) 3%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.ticker.is-off .ticker__track { animation-play-state: paused; }

:root[data-theme="dark"] .proof__panel {
  background:
    radial-gradient(70% 120% at 50% -20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    color-mix(in srgb, var(--accent) 6%, var(--card));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 24px 60px -30px rgb(0 0 0 / .7);
}
:root[data-theme="dark"] .proof__panel .stat__n {
  background-image: linear-gradient(180deg, #8BE08E 0%, var(--accent-lite) 45%, var(--accent) 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .proof__panel {
    background:
      radial-gradient(70% 120% at 50% -20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
      color-mix(in srgb, var(--accent) 6%, var(--card));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 24px 60px -30px rgb(0 0 0 / .7);
  }
  :root:not([data-theme="light"]) .proof__panel .stat__n {
    background-image: linear-gradient(180deg, #8BE08E 0%, var(--accent-lite) 45%, var(--accent) 100%);
  }
}
@media (max-width: 600px) {
  .proof__panel { border-radius: 24px; }
  .proof__panel .proof__grid { padding: 22px 6px 20px; row-gap: 20px; }
  .proof__panel .ticker { padding: 12px 0 14px; }
  .proof__panel .ticker {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  }
}


/* ═══ §36 · Pricing: the Free plan's CTA, accent-outlined and chunky ═══
   Same 3px lip as the other chunky buttons; the lip collapses on press.
   Pro stays solid. h2.pricing__h (§28) is not touched. */
.btn.btn--line {
  background: var(--card);
  color: var(--accent-ink);
  border: 2px solid var(--accent);
  padding-block: 12px;
  box-shadow: 0 3px 0 var(--accent-depth);
}
.btn.btn--line::after {
  background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--accent) 16%, transparent) 50%, transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .btn.btn--line:hover {
    background: color-mix(in srgb, var(--accent) 8%, var(--card));
    box-shadow: 0 5px 0 var(--accent-depth), 0 14px 26px -16px color-mix(in srgb, var(--accent) 60%, transparent);
  }
}
.btn.btn--line:active { transform: translateY(3px) scale(.98); box-shadow: 0 0 0 var(--accent-depth); }
:root[data-theme="dark"] .btn.btn--line {
  border-color: color-mix(in srgb, var(--accent) 80%, transparent);
  color: #7FD883;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn.btn--line {
    border-color: color-mix(in srgb, var(--accent) 80%, transparent);
    color: #7FD883;
  }
}


/* ═══ §37 · Phone decks: cards start on the 18px gutter, the next peeks ═══
   Replaces the centred decks (§15): the first card lines up with the
   text above it, the next shows ~28px on the right. fx.js measures each
   card's resting scroll from the first card (round(scrollLeft / step)),
   so the dots and the front-card focus follow. Scale shrinks toward the
   card's left edge so the peek keeps its width. */
@media (max-width: 600px) {
  .fx-deck.fx-deck--modes,
  .features__grid.fx-deck {
    --cw: calc(100vw - 58px);
    padding-inline: 18px;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }
  .fx-deck.fx-deck--modes.fx-deck > *,
  .features__grid.fx-deck.fx-deck > * {
    scroll-snap-align: start;
    transform-origin: 0 50%;
    scale: calc(1 - var(--k, 0) * .06);
    opacity: calc(1 - var(--k, 0) * .3);
  }
}



/* ═══ §38 · Footer with presence (2026-11-21, batch 2/2) ═══════════════
   Same markup on all four pages. A huge, faint, cropped "FlexLex" sits
   behind everything and rises in with the footer's own reveal (script.js
   tags every child of .footer__inner, this one included). The repeated
   Play badge becomes the scan-to-install QR button on ≥900px (phones keep
   the small Play button: a code on the phone you would scan it with is no
   use). Links get an underline that sweeps in from the left. */
.footer { position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 601px) { .footer { padding-bottom: clamp(56px, 8vw, 120px); } }
.footer__inner > :not(.footer__mark) { position: relative; z-index: 1; }

/* 38.1 The wordmark: bottom-aligned, ~40% cropped by the footer's edge.
   `translate` does the crop so `transform` stays free for the reveal. */
.footer__mark {
  position: absolute; left: 50%; bottom: 0; z-index: 0;
  translate: -50% 40%;
  font: 900 clamp(120px, 18vw, 280px)/.8 'Nunito', system-ui, sans-serif;
  letter-spacing: -.045em; white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 5%, transparent);
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
:root[data-theme="dark"] .footer__mark { color: color-mix(in srgb, var(--ink) 4.5%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer__mark { color: color-mix(in srgb, var(--ink) 4.5%, transparent); }
}
/* Its own reveal: a slow 40px rise and fade, whichever way the page was
   scrolling when it arrived (it lives at the very bottom). Runs under
   reduce motion too: it is an entrance. */
.footer__mark[data-reveal],
.footer__mark[data-reveal].from-top:not(.in) {
  opacity: 0; transform: translateY(40px);
  transition: opacity 900ms cubic-bezier(.16, 1, .3, 1), transform 1100ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: 120ms;
}
.footer__mark[data-reveal].in { opacity: 1; transform: none; }

/* 38.2 Tagline under the brand line: three site phrases, dot-separated. */
.footer__brand p.footer__tag {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 6px;
  color: var(--label); font-size: .84rem; font-weight: 700;
}
.footer__tag span + span::before {
  content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  margin: 0 10px; vertical-align: middle; translate: 0 -1px;
  background: var(--accent);
}

/* 38.3 Links: an underline that sweeps in from the left and leaves to the
   right; a clear focus ring for keyboards. */
.footer__col a {
  background: linear-gradient(currentColor, currentColor) no-repeat 100% calc(50% + .74em) / 0% 1.5px;
  transition: background-size 240ms cubic-bezier(.2, .8, .25, 1), color 160ms ease;
}
.footer__col a:hover, .footer__col a:focus-visible {
  color: var(--ink); background-position-x: 0; background-size: 100% 1.5px;
}
.footer__col a:focus-visible,
.footer .social__link:focus-visible,
.footer .theme-btn.footer__theme:focus-visible,
.footer .qr-btn:focus-visible {
  outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
.footer .theme-btn.footer__theme:focus-visible { border-radius: 999px; }
.footer .qr-btn:focus-visible { border-radius: 12px; }

/* 38.4 The bar: Theme · "Scan to install" + the QR tile (≥900px), or the
   small Play button (phones, where .qr-btn is hidden by §26.1). */
.footer__scan { display: none; }
@media (min-width: 900px) {
  .footer__play { display: none !important; }
  .footer__scan {
    display: inline-block; margin-left: 6px;
    color: var(--muted); font-size: .84rem; font-weight: 700; white-space: nowrap;
  }
  .footer__bar .qr-btn { width: 46px; height: 46px; padding: 6px; border-radius: 12px; }
}



/* ═══ §39 · Display scale (2026-11-21, art direction batch 1/3) ════════
   Two type steps for the home page: --fs-h2 for every section heading and
   --fs-display for the four chapter openers (#modes, #tour, #features and
   the #download finale). h2.pricing__h (§28) is excluded and untouched.
   Scoped to the home sections by their archetype classes (§40), so the
   sub-pages keep their own scale. */
:root {
  --fs-h2: clamp(2.3rem, 4.6vw, 4.4rem);
  --fs-display: clamp(2.6rem, 6.2vw, 6.4rem);
}
.section:is(.sec--stage, .sec--split, .sec--wide, .sec--finale, .tour, .feedback) h2:not(.pricing__h) {
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  max-width: 16ch;
}
#modes.section h2, #tour.section .tour__head h2, #features.section h2, #download.section h2 {
  font-size: var(--fs-display);
  margin-bottom: 18px;
}
.section:is(.sec--stage, .sec--split, .sec--wide, .sec--finale, .tour, .feedback) .lede {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}
/* The per-word rise (fx.js splitWords) moves each word .6em: at display
   size the descenders need a hair more room so nothing clips. */
.section:is(.sec--stage, .sec--wide, .sec--finale, .tour) h2.fx-words:not(.pricing__h) .wd { padding-bottom: .04em; }
br.d { display: none; }
@media (min-width: 900px) { br.d { display: inline; } }
@media (max-width: 420px) {
  .section:is(.sec--stage, .sec--split, .sec--wide, .sec--finale, .tour, .feedback) h2:not(.pricing__h),
  #modes.section h2, #tour.section .tour__head h2, #features.section h2, #download.section h2 {
    font-size: min(var(--fs-h2), 2.3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
  }
  /* Story's four no-break phrases: a hair smaller and packed greedily, so
     "Your words. One story." shares a line and the heading is 3 lines. */
  #story.section h2 { font-size: 8.6vw; text-wrap: wrap; max-width: none; }
}


/* ═══ §40 · Section archetypes ═════════════════════════════════════════
   (A) Stage  (.sec--stage: #modes, #pricing) — a centred heading block on
       a tinted full-bleed band with hairlines top and bottom; the only
       sections that keep the pill eyebrow.
   (B) Split  (.sec--split: #story, #srs) — the existing left layout.
   (C) Wide   (.sec--wide: #features, #faq) — at 1100px+ a 7/5 grid, heading
       left and lede right on the heading's last baseline; the pill becomes
       a mono-caps label behind a short accent hairline. */
@media (min-width: 601px) {
  .section.sec--stage { padding-block: clamp(120px, 14vw, 200px); }
  .section.sec--split, .section.story.sec--split:not(.tour) { padding-block: clamp(88px, 9vw, 140px); }
}
@media (max-width: 600px) {
  .section.sec--stage { padding-block: 92px; }
  .section.sec--split { padding-block: 76px; }
}

/* (A) Stage */
.sec--stage > .wrap > .eyebrow { display: flex; width: fit-content; margin-inline: auto; }
.sec--stage > .wrap > h2, .sec--stage > .wrap > .lede { text-align: center; margin-inline: auto; }
.sec--stage > .wrap > h2:not(.pricing__h) { max-width: 14ch; }
#modes.sec--stage > .wrap > .lede { margin-bottom: 30px; }
@media (min-width: 601px) {
  #modes.sec--stage .try { display: flex; width: fit-content; margin-inline: auto; margin-bottom: 26px; }
}
#modes.sec--stage > .wrap > .note { justify-content: center; text-align: center; }
@media (max-width: 600px) {
  .sec--stage > .wrap > h2:not(.pricing__h), .sec--stage > .wrap > .lede { text-align: left; margin-inline: 0; }
  .sec--stage > .wrap > .eyebrow { margin-inline: 0; }
  #modes.sec--stage > .wrap > .note { justify-content: flex-start; text-align: left; }
  /* Pricing keeps its centred heading on phones (the §28 caps line). */
  #pricing.sec--stage > .wrap > .eyebrow { margin-inline: auto; }
  #pricing.sec--stage > .wrap > .lede { text-align: center; margin-inline: auto; }
}

/* (C) Wide: the mono-caps label */
.sec--wide .eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 12px;
  padding: 0; background: none; border: 0; border-radius: 0;
  font: 600 .72rem/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.sec--wide .eyebrow::before {
  width: 24px; height: 1.5px; border-radius: 1px;
  background: var(--accent); opacity: 1;
  animation: none; transform: none;
}
@media (min-width: 1100px) {
  #features.sec--wide > .wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    column-gap: clamp(40px, 3.6vw, 56px);
  }
  #features.sec--wide > .wrap > * { grid-column: 1 / -1; min-width: 0; }
  /* The display step, sized so each sentence holds one line of the 7fr
     column ("Keep them forever." is the longer one). */
  #features.sec--wide > .wrap > h2 { grid-column: 1; grid-row: 2; align-self: last baseline; max-width: none; margin-bottom: 56px; font-size: min(var(--fs-display), 4.1rem, 4.9vw); }
  #features.sec--wide > .wrap > .lede { grid-column: 2; grid-row: 2; align-self: last baseline; margin: 0 0 56px; }

  #faq.sec--wide > .wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(48px, 5vw, 96px);
    row-gap: 0; /* §-faq's 56px gap would otherwise open between the label and the heading */
    align-items: start;
  }
  #faq.sec--wide .faq__head {
    grid-column: 1 / -1; grid-row: 1 / 4;
    display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid;
    position: relative; top: auto; align-self: stretch;
    pointer-events: none;
  }
  #faq.sec--wide .faq__head > * { pointer-events: auto; }
  #faq.sec--wide .faq__head > .eyebrow { grid-column: 1 / -1; grid-row: 1; }
  /* Subgrid rows do not share a baseline context with the parent's, so
     the lede is end-aligned; its last line lands on the heading's. */
  #faq.sec--wide .faq__head > h2 { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 48px; }
  #faq.sec--wide .faq__head > .lede { grid-column: 2; grid-row: 2; align-self: end; margin: 0 0 52px; }
  #faq.sec--wide .faq__head > .faq__stuck { grid-column: 2; grid-row: 3; align-self: start; position: sticky; top: 120px; margin: 0; }
  #faq.sec--wide .faq__list { grid-column: 1; grid-row: 3; position: relative; z-index: 1; }
}


/* ═══ §41 · Feathered bands ════════════════════════════════════════════
   Every tinted band paints on a ::after behind its content and fades in
   and out over 120px (mask on the pseudo, never on the content), so no
   band ever stops on a line. The story band rises out of transparent,
   which is also the hand-off from the tour's Rush-red bleed. */
.sec--stage, .section.story, section#features { isolation: isolate; }
.sec--stage::after, .section.story::after, section#features::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 120px), transparent);
}
@media (max-width: 600px) {
  .sec--stage::after, .section.story::after, section#features::after {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 72px, #000 calc(100% - 72px), transparent);
  }
}
/* Story: the cream band, now on the pseudo. */
.section.story, section#features { background: none; }
.section.story::after { background: var(--story-band); }
.tour + .story { border-top-color: transparent; }
.tour + .story::before { opacity: 0; }
/* Features: the soft green band + its low corner glow (was §34). */
section#features::after {
  background:
    radial-gradient(600px 360px at 85% 300px, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--fb);
}
section#features::before { opacity: 0; }
/* Stage bands: a radial wash (6% light / 10% dark) over a faint base, so
   the band reads as a band even on the pale slate. #modes washes in the
   mode hues, #pricing in gold and the accent. */
.sec--stage { --st-c: var(--accent); --st-k: 6%; --st-b: 4.5%; }
#modes.sec--stage { --st-c: var(--cat-blue); }
.sec--stage::after {
  background:
    radial-gradient(60% 55% at 50% 8%, color-mix(in srgb, var(--st-c) calc(var(--st-k) * 1.6), transparent), transparent 70%),
    radial-gradient(45% 50% at 12% 70%, color-mix(in srgb, var(--cat-purple) var(--st-k), transparent), transparent 70%),
    radial-gradient(45% 50% at 88% 72%, color-mix(in srgb, var(--accent) var(--st-k), transparent), transparent 70%),
    color-mix(in srgb, var(--st-c) var(--st-b), var(--scaffold));
}
#pricing.sec--stage::after {
  background:
    radial-gradient(60% 55% at 50% 14%, color-mix(in srgb, #E0B64A calc(var(--st-k) * 1.3), transparent), transparent 70%),
    radial-gradient(70% 60% at 50% 78%, color-mix(in srgb, var(--accent) var(--st-k), transparent), transparent 72%),
    color-mix(in srgb, var(--accent) var(--st-b), var(--scaffold));
}
:root[data-theme="dark"] .sec--stage { --st-k: 10%; --st-b: 3%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec--stage { --st-k: 10%; --st-b: 3%; }
}
/* Hairlines top and bottom, fading at both ends (the band itself is
   feathered; the rules mark where the chapter starts and ends). */
.sec--stage::before {
  display: block;
  top: 0; bottom: 0; height: auto;
  background:
    linear-gradient(90deg, transparent, color-mix(in oklab, var(--ink) 8%, transparent) 20%, color-mix(in oklab, var(--ink) 8%, transparent) 80%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, color-mix(in oklab, var(--ink) 8%, transparent) 20%, color-mix(in oklab, var(--ink) 8%, transparent) 80%, transparent) bottom / 100% 1px no-repeat;
  pointer-events: none;
}
/* The section after a Stage band would draw its own rule a pixel below
   the band's bottom hairline: one rule is enough. */
.sec--stage + .section::before { opacity: 0; }


/* ═══ §42 · Pricing, honest (home + /features) ═════════════════════════
   Free is the primary (filled, accent ring, lifted); Pro is an outline
   "Get the app, upgrade inside" with the in-app note, a 1px gold edge
   that rhymes with §28's "free.", and a hearts panel in its dead zone.
   `translate` lifts Free so `transform` stays free for the reveal/hover. */
.pricing__grid { align-items: stretch; }
.pricing__grid .plan { display: flex; flex-direction: column; padding-bottom: 58px; }
.pricing__grid .plan .btn { margin-top: auto; }
.pricing__grid .plan--free {
  /* lifted 8px, and 8px taller below, so its bottom (and its CTA) stays
     level with Pro's */
  translate: 0 -8px;
  margin-bottom: -8px;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent),
              0 34px 64px -30px color-mix(in srgb, var(--accent) 55%, rgb(0 0 0 / .45)),
              0 10px 24px -14px rgb(0 0 0 / .18);
}
@media (hover: hover) { .pricing__grid .plan--free:hover {
  box-shadow: 0 0 0 2px var(--accent),
              0 42px 72px -30px color-mix(in srgb, var(--accent) 60%, rgb(0 0 0 / .45)),
              0 12px 26px -14px rgb(0 0 0 / .2);
} }
.pricing__grid .plan--pro {
  --g1: #7A5A12; --g2: #B8871F; --g3: #E0B64A; --g4: #F6DC8A;
  border-color: transparent;
  box-shadow: 0 4px 0 var(--btn-depth), var(--card-shadow);
}
@media (hover: hover) { .pricing__grid .plan--pro:hover { box-shadow: 0 8px 0 var(--btn-depth), 0 24px 42px -24px rgb(20 18 26 / .4); } }
:root[data-theme="dark"] .pricing__grid .plan--pro { --g1: #A97C22; --g2: #D9A93A; --g3: #F3CF6A; --g4: #FFF0BE; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing__grid .plan--pro { --g1: #A97C22; --g2: #D9A93A; --g3: #F3CF6A; --g4: #FFF0BE; }
}
/* The gold edge: §9's travelling border, re-inked in §28's gold and held
   still (static, so it is the same under reduce motion). */
.pricing__grid .plan--pro::before {
  display: block;
  inset: -1.5px; padding: 1.5px;
  background: linear-gradient(135deg, var(--g2), var(--g4) 22%, var(--g3) 40%, var(--g1) 62%, var(--g3) 82%, var(--g4));
  animation: none;
  opacity: .95;
}
.pricing__grid .plan--pro::after {
  background: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--g3) 14%, transparent), transparent 72%);
}
/* The numerals: Playfair Display 900 where the page loads it (home); the
   /features font URL does not, so its numerals stay Nunito. */
.pricing:has(.pricing__h) .plan__amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: clamp(3rem, 5.4vw, 4rem);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1;
  line-height: 1;
  margin: 10px 0 6px;
}
.plan__month { font-size: .84rem; color: var(--muted); font-weight: 500; margin: -14px 0 18px; }
.price__note {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.35;
}
/* Hearts panel: five a day, then one heart with an infinity: Pro's actual
   difference drawn rather than claimed. Decoration (aria-hidden). */
.pricing__grid .plan--pro .plan__feat { flex: none; }
.plan__hearts {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: auto 0; padding: 16px 18px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}
.pricing__grid .plan .plan__hearts + .btn { margin-top: 22px; }
:root[data-theme="dark"] .plan__hearts { background: color-mix(in srgb, var(--accent) 10%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .plan__hearts { background: color-mix(in srgb, var(--accent) 10%, transparent); }
}
.plan__hearts-side { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.plan__hearts-row { display: flex; gap: 2px; }
.plan__hearts .sym {
  font-size: 16px; color: var(--cat-pink);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}
.plan__hearts-l { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan__hearts-chev { width: 10px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .6; margin-top: -16px; }
.plan__hearts-one { display: flex; align-items: center; gap: 4px; height: 16px; }
.plan__hearts-one .sym { font-size: 18px; }
.plan__inf { width: 28px; height: 14px; overflow: visible; }
.plan__inf path {
  fill: none; stroke: var(--cat-pink); stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1400ms cubic-bezier(.45, .05, .2, 1) 500ms;
}
[data-reveal]:not(.in) .plan__inf path { stroke-dashoffset: 1; transition: none; }
@media (max-width: 700px) {
  .pricing__grid .plan--pro .plan__feat, .pricing__grid .plan__feat { display: flex; flex-direction: column; gap: 9px; }
  .pricing__grid .plan { padding-bottom: 56px; }
  .pricing__grid .plan--pro .plan__feat { margin-bottom: 18px; }
}


/* ═══ §43 · Finale: #download, #feedback, footer on one ink ground ═════
   Dark in BOTH themes: the dark surface tokens are re-declared on the
   three blocks, so everything inside (form fields, links, wordmark) reads
   as dark UI. The download band is full-bleed (no box), lit by an
   app-green radial, and the nine mode icons orbit the logo on two rings
   (34s inner / 50s outer, both clockwise; each icon counter-rotates so it
   stays upright). The rings run while fx.js marks the band .is-live (on
   screen), and keep running under reduce motion (owner's call, like the
   globe). Phones put all nine on one 60s ring (below). */
.sec--finale, #download ~ #feedback, #download ~ .footer {
  --bg-ink: #0d1117;
  --scaffold: #0d1117;
  --card: #161B24;
  --card-2: #1F2530;
  --ink: #E6E9F2;
  --muted: #9CA3B8;
  --label: #FFFFFF;
  --accent-ink: #7FD883;
  --accent-depth: #2C6B2F;
  --accent-soft: #172720;
  --card-border: rgba(255, 255, 255, .10);
  --card-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
  --btn-face: linear-gradient(180deg, #252A36, #1F242E);
  --btn-depth: #05070A;
  --track: #252A36;
  --hairline: #2A303C;
  color-scheme: dark;
  color: var(--ink);
  background: var(--bg-ink);
}
#download ~ #feedback::before { opacity: 0; }
#download ~ .footer { border-top: 0; }
#download ~ .footer .footer__mark { color: rgba(255, 255, 255, .045); }
#download ~ .footer .nav__logo { color: #fff; }
#download ~ #feedback .feedback__form { box-shadow: 0 4px 0 #05070A, 0 30px 60px -30px rgba(0, 0, 0, .7); }

/* The band: no box, a feathered rise out of the page above. */
.sec--finale.cta { position: relative; isolation: isolate; overflow: clip; overflow-clip-margin: 0; background: none; text-align: center; }
.sec--finale::before {
  display: block;
  content: ''; position: absolute; inset: 0; z-index: -1; height: auto;
  background:
    radial-gradient(42% 46% at 50% 54%, rgb(67 160 71 / .18), transparent 70%),
    var(--bg-ink);
  pointer-events: none;
}
/* The band does not stop on a ruled line: its top is a wide horizon arc
   (wider than the viewport, so only the gentle middle of the curve shows),
   lit along its rim by a thin green light. */
.sec--finale::before {
  left: -30%; right: -30%;
  border-radius: 50% 50% 0 0 / 120px 120px 0 0;
  box-shadow: inset 0 1px 0 rgb(127 216 131 / .28), 0 -30px 80px -40px rgb(67 160 71 / .35);
}
@media (max-width: 600px) {
  .sec--finale::before { left: -60%; right: -60%; border-radius: 50% 50% 0 0 / 56px 56px 0 0; }
}
@media (min-width: 601px) {
  .section.sec--finale { padding-block: clamp(150px, 14vw, 220px) clamp(96px, 9vw, 140px); }
}
@media (max-width: 600px) {
  .section.sec--finale { padding-block: 110px 72px; }
}
.sec--finale .wrap,
:root[data-theme="dark"] .sec--finale .wrap {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 0 24px; margin: 0 auto; overflow: visible;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec--finale .wrap { background: none; border: 0; box-shadow: none; }
}
.sec--finale .wrap::after { display: none; }
@media (max-width: 600px) {
  .sec--finale .wrap, .cta.sec--finale .wrap, :root[data-theme="dark"] .sec--finale .wrap { margin: 0 auto; padding: 0 18px; }
}
.sec--finale h2 {
  color: #fff; text-shadow: none;
  margin: 0 auto 18px; max-width: 13ch;
}
.sec--finale .wrap > p:not(.cta__note) { color: #AEB5C8; font-size: clamp(1.02rem, 1.2vw, 1.15rem); max-width: 44ch; margin: 0 auto 34px; }
.sec--finale .eyebrow { color: #E6E9F2; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.sec--finale .eyebrow::before { background: #7FD883; }

/* "today.": the hero's ink + swash, drawn in when the heading lands. */
.sec--finale h2 .swash {
  background: linear-gradient(100deg, #6FDB73 0%, #2FD3B6 50%, #6FDB73 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec--finale h2 .swash svg { -webkit-text-fill-color: initial; }
.sec--finale h2 .swash path {
  stroke: #43A047; stroke-dasharray: 340;
  animation: none; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1100ms cubic-bezier(.3, .9, .3, 1) 520ms;
}
.sec--finale h2[data-reveal]:not(.in) .swash path { stroke-dashoffset: 340; transition: none; }

/* The orbit: a stage above the heading; the logo is its hub. */
.cta__orbit {
  --R1: 112px; --R2: 186px; --ic: 56px;
  position: relative;
  width: calc(var(--R2) * 2 + var(--ic)); height: calc(var(--R2) * 2 + var(--ic));
  max-width: 100%;
  margin: -64px auto 18px;
}
.cta__orbit::before, .cta__orbit::after {   /* the two faint ring tracks */
  content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  translate: -50% -50%; pointer-events: none;
}
.cta__orbit::before { width: calc(var(--R1) * 2); height: calc(var(--R1) * 2); }
.cta__orbit::after { width: calc(var(--R2) * 2); height: calc(var(--R2) * 2); border-style: dashed; border-color: rgba(255, 255, 255, .06); }
.orb__ring {
  position: absolute; inset: 0;
  animation: orb-spin 34s linear infinite paused;
}
.orb__ring--out { animation-duration: 50s; }
.orb__slot {
  position: absolute; left: 50%; top: 50%;
  width: var(--ic); height: var(--ic); margin: calc(var(--ic) / -2) 0 0 calc(var(--ic) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--R) * -1)) rotate(calc(var(--a) * -1));
}
.orb__ring--in .orb__slot { --R: var(--R1); }
.orb__ring--out .orb__slot { --R: var(--R2); }
.orb__ic { display: block; width: 100%; height: 100%; animation: orb-spin 34s linear infinite reverse paused; }
.orb__ring--out .orb__ic { animation-duration: 50s; }
.cta.is-live .orb__ring, .cta.is-live .orb__ic { animation-play-state: running; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
.orb__chip.ic-chip {
  width: 100%; height: 100%; border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .12),
              0 3px 0 color-mix(in srgb, var(--g2) 55%, #000), 0 14px 28px -12px rgba(0, 0, 0, .7) !important;
}
.orb__chip .ic { width: 58%; height: 58%; }
.cta__orbit-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 112px; height: 112px; border-radius: 34px;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgb(67 160 71 / .35), transparent 70%);
}
.sec--finale .cta__logo {
  width: 96px; height: 96px; border-radius: 26px; margin: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 10px rgba(255, 255, 255, .03),
              0 24px 50px -14px rgba(0, 0, 0, .8), 0 0 80px -10px rgb(67 160 71 / .55);
}
/* The orbit is the logo's entrance now (it is a revealed child of .wrap). */
.sec--finale .cta__logo:has(~ .eyebrow[data-reveal]:not(.in)) { opacity: 1; translate: none; rotate: none; scale: none; }
.cta__orbit[data-reveal] { transition: opacity 900ms cubic-bezier(.16, 1, .3, 1), transform 1100ms cubic-bezier(.16, 1, .3, 1); }
.cta__orbit[data-reveal]:not(.in) { opacity: 0; transform: scale(.86) rotate(-12deg); }
.cta__orbit[data-reveal].in { opacity: 1; transform: none; }

/* Buttons on ink: Play keeps its black, gets a hairline; the secondary is
   a quiet glass slab; the platform line stays right under them. */
.sec--finale .btn--play { border: 1px solid rgba(255, 255, 255, .14); }
.sec--finale .btn--ghost-light,
:root[data-theme="dark"] .sec--finale .btn--ghost-light {
  background: rgba(255, 255, 255, .06); color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 0 #05070A;
}
.sec--finale .btn--ghost-light:hover,
:root[data-theme="dark"] .sec--finale .btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec--finale .btn--ghost-light {
    background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 0 #05070A;
  }
}
.sec--finale .wrap > p.cta__note { display: block; width: 100%; text-align: center; color: #AEB5C8; font-size: .88rem; margin: 16px auto 0; }
.sec--finale .cta__trust { margin: 26px 0 0; }
.sec--finale .cta__trust span { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #D5DAE6; }
.sec--finale .cta-bubbles {
  opacity: .55; inset: 0 -14vw; border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 34% 60% at 50% 50%, transparent 70%, #000 92%), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 34% 60% at 50% 50%, transparent 70%, #000 92%), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}

@media (max-width: 600px) {
  .cta__orbit { --R1: 118px; --R2: 118px; --ic: 44px; margin: -30px auto 16px; }
  .cta__orbit::after { display: none; }
  .orb__ring--in .orb__slot, .orb__ring--out .orb__slot {
    transform: rotate(var(--m)) translateY(calc(var(--R) * -1)) rotate(calc(var(--m) * -1));
  }
  .cta__orbit .orb__ring, .cta__orbit .orb__ic { animation-duration: 60s; }   /* one shared ring: one speed */
  .orb__chip.ic-chip { border-radius: 13px; }
  .cta__orbit-core { width: 92px; height: 92px; }
  .sec--finale .cta__logo { width: 76px; height: 76px; border-radius: 21px; }
}

/* The nav island's top fade over the ink finale (fx.js sets .fx-nav-ink
   while the strip under the bar is over #download / #feedback / footer). */
html.fx-nav-ink[data-nav="top"] .nav.is-island::before {
  background: linear-gradient(to bottom, rgb(13 17 23 / .7) 0%, rgb(13 17 23 / .35) 55%, transparent 100%);
}
/* Over the ink finale the island itself turns to dark glass in BOTH
   themes (in light it was a pale pill floating on ink). Same dark tokens
   as the finale, scoped to the pill; colours cross-fade. */
html.fx-nav-ink .nav.is-island .nav__inner {
  --card: #161B24;
  --card-2: #1F2530;
  --ink: #E6E9F2;
  --muted: #9CA3B8;
  --accent-ink: #7FD883;
  --card-border: rgba(255, 255, 255, .12);
  --btn-face: linear-gradient(180deg, #252A36, #1F242E);
  --btn-depth: #05070A;
  --hairline: #2A303C;
  color-scheme: dark;
  color: var(--ink);
}
html.fx-nav-ink .nav.is-island .nav__logo { color: var(--ink); }
html.fx-nav-ink .nav.is-island .nav__inner::before { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.nav.is-island .nav__inner::before { transition: opacity 300ms ease, background-color 320ms ease, border-color 320ms ease; }
.nav.is-island .nav__logo, .nav.is-island .nav__links a:not(.btn), .nav.is-island .theme-btn { transition: color 320ms ease, background-color 320ms ease, border-color 320ms ease; }

/* ═══ §44 · Hero: one decision (2026-11-21, first-impression batch 2/3) ══
   One filled CTA (Play), a quiet secondary of the same height and width,
   and the QR tile squared to that height beside it. The three trust pills
   become one muted line under the buttons. The same --cta-h runs through
   the /features head and the #download finale, so every CTA row lines up. */
:root { --cta-h: 58px; --cta-r: 16px; --cta-lip: 5px; }

/* 44.1 The quiet secondary: no fill, a hairline, an arrow that nudges. */
.btn.btn--quiet {
  height: var(--cta-h);
  padding: 0 22px;
  border-radius: var(--cta-r);
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  box-shadow: none;
  color: var(--ink);
  font-weight: 800;
  gap: 10px;
  /* translate: the magnet (fx.js) moves it; keep that glide */
  transition: transform 420ms var(--spring-soft), translate 380ms cubic-bezier(.2, 1.4, .4, 1),
              background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.btn.btn--quiet::after { display: none; }              /* no sheen on a quiet button */
.btn--quiet__arr {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: translate 380ms var(--spring);
}
.btn.btn--quiet:hover {
  transform: none; filter: none;
  background: color-mix(in oklab, var(--ink) 4%, transparent);
  border-color: color-mix(in oklab, var(--ink) 28%, transparent);
}
.btn.btn--quiet:hover .btn--quiet__arr { translate: 3px 0; }
.btn.btn--quiet:active { transform: translateY(1px) scale(.985); box-shadow: none; transition-duration: 90ms; }
.btn.btn--quiet:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 44.2 Play: the only filled CTA, on the shared height and lip. */
.hero__actions .btn.btn--play,
.phead__actions .btn.btn--play,
.cta__buttons .btn.btn--play {
  height: var(--cta-h);
  padding-top: 0; padding-bottom: 0;
  border-radius: var(--cta-r);
  justify-content: center;
  box-shadow: 0 var(--cta-lip) 0 #000, 0 14px 26px -14px rgba(0, 0, 0, .6);
}
.hero__actions .btn.btn--play:hover,
.phead__actions .btn.btn--play:hover,
.cta__buttons .btn.btn--play:hover {
  box-shadow: 0 calc(var(--cta-lip) + 2px) 0 #000, 0 20px 34px -14px rgba(61, 220, 132, .55);
}
.hero__actions .btn.btn--play:active,
.phead__actions .btn.btn--play:active,
.cta__buttons .btn.btn--play:active { box-shadow: 0 0 0 #000; }

/* 44.3 The hero row: a grid from 900px. Play on top; the secondary under
   it at the same width; the QR tile beside the secondary, square. */
@media (min-width: 900px) {
  .hero .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 300px) auto;
    gap: 12px;
    align-items: center;
    justify-content: start;
    margin-bottom: 24px;
  }
  .hero .hero__actions .btn--play { grid-column: 1; grid-row: 1; width: 100%; }
  .hero .hero__actions .btn--quiet { grid-column: 1; grid-row: 2; width: 100%; }
  .hero .hero__actions .qr-btn,
  .phead__actions .qr-btn,
  .cta__buttons .qr-btn {
    width: var(--cta-h); height: var(--cta-h);
    padding: 9px;
    border-radius: var(--cta-r);
  }
  .hero .hero__actions .qr-btn {
    grid-column: 2; grid-row: 2;
    border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
    box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 8%, transparent), 0 12px 24px -16px rgba(10, 14, 24, .35);
  }
  .hero .hero__actions .qr-btn:active { box-shadow: none; }
  /* /features head: the same pair, one row, matched heights */
  .phead__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .phead__actions .btn.btn--play { min-width: 260px; }
}
/* Phones and narrow screens: the full-width stack, on the same height. */
@media (max-width: 899px) {
  .hero .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero .hero__actions .btn { width: 100%; height: var(--cta-h); padding-top: 0; padding-bottom: 0; }
  .phead .phead__actions .btn { height: var(--cta-h); padding-top: 0; padding-bottom: 0; }
}

/* 44.4 #download: the same height everywhere in the row. */
.cta__buttons { align-items: center; }
.cta__buttons .btn { height: var(--cta-h); padding-top: 0; padding-bottom: 0; border-radius: var(--cta-r); }

/* 44.5 The trust line: three claims, one muted row, no boxes. The glyphs
   are the §17 duotone set drawn straight onto the page (fx.js): the solid
   ink in the icon's own hue, the cut-outs in the page colour. */
.hero__assure {
  display: flex; flex-wrap: wrap; align-items: center;
  row-gap: 4px;
  margin: 0;
  font-size: .86rem; font-weight: 500; line-height: 1.4;
  color: var(--muted);
  animation: fx-rise 800ms var(--ease-out) 760ms both;
}
.hero__assure > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero__assure > span + span::before {
  content: '';
  width: 3px; height: 3px; border-radius: 50%;
  margin: 0 10px 0 9px;
  background: color-mix(in oklab, var(--muted) 55%, transparent);
}
.hero__assure em { font-style: normal; }
.hero__assure .t-short { display: none; }
.hero__assure > span > .sym { font-size: 15px; color: var(--accent); }
.ha-g {
  --ha: color-mix(in oklab, var(--g1) 45%, var(--g2));
  display: inline-block; flex: none;
  width: 14px; height: 14px;
}
.ha-g .ic { width: 100%; height: 100%; filter: none; }
.ha-g .ic .w, .ha-g .ic .w2 { fill: var(--ha); }
.ha-g .ic .w2 { opacity: .42; }
.ha-g .ic .ws, .ha-g .ic .ws2 { stroke: var(--ha); }
.ha-g .ic .ws2 { opacity: .42; }
.ha-g .ic .c { fill: var(--scaffold); }
.ha-g .ic .cs { stroke: var(--scaffold); }
/* One row everywhere: the short labels wherever the long ones would wrap
   (phones, and the narrow two-column band, 900-1099px). */
@media (max-width: 480px), (min-width: 900px) and (max-width: 1099px) {
  .hero__assure { flex-wrap: nowrap; }
  .hero__assure .t-long { display: none; }
  .hero__assure .t-short { display: inline; }
}
@media (max-width: 420px) {
  .hero__assure { font-size: .8rem; }
  .hero__assure > span + span::before { margin: 0 8px 0 7px; }
}
/* 1100-1299px: the right-hand card ran off the window's edge. */
@media (min-width: 1100px) and (max-width: 1299px) {
  .hero__stage .fw--3 { right: -3%; }
}
/* 900-1099px: the one card left (the streak) sat on the rating line. */
@media (min-width: 900px) and (max-width: 1099px) {
  .hero__stage .fw { display: none; }
}

/* 44.6 The headline: "Remember them." on one line from 1100px, the swash
   still under "them."; a slightly larger phone from 1200px. */
@media (min-width: 1100px) {
  .hero__nb { white-space: nowrap; }
  .hero h1 { font-size: clamp(2.5rem, 4.55vw, 3.85rem); }
}
@media (min-width: 1200px) {
  .hero .hero__stage .phone { zoom: 1.11; }
}

/* ═══ §45 · Phone power-on ══════════════════════════════════════════════
   The hero phone wakes up once: a glare sweeps the glass, the progress of
   the set fills, the Review row rises and its badge pops, the tiles land,
   and the three cards pop out of the rim. Transform + opacity only, and
   one-shot (an entrance, so it plays under reduce motion too). From 900px
   it runs from page load; below, the phone is under the fold, so fx.js
   holds it paused (.fx-pw-io) until it scrolls into view (.is-on). */
.hero .phone__screen { position: relative; }
.hero .phone__screen::after {
  content: '';
  position: absolute; inset: -10% -30%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  animation: fx-pw-glare 900ms cubic-bezier(.45, .05, .35, 1) calc(var(--pw0, 0ms) + 650ms) both;
}
@keyframes fx-pw-glare {
  0%   { transform: translateX(-120%); opacity: 0; }
  35%  { opacity: var(--pw-glare, .3); }
  65%  { opacity: var(--pw-glare, .3); }
  100% { transform: translateX(120%); opacity: 0; }
}
:root[data-theme="dark"] .hero .phone__screen { --pw-glare: .14; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero .phone__screen { --pw-glare: .14; }
}

.hero .pa__prog i {
  transform-origin: left center;
  animation: fx-pw-fill 1000ms var(--spring-soft) calc(var(--pw0, 0ms) + 820ms) backwards;
}
@keyframes fx-pw-fill { from { transform: scaleX(0); } to { transform: none; } }

.hero .pa__review { animation: fx-pw-rise 560ms var(--spring-soft) calc(var(--pw0, 0ms) + 760ms) backwards; }
.hero .pa__tile--story { animation: fx-pw-rise 560ms var(--spring-soft) calc(var(--pw0, 0ms) + 830ms) backwards; }
@keyframes fx-pw-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero .pa__review b { display: inline-block; animation: fx-pw-pop 520ms var(--spring) calc(var(--pw0, 0ms) + 1000ms) backwards; }
@keyframes fx-pw-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

.hero .pa__grid .pa__tile {
  animation: fx-pw-tile 460ms var(--spring-soft) calc(var(--pw0, 0ms) + 880ms + var(--k, 0) * 45ms) backwards;
}
.hero .pa__grid .pa__tile:nth-child(2) { --k: 1; }
.hero .pa__grid .pa__tile:nth-child(3) { --k: 2; }
.hero .pa__grid .pa__tile:nth-child(4) { --k: 3; }
.hero .pa__grid .pa__tile:nth-child(5) { --k: 4; }
.hero .pa__grid .pa__tile:nth-child(6) { --k: 5; }
.hero .pa__grid .pa__tile:nth-child(7) { --k: 6; }
.hero .pa__grid .pa__tile:nth-child(8) { --k: 7; }
@keyframes fx-pw-tile { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
/* `backwards`, not `both`: once landed, the static styles take over again,
   so the tiles' and the Review row's 3-4px press (style.css :active) works. */

/* The cards: glass now (small areas, so the blur is cheap), a 1px inner
   highlight, and they pop out of the rim: each grows from the side that
   faces the phone and slides out of it. `scale` + `translate` are their
   own properties, so the float loop's `transform` still runs on top. */
.hero__stage .fw {
  background: color-mix(in oklab, var(--card) 70%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid color-mix(in oklab, var(--ink) 9%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 0 color-mix(in oklab, var(--btn-depth) 70%, transparent),
              0 18px 30px -18px rgba(20, 18, 26, .45);
  animation-name: float-card, fx-chip-pop;
  animation-duration: 7s, 520ms;
  animation-timing-function: ease-in-out, var(--spring);
  animation-iteration-count: infinite, 1;
  animation-fill-mode: none, both;
}
:root[data-theme="dark"] .hero__stage .fw {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 rgba(0, 0, 0, .45), 0 18px 30px -18px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__stage .fw {
    border-color: rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 rgba(0, 0, 0, .45), 0 18px 30px -18px rgba(0, 0, 0, .7);
  }
}
.hero__stage .fw--1, .hero__stage .fw--2 { transform-origin: 100% 50%; --pop-x: 24px; }
.hero__stage .fw--3 { transform-origin: 0% 50%; --pop-x: -24px; }
.hero__stage .fw.fw--1 { animation-delay: -.6s, 950ms !important; }
.hero__stage .fw.fw--2 { animation-delay: -3.4s, 1050ms !important; animation-duration: 8.4s, 520ms !important; }
.hero__stage .fw.fw--3 { animation-delay: -1.9s, 1150ms !important; animation-duration: 6.4s, 520ms !important; }
@keyframes fx-chip-pop {
  from { opacity: 0; scale: .4; translate: var(--pop-x, 0px) 0; }
  to   { opacity: 1; scale: 1; translate: 0 0; }
}
/* Reduce motion: the float (ambient) stops; the pop (an entrance) stays. */
@media (prefers-reduced-motion: reduce) {
  .hero__stage .fw { animation-name: fx-chip-pop; animation-duration: 520ms; animation-iteration-count: 1; animation-fill-mode: both; }
  .hero__stage .fw.fw--1 { animation-delay: 950ms !important; }
  .hero__stage .fw.fw--2 { animation-delay: 1050ms !important; animation-duration: 520ms !important; }
  .hero__stage .fw.fw--3 { animation-delay: 1150ms !important; animation-duration: 520ms !important; }
}

/* Below 900px: held at frame 0 until the phone is in view, then the same
   cascade with the page-load lead-in taken off. */
@media (max-width: 899px) {
  .hero .phone { --pw0: -500ms; }
  html.fx-pw-io .hero .phone:not(.is-on) :is(.pa__prog i, .pa__review, .pa__review b, .pa__tile),
  html.fx-pw-io .hero .phone:not(.is-on) .phone__screen::after { animation-play-state: paused; }
}

/* ═══ §46 · Quiet nav (desktop) ═════════════════════════════════════════
   From 900px the island goes monochrome: text links in Inter, muted until
   hovered or current, a 4px accent dot under the current page (fx.js sets
   aria-current from the path; the home sections' scroll-spy .active gets
   the same dot). Thinner glass, a hairline edge, and a compact height once
   the page has moved 40px (an observer on a sentinel; no scroll handler).
   The phone menu, its icons and the theme toggle are untouched. */
@media (min-width: 900px) {
  html[data-nav="top"] .nav.is-island .nav__links a:not(.btn) .nav__ico { display: none !important; }
  .nav.is-island .nav__links a:not(.btn) {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: .92rem;
    letter-spacing: -.006em;
    color: var(--muted);
  }
  .nav.is-island .nav__links a:not(.btn):hover,
  .nav.is-island .nav__links a:not(.btn)[aria-current="page"],
  .nav.is-island .nav__links a:not(.btn).active { color: var(--ink); }
  .nav.is-island .nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 1px;
    width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    scale: 0;
    transition: scale 380ms var(--spring), opacity 200ms ease;
    pointer-events: none;
  }
  .nav.is-island .nav__links a:not(.btn)[aria-current="page"]::after,
  .nav.is-island .nav__links a:not(.btn).active::after { opacity: 1; scale: 1; }
  /* The hover pill: a neutral wash, not a category colour */
  html[data-nav="top"] .nav.is-island .nav__pill { background: color-mix(in oklab, var(--ink) 6%, transparent); }

  /* Glass: thinner, a hairline edge */
  .nav.is-island .nav__inner::before {
    background: color-mix(in oklab, var(--card) 72%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--hairline);
  }

  /* Compact once the page has moved */
  /* The nav is sticky, so it takes space in the flow: the 8px the pill
     loses go to its bottom margin, on the same spring, so the page under
     it never moves (no layout shift, nothing for the smooth wheel to fight). */
  .nav.is-island.nav--compact .nav__inner { height: 52px; margin-bottom: 8px; }
  .nav.is-island .nav__logo img { transition: transform 500ms var(--spring), width 420ms var(--spring-soft), height 420ms var(--spring-soft); }
  .nav.is-island.nav--compact .nav__logo img { width: 30px; height: 30px; }
}

/* ═══ §47 · Deal the deck (#modes) ══════════════════════════════════════
   The eight tiles arrive as one pile in the middle of the grid, then are
   dealt to their places one by one (fx.js "Deal the deck"). The reveal
   only fades them, the deal owns their transform. While a deal runs the
   grid takes no clicks; when it ends fx.js removes every class and var,
   so hover, the spotlight and the modal's grow-from-tile read the settled
   boxes. Phones (the swipe deck) fan the visible cards in instead. */
#modes .modes > [data-reveal]:not(.in),
#modes .modes > [data-reveal].from-top:not(.in) { transform: none; }
#modes .modes.deal-wait > .tile { opacity: 0 !important; transition: none !important; }
#modes .modes.is-dealing { pointer-events: none; }
#modes .modes > .tile.deal-start {
  opacity: 0;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot, 0deg));
  translate: 0 24px;
  transition: none;
}
#modes .modes.deal-up > .tile.deal-start { translate: 0 -24px; }
#modes .modes > .tile.deal-start.deal-go {
  opacity: 1;
  translate: 0 0;
  transform: none;
  transition: opacity 300ms var(--ease-out), translate 300ms var(--ease-out),
              transform 760ms var(--spring) calc(180ms + var(--di, 0) * 55ms);
}

/* ═══ §48 · The story writes itself (#story card) ═══════════════════════
   fx.js numbers the highlighted words (--i), wraps the prose between them
   in .st-ink and puts .js-story on the root. When 35% of the card is in
   view (.story-on), the prose inks in and each word drops into its gap in
   turn, landing with an amber ring; once the card is fully off screen the
   words lift back out (under a second), ready to play again. */
.js-story .story__text .st-ink { opacity: .18; transition: opacity 600ms ease; }
.js-story .story-on .story__text .st-ink { opacity: 1; transition: opacity 1100ms ease 150ms; }
.js-story .story__text .w {
  display: inline-block;
  position: relative;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-.9em) scale(.6) rotate(calc((var(--i, 0) - 4.5) * 2deg));
  transition: transform 380ms cubic-bezier(.5, 0, .75, 0), opacity 260ms ease-in,
              background var(--t-fast), color var(--t-fast);
  transition-delay: calc(var(--i, 0) * 28ms), calc(var(--i, 0) * 28ms + 80ms), 0ms, 0ms;
}
.js-story .story-on .story__text .w {
  opacity: 1;
  transform: none;
  transition: transform 720ms var(--spring), opacity 240ms ease-out,
              background var(--t-fast), color var(--t-fast);
  transition-delay: calc(250ms + var(--i, 0) * 95ms), calc(250ms + var(--i, 0) * 95ms), 0ms, 0ms;
}
.js-story .story__text .w::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--cat-amber);
  opacity: 0;
  pointer-events: none;
}
.js-story .story-on .story__text .w::after {
  animation: st-ring 520ms cubic-bezier(.2, .7, .3, 1) forwards;
  animation-delay: calc(250ms + var(--i, 0) * 95ms + 300ms);
}
@keyframes st-ring {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.25); }
}

/* Phones and narrow screens: the story card comes before the options. */
@media (max-width: 900px) {
  #story .story__grid > div:first-child { display: contents; }
  #story .story__grid { display: flex; flex-direction: column; gap: 0; }
  #story .story__demo { order: 1; margin-bottom: 22px; }
  #story .story__opts { order: 2; }
}

/* ═══ §49 · Card feel ═══════════════════════════════════════════════════
   Real pointers only. Feature cards, plans, SRS cards, the story card, the
   proof figures and the /features fact tiles lift 3px on the separate
   `translate` property (so it adds to any tilt `transform`) and step up
   one shadow; in dark the step is accent-tinted so it still reads. Not
   reduce-gated: a hover answer is feedback, not ambience. The transition
   lists repeat each card's reveal timings, so nothing about the entrance
   changes. */
@media (hover: hover) and (pointer: fine) {
  .fcard:not(.fx-tilt), .pricing__grid > .plan, .plan {
    transition: opacity 450ms cubic-bezier(.16, 1, .3, 1), transform var(--spring-d) var(--spring),
                translate 420ms var(--spring-soft), box-shadow 320ms ease, background 200ms ease;
    transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms, 0ms;
  }
  .fcard.fx-tilt { transition: transform 160ms ease-out, translate 420ms var(--spring-soft), box-shadow 320ms ease; }
  .srs__step, .fact {
    transition: opacity 450ms cubic-bezier(.16, 1, .3, 1), transform 750ms var(--spring-soft),
                translate 420ms var(--spring-soft), box-shadow 320ms ease;
    transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms;
  }
  :is(.fcard, .plan, .srs__step, .fact).fx-settled { transition-delay: 0ms; }
  .story__card, .proof__panel .stat { transition: translate 420ms var(--spring-soft), box-shadow 320ms ease; }

  /* The old transform lifts made way for `translate` */
  .fcard:hover, .srs__step:hover, .plan:hover { transform: none; }

  .fcard:hover, .srs__step:hover, .plan--pro:hover, .story__card:hover,
  .proof__panel .stat:hover, .fact:hover { translate: 0 -3px; }
  .pricing__grid .plan--free:hover { translate: 0 -11px; }

  .fcard:hover, .srs__step:hover {
    box-shadow: 0 7px 0 var(--btn-depth), 0 18px 34px -18px rgba(20, 18, 26, .32);
  }
  .pricing__grid .plan--pro:hover { box-shadow: 0 7px 0 var(--btn-depth), 0 22px 40px -22px rgba(20, 18, 26, .38); }
  .story__card:hover { box-shadow: 0 6px 0 var(--cat-amber-depth), 0 20px 36px -20px rgba(240, 168, 24, .5); }
  .fact:hover {
    box-shadow: 0 8px 0 color-mix(in srgb, var(--tile-c) 30%, var(--btn-depth)),
                0 20px 34px -18px color-mix(in srgb, var(--tile-c) 45%, transparent);
  }
  :root[data-theme="dark"] :is(.fcard, .srs__step):hover,
  :root[data-theme="dark"] .pricing__grid .plan--pro:hover {
    box-shadow: 0 7px 0 var(--btn-depth), 0 22px 40px -18px color-mix(in oklab, var(--accent) 42%, transparent);
  }
  :root[data-theme="dark"] .fact:hover {
    box-shadow: 0 8px 0 color-mix(in srgb, var(--tile-c) 26%, #06080C), 0 22px 40px -18px color-mix(in oklab, var(--tile-c) 45%, transparent);
  }
  a:is(.fcard, .plan, .srs__step, .story__card, .stat, .fact):active { translate: 0 1px; transition-duration: 90ms; }
}
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is(.fcard, .srs__step):hover,
  :root:not([data-theme="light"]) .pricing__grid .plan--pro:hover {
    box-shadow: 0 7px 0 var(--btn-depth), 0 22px 40px -18px color-mix(in oklab, var(--accent) 42%, transparent);
  }
  :root:not([data-theme="light"]) .fact:hover {
    box-shadow: 0 8px 0 color-mix(in srgb, var(--tile-c) 26%, #06080C), 0 22px 40px -18px color-mix(in oklab, var(--tile-c) 45%, transparent);
  }
}

/* 49.1 "#modes: Pick a mode to watch it play": a hint, not a button.
   Inline text, the touch glyph in the accent, no box, no pointer; it bows
   out once the first preview has opened (fx.js .try--done). */
#modes .try {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  gap: 7px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--muted);
}
#modes .try .ic-chip.ic-mini {
  --g1: var(--accent); --g2: var(--accent-depth);
  width: 18px; height: 18px;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}
#modes .try .ic-chip.ic-mini::after { display: none; }
#modes .try .ic-chip.ic-mini .ic { width: 100%; height: 100%; filter: none; }
#modes .try .ic-chip.ic-mini .ic .w { fill: var(--accent); }
#modes .try .ic-chip.ic-mini .ic .w2 { fill: var(--accent); opacity: .35; }
#modes .try > .sym { color: var(--accent); }
#modes .try.try--done { opacity: 0 !important; transition: opacity 400ms ease !important; }
@media (prefers-reduced-motion: reduce) { #modes .try .ic-mini, #modes .try .sym { animation: none; } }

/* ═══ §50 · The nav glass actually frosts ════════════════════════════════
   A view-transition-name makes its element a backdrop root, so with the
   name on .nav all the time (§ page transitions) the island's
   backdrop-filter saw nothing behind it: the page showed through crisp,
   only tinted. The name is now set only while a transition needs it: the
   theme wipe (.fx-wipe, added before startViewTransition) and page-to-page
   navigations (.fx-vt, theme.js on pageswap / pagereveal). Both look and
   behave exactly as before; between them the glass blurs. */
.nav { view-transition-name: none; }
html.fx-wipe .nav, html.fx-vt .nav { view-transition-name: fx-nav; }

/* ═══ §51 · Skip link, <main>, icon glyphs (2026-11-21, batch 3/3) ══════
   The first Tab on every page lands on "Skip to content": fixed, parked
   above the top edge, and slides down while focused. Deep green so the
   white label holds 4.5:1 in both themes. <main id="main"> now wraps
   everything between the nav and the footer; the one rule that leaned on
   .cta and .footer being siblings follows them through <main>. */
.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 2000;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #2E7D32, #256B29);
  color: #fff;
  font: 800 .95rem/1.2 'Nunito', system-ui, sans-serif;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 3px 0 #1B5E20, 0 14px 30px -12px rgba(20, 60, 25, .6);
  transform: translateY(calc(-100% - 24px));
  transition: transform 240ms cubic-bezier(.2, .8, .25, 1);
}
.skip:focus, .skip:focus-visible {
  transform: none;
  outline: 3px solid color-mix(in srgb, #43A047 55%, transparent);
  outline-offset: 3px;
}
main#main { display: block; }
main#main:focus { outline: none; }
main:has(> .cta:last-child) + .footer { border-top: 0; }

/* ═══ §52 · Shared atmosphere on /create and /s ═════════════════════════
   The home page's two ambient layers, quieter: the drifting colour fields
   (.aura, whose drift style.css already stops under reduce motion) at 60%,
   and the hero's dot lattice fading out down the top of the page. Both are
   gradients, no filter, no blend mode. */
.page-ambient .aura { opacity: .6; }
.page-ambient main.page { position: relative; isolation: isolate; overflow-x: clip; }
.page-ambient main.page::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -110px;
  height: 640px;
  z-index: -1;
  pointer-events: none;
  color: color-mix(in srgb, var(--ink) 13%, transparent);
  background-image: radial-gradient(currentColor .9px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  opacity: .6;
}
/* A low accent glow behind the head, like the hero's pad (gradient only). */
.page-ambient main.page::after {
  content: '';
  position: absolute;
  left: 50%; top: -140px;
  width: min(1100px, 120vw); height: 520px;
  margin-left: calc(min(1100px, 120vw) / -2);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
  opacity: .6;
}

/* ═══ §53 · /features showcase: lead cards + hairline spec lists ═════════
   #capture, #offline and #game each open with one wide lead card (copy on
   one side, a visual from the home page on the other) and then the rest
   of the section as an airy two-column spec list: no fill, a hairline on
   top, a 28px duotone chip. .fshow is a two-column grid; the lead spans
   both. Everything is prefixed .fshow: the page's own <style> (loaded
   after this sheet) styles .fitem at the same weight. */
.fshow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}
.fshow > .flead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 26px;
  padding: 34px 34px 34px 40px;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--g1, var(--accent)) 8%, transparent), transparent 58%),
    var(--card);
  box-shadow: var(--card-shadow), 0 40px 70px -48px color-mix(in srgb, var(--g2, #1f2a44) 55%, transparent);
}
.fshow > .flead:hover { translate: none; border-color: var(--card-border); }
.fshow > .flead--game { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); padding: 34px 40px 34px 34px; }
.fshow > .flead--game .flead__vis { order: -1; }
.fshow .flead__copy { min-width: 0; }
.fshow .flead .fitem__ico { width: 54px; height: 54px; border-radius: 17px; margin-bottom: 20px; }
.fshow .flead .fitem__ico .ic { width: 58%; height: 58%; }
.fshow .flead h3 {
  font: 900 clamp(1.4rem, 2.1vw, 1.75rem)/1.12 'Nunito', system-ui, sans-serif;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.fshow .flead p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
  color: var(--muted);
}
.fshow .flead p + p { margin-top: 10px; }
.fshow .flead b { color: var(--label); }
.flead__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.flead__tags li {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font: 700 .78rem/1.3 'Inter', system-ui, sans-serif;
  color: var(--label);
  background: color-mix(in srgb, var(--g1, var(--accent)) 9%, var(--card-2));
  border: 1px solid color-mix(in srgb, var(--g1, var(--accent)) 22%, var(--card-border));
}

/* The visual well (offline, game): a tinted stage like the home bento. */
.flead__vis { position: relative; min-width: 0; }
.flead .flead__vis.bento-vis {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--h) 16%, transparent), transparent 60%),
    color-mix(in srgb, var(--h) 7%, var(--card-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 16%, var(--card-border));
}
/* Capture: the scan and the .csv sheet from the home bento, stacked. */
.flead__vis--capture { display: grid; gap: 14px; }
.flead__vis--capture.bento .bento-vis { margin: 0; }
.flead__vis--capture.bento .bento-scan { height: 236px; }
.flead__vis--capture.bento .bento-sheet { height: 132px; }

/* Offline: three facts, checked off one by one. */
.flead__vis--offline { --h: var(--cat-teal); padding: 30px 26px; }
.ftrio__panel { width: min(100%, 390px); display: grid; gap: 12px; }
.ftrio__row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px 13px 13px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 4px 0 color-mix(in srgb, var(--h) 22%, var(--card-border)), 0 18px 30px -22px rgba(10, 14, 24, .35);
  font: 800 1.02rem/1.2 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  opacity: 0;
  transform: translateX(28px) scale(.96);
  transition: opacity 280ms ease, transform 620ms var(--spring);
  transition-delay: calc((2 - var(--i, 0)) * 60ms);
}
.ftrio__ic .ic-chip { width: 40px; height: 40px; border-radius: 12px; }
.ftrio__ic .ic-chip .ic { width: 60%; height: 60%; }
.ftrio__ok {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-lite), var(--accent));
  color: #fff;
  box-shadow: 0 2px 0 var(--accent-depth);
  transform: scale(0) rotate(-40deg);
  transition: transform 520ms var(--spring);
  transition-delay: calc((2 - var(--i, 0)) * 60ms);
}
.ftrio__ok .sym { font-size: 18px; font-variation-settings: 'FILL' 1, 'wght' 700; }
.bento-on .ftrio__row { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 140ms); }
.bento-on .ftrio__ok { transform: none; transition-delay: calc(460ms + var(--i, 0) * 140ms); }

/* Game: a goal ring around the flame, the two chips from the home hero. */
.flead__vis--game { --h: var(--cat-orange); }
.fgame__ring { position: relative; width: 180px; height: 180px; }
.fgame__ring::before {     /* a warm pad under the ring (gradient, no blur) */
  content: ''; position: absolute; inset: -26%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--streak) 20%, transparent), transparent);
}
.fgame__ring > svg { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.fgame__track { fill: none; stroke: color-mix(in srgb, var(--h) 16%, var(--card-border)); stroke-width: 12; }
.fgame__arc {
  fill: none; stroke: var(--streak); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 900ms cubic-bezier(.3, .7, .25, 1);
}
.bento-on .fgame__arc { stroke-dashoffset: 26; transition-duration: 1200ms; transition-delay: 180ms; }
.fgame__core { position: absolute; inset: 0; display: grid; place-items: center; }
.fgame__core .ic-chip {
  width: 86px; height: 86px; border-radius: 27px;
  opacity: 0; transform: scale(.55);
  transition: opacity 240ms ease, transform 620ms var(--spring);
}
.fgame__core .ic-chip .ic { width: 58%; height: 58%; }
.bento-on .fgame__core .ic-chip { opacity: 1; transform: none; transition-delay: 80ms; }
.fgame__chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-border), 0 4px 0 color-mix(in srgb, var(--h) 22%, var(--card-border)), 0 18px 30px -18px rgba(10, 14, 24, .4);
  font: 900 1rem/1.1 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 260ms ease, transform 640ms var(--spring);
}
.fgame__chip--streak { left: 7%; top: 14%; transform: translate(-18px, 10px) scale(.9) rotate(-4deg); }
.fgame__chip--xp { right: 7%; bottom: 14%; transform: translate(18px, -10px) scale(.9) rotate(4deg); }
.fgame__ic .ic-chip { width: 34px; height: 34px; border-radius: 11px; }
.fgame__ic .ic-chip .ic { width: 62%; height: 62%; }
.bento-on .fgame__chip { opacity: 1; }
.bento-on .fgame__chip--streak { transform: rotate(-3deg); transition-delay: 520ms; }
.bento-on .fgame__chip--xp { transform: rotate(3deg); transition-delay: 680ms; }

/* The spec list: no card, a hairline on top, a small chip, quiet copy. */
.fshow > .fitem:not(.flead) {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0 28px;
  background: none;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
}
.fshow > .fitem:not(.flead)::before {     /* the hairline lights in the chip's hue on hover */
  content: '';
  position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--g1, var(--accent)), var(--g2, var(--accent)) 40%, transparent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 520ms cubic-bezier(.2, .8, .25, 1);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .fshow > .fitem:not(.flead):hover { translate: none; border-color: var(--hairline); }
  .fshow > .fitem:not(.flead):hover::before { transform: none; }
}
.fshow > .fitem:not(.flead) .fitem__ico {
  width: 28px; height: 28px; border-radius: 9px;
  margin-top: 1px;
}
.fshow > .fitem:not(.flead) .fitem__ico.ic-chip {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .1),
              0 2px 0 color-mix(in srgb, var(--g2) 62%, #000) !important;
}
.fshow > .fitem:not(.flead) .fitem__ico .ic { width: 66%; height: 66%; }
.fshow > .fitem:not(.flead) .fitem__ico .sym { font-size: 17px; }
.fshow > .fitem:not(.flead) h3 {
  font-size: 1.05rem; line-height: 1.3;
  margin: 3px 0 8px;
  color: var(--ink);
}
.fshow > .fitem:not(.flead) p { font-size: .95rem; line-height: 1.62; color: var(--muted); max-width: 60ch; }
.fshow > .fitem:not(.flead) p + p { margin-top: 8px; }
.fshow > .fitem:not(.flead) .langs { margin-top: 14px; }

@media (max-width: 900px) {
  .fshow { column-gap: 32px; }
  .fshow > .flead, .fshow > .flead--game { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
  .fshow > .flead .flead__vis { order: -1; }
}
@media (max-width: 700px) {
  .fshow { grid-template-columns: 1fr; }
  .fshow > .flead { margin-bottom: 14px; border-radius: 24px; padding: 18px 18px 22px; }
  .flead .flead__vis.bento-vis { min-height: 250px; }
  .flead__vis--capture.bento .bento-scan { height: 210px; }
  .flead__vis--capture.bento .bento-sheet { height: 122px; }
  .fshow .flead .fitem__ico { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; }
  .fshow .flead h3 { font-size: 1.35rem; }
  .fshow > .fitem:not(.flead) { padding: 20px 0 22px; gap: 14px; }
}
@media (max-width: 420px) {
  .flead__vis--capture.bento .bento-scan__list li { padding: 8px 10px; font-size: .84rem; gap: 7px; }
  .flead__vis--capture.bento .bento-scan__list li span { font-size: .72rem; }
  .flead__vis--capture.bento .bento-scan__list { width: 46%; right: 4%; }
  .flead__vis--capture.bento .bento-scan__page { padding: 34px 14px 22px; }
  .fgame__chip { font-size: .9rem; padding: 7px 12px 7px 7px; }
  .fgame__chip--streak { left: 4%; top: 9%; }
  .fgame__chip--xp { right: 4%; bottom: 9%; }
  .fgame__ring { width: 156px; height: 156px; }
  .ftrio__row { font-size: .95rem; gap: 11px; padding: 11px 11px 11px 11px; }
}

/* The jump bar: a scroll-spy chip (.is-on, fx.js §53) and one accent
   underline that slides between chips (transform only). */
.subnav .toc .toc__ink {
  position: absolute;
  left: 0; bottom: 3px;
  width: 100px; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-lite), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.3, .8, .25, 1), opacity 240ms ease;
  pointer-events: none;
}
.subnav .toc .toc__ink.is-on { opacity: 1; }
.subnav .toc a.is-active, .subnav .toc a.is-on {
  background: transparent;
  border-color: transparent;
  color: var(--accent-ink);
}
:root[data-theme="dark"] .subnav .toc a.is-on { color: #7FD883; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .subnav .toc a.is-on { color: #7FD883; } }

/* The nine-mode panel: all nine tiles land inside ~900ms. */
@media (min-width: 601px) {
  .cst__cell { animation: cst-in 520ms var(--spring) calc(80ms + var(--i, 0) * 35ms) both; }
}
@media (max-width: 600px) {
  .fx-constellation .cst__cell > * { animation: cst-in 520ms var(--spring) calc(80ms + var(--i, 0) * 35ms) both; }
  .fx-constellation .cst__cell > .cst__l { animation-delay: calc(120ms + var(--i, 0) * 35ms); }
  /* On phones the chip's animation IS the entrance: never hold it. */
  .fx-constellation.is-off .cst__chip { animation-play-state: running; }
}

/* Stat cards: neutral faces, the colour lives in the chips. */
.phead .fact {
  background: var(--card);
  border-color: var(--card-border);
  box-shadow: 0 5px 0 var(--btn-depth), var(--card-shadow);
}
.phead .fact__n { color: var(--ink); }
:root[data-theme="dark"] .phead .fact {
  background: var(--card);
  border-color: var(--card-border);
  box-shadow: 0 5px 0 var(--btn-depth), 0 18px 30px -18px rgba(0, 0, 0, .6);
}
:root[data-theme="dark"] .phead .fact__n { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phead .fact {
    background: var(--card);
    border-color: var(--card-border);
    box-shadow: 0 5px 0 var(--btn-depth), 0 18px 30px -18px rgba(0, 0, 0, .6);
  }
  :root:not([data-theme="light"]) .phead .fact__n { color: var(--ink); }
}

/* ═══ §54 · Platform line + the iPhone answer ═══════════════════════════
   Under the rating: "Android 8 and up · iOS coming later", the same quiet
   size as the closing .cta__note. On an iPhone or iPad (html.is-ios, set
   by fx.js) it becomes a pill that says so plainly and points at the
   in-browser builder. */
.hero__note {
  margin: -16px 0 22px;
  font: 600 .875rem/1.4 'Inter', system-ui, sans-serif;
  color: var(--muted);
  animation: fx-rise 800ms var(--ease-out) 760ms both;
}
.hero__ios { display: none; }
html.is-ios .hero__note { display: none; }
html.is-ios .hero__ios {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 470px;
  margin: -12px 0 22px;
  padding: 10px 16px 11px 10px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--cat-blue) 8%, var(--card));
  border: 1px solid color-mix(in srgb, var(--cat-blue) 26%, var(--card-border));
  box-shadow: var(--card-shadow);
  font: 600 .86rem/1.45 'Inter', system-ui, sans-serif;
  color: var(--label);
  animation: fx-rise 800ms var(--ease-out) 760ms both;
}
.hero__ios > .sym {
  flex: none;
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  margin-top: 1px;
  background: linear-gradient(150deg, #38C8FF, #2563EB);
  color: #fff;
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 #1A47B8;
}
.hero__ios a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
:root[data-theme="dark"] .hero__ios a { color: #7FD883; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__ios a { color: #7FD883; } }
@media (max-width: 600px) {
  .hero__note { margin: -6px 0 16px; font-size: .84rem; }
  html.is-ios .hero__ios { margin: -4px 0 16px; font-size: .84rem; }
}
@media (max-width: 600px) and (max-height: 600px) { .hero__note { display: none; } }

/* ═══ §55 · Contrast: tile subtitles, amber labels ══════════════════════
   Tile subtitles were --muted on a tinted tile (under 4.5:1 on some hues);
   now 78% of the ink. The phone decks keep their white-on-colour line.
   Amber faces with white text failed outright; they take a deep brown
   label with a 1px light emboss, icon included. */
.tile .tile-d { color: color-mix(in srgb, var(--ink) 78%, transparent); }
@media (max-width: 600px) { .fx-deck--modes .tile .tile-d { color: rgba(255, 255, 255, .92); } }
.btn--story, .btn--story .sym, .tile__pill, .chip--on, .chip--on .sym {
  color: #3A2500;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}

/* ═══ §56 · /create: two columns, a tidy stack, a live card, a step rail ══ */
/* ≥1000px: the head, steps, sample button and form in the left column; the
   preview takes the right column from the eyebrow down and stays in view
   (sticky under the floating nav). Below 1000px the order is unchanged. */
@media (min-width: 1000px) {
  .cr-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 40px;
    align-items: start;
  }
  .cr-wrap > .cr-head { grid-column: 1; grid-row: 1; }
  .cr-wrap .cr-grid { display: contents; }
  .cr-wrap .cr-main { grid-column: 1; grid-row: 2; }
  .cr-wrap .cr-side {
    display: block;
    grid-column: 2; grid-row: 1 / span 2;
    position: sticky; top: 100px;
    align-self: start;
    margin-top: 6px;
  }
}
/* The stack: three cards of one size, neutral backs, the accent only as a
   4px strip inside the front card's top edge. */
.cr-wrap .cr-prev__deck { perspective: 900px; }
.cr-wrap .cr-prev__back {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}
.cr-wrap .cr-prev__back:nth-child(1) { transform: rotate(-6deg) translate(-10px, 10px); border-top-color: var(--card-border); }
.cr-wrap .cr-prev__back:nth-child(2) { transform: rotate(4deg) translate(8px, 6px); border-top-color: var(--card-border); }
.cr-wrap .cr-prev__card {
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 32px -16px rgba(20, 40, 80, .38);
}
.cr-wrap .cr-prev__card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent-lite), var(--accent));
}
.cr-prev__face {
  display: grid; justify-items: center; gap: 6px;
  max-width: 100%;
  text-align: center;
}
.cr-prev__face--old {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  padding: 18px 16px;
  pointer-events: none;
}
.cr-prev__tr:empty { display: none; }
.cr-prev__eg {
  position: absolute; top: 10px; right: 12px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font: 800 .62rem/1.4 'Inter', system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}
.cr-prev__card.is-ghost .cr-prev__eg { opacity: 1; }
.cr-prev__card.is-ghost .cr-prev__word { color: color-mix(in srgb, var(--ink) 82%, transparent); }
:root[data-theme="dark"] .cr-prev__eg { color: #7FD883; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cr-prev__eg { color: #7FD883; } }

/* Step rail: real connector elements (the old ::before is retired) whose
   fill scales in; a step's number fills with green once it is reached. */
.cr-wrap .cr-steps li + li::before { display: none; }
.cr-steps__bar {
  position: relative;
  flex: none;
  width: 30px; height: 2px;
  margin: 0 12px 0 10px;
  border-radius: 2px;
  background: var(--card-border);
  overflow: hidden;
}
.cr-steps__bar i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-lite), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 640ms cubic-bezier(.3, .8, .25, 1);
}
.cr-steps li.is-lit .cr-steps__bar i { transform: none; }
.cr-wrap .cr-steps__n {
  position: relative; z-index: 0;
  background: var(--card);
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--card-border), 0 2px 0 var(--btn-depth);
  transition: color 260ms ease, box-shadow 260ms ease;
}
.cr-wrap .cr-steps__n::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-lite), var(--accent));
  opacity: 0;
  transform: scale(.4);
  transition: opacity 260ms ease, transform 520ms var(--spring);
}
.cr-wrap .cr-steps li.is-lit .cr-steps__n {
  color: #fff;
  box-shadow: 0 2px 0 var(--accent-depth), 0 0 0 4px var(--accent-soft);
}
.cr-wrap .cr-steps li.is-lit .cr-steps__n::before { opacity: 1; transform: none; }
.cr-wrap .cr-steps li:not(.is-lit) { color: var(--muted); }
@media (max-width: 600px) {
  .cr-steps__bar { position: absolute; top: 11px; right: calc(50% + 18px); width: calc(100% - 36px); margin: 0; }
  .cr-wrap .cr-steps li.is-lit .cr-steps__n { box-shadow: 0 2px 0 var(--accent-depth), 0 0 0 3px var(--accent-soft); }
}

/* ═══ §57 · /s: a bigger title, Flashcards first, the ask at the end ════ */
#root .ss-hero .set-name { font-size: clamp(2.2rem, 3.2vw, 3.2rem); letter-spacing: -.035em; line-height: 1.02; }
#root .ss-study { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
#root .ss-go {
  min-height: 56px;
  padding: 8px 16px 8px 8px;
  gap: 12px;
  border-radius: 16px;
}
#root .ss-go .ss-ico { width: 40px; height: 40px; border-radius: 12px; }
#root .ss-go .ss-ico .ic { width: 62%; height: 62%; }
#root .ss-go b { font-size: 1.06rem; line-height: 1.15; }
#root .ss-go small { font-size: .78rem; margin-top: 1px; }
/* Flashcards: the green, primary one. Deep green so white text holds 4.5:1. */
#root .ss-go--main {
  background: linear-gradient(180deg, #2E7D32, #256B29);
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 0 #1B5E20, 0 16px 30px -16px rgba(46, 125, 50, .75);
}
#root .ss-go--main small { color: rgba(255, 255, 255, .92); }
#root .ss-go--main:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 7px 0 #1B5E20, 0 20px 34px -16px rgba(46, 125, 50, .8); }
#root .ss-go--main:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 #1B5E20; }
#root .ss-go--main .ss-ico.ic-chip { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 2px rgba(255, 255, 255, .28), 0 3px 0 rgba(0, 0, 0, .22) !important; }
#root .ss-go--main::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%); }
@media (max-width: 600px) {
  #root .ss-study { grid-template-columns: 1fr; }
}
/* The word list ends with the ask. */
.ss-cta {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.ss-cta .btn { min-height: 54px; font-size: 1.02rem; }
.ss-cta__note { margin-top: 10px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.ss-cta .btn--go {
  background: linear-gradient(180deg, #2E7D32, #256B29);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 0 #1B5E20, 0 16px 30px -16px rgba(46, 125, 50, .7);
}
.flead__vis--capture.bento .bento-scan__list { width: 44%; right: 5%; }

/* ═══ §58 · Review fixes (batch 3 review) ═══════════════════════════════
   /s on phones: the title shares a row with the card art, so 2.2rem
   broke "German — B1" before the dash. Scale with the width there and
   balance the lines. The bar's subline may take two short lines rather
   than be cut off with an ellipsis. */
@media (max-width: 600px) {
  #root .ss-hero .set-name { font-size: clamp(1.7rem, 7.4vw, 2.2rem); text-wrap: balance; }
  body .ss-bar .ss-bar__t span { white-space: normal; font-size: .72rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* Phone mode deck: white labels sat on the bright top of the hue (Story,
   Learn, Flashcards under 3:1). A soft scrim at the foot of each face keeps
   the white title and subtitle above 4.5:1 without dulling the colour. */
@media (max-width: 600px) {
  .fx-deck--modes .tile.has-ic .tile-f {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .16) 32%, rgba(0, 0, 0, 0) 58%),
      radial-gradient(130% 90% at 100% 0%, rgba(255, 255, 255, .32), transparent 58%),
      linear-gradient(155deg, var(--g1), var(--g2));
  }
  .fx-deck--modes .tile-l, .fx-deck--modes .tile .tile-d { text-shadow: 0 1px 2px rgba(0, 0, 0, .28); }
}
/* The parked skip link's soft shadow reached ~20px into the viewport (and
   showed in overscroll); it is also invisible until focused. */
.skip { opacity: 0; transition: transform 240ms cubic-bezier(.2, .8, .25, 1), opacity 160ms ease; }
.skip:focus, .skip:focus-visible { opacity: 1; }
/* /features head: the longer "Study a sample set in your browser" label
   wrapped the pair into two ragged rows (266px over 338px). Stack them like
   the home hero: Play on top, the secondary under it, one shared width. */
@media (min-width: 900px) {
  .phead .phead__actions { display: inline-grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .phead .phead__actions .btn { width: 100%; justify-content: center; }
}
/* /create and /s: the filled primary (Generate share link, Copy link...)
   was white on the light accent gradient, 2.3–3.3:1. Same deep green as the
   /s Flashcards button and word-list CTA: 5.1:1 and up, both themes. */
body.page-ambient .btn--primary:not(:disabled) {
  background: linear-gradient(180deg, #2E7D32, #256B29);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 0 #1B5E20, 0 14px 26px -14px rgba(46, 125, 50, .7);
}
body.page-ambient .btn--primary:not(:disabled):active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 #1B5E20; }

/* ═══ §60 Dark only ═══
   theme.js (DARK_ONLY) pins data-theme="dark" and adds html.dark-only.
   Every theme switch is hidden; the light theme stays in the code. */
html.dark-only { color-scheme: dark; }
html.dark-only .theme-btn,
html.dark-only [data-theme-toggle],
html.dark-only .nav__links li:has(> .theme-btn) { display: none !important; }

/* ═══ §61 · Phone + tablet touch mechanics (r7 batch 1) ═════════════════
   Everything here is inside a phone/tablet query or a touch query; a
   desktop with a fine pointer gets none of it. */

/* No sideways page scroll on phones and tablets, ever. `clip`, not
   `hidden`, on BOTH: once <html> is not `visible`, body's own overflow
   stops passing to the viewport, and body's old `overflow-x: hidden`
   would turn it into a scroll container (overflow-y: auto) that the
   sticky tour pin and the /features subnav then stick to — and never
   scroll. `clip` + `visible` stays a plain box. */
@media (max-width: 1099px) {
  html, body { overflow-x: clip; }
}

/* Decks: the page's vertical scroll stays native (pan-y); the sideways
   swipe is fx.js's own (1:1 under the finger, one card per swipe, a
   seeded ease-out on lift), so no native snap animation fights it. On the
   narrowest phones the gutter is 14px (§14), so the first card rests on
   it too. */
@media (max-width: 600px) {
  .fx-deck { touch-action: pan-y; }
}
@media (max-width: 370px) {
  .fx-deck.fx-deck--modes,
  .features__grid.fx-deck {
    --cw: calc(100vw - 54px);
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }
}

/* Touch presses. fx.js §61 puts .is-press on the nearest tappable at
   pointerdown and squeezes it via `scale`; here the depth lip collapses
   in 60ms and comes back on the element's own (springy) transition. */
@media (hover: none) {
  :is(.fcard, .srs__step, .plan, .story__card, .fact, .fitem):is(.is-press, :active) {
    box-shadow: 0 1px 0 var(--btn-depth), 0 6px 14px -10px rgb(0 0 0 / .5);
    transition-duration: 60ms;
    transition-delay: 0ms;
  }
  /* Free's outline IS its box-shadow ring: keep the ring through the press. */
  .pricing__grid .plan--free:is(.is-press, :active) {
    box-shadow: 0 0 0 2px var(--accent), 0 6px 14px -10px rgb(0 0 0 / .5);
  }
  .faq__item:has(> .faq__q:is(.is-press, :active)) {
    box-shadow: 0 1px 0 var(--btn-depth);
    transition: box-shadow 60ms ease-out;
  }
  .faq__q.is-press .sym { color: var(--accent); }
  :is(.mx__close, .mx__arrow, .dock__x, .qr-full__x, .flx-study__x).is-press {
    background: color-mix(in srgb, var(--ink) 12%, var(--card-2, transparent));
  }
}

/* Typing on a phone keyboard: iOS zooms the page into any field under
   16px. Every field gets at least 16px on a coarse pointer. */
@media (pointer: coarse) {
  input, textarea, select { font-size: max(16px, 1em) !important; }
}

/* 44px tap targets with no visual change: a centred, invisible hit box
   (at least 44 × 44) on the small controls. */
@media (pointer: coarse) {
  #navToggle, .dock__x, .mx__arrow, .word-row .icon-btn { position: relative; }
  :is(#navToggle, .dock__x, .mx__close, .mx__arrow, .word-row .icon-btn)::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: max(100%, 44px); height: max(100%, 44px);
    translate: -50% -50%;
  }
  .dock__btn { min-height: 44px; display: inline-flex; align-items: center; }
  /* /create "Paste a list instead": 23px of text, padded to 45px and pulled
     back by the same margin, so nothing around it moves. */
  details:not(.faq__item) > summary { padding-block: 11px; margin-block: -11px; }
}

/* ═══ §62 · Tablet portrait composition (r7 batch 2) ══════════════════════
   Portrait tablets (600-1099px wide, taller than wide) were a stretched
   phone layout: 720px-wide buttons, the hero phone under the fold, a
   single plan per row. Everything here sits inside a portrait-tablet query
   (or a touch query); landscape tablets and every desktop keep the
   approved layout. The tour's track height, step length, floor(pos) and
   HOLD queue are untouched: only how the pinned stage is drawn. */
@media (min-width: 601px) and (max-width: 1099px) and (orientation: portrait) {
  .wrap { padding-inline: clamp(28px, 5vw, 48px); }

  /* The opening line always outranks every section heading (>= 1.15x the
     chapter openers, whose 6.2vw would otherwise catch it at 1024). */
  :root { --fs-display: clamp(2.6rem, 6.2vw, 3.55rem); }
  .hero h1 { font-size: clamp(3rem, 7.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; }
  .hero__sub { font-size: 1.12rem; line-height: 1.55; max-width: 36ch; }
  .hero__stage .fw { display: none; }
  .hero__rating { flex-wrap: wrap; white-space: normal; row-gap: 6px; }
  .hero__ios { max-width: 100%; }
  /* Proof band labels: no one-word last line ("learning with / it") */
  .stat__l { text-wrap: balance; }

  /* Story: the four phrases set in three lines, not four */
  #story.section h2 { max-width: 17ch; }
  #story .story__opts { width: 100%; max-width: none; align-self: stretch; box-sizing: border-box; }

}
/* FAQ helper, while the FAQ is one column (< 980px): a full-width row
   (icon · words · links), not a stub. */
@media (min-width: 601px) and (max-width: 979px) and (orientation: portrait) {
  #faq .faq__stuck { max-width: none; align-items: center; gap: 16px; padding: 16px 20px; }
  #faq .faq__stuck > div {
    flex: 1; min-width: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center;
  }
  #faq .faq__stuck > div > :not(.faq__stuck-links) { grid-column: 1; }
  #faq .faq__stuck p { margin-bottom: 0; }
  #faq .faq__stuck-links { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; gap: 6px; }
}
/* Touch: the two helper links are 44px-tall targets (the extra height is
   taken back with negative margins, so the card keeps its size). */
@media (min-width: 601px) and (max-width: 979px) and (orientation: portrait) and (pointer: coarse) {
  #faq .faq__stuck-links { gap: 0; margin-block: -12px; }
  #faq .faq__stuck-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 62.1 Hero, 600-699: one centred column, the two CTAs side by side. */
@media (min-width: 601px) and (max-width: 699px) and (orientation: portrait) {
  .hero__inner > div:first-child { text-align: center; }
  .hero__free { justify-content: center; }
  .hero h1, .hero__sub { margin-inline: auto; }
  .hero .hero__actions {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  }
  .hero .hero__actions .btn { width: auto; max-width: 320px; flex: 0 1 auto; padding-inline: 24px; }
  .hero__rating, .hero__assure { justify-content: center; }
  .hero__ios { margin-inline: auto; text-align: left; }
}

/* 62.2 Hero, 700px up: copy and phone side by side. The phone keeps its
   own proportions; it only steps down where its column is narrower than
   its 299px body. */
@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) clamp(250px, 36vw, 320px);
    gap: clamp(28px, 3.6vw, 32px);
    align-items: center;
  }
  .hero__stage { padding: 0; }
  .hero .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 340px; }
  .hero .hero__actions .btn { width: 100%; }
  .hero__assure { flex-wrap: wrap; }
  .hero__assure .t-long { display: none; }
  .hero__assure .t-short { display: inline; }

  /* Pricing: Free and Pro side by side, CTAs on one line */
  .pricing .pricing__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px; max-width: 760px; margin-inline: auto;
  }
  .pricing .pricing__grid > .plan { display: flex; flex-direction: column; padding: 22px 20px 58px; }
  .pricing .pricing__grid > .plan > .btn { margin-top: auto; }
  .pricing .pricing__grid .plan .plan__hearts + .btn { margin-top: 22px; }
}
@media (min-width: 900px) and (max-width: 1099px) and (orientation: portrait) {
  /* Story sits in a half column here: a step smaller, packed greedily, so
     the four phrases still set in three lines. */
  #story.section h2 { font-size: min(var(--fs-h2), 2.6rem); text-wrap: wrap; max-width: none; }
  /* The §44.3 grid again (Play + quiet at 300, the QR tile beside them):
     "Build a set in your browser" needs the full 300 to stay on one line. */
  .hero .hero__actions { grid-template-columns: minmax(0, 300px) auto; max-width: none; }
}
/* 700-899: the rating's two figures can't share a line in the copy column;
   they stack cleanly instead of leaving the divider dangling. */
@media (min-width: 700px) and (max-width: 899px) and (orientation: portrait) {
  .hero__rating { row-gap: 8px; }
  .hero__rating .hero__sep { display: none; }
  .hero__rating > .hero__score:last-child { flex-basis: 100%; }
}
@media (min-width: 700px) and (max-width: 759px) and (orientation: portrait) {
  .hero .hero__stage .phone { zoom: .84; }
}
@media (min-width: 760px) and (max-width: 829px) and (orientation: portrait) {
  .hero .hero__stage .phone { zoom: .9; }
}

/* 62.3 Bento, 601-899 portrait: 1 + 2 + 1 + 2. The scan card (the big one
   on desktop) and the text-only Folders card each take a full row, lying
   on their side; the other four pair up. */
@media (min-width: 601px) and (max-width: 899px) and (orientation: portrait) {
  .features__grid.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .bento-card--scan {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 14px;
    align-content: stretch;
  }
  .bento > .bento-card--scan .bento-vis { grid-column: 1; grid-row: 1 / -1; height: auto; min-height: 210px; margin: 0 8px 0 0; }
  .bento > .bento-card--scan .fcard__ico { grid-column: 2; grid-row: 2; }
  .bento > .bento-card--scan h3 { grid-column: 3; grid-row: 2; }
  .bento > .bento-card--scan p { grid-column: 2 / -1; grid-row: 3; }
  .features__grid.bento > .bento-card:nth-child(4):not(.bento-card--scan) {
    grid-column: 1 / -1;
    flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 16px;
  }
  .features__grid.bento > .bento-card:nth-child(4) .fcard__ico { flex: none; margin: 0 !important; }
  .features__grid.bento > .bento-card:nth-child(4) h3 { flex: none; margin: 0; width: 8.6em; line-height: 1.2; text-wrap: balance; }
  .features__grid.bento > .bento-card:nth-child(4) p {
    flex: 1; min-width: 0; margin: 0 0 0 6px; padding-left: 22px;
    border-left: 1px solid var(--hairline, var(--card-border));
  }
}

/* 62.4 The #tour stage on portrait tablets, 601-899: the phone grows
   (fx.js lets --pz reach 1.25 here), the step copy is centred under it with
   its chips and the progress bar, and the numeral hangs beside the phone. */
@media (min-width: 601px) and (max-width: 899px) and (orientation: portrait) {
  .tour__grid { gap: 22px; }
  .tour__texts {
    width: 100%; max-width: 560px; margin-inline: auto;
    padding-left: 0; text-align: center;
    min-height: 0;
  }
  .tour__texts::before, .tour__texts::after { display: none; }
  .tour__step h3 { font-size: clamp(1.7rem, 3.8vw, 2.2rem); margin-bottom: 10px; }
  .tour__step p { font-size: 1.05rem; margin-inline: auto; max-width: 44ch; }
  .tour__n { margin-bottom: 10px; }
  .tour__chips { display: flex; justify-content: center; margin-top: 16px; }
  .tour__chips li { font-size: 14px; padding: 7px 14px 7px 9px; }
  .tour__bar {
    display: block; position: relative; left: auto; right: auto; bottom: auto;
    grid-row: 2; justify-self: center;
    width: 168px; margin-top: 22px;
  }
  .tour__num {
    display: block;
    left: max(20px, calc(50% - 160px * var(--tpz, 1) - 1.1em - 18px));
    top: var(--tn-top, 110px);
    --ny: 0px;
    font-size: clamp(7.5rem, 19vw, 10.5rem);
  }
  .tour__pin::before { top: 42%; width: 760px; height: 760px; }
}

/* 62.4b 900-1099 portrait (the two-column stage on a tall screen): a
   bigger phone, so the stage is not two thin bands around a small one. */
@media (min-width: 900px) and (max-width: 1099px) and (orientation: portrait) {
  .tour__pin { --tw: min(440px, max(320px, calc((100svh - 220px) * 302 / 596 + 18px))); }
  /* The text column is narrow here, so the step copy runs taller (chips
     wrap): lift the numeral by that much so it stays wholly above the label. */
  .tour__num { --ny: calc(-50% - .325em - 162px); }
}

/* 62.5 Nav sheet, 601-880: six visible tiles on a 6-column grid, so no
   tile sits alone (the theme tile is hidden while the site is dark-only). */
@media (min-width: 601px) and (max-width: 880px) {
  html[data-nav="top"] .nav__links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html[data-nav="top"] .nav__links > li { grid-column: span 2; }
  html[data-nav="top"] .nav__links > li:nth-child(n+4) { grid-column: span 3; }
  html[data-nav="top"] .nav__links > li:has(> .btn) { grid-column: 1 / -1; }
}

/* 62.6 The store dock on portrait tablets: anchored to the right edge
   instead of floating over the reading column; back-to-top stacks above it. */
@media (min-width: 601px) and (max-width: 899px) and (orientation: portrait) {
  .dock {
    left: auto;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    transform-origin: 100% 100%;
    transform: translateY(calc(100% + 40px));
  }
  .dock.is-up, .dock.is-up:hover { transform: none; }
  body.mx-open .dock { transform: translateY(calc(100% + 40px)); }
  .back-to-top { right: max(24px, env(safe-area-inset-right, 0px)); }
  body.fx-dock-up .back-to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* 62.7 Touch, any width: back-to-top never floats over the pinned tour. */
@media (hover: none) and (pointer: coarse) {
  body.fx-tour-on .back-to-top,
  body.fx-tour-on .back-to-top.visible { opacity: 0; pointer-events: none; transform: translateY(8px); }
}

/* ═══ §63 · Phones + tablets: overlays and pacing (r7 batch 3) ═══════════
   Every rule here sits inside a phone/tablet width query or a touch query;
   a desktop ≥1100px with a fine pointer gets none of it. */

/* 63.1 Nav sheet (≤880px, where the menu is a sheet). The toggle is a
   full 44px target; the page behind holds still while the sheet is open
   (fx.js §63 mirrors the open state onto <html>). */
@media (max-width: 1099px) {
  #navToggle { width: 44px; height: 44px; }
}
@media (max-width: 880px) {
  html.fx-sheet-open { overflow: hidden; }
  :root[data-nav="top"] .nav__links {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* A curtain from under the bar: the clip opens downward with rounded
       lower corners (open, it widens past the edges so the shadow shows). */
    transform: none !important;
    clip-path: inset(0 0 100% 0 round 24px);
    transition: clip-path 220ms cubic-bezier(.4, 0, .7, .2), opacity 140ms ease 80ms, visibility 0s 220ms !important;
  }
  :root[data-nav="top"] .nav__links.open {
    clip-path: inset(-40px -40px -90px -40px round 24px);
    transition: clip-path 320ms cubic-bezier(.25, .8, .3, 1), opacity 90ms ease, visibility 0s !important;
  }
  :root[data-nav="top"] .nav__links li {
    transform: translateY(-10px) scale(.97);
    transition: opacity 160ms ease, transform 420ms var(--spring-soft);
  }
  :root[data-nav="top"] .nav__links.open li { transition-delay: calc(var(--li, 0) * 30ms + 40ms); }
  :root[data-nav="top"] .nav__links:not(.open) li { transition-delay: 0ms; }
  :root[data-nav="top"] .nav__links a:not(.btn):active { transform: scale(.96); transition-duration: 90ms; }

  /* Order: the colour tiles, then Get the app, then the quiet row. */
  :root[data-nav="top"] .nav__links > li:has(> .btn) { order: 2; }
  :root[data-nav="top"] .nav__links > li.nav__extra { display: block; order: 3; }
  :root[data-nav="top"] .nav__links > li.nav__extra:has(> a[href="#top"]) { display: none; }
  /* FAQ · Feedback: quiet, a 44px row, the icon in its own hue. */
  :root[data-nav="top"] .nav__links > li.nav__extra > a:not(.btn) {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    min-height: 44px;
    padding: 0 12px !important;
    border-radius: 14px;
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--card-border);
    font-weight: 800;
    font-size: .95rem;
    color: var(--label, var(--muted));
  }
  :root[data-nav="top"] .nav__links > li.nav__extra > a:not(.btn) .nav__ico {
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    color: var(--dc, var(--accent)) !important;
    font-size: 20px;
  }
  :root[data-nav="top"] .nav__links > li.nav__extra > a:not(.btn):active {
    background: color-mix(in srgb, var(--dc, var(--accent)) 12%, transparent);
  }
}
@media (max-width: 880px) and (hover: none) {
  /* fx.js §61 already squeezes the tile to .97 on touch: .99 more is .96. */
  :root[data-nav="top"] .nav__links a:not(.btn):active { transform: scale(.99); }
}
/* Phones: 2 × 2 colour tiles, "Create a set" as one full-width row (no
   orphan), every tile at least 84px. */
@media (max-width: 600px) {
  :root[data-nav="top"] .nav__links > li > a:not(.btn) {
    min-height: 84px;
    gap: 8px;
    padding: 12px 14px !important;
  }
  :root[data-nav="top"] .nav__links > li:has(> a[href*="create"]) { grid-column: 1 / -1; }
  :root[data-nav="top"] .nav__links > li > a[href*="create"]:not(.btn) {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 64px;
  }
  :root[data-nav="top"] .nav__links > li.nav__extra > a:not(.btn) { min-height: 44px; padding: 0 12px !important; }
}

/* 63.2 Rhythm on phones: one section padding, so every gap from a
   section's last line to the next eyebrow lands at 96-140px. The pinned
   tour and the finale (its orbit is its air) keep their own. */
@media (max-width: 600px) {
  .section:not(.tour):not(.sec--finale) { padding-block: 56px; }
  .section.sec--split:not(.tour) { padding-block: 64px; }
  /* The proof panel ends flush with its section: #modes brings its own air. */
  .proof + #modes.section { padding-top: 100px; }
  /* After the pinned tour: its stage ends with some air of its own, which
     grows on tall phones (the phone stops growing at full size). fx.js
     §63 measures it (--tour-tail), so the step to Story stays ~100px. */
  #story.section.sec--split { padding-top: max(40px, calc(86px - var(--tour-tail, 14px))); }
}

/* 63.3 Swiftness on touch and tablet widths. Desktop timings untouched.
   Hero: everything is in by ~0.9s, the Play button fully opaque by ~0.7s. */
@media (pointer: coarse), (max-width: 1099px) {
  .hero__free { animation-duration: 520ms; animation-delay: 30ms; }
  .hero h1 .wd { animation-duration: 760ms; animation-delay: calc(70ms + var(--w, 0) * 55ms); }
  .hero__sub { animation-duration: 560ms; animation-delay: 200ms; }
  .hero__actions { animation-duration: 520ms; animation-delay: 260ms; }
  .hero__rating, .hero__note, .hero__assure, .hero__trust { animation-duration: 560ms; animation-delay: 320ms; }
  html.is-ios .hero__ios { animation-duration: 560ms; animation-delay: 340ms; }
  .hero__stage { animation-duration: 900ms; animation-delay: 160ms; }

  /* Reveals: shorter, and no more than 18px of travel. */
  :root {
    --rv-o: 300ms; --rv-t: 520ms; --rv-y: 16px; --rv-yt: 16px; --rv-s: .99;
    --rv-cy: 18px; --rv-cs: .96; --rv-cst: .97; --rv-ct: 520ms;
    --rv-wo: 300ms; --rv-wt: 520ms; --rv-ws: 30ms; --rv-wmax: 180ms; --rv-wy: .45em;
  }
}

/* 63.4 Finale on phones: the bubbles drifted across the headline and the
   buttons; the spinning orbit is the motion here. */
@media (max-width: 600px) {
  .sec--finale .cta-bubbles, .cta .cta-bubbles { display: none; }
}

/* 63.5 Off-screen loops pause (fx.js §63 sets .fx-off on a region that is
   200px or more off screen). Only infinite loops are listed — never a
   one-shot entrance — so a region looks exactly as it did when it left. */
@media (max-width: 1099px), (hover: none), (pointer: coarse) {
  .fx-off :is(.globe__halo, .globe__clouds, .globe__land, .globe__dot, .globe__ring),
  .fx-off :is(.pr-free, .pr-free__t, .plan__badge),
  .fx-off .pr-free::before,
  .fx-off .cta-bubbles i,
  .fx-off .eyebrow::before,
  .fx-off :is(.btn--play__droid, .cta__logo, .orb__ring, .orb__ic),
  .hero.fx-off :is(.phone, .hero__blob, .hero__glow, .swash, .btn--play__droid, .hero__free .sym),
  .ticker.fx-off .ticker__track { animation-play-state: paused !important; }
}

/* 64 Final QA (round 7). Touch tablets with the island nav (landscape
   1024/1180): the bar links drew a 32px-tall target. An invisible ::before
   grows each one to a 44px hit area without moving a pixel of the bar.
   Gated to coarse pointers, so the desktop nav is untouched. */
@media (hover: none) and (pointer: coarse) {
  .nav.is-island .nav__links a:not(.btn)::before {
    content: "";
    position: absolute;
    left: -4px; right: -4px;
    top: 50%; height: 46px;
    translate: 0 -50%;
  }
}

/* 64.2 Touch and narrow screens: the #story words dropped in on a 95ms
   stagger, so for ~2s the sentence read "bis das ___ wieder ___" to a thumb
   scroller. Same drop, same spring and ring, on a 40ms stagger: the last
   word lands about 1s after the card arrives. Desktop timings untouched. */
@media (pointer: coarse), (max-width: 1099px) {
  .js-story .story-on .story__text .w {
    transition-delay: calc(90ms + var(--i, 0) * 40ms), calc(90ms + var(--i, 0) * 40ms), 0ms, 0ms;
  }
  .js-story .story-on .story__text .w::after {
    animation-delay: calc(90ms + var(--i, 0) * 40ms + 260ms);
  }
  .js-story .story-on .story__text .st-ink { transition: opacity 700ms ease 60ms; }
}

/* ═══ §64 · Home details (r8 home lane) ══════════════════════════════════
   Small things only; the approved desktop layout keeps its geometry.
   64.1 headings  64.2 count-up  64.3 pricing rows  64.4 FAQ
   64.5 SRS chart  64.6 story chips  64.7 phone CTAs  64.8 finale arrow */

/* 64.1 Headings: phrases are .nb spans in the markup; balance the rest. */
#srs h2, #faq h2, #features h2, #feedback h2 { text-wrap: balance; }
#modes .lede, #story .lede, #srs .lede, #features .lede, #faq .lede { text-wrap: pretty; }
/* "Nine ways to drill it." is one nowrap phrase: on the narrowest phones
   the heading steps down a hair so it never overflows. */
@media (max-width: 380px) { .sec--stage#modes > .wrap > h2 { font-size: 9.3vw; } }

/* 64.2 Count-up: tabular figures in a box as wide as the final value, the
   "+" reserved from the first frame (dimmed until the number lands), and
   the rating's star pops instead of the 4.8 ticking up. */
.stat__n, .fact__n { font-variant-numeric: lining-nums tabular-nums; }
.stat__v { display: inline-block; text-align: right; }
.stat__sfx { opacity: .35; transition: opacity 420ms ease; }
.stat__sfx.is-on { opacity: 1; }
.proof__panel .stat__v, .proof__panel .stat__sfx { -webkit-text-fill-color: inherit; }
.stat__star { display: inline-block; transform-origin: 50% 60%; }
/* only once script.js has armed it (.is-pre), so no-JS keeps a full star */
.stat.is-pre .stat__star { transform: scale(.4) rotate(-40deg); opacity: .3; }
.stat.is-in .stat__star {
  transform: none; opacity: 1;
  transition: transform 620ms var(--spring) 120ms, opacity 260ms ease 120ms;
}

/* 64.3 Pricing: the two plans line up row by row. Free has a second line
   under "forever" like Pro's "$1.25 a month", and starts 8px lower inside
   so its lift (§28: translate -8px) moves the card, not the rows. */
@media (min-width: 701px) {
  .pricing__grid .plan--free .plan__head { margin-top: 8px; }
}
.plan--free .plan__month { margin-top: -14px; }

/* 64.4 FAQ. The support card now follows the questions in the markup.
   ≥1100: it keeps its sticky spot in the right column (same grid cell as
   before). 980–1099: under the heading in the left column (no sticky
   head there, or the head would slide over it). Below: after the list. */
@media (min-width: 1100px) {
  #faq.sec--wide > .wrap > .faq__stuck {
    grid-column: 2; grid-row: 3; align-self: start;
    position: sticky; top: 120px; margin: 0; z-index: 1;
  }
}
@media (min-width: 980px) and (max-width: 1099px) {
  #faq .wrap { grid-template-rows: auto 1fr; row-gap: 0; }
  #faq .faq__head { position: static; grid-column: 1; grid-row: 1; }
  #faq .faq__list { grid-column: 2; grid-row: 1 / 3; }
  #faq .wrap > .faq__stuck { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
}
@media (max-width: 979px) {
  #faq .wrap > .faq__stuck { margin: 22px 0 0; max-width: none; }
}
/* Its two links are buttons now: 44px chips with an icon, a press. */
.faq__stuck-links { gap: 8px; margin-top: 4px; }
.faq__stuck-links a {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--card-border));
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--accent-ink);
  font: 800 .88rem/1 'Nunito', system-ui, sans-serif;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 380ms var(--spring), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.faq__stuck-links a .sym { font-size: 18px; }
@media (hover: hover) {
  .faq__stuck-links a:hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: color-mix(in srgb, var(--accent) 60%, var(--card-border));
  }
}
.faq__stuck-links a:active { transform: scale(.96); transition-duration: 60ms; }
/* The chevron turns in step with the 420ms height move, with a little
   overshoot, and sits in a tinted chip while its answer is open. */
.faq__q .sym {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 0%, transparent);
  transition: transform 420ms cubic-bezier(.34, 1.4, .64, 1), color 200ms ease, background-color 260ms ease;
}
.faq__item[open] .faq__q .sym {
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}

/* 64.5 SRS chart: phone-size labels, and the step cards point at their dot. */
.srs-curve__svg--n .srs-curve__y { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.srs-curve__svg--n .srs-curve__lab { font-size: 13.5px; font-weight: 800; }
.srs-curve__svg--w .srs-curve__y { letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.srs-curve__dot { transition-property: opacity, transform, scale; }
.srs-curve__seg { transition-property: stroke-dashoffset, opacity; }
.srs-curve.is-on .srs-curve__dot { scale: 1; }
/* the draw-in keeps its own transition (a hover mid-draw never snaps it),
   and opacity/scale ease back both ways when the hover ends */
.srs-curve.is-on .srs-curve__seg {
  transition: stroke-dashoffset 520ms cubic-bezier(.45, .05, .35, 1) calc(var(--i) * 460ms), opacity 260ms ease;
}
.srs-curve.is-on .srs-curve__dot {
  transition: opacity 160ms ease calc(var(--i) * 460ms + 40ms),
              transform 480ms cubic-bezier(.3, 1.8, .5, 1) calc(var(--i) * 460ms + 40ms),
              scale 420ms var(--spring);
}
/* fx.js re-serialises the seg style ("--i: 2; --len: …"), hence both spellings */
.srs-curve[data-hot] .srs-curve__seg { opacity: .35; }
.srs-curve[data-hot="0"] .srs-curve__seg:is([style*="--i:0"], [style*="--i: 0;"]),
.srs-curve[data-hot="1"] .srs-curve__seg:is([style*="--i:1"], [style*="--i: 1;"]),
.srs-curve[data-hot="2"] .srs-curve__seg:is([style*="--i:2"], [style*="--i: 2;"]),
.srs-curve[data-hot="3"] .srs-curve__seg:is([style*="--i:3"], [style*="--i: 3;"]) { opacity: 1; }
.srs-curve.is-on[data-hot="0"] .srs-curve__dot[style*="--i:0"],
.srs-curve.is-on[data-hot="1"] .srs-curve__dot[style*="--i:1"],
.srs-curve.is-on[data-hot="2"] .srs-curve__dot[style*="--i:2"],
.srs-curve.is-on[data-hot="3"] .srs-curve__dot[style*="--i:3"] {
  scale: 1.75;
  transition: opacity 160ms ease calc(var(--i) * 460ms + 40ms),
              transform 480ms cubic-bezier(.3, 1.8, .5, 1) calc(var(--i) * 460ms + 40ms),
              scale 420ms var(--spring);
}
.srs__step.is-hot { border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border)); }

/* 64.6 Story: the highlighted words keep the paragraph's line rhythm (no
   vertical padding; the amber underline is a shadow, not a border), and
   answer a tap with a squeeze. */
.story__text .w {
  padding: 0 3px;
  border-bottom: 0;
  box-shadow: inset 0 -2px 0 var(--cat-amber);
  -webkit-tap-highlight-color: transparent;
}
.js-story .story__text .w { line-height: 1.2; vertical-align: baseline; }
/* the tap (script.js adds .is-tap): a squeeze on `scale`, an animation so
   it never fights the entrance transitions on `transform` */
.story__text .w.is-tap { animation: w-tap 420ms cubic-bezier(.3, 1.6, .5, 1); }
@keyframes w-tap { 0% { scale: 1; } 25% { scale: .88; } 100% { scale: 1; } }

/* 64.7 Phones: every in-section action is a full, thumb-sized button. */
@media (max-width: 600px) {
  #srs .wrap .btn:not(.btn--sm) { width: 100%; justify-content: center; min-height: 54px; }
  #story .btn--story { min-height: 48px; }
}

/* 64.8 Finale secondary: the hero's trailing arrow, same nudge. */
.btn--arr .btn--quiet__arr { margin-left: 2px; }
@media (hover: hover) { .btn--arr:hover .btn--quiet__arr { translate: 3px 0; } }
.btn--arr:active .btn--quiet__arr { translate: 2px 0; }
.faq__q > span:first-child { text-wrap: balance; }
/* "One set. / Nine ways to drill it." — the 14ch cap split "Nine ways". */
.sec--stage#modes > .wrap > h2 { max-width: 22ch; }
/* Tablet portrait: the 17ch cap set "Written tonight, / for you." with a
   two-word orphan; 21ch holds the two halves as two even lines. */
@media (min-width: 601px) and (max-width: 899px) and (orientation: portrait) {
  #story.section h2 { max-width: 21ch; }
}

/* 64.9 The Stage band's top rule ran straight through the proof panel's
   bottom corners (the panel ends where #modes starts): the band keeps
   only its bottom rule there. Plan bullets set without a lone last word. */
.proof + #modes.sec--stage::before {
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--ink) 8%, transparent) 20%, color-mix(in oklab, var(--ink) 8%, transparent) 80%, transparent) bottom / 100% 1px no-repeat;
}
.plan li { text-wrap: pretty; }

/* ═══ §65 Faster tour steps ═══
   Owner: fast scrolling should keep up. Every step change now lands in
   ~460ms (was ~720ms); fx.js HOLD 480ms and the scroll gate match. */
.tour__step > * { transition-duration: 200ms, 200ms, 200ms; }
.tour__step.is-on > * { transition-duration: 260ms, 260ms, 380ms; }
.tour__step.is-on > :nth-child(1) { transition-delay: 50ms; }
.tour__step.is-on > :nth-child(2) { transition-delay: 75ms; }
.tour__step.is-on > :nth-child(3) { transition-delay: 100ms; }
.tour__step.is-on > :nth-child(4) { transition-delay: 125ms; }
.tour__num.is-swap { animation-duration: 420ms; }

/* ═══ §66 Big yellow star beside the 4.8 rating (owner request) ═══
   Sits next to the number like the globe beside 53: a gold-gradient star
   with a soft warm glow, a gentle breathe and a light glint sweeping
   across it every few seconds. Keeps moving under reduce (like the globe). */
.bigstar { display: block; width: clamp(40px, 4vw, 54px); aspect-ratio: 1; flex: none; margin: -6px -2px -6px -6px; }
.bigstar svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bigstar__body { stroke: #E08A00; stroke-width: 1; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: bigstar-breathe 3.2s ease-in-out infinite; }
.bigstar__glow { fill: #FFC400; opacity: .55; filter: blur(5px); transform-box: fill-box; transform-origin: center; animation: bigstar-glow 3.2s ease-in-out infinite; }
.bigstar__shine { animation: bigstar-shine 4.2s ease-in-out 1s infinite; }
@keyframes bigstar-breathe { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.07) rotate(-4deg); } }
@keyframes bigstar-glow { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: .75; transform: scale(1.12); } }
@keyframes bigstar-shine { 0%, 55% { transform: translateX(0); } 85%, 100% { transform: translateX(96px); } }
.stat.is-pre .bigstar { transform: scale(.4) rotate(-40deg); opacity: .3; }
.stat .bigstar { transition: transform 700ms cubic-bezier(.2, 1.5, .4, 1), opacity 400ms ease; }
.stat.is-in .bigstar { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bigstar__body { animation: bigstar-breathe 3.2s ease-in-out infinite !important; }
  .bigstar__glow { animation: bigstar-glow 3.2s ease-in-out infinite !important; }
  .bigstar__shine { animation: bigstar-shine 4.2s ease-in-out 1s infinite !important; }
}
/* The gradient-ink numbers paint only inside their own box; in a tight
   .stat__row (globe, star) the last glyph's overhang got clipped. Give the
   paint box room on the right without moving the layout. */
.proof__panel .stat__row .stat__n { padding-right: .14em; margin-right: -.14em; padding-left: .04em; margin-left: -.04em; }
