/* ══════════════════════════════════════════════════════════════════════
   /features/ — page layer (round 8). Loaded right after fx.css; the
   page's own inline <style> comes after this sheet, so rules that meet
   it carry one extra class or element of specificity.
   Sections:
     F1  Type scale: the page title is the biggest type on the page
     F2  Sub-nav: scrim behind the bar, 44px chips on touch
     F3  Head on tablet (nine-mode strip) and phone (compact facts)
     F4  Icon rows (.ficons) and sub-heads
     F5  Hairline lists (.fshow--list)
     F6  Offline lead visual: translate, spell, speak (.ftr)
     F7  Organise: the accent try-out (.facc)
     F8  Privacy band (.fband--teal, .fpriv)
     F9  Spec fold
     F10 Story band on this page
     F11 Touch: presses, back-to-top, entrance pace on phones
   ══════════════════════════════════════════════════════════════════════ */

/* ═══ F1 · Type scale ════════════════════════════════════════════════════ */
header.phead h1 {
  font-size: clamp(2.75rem, 5.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.phead__grad {
  background: linear-gradient(100deg, var(--ink) 0%, #A8E6AB 46%, var(--accent-lite, #66BB6A) 72%, #7FD4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .06em;
}
main > .section:not(#pricing):not(.sec--finale):not(#story) > .wrap > h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
  max-width: 20ch;
}
#story.section.sec--split h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); max-width: 14ch; }
main > .section > .wrap > .lede { max-width: 58ch; text-wrap: pretty; }
@media (max-width: 600px) {
  main > .section > .wrap > .lede, #story .lede { font-size: 1rem; line-height: 1.55; }
}

/* ═══ F2 · Sub-nav ═══════════════════════════════════════════════════════
   A page-colour scrim fills the gap between the nav pill and the bar once
   the bar is stuck, so section text never shows through the slit between
   them. Opacity only; no blur. */
.subnav::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -96px; bottom: -14px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--scaffold) 0%, var(--scaffold) 72%, color-mix(in srgb, var(--scaffold) 0%, transparent) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.subnav.is-stuck::before { opacity: 1; }
.subnav.is-done::before { opacity: 0; }
.subnav .toc a { -webkit-tap-highlight-color: transparent; }
.subnav .toc a:active { transform: scale(.95); transition-duration: 80ms; }
@media (pointer: coarse), (max-width: 899px) {
  .subnav .toc { scroll-snap-type: x proximity; scroll-padding-inline: 28px; }
  .subnav .toc a { min-height: 44px; align-items: center; scroll-snap-align: center; }
  .subnav .toc a:hover { background: transparent; }
}

/* ═══ F3 · Head ══════════════════════════════════════════════════════════ */
/* Tablet: the nine modes as one row of chips under the buttons. */
@media (min-width: 601px) and (max-width: 1099px) {
  .fx-constellation {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 6px;
    margin-top: 34px;
    padding: 20px 14px 16px;
    border-radius: 28px;
    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, .06), 0 30px 60px -34px rgba(0, 0, 0, .7);
  }
  .fx-constellation .cst__cell {
    display: grid; justify-items: center; gap: 8px;
    animation: cst-in 560ms var(--spring) calc(80ms + var(--i, 0) * 40ms) both;
  }
  .fx-constellation .cst__chip { width: 54px; height: 54px; border-radius: 17px; }
  .fx-constellation .cst__chip .ic { width: 58%; height: 58%; }
  .fx-constellation .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 3px 0 color-mix(in srgb, var(--g2) 62%, #000) !important;
  }
  .fx-constellation .cst__l { font: 800 .72rem/1.15 'Nunito', system-ui, sans-serif; color: var(--label); white-space: nowrap; }
  header.phead .lede { max-width: 58ch; }
  header.phead h1 { font-size: 7.4vw; }
  main > .section:not(#pricing):not(.sec--finale):not(#story) > .wrap > h2,
  #story.section.sec--split h2 { font-size: 5vw; }
  /* Facts: one row of four, chip over number. */
  .phead .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .phead .fact { grid-template-columns: 1fr; grid-template-rows: none; justify-items: start; align-content: start; align-items: start; row-gap: 0; padding: 16px 16px 15px; }
  .phead .fact__ico { grid-row: auto; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 12px; }
  .phead .fact__n { font-size: 1.9rem; }
  .phead .fact__l { grid-column: auto; font-size: .8rem; min-height: 0; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .fx-constellation { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 16px; }
}

/* Phone: the four facts as a compact 2×2, chip beside the number, so the
   labels stay a readable 12px (a row of four squeezed them to 10px). */
@media (max-width: 600px) {
  .phead .facts { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .phead .fact {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px; row-gap: 1px;
    align-items: center; align-content: center;
    padding: 12px 12px 12px 11px;
    border-radius: 16px;
  }
  .phead .fact__ico { grid-row: 1 / 3; align-self: start; width: 34px; height: 34px; border-radius: 11px; margin: 2px 0 0; }
  .phead .fact__ico .sym { font-size: 20px; }
  .phead .fact__n { grid-column: 2; font-size: 1.45rem; letter-spacing: -.03em; }
  .phead .fact__l { grid-column: 2; font-size: .75rem; line-height: 1.3; margin-top: 2px; min-height: 0; }
}
/* The second CTA keeps to one line on 360px phones. */
@media (max-width: 374px) {
  .phead .phead__actions .btn:not(.btn--play) { font-size: .92rem; padding-inline: 14px; gap: 8px; white-space: nowrap; }
}

/* ═══ F4 · Icon rows ═════════════════════════════════════════════════════ */
.fsub {
  margin: 44px 0 6px;
  font: 900 1.05rem/1.2 'Nunito', system-ui, sans-serif;
  letter-spacing: .01em;
  color: var(--label);
}
.ficons {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
}
.fsub + .ficons { margin-top: 8px; }
.ficons--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.ficons li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--hairline);
}
.ficons li::before {
  content: '';
  position: absolute; left: 0; top: -1px; height: 2px; width: 44px;
  background: var(--c, var(--accent));
  border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 600ms var(--ease-out);
}
.ficons li.in::before, .ficons.in li::before { transform: none; }
.ficons__ic { grid-row: 1 / 3; align-self: start; width: 36px; height: 36px; }
.ficons__ic .ic-chip { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.ficons__ic .ic-chip .ic { width: 62%; height: 62%; }
.ficons__sym {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--accent)) 82%, #fff), var(--c, var(--accent)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 color-mix(in srgb, var(--c, var(--accent)) 55%, #000);
}
.ficons__sym .sym { font-size: 21px; font-variation-settings: 'FILL' 1, 'wght' 600; }
.ficons li { align-items: start; grid-template-rows: auto 1fr; align-content: start; }
.ficons b { font: 800 1rem/1.3 'Nunito', system-ui, sans-serif; color: var(--ink); margin-top: 1px; }
.ficons li > span:last-child { grid-column: 2; }
.ficons li > span:last-child { font-size: .9rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .ficons--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .ficons { grid-template-columns: 1fr; }
  .ficons li { padding: 14px 0 15px; }
  .fsub { margin-top: 34px; }
}

/* ═══ F5 · Hairline lists ════════════════════════════════════════════════
   #srs and #data reuse the §53 spec-list look (.fshow > .fitem). */
.fshow--list { margin-top: 26px; }
@media (min-width: 1000px) {
  .fshow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}
.fshow.fshow--list > .fitem:not(.flead) { grid-template-columns: 28px minmax(0, 1fr); }
/* fx.js drops the SRS curve (a full-row figure) in before "How the interval
   grows". In a multi-column list that strands the first card alone on its
   row; from 561px the curve leads instead and the cards share one row. */
@media (min-width: 561px) {
  #srs .fshow--list > .srs-curve--in-list { order: -1; margin-bottom: 6px; }
}
/* #data: five cards in two columns; the odd one out takes the full row. */
@media (min-width: 561px) {
  #data .fshow--list > .fitem:last-child:nth-child(odd) { grid-column: 1 / -1; }
  #data .fshow--list > .fitem:last-child:nth-child(odd) p { max-width: 70ch; }
}
/* Tablets: two columns, so the third card takes the full row. */
@media (min-width: 561px) and (max-width: 999px) {
  #srs .fshow--3 > .fitem:last-child { grid-column: 1 / -1; }
  #srs .fshow--3 > .fitem:last-child p { max-width: 62ch; }
}
@media (max-width: 560px) {
  .fshow.fshow--list > .fitem:not(.flead), .fshow > .fitem:not(.flead) { grid-template-columns: 28px minmax(0, 1fr); }
}

/* ═══ F6 · Offline: translate, spell, speak ══════════════════════════════ */
.flead__vis--offline { padding: 26px 22px; }
.ftr {
  width: min(100%, 400px);
  display: grid;
  gap: 10px;
}
.ftr__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 4px;
  font: 800 .78rem/1 'Nunito', system-ui, sans-serif;
  color: var(--muted);
  opacity: 0; transform: translateY(-6px);
  transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.ftr__sig {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  color: #CFF5F0;
  background: color-mix(in srgb, var(--cat-teal) 22%, var(--card));
  border: 1px solid color-mix(in srgb, var(--cat-teal) 40%, transparent);
}
.ftr__sig .sym { font-size: 16px; }
.ftr__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 12px;
  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 -22px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity 260ms ease, transform 560ms var(--spring);
  transition-delay: calc((2 - var(--i, 0)) * 50ms);
}
.ftr__row b { font: 900 1.08rem/1.1 'Nunito', system-ui, sans-serif; color: var(--ink); position: relative; }
.ftr__art {
  font: 800 .74rem/1 'Inter', system-ui, sans-serif;
  padding: 5px 7px;
  border-radius: 6px;
  color: #fff;
}
.ftr__art--der { background: color-mix(in srgb, var(--cat-blue) 80%, #000); }
.ftr__art--die { background: color-mix(in srgb, var(--cat-pink) 80%, #000); }
.ftr__art--das { background: color-mix(in srgb, var(--cat-green) 75%, #000); }
.ftr__to { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftr__to::before { content: '→ '; color: color-mix(in srgb, var(--muted) 60%, transparent); }
.ftr__say {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cat-teal);
  background: color-mix(in srgb, var(--cat-teal) 14%, transparent);
}
.ftr__say .sym { font-size: 18px; }
/* The typo: "Weter" with a wavy underline resolves into "Wetter". */
.ftr__typo, .ftr__fix { display: inline-block; transition: opacity 240ms ease, transform 420ms var(--spring); }
.ftr__typo {
  text-decoration: underline wavy #FF6B6B;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.ftr__row b:has(.ftr__fix) { display: inline-grid; }
.ftr__typo, .ftr__fix { grid-area: 1 / 1; }
.ftr__fix { opacity: 0; transform: translateY(8px); color: var(--ink); }
.ftr__foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font: 700 .8rem/1.3 'Inter', system-ui, sans-serif;
  color: var(--muted);
  opacity: 0;
  transition: opacity 320ms ease;
}
.ftr__foot .sym { font-size: 17px; color: var(--cat-teal); }
.bento-on .ftr__bar { opacity: 1; transform: none; transition-delay: 60ms; }
.bento-on .ftr__row { opacity: 1; transform: none; transition-delay: calc(140ms + var(--i, 0) * 110ms); }
.bento-on .ftr__typo { opacity: 0; transform: translateY(-8px); transition-delay: 1150ms; }
.bento-on .ftr__fix { opacity: 1; transform: none; transition-delay: 1200ms; }
.bento-on .ftr__foot { opacity: 1; transition-delay: 620ms; }
@media (max-width: 420px) {
  .ftr__row { gap: 8px; padding: 10px; }
  .ftr__row b { font-size: 1rem; }
  .ftr__to { font-size: .82rem; }
  .ftr__say { width: 28px; height: 28px; }
}

/* ═══ F7 · Organise: the accent try-out ══════════════════════════════════ */
.facc {
  --acc: var(--cat-green);
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 34px 40px;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  background:
    radial-gradient(80% 120% at 0% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 62%),
    var(--card);
  box-shadow: var(--card-shadow), 0 40px 70px -48px rgba(0, 0, 0, .7);
  transition: background 420ms ease;
}
.facc__app {
  justify-self: center;
  width: min(100%, 300px);
  padding: 16px;
  border-radius: 26px;
  background: var(--scaffold);
  box-shadow: 0 0 0 1px var(--card-border), 0 0 0 7px #1B2029, 0 0 0 8px #3A4250, 0 30px 50px -24px rgba(0, 0, 0, .8);
  display: grid;
  gap: 12px;
  opacity: 0; transform: translateY(18px) rotate(-2deg);
  transition: opacity 300ms ease, transform 700ms var(--spring);
}
.facc__top { display: flex; align-items: center; gap: 8px; font: 900 1rem/1 'Nunito', system-ui, sans-serif; color: var(--ink); }
.facc__dot { width: 22px; height: 22px; border-radius: 7px; background: var(--acc); transition: background 360ms ease; }
.facc__pill { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--muted); }
.facc__pill .sym { font-size: 18px; }
.facc__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facc__tile {
  display: grid; gap: 14px;
  padding: 11px 11px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--acc) calc(26% - var(--i) * 5%), var(--card));
  border: 1px solid color-mix(in srgb, var(--acc) 34%, transparent);
  transition: background 380ms ease calc(var(--i) * 40ms), border-color 380ms ease calc(var(--i) * 40ms);
}
.facc__tile .sym { font-size: 20px; color: color-mix(in srgb, var(--acc) 70%, #fff); transition: color 380ms ease; }
.facc__tile b { font: 800 .82rem/1.15 'Nunito', system-ui, sans-serif; color: var(--ink); }
.facc__cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; border-radius: 14px;
  font: 900 .95rem/1 'Nunito', system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 82%, #fff), var(--acc));
  box-shadow: 0 4px 0 color-mix(in srgb, var(--acc) 55%, #000);
  transition: background 380ms ease, box-shadow 380ms ease;
}
.facc.is-flash .facc__cta { animation: facc-pop 460ms var(--spring); }
@keyframes facc-pop { 0% { transform: scale(.94); } 100% { transform: none; } }
.facc__pick { display: grid; gap: 14px; justify-items: start; }
.facc__l { font: 900 clamp(1.4rem, 2.1vw, 1.75rem)/1.12 'Nunito', system-ui, sans-serif; letter-spacing: -.015em; color: var(--ink); }
.facc__sws { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0 -6px; }
.facc__s {
  position: relative;
  width: 44px; height: 44px;
  border: 0; padding: 0; margin: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0; transform: scale(.4);
  transition: opacity 220ms ease, transform 520ms var(--spring);
  transition-delay: calc(var(--k, 0) * 40ms);
}
.facc__s::before {
  content: '';
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: var(--s);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 color-mix(in srgb, var(--s) 55%, #000);
  transition: transform 300ms var(--spring);
}
.facc__s::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  opacity: 0; transform: scale(.8);
  transition: opacity 200ms ease, transform 320ms var(--spring);
}
.facc__s[aria-pressed="true"]::after { opacity: 1; transform: none; }
.facc__s:active::before { transform: scale(.86); transition-duration: 80ms; }
@media (hover: hover) and (pointer: fine) { .facc__s:hover::before { transform: scale(1.1); } }
.facc__s:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.facc__s:nth-child(2) { --k: 1; } .facc__s:nth-child(3) { --k: 2; } .facc__s:nth-child(4) { --k: 3; }
.facc__s:nth-child(5) { --k: 4; } .facc__s:nth-child(6) { --k: 5; } .facc__s:nth-child(7) { --k: 6; } .facc__s:nth-child(8) { --k: 7; }
.facc__name { margin: 0; font: 800 .86rem/1 'Inter', system-ui, sans-serif; color: color-mix(in srgb, var(--acc) 70%, #fff); transition: color 300ms ease; }
.facc__p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.bento-on .facc__app { opacity: 1; transform: rotate(-2deg); }
.bento-on .facc__s { opacity: 1; transform: none; transition-delay: calc(240ms + var(--k, 0) * 45ms); }
@media (max-width: 900px) {
  .facc { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px; }
}
@media (max-width: 600px) {
  .facc { margin-top: 26px; border-radius: 24px; padding: 22px 16px 22px; }
  .facc__sws { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); width: 100%; gap: 0; margin-left: 0; }
  .facc__s { width: 100%; height: 44px; }
  .facc__s::before { inset: auto; width: 28px; height: 28px; left: 50%; top: 50%; margin: -14px 0 0 -14px; }
  .facc__s::after { inset: auto; width: 38px; height: 38px; left: 50%; top: 50%; margin: -19px 0 0 -19px; box-sizing: border-box; }
}

/* ═══ F8 · Privacy band ══════════════════════════════════════════════════ */
.section.fband--teal {
  background:
    radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--cat-teal) 14%, transparent), transparent 70%),
    linear-gradient(180deg, transparent, color-mix(in srgb, #000 22%, transparent) 30%, color-mix(in srgb, #000 22%, transparent) 70%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--cat-teal) 18%, transparent);
}
.fpriv {
  --h: var(--cat-teal);
  margin: 34px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.fpriv__stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.fpriv__ring {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--cat-teal) 38%, transparent);
  opacity: 0; transform: scale(.7);
  transition: opacity 500ms ease, transform 900ms var(--ease-out);
}
.fpriv__ring--2 { width: 360px; height: 360px; border-style: solid; border-color: color-mix(in srgb, var(--cat-teal) 12%, transparent); }
.fpriv__stage::before {
  content: '';
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cat-teal) 20%, transparent), transparent);
}
.fpriv__phone {
  position: relative;
  width: 190px; height: 330px;
  padding: 44px 12px 14px;
  border-radius: 34px;
  background: linear-gradient(180deg, #121722, #0D1118);
  box-shadow: 0 0 0 7px #232935, 0 0 0 8.5px #4A5363, 0 40px 60px -26px rgba(0, 0, 0, .85);
  display: grid; align-content: start; gap: 8px;
  opacity: 0; transform: translateY(22px) scale(.95);
  transition: opacity 300ms ease, transform 800ms var(--spring);
}
.fpriv__notch { position: absolute; top: 12px; left: 50%; width: 54px; height: 14px; margin-left: -27px; border-radius: 9px; background: #000; }
.fpriv__lock {
  position: absolute; top: -26px; right: -24px;
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #3FE0C5, #0E9F8A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 0 #06584C, 0 18px 30px -12px rgba(14, 159, 138, .7);
  transform: scale(0) rotate(-30deg);
  transition: transform 620ms var(--spring);
}
.fpriv__lock .sym { font-size: 30px; font-variation-settings: 'FILL' 1, 'wght' 700; }
.fpriv__w {
  display: grid; gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  font-style: normal;
  background: #1A202B;
  border: 1px solid rgba(255, 255, 255, .06);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 240ms ease, transform 480ms var(--ease-out);
}
.fpriv__w b { font: 900 .92rem/1.1 'Nunito', system-ui, sans-serif; color: #E6E9F2; }
.fpriv__w span { font-size: .74rem; color: #9CA3B8; }
.fpriv__db {
  margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 800 .74rem/1 'Inter', system-ui, sans-serif;
  color: #7FE3D3;
}
.fpriv__db .sym { font-size: 15px; }
.fpriv__side { display: grid; gap: 12px; }
.fpriv__fact, .fpriv__url {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px; row-gap: 2px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--cat-teal) 16%, #05070A), 0 20px 34px -24px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(16px);
  transition: opacity 260ms ease, transform 620ms var(--spring);
}
.fpriv__ic {
  grid-row: 1 / 3;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--cat-purple)) 80%, #fff), var(--c, var(--cat-purple)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 color-mix(in srgb, var(--c, var(--cat-purple)) 50%, #000);
}
.fpriv__ic .sym { font-size: 22px; font-variation-settings: 'FILL' 1, 'wght' 600; }
.fpriv__fact b { font: 900 1.05rem/1.2 'Nunito', system-ui, sans-serif; color: var(--ink); align-self: end; }
.fpriv__fact > span:last-child, .fpriv__url > span:last-child { font-size: .88rem; line-height: 1.45; color: var(--muted); }
.fpriv__url code {
  align-self: end;
  font: 700 .95rem/1.3 ui-monospace, 'SF Mono', Consolas, monospace;
  color: var(--ink);
  background: none; padding: 0;
  overflow-wrap: anywhere;
}
.fpriv__url mark {
  color: #0B1A12;
  background: linear-gradient(90deg, var(--accent-lite, #66BB6A), #7FE3D3);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  border-radius: 5px;
  padding: 1px 3px;
  color: var(--ink);
  transition: background-size 700ms var(--ease-out), color 300ms ease;
}
.bento-on .fpriv__ring { opacity: 1; transform: none; transition-delay: 80ms; }
.bento-on .fpriv__ring--2 { transition-delay: 180ms; }
.bento-on .fpriv__phone { opacity: 1; transform: none; }
.bento-on .fpriv__w { opacity: 1; transform: none; transition-delay: calc(260ms + var(--i, 0) * 90ms); }
.bento-on .fpriv__lock { transform: rotate(8deg); transition-delay: 560ms; }
.bento-on .fpriv__fact, .bento-on .fpriv__url { opacity: 1; transform: none; transition-delay: calc(320ms + var(--i, 0) * 110ms); }
.bento-on .fpriv__url mark { background-size: 100% 100%; color: #0B1A12; transition-delay: 1000ms; }
@media (max-width: 900px) and (min-width: 700px) {
  .fpriv { gap: 24px; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .fpriv__stage { min-height: 340px; }
  .fpriv__ring { width: 260px; height: 260px; }
  .fpriv__ring--2 { width: 310px; height: 310px; }
}
@media (max-width: 699px) {
  .fpriv { grid-template-columns: 1fr; gap: 26px; }
  .fpriv__stage { min-height: 330px; }
}
@media (max-width: 600px) {
  .fpriv__stage { min-height: 300px; }
  .fpriv__ring { width: 250px; height: 250px; }
  .fpriv__ring--2 { width: 300px; height: 300px; }
  .fpriv__stage::before { width: 320px; height: 320px; }
  .fpriv__phone { width: 170px; height: 290px; padding-top: 40px; }
  .fpriv__lock { width: 48px; height: 48px; border-radius: 15px; right: -18px; top: -20px; }
  .fpriv__fact, .fpriv__url { padding: 14px; column-gap: 12px; }
}

/* ═══ F9 · Spec fold ═════════════════════════════════════════════════════ */
.spec-fold.is-folded .spec-wrap {
  --peek: 300px;
  position: relative;
  overflow: hidden;
  transition: max-height 520ms cubic-bezier(.2, .8, .2, 1);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 140px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 140px), transparent);
}
.spec-fold.is-folded.is-open .spec-wrap { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 600px) { .spec-fold.is-folded .spec-wrap { --peek: 360px; } }
.spec-fold__btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -34px auto 0;
  min-height: 50px;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--card-border));
  background: linear-gradient(180deg, #232935, #1B2029);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 0 #05070A, 0 18px 30px -16px rgba(0, 0, 0, .8);
  font: 800 .95rem/1 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 260ms var(--spring), box-shadow 200ms ease, border-color 200ms ease;
}
.spec-fold.is-open .spec-fold__btn { margin-top: 18px; }
.spec-fold__n {
  padding: 5px 9px; border-radius: 999px;
  font: 700 .74rem/1 'Inter', system-ui, sans-serif;
  color: var(--muted);
  background: rgba(255, 255, 255, .06);
}
.spec-fold__btn .sym {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  color: #0B1A12;
  background: linear-gradient(180deg, var(--accent-lite, #66BB6A), var(--accent));
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
}
.spec-fold.is-open .spec-fold__btn .sym { transform: rotate(180deg); }
.spec-fold.is-open .spec-fold__n { display: none; }
@media (hover: hover) and (pointer: fine) {
  .spec-fold__btn:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 60%, var(--card-border)); }
}
.spec-fold__btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 #05070A; transition-duration: 80ms; }
.spec-fold__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#spec .note { margin-top: 26px; }

/* ═══ F10 · Story band ═══════════════════════════════════════════════════ */
#story .ficons--3 li > span:last-child { font-size: .88rem; }
#story > .wrap + .wrap > .note { margin-top: 6px; }
@media (min-width: 901px) {
  #story .story__grid { align-items: center; }
}

/* ═══ F11 · Touch, back-to-top, pace ═════════════════════════════════════ */
#modes .tile { -webkit-tap-highlight-color: transparent; }
#modes .tile:active { scale: .97; transition: scale 90ms ease; }
@media (hover: none) {
  #modes .tile:hover { transform: none; translate: none; }
}
/* Phones/tablets: the floating arrow sits clear of the spec text, with a
   44px target. */
@media (max-width: 1023px) {
  .back-to-top { width: 46px; height: 46px; right: 14px; }
  /* While the dock is up the arrow's place is decided site-wide (fx.css,
     system.css S9: stacked above the dock on portrait tablets). */
}
/* Phones: quick, short entrances for fast thumbs. */
@media (max-width: 767px) {
  main .reveal { transition-duration: 380ms !important; }
}

/* ═══ F12 · Section numerals ═════════════════════════════════════════════
   A big numeral behind each section head, in the #tour step-numeral style
   (Nunito 900, a fill that fades downward in the section's colour). Pure
   decoration (aria-hidden); the eyebrow still carries "01 · ...". It
   enters with the site's own reveal (script.js tags it with the head). */
:where(main .wrap, main .story__grid > div):has(> .secnum) { position: relative; isolation: isolate; }
.secnum {
  --sn: var(--accent);
  position: absolute;
  z-index: -1;
  top: -.2em;
  right: 8px;
  font: 900 clamp(7rem, 15vw, 13.5rem)/1 'Nunito', system-ui, sans-serif;
  letter-spacing: -.06em;
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sn) 22%, transparent) 18%, color-mix(in srgb, var(--sn) 0%, transparent) 86%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  white-space: nowrap;
}
#capture  .secnum { --sn: var(--cat-blue); }
#srs      .secnum { --sn: var(--cat-purple); }
#story    .secnum { --sn: var(--cat-amber, #FFB020); right: -10px; }
#offline  .secnum { --sn: var(--cat-teal); }
#game     .secnum { --sn: var(--cat-orange); }
#organise .secnum { --sn: var(--cat-pink); }
#data     .secnum { --sn: var(--cat-teal); }
#pricing  .secnum { --sn: var(--gold, #F5C04A); }
#spec     .secnum { --sn: var(--cat-indigo, #7C83FF); }
/* Centred heads (pricing) keep the numeral to the right edge, clear of the
   centred h2; phones and tablets get a smaller one tucked to the corner. */
@media (max-width: 900px) {
  .secnum { font-size: clamp(5.5rem, 24vw, 9rem); top: -.12em; }
}
@media (max-width: 600px) {
  .secnum { font-size: 6.25rem; top: -.2em; right: 12px; }
  #story .secnum { right: 12px; }
  .secnum { background-image: linear-gradient(180deg, color-mix(in srgb, var(--sn) 18%, transparent) 16%, color-mix(in srgb, var(--sn) 0%, transparent) 78%); }
}

/* ═══ F13 · Modes: a swipe hint on phones ════════════════════════════════
   The phone deck is swipe, tap to flip, tap again to watch: say so in one
   short line (the desktop line names a click). It bows out with .try--done
   like the desktop hint. */
@media (max-width: 600px) {
  #modes .try { display: flex; align-items: center; margin: -6px 0 14px; font-size: 0; }
  #modes .try::after { content: 'Swipe the deck, tap a card to flip it'; font-size: .86rem; line-height: 1.3; }
  #modes .try > .sym, #modes .try .ic-mini { font-size: 18px; }
}
/* Story (a narrower copy column) and Pricing (a centred, wide h2): the
   numeral rises above the head line so it never sits behind the h2. */
@media (min-width: 901px) {
  #story .secnum, #pricing .secnum { top: -.62em; }
  #story .secnum { font-size: clamp(7rem, 11vw, 10.5rem); right: 0; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .secnum, #story .secnum { right: 22px; }
  #pricing .secnum { top: -.5em; }
  #story .secnum { top: -.28em; }
}
