/* easytor-v2 · shell/sections.prelude.css — the head of assets/css/sections.css
   ==========================================================================
   EasyTor — section styles, one block per folder in page order (join.mjs).
   Load order: tokens.css -> base.css (the kit + motion.css) -> this file.
   Colours only through tokens; logical properties; BEM names prefixed with the
   section. A sticky stage writes its live layout, --scene-live: 1 and its
   actors' --act / --from / --to in ONE block under
   `html.stages .x.scene:not(.is-cramped)` (see tools/build/RUNTIME.md).
   ========================================================================== */

/* ==========================================================================
   01-nav
   ========================================================================== */
/* easytor-v2 · 01-nav/section.css — the floating bar, the drawer, the reading-progress line (SPEC 7.1).
   Owner: chrome.
   Anatomy: header.nav is an in-flow block of zero height that carries the world (data-world, written
   by section.js from the section under the nav line). Its two children are fixed boxes of their own:
   .nav__bar (the floating bar; it tucks away with a transform below 1024px) and .nav__drawer (the
   full-viewport sheet). The drawer is never inside a transformed box, so its `position: fixed` always
   means the viewport, and the header itself covers nothing (no click-through tricks needed). */

.nav { display: block; block-size: 0; }

/* ---- the bar ------------------------------------------------------------------------------------- */
.nav__bar {
  position: fixed;
  z-index: var(--z-nav);
  inset-block-start: var(--nav-gap);
  inset-inline: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  inline-size: min(100% - 2 * var(--gutter), var(--container));
  min-block-size: var(--nav-h);
  margin-inline: auto;
  padding-block: 0;
  padding-inline: var(--space-12) var(--space-8);
  border-radius: var(--radius-lg);
  color: var(--fg-2);
}

/* Two plates, one per world, cross-faded (colour is never animated): each paints its own world's
   surface at 98% (SPEC: at least 92% opaque, no backdrop-filter; at 94% the hero's lede ghosted through), hairline and float shadow. */
.nav__plate {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: inherit;
  background-color: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
}
.nav[data-world="night"] .nav__plate--night,
.nav[data-world="day"] .nav__plate--day { opacity: 1; }
/* the night plate is solid: at 98% the hero's white CTA and its magenta cap still ghosted through beside the
   wordmark (W6, a dpr-2 crop). Over day content the 98% day plate shows only a faint navy, so it keeps it. */
.nav__plate--night { background-color: var(--surface); }

/* the wordmark: navy on day, light on night, cross-faded */
/* The brand is the one part of the compact bar that may yield room: at 320px, or with larger text in
   the language buttons, the wordmark narrows (down to 64px) instead of pushing the burger out of the bar. */
.nav__brand {
  display: grid;
  grid-template-columns: minmax(0, auto);
  flex: 0 1 auto;
  align-items: center;
  min-inline-size: 64px;
  min-block-size: 44px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-bar);
  text-decoration: none;
}
.nav__mark {
  grid-area: 1 / 1;
  inline-size: 87px;                      /* 28px tall at the file's 852 / 274 */
  max-inline-size: 100%;
  block-size: auto;
}
.nav__mark--day { opacity: 0; }
.nav[data-world="day"] .nav__mark--day { opacity: 1; }
.nav[data-world="day"] .nav__mark--night { opacity: 0; }

/* the five links: from 1024px only (below, they live in the drawer) */
.nav__links { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: var(--space-12);
  border-radius: var(--radius-bar);
  color: var(--fg-2);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
/* the active link: a 2px underline in --fg that draws from the reading start (magenta is spent
   on the button cap only) */
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: var(--space-12);
  inset-block-end: 9px;
  block-size: 2px;
  border-radius: 1px;
  background-color: var(--fg);
  transform: scaleX(0);
  transform-origin: var(--start) 50%;
}
.nav__link[aria-current] { color: var(--fg); }
.nav__link[aria-current]::after { transform: scaleX(1); }
/* hover draws the same underline in the control-border tone (≥3:1 on both plates), so the hover reads
   at a glance and is still told apart from the current link */
@media (hover: hover) {
  .nav__link:hover { color: var(--fg); }
  .nav__link:not([aria-current]):hover::after { background-color: var(--line-2); transform: scaleX(1); }
}

/* the tools: language buttons, the CTA (from 1024px), the burger (below 1024px) */
.nav__tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
  margin-inline-start: auto;
}
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav__lang-btn {
  min-inline-size: 44px;
  min-block-size: 44px;
  margin: 0;
  padding: 0 var(--space-12);
  border: 0;
  border-radius: var(--radius-full);         /* the pressed language is a pill, beside the pill CTA */
  background: none;
  color: var(--fg-2);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav__lang-btn[aria-pressed="true"] {
  background-color: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg);
  font-weight: var(--w-bold);
  cursor: default;
}
@media (hover: hover) {
  .nav__lang-btn[aria-pressed="false"]:hover { color: var(--fg); text-decoration: underline; text-underline-offset: .3em; }
}
.nav__cta { display: none; }

.nav__burger {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-bar);
  background: none;
  color: var(--fg);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger-box {
  display: grid;
  gap: 5px;
  inline-size: 22px;
}
.nav__burger-line {
  display: block;
  block-size: 2px;
  border-radius: 1px;
  background-color: currentColor;
}
.nav__burger-line:nth-child(2) { inline-size: 70%; margin-inline-start: auto; }
.nav.is-open .nav__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger-line:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* the reading-progress line: 2px in --fg along the bar's lower edge, scaleX from the reading start
   (written by section.js: a passive scroll listener + rAF, not a scene) */
.nav__progress {
  position: absolute;
  inset-inline: var(--radius-lg);
  inset-block-end: 0;
  block-size: 2px;
  pointer-events: none;
}
.nav__progress-fill {
  display: block;
  block-size: 100%;
  border-radius: 1px;
  background-color: var(--fg);
  transform: scaleX(0);
  transform-origin: var(--start) 50%;
}
html:not(.js) .nav__progress { display: none; }

/* ---- the drawer (below 1024px) ------------------------------------------------------------------- */
.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: calc(var(--nav-gap) + var(--nav-h) + var(--space-24)) calc(var(--space-24) + env(safe-area-inset-bottom, 0px));
  padding-inline: var(--gutter);
  background-color: var(--bg);
  background-image: var(--bg-art);
  color: var(--fg-2);
}
/* closed: hidden (and inert, from the markup); without scripting it is not rendered at all */
html.js .nav__drawer { visibility: hidden; opacity: 0; }
html.js .nav.is-open .nav__drawer { visibility: visible; opacity: 1; }
.nav__drawer-in {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  inline-size: min(100%, 40rem);
  min-block-size: 100%;
  margin-inline: auto;
}
.nav__drawer-list { border-block-start: 1px solid var(--line); }
.nav__drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-block-size: 56px;
  padding-block: var(--space-8);
  border-block-end: 1px solid var(--line);
  color: var(--fg);
  font-size: var(--text-h4);
  font-weight: var(--w-bold);
  line-height: 1.25;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav__drawer-link[aria-current] span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.nav__drawer-arrow {
  flex: none;
  inline-size: 24px;
  block-size: 24px;
  fill: none;
  stroke: var(--fg-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(var(--dir));
}
.nav__drawer-foot { margin-block-start: auto; }
.nav__drawer-cta { inline-size: 100%; }

/* ---- below 1024px: compact bar, the bar tucks away ------------------------------------------------ */
@media (max-width: 1023.98px) {
  .nav__lang-btn { padding-inline: var(--space-8); font-size: .875rem; }
  /* .is-tight (section.js): even the narrowed wordmark leaves no room (very large text): the toggle keeps
     only the button that switches, named in its own language; the page's language is the pressed state */
  .nav.is-tight .nav__lang-btn[aria-pressed="true"] { display: none; }
}
/* tucks on a downward scroll past the hero and while a stage is stuck; back on an upward scroll, at
   the top, while the drawer is open and while focus is inside it (not on short screens: there the bar
   is not fixed at all) */
@media (max-width: 1023.98px) {
  html:not(.short) .nav.is-tucked .nav__bar,
  html.in-stage:not(.short) .nav .nav__bar { transform: translateY(calc(-100% - var(--nav-gap) - 48px)); }
  html:not(.short) .nav.is-open .nav__bar,
  html:not(.short) .nav .nav__bar:focus-within { transform: none; }
}

/* ---- from 1024px: the full bar, always visible, no drawer ---------------------------------------- */
@media (min-width: 1024px) {
  .nav__bar { gap: var(--space-16); padding-inline: var(--space-16) var(--space-8); }
  .nav__brand { flex: none; }
  .nav__links { display: block; flex: 1 1 auto; min-inline-size: 0; }
  .nav__list { justify-content: center; }
  .nav__cta { display: inline-flex; }
  .nav__burger,
  .nav__drawer { display: none; }
  /* .is-tight (section.js, a latch like a stage's .is-cramped): the full bar does not fit, because the
     visitor enlarged the text or overrode its spacing (WCAG 1.4.4 / 1.4.12). The bar falls back to the
     compact layout (burger + drawer) instead of letting the links overlap the buttons. */
  .nav.is-tight .nav__links,
  .nav.is-tight .nav__cta { display: none; }
  .nav.is-tight .nav__burger { display: grid; }
  .nav.is-tight .nav__drawer { display: block; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nav__link { padding-inline: var(--space-8); }
  .nav__link::after { inset-inline: var(--space-8); }
}

/* ---- short screens (landscape phones): the bar is not fixed ---------------------------------------
   With scripting, html.short decides (head script and runtime: a 100svh probe of 480px or less, KEPT while
   a form field has focus, so a keyboard that shrinks the layout viewport does not un-fix the bar). */
html.short .nav__bar { position: absolute; }
@media (max-height: 480px) {
  html:not(.js) .nav__bar { position: absolute; }
}

/* without scripting the burger and the language buttons would be dead controls: the bar carries the
   CTA instead (every link is in the footer; the page is Hebrew without scripting anyway) */
html:not(.js) .nav__burger,
html:not(.js) .nav__lang,
html:not(.js) .nav__drawer { display: none; }
html:not(.js) .nav__cta { display: inline-flex; }

/* the page behind an open drawer does not scroll */
body.nav-lock { overflow: hidden; }

/* ---- motion (only under html.motion; without it every state change is instant) ----------------- */
html.motion .nav__plate,
html.motion .nav__mark { transition: opacity var(--dur-2) var(--ease-out); }
html.motion .nav__link::after { transition: transform var(--dur-2) var(--ease-out); }
html.motion .nav__burger-line { transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) linear; }
html.motion .nav__bar { transition: transform var(--dur-2) var(--ease-out); }
html.motion .nav .nav__bar:focus-within { transition: none; }   /* cancels a running tuck: focus finds the bar in place */
html.motion .nav__drawer { transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
html.motion .nav.is-open .nav__drawer { transition: opacity var(--dur-2) var(--ease-out), visibility 0s; }
html.motion .nav__drawer-item,
html.motion .nav__drawer-foot {
  opacity: 0;
  translate: 0 12px;
  transition: opacity var(--dur-1) linear, translate var(--dur-1) var(--ease-out);
}
html.motion .nav.is-open .nav__drawer-item,
html.motion .nav.is-open .nav__drawer-foot {
  opacity: 1;
  translate: none;
  transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out);
  transition-delay: calc(60ms + var(--i) * 40ms);
}

/* ---- forced colours --------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .nav__plate { border: 2px solid CanvasText; background-color: Canvas; }
  /* the navy wordmark on a white chip reads in every forced palette; the light one would vanish */
  .nav__mark--day { opacity: 1; forced-color-adjust: none; background-color: var(--white); border-radius: var(--radius-bar); }
  .nav__mark--night { opacity: 0; }
  .nav__link::after,
  .nav__burger-line,
  .nav__progress-fill { forced-color-adjust: none; background-color: CanvasText; }
  .nav__link:not([aria-current]):hover::after { background-color: CanvasText; }
  .nav__lang-btn[aria-pressed="true"] { border: 2px solid Highlight; }
  .nav__drawer { border: 0; background-image: none; }
}

/* ==========================================================================
   02-hero
   ========================================================================== */
/* easytor-v2 · 02-hero/section.css — NIGHT: the promise, the 3D chat phone, the facts strip (SPEC 7.3).
   Static first: this file without html.motion IS the no-JS / reduced-motion page, resting on the
   intro's FINAL state (99+, every bubble, the sticker) and the exit scene's START (the three-quarter
   pose). Then three enhancements, each keyed on html.motion:
     1. the h1 parts rise from behind static masks (0-900ms, CSS only, never waits for JavaScript);
     2. the timed intro of the device (SPEC 7.3 timetable): bubbles at 300, 750, 1200, 1650, 2100 and
        every 250ms from 2350 to 4350; each arrival bumps the badge's digit strip and shakes the phone;
        the sticker pops at 500. Every animation ends by 4700ms. Below 900px it waits for .is-playing
        (section.js: half the phone in view); .is-off (section.js) pauses it while the hero is off screen;
        10 s after it ends it plays again (.is-replay, section.js), only while the hero is on screen;
     3. the scroll scene on .hero__stage: exit from 900px, through below (actors only).
   Rigs (SPEC 4): .u-persp > .hero__turn (actor: the scroll turn) > .hero__shake (the intro shake)
   > the phone, the badge plane, the sticker plane. One animation per element; a second move is a
   nested wrapper (the badge and sticker PLANES drift with scroll, the badge and sticker inside them play
   the intro). The keyframes at the end of this file are generated (see the comment there). */

/* ---- the section ------------------------------------------------------------------------- */
.hero {
  --hero-phone-w: clamp(220px, 62vw, 300px);
  overflow-x: clip;                              /* a turning device never widens the page (clip, never hidden) */
  padding-block: calc(var(--nav-gap) + var(--nav-h) + var(--space-12)) var(--space-48);
  /* the tuck (below): the hero is no stacking context of its own, so its canvas stays under the switch's
     stage and its content (the grid, z 1) over it */
  isolation: auto;
}
.hero > .hero__grid { position: relative; z-index: 1; }

/* ---- the tuck: the hero's tail over the live switch's stage --------------------------------
   The switch's stage holds its first role at the centre of its frame, so its top is an empty night
   band. While that stage is live (html.stages, not cramped) the hero's bottom margin pulls it up
   under the hero's tail by --hero-tuck: the tail scrolls over the pinned stage's flat night top (the
   switch's track, its length and every p are unchanged). The hero's own light ends where the stage
   begins (the ellipse is drawn over the box less the tuck, so the night is flat there: no step).
   --hero-tuck keeps the hero's content box (the tuck less the 48px bottom padding) clear of what the
   stage shows at p 0: below 900px the role line, centred in the frame (its top is near 50svh - 7rem),
   by about 80px (none at all with 200% text); from 900px the skip link (at --stage-top + 8px; --stage-top is 0 below 1024px), by 24px. */
.hero { --hero-tuck: clamp(0px, 50svh - 12rem, 15rem); }
@media (min-width: 900px) {
  .hero { --hero-tuck: calc(var(--space-48) + var(--stage-top) - var(--space-16)); }
}
/* only while the switch is the hero's NEXT section: since 2026-11-23 the trades ring (02b-trades) stands
   between them on the page and carries the same tuck over the switch itself */
html.stages .hero:has(+ .switch):not(:has(+ .switch .is-cramped)) {
  margin-block-end: calc(-1 * var(--hero-tuck));
  background-size: 100% calc(100% - var(--hero-tuck));
  background-repeat: no-repeat;
}

/* mobile-first: one column in the order of SPEC 7.3 (eyebrow, h1, buttons, device, lede, facts). The types
   row is gone (owner, 2026-11-23): the businesses have their own section right after the hero (02b-trades). */
.hero__grid {
  --hero-gap: var(--space-48);
  container-type: inline-size;                   /* 100cqi: the h1 is sized to fit its column */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: start;
}
/* the h1 wraps the eyebrow and the headline (one heading for search and for screen readers) and makes no
   box of its own: its two children are the grid items, as when they were a <p> and an <h1> */
.hero__h1 { display: contents; }
.hero__h1 > .hero__title { display: block; }
.hero__grid > *,
.hero__h1 > * { min-inline-size: 0; }
.hero__eyebrow { order: 1; }
.hero__title { order: 2; margin-block-start: var(--space-12); }
.hero__actions { order: 3; margin-block-start: var(--space-16); }
.hero__stage { order: 4; }
.hero__lede { order: 5; margin-block-start: var(--space-8); }
.hero__grid > .hero__facts { order: 6; margin-block-start: var(--space-32); }

/* ---- the headline: three keyed parts, each in its own static mask ------------------------
   Both lines are about 7em wide in both languages (he: the quiet line 6.97em at 400; en: the .62em
   quiet line 6.9em, the heavy line 6.1em), so the h1 is the --text-h1 tier capped at the column
   width / 7.25: each authored line stays one line (92px at 1440, the largest type on the page). */
.hero__title {
  --hero-h1: var(--text-h1);
  inline-size: 100%;
  font-size: min(var(--hero-h1), 100cqi / 7.25);
}
/* English: the token's floor (38px) sits under the display tier's (40px) on phones; SPEC 3.3 wants the h1
   to be the largest type on the page, so it stays a tenth above --text-display (44px on phones, as in he) */
.hero__title:lang(en) { --hero-h1: max(var(--text-h1), var(--text-display) * 1.1); }
/* (masks only exist under html.motion, below; static, the parts are plain text) */

/* ---- the buttons row (data-dock-hide) ----------------------------------------------------- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-24);
}

.hero__lede { max-inline-size: 36rem; }

/* without scripting the promo dialog cannot open: no dead button on the no-JS page */
html:not(.js) .hero__actions [data-video-open] { display: none; }

/* ---- the facts strip: four values on thin white linework with T-caps --------------------- */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24) var(--space-16);
  inline-size: 100%;
  margin-inline: 0;
  padding: 0;
  list-style: none;
}
.hero__fact {
  display: grid;
  align-content: start;
  gap: var(--space-8);
  min-inline-size: 0;
}
/* the dimension line: a 1px rule between two T-caps, drawn from the reading start */
.hero__rule {
  position: relative;
  display: block;
  block-size: 9px;
  border-inline: 1px solid var(--linework-2);      /* the T-caps */
  transform-origin: var(--start) 50%;
}
.hero__rule::before {                               /* the shaft: a border, so forced colours keep it */
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 4px;
  border-block-start: 1px solid var(--linework-2);
}
.hero__value {
  display: block;
  margin-block-start: var(--space-4);
  color: var(--fg);
  font-size: clamp(1.75rem, 1.2rem + 1vw, 2.25rem);
  font-weight: var(--w-black);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.hero__value:lang(en) { letter-spacing: -.01em; }
.hero__label {
  color: var(--fg-3);
  font-size: var(--text-small);
  line-height: 1.45;
  text-wrap: pretty;
}

/* ---- the device stage (the scene element: measured, never moved) -------------------------- */
.hero__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  justify-self: stretch;
  gap: var(--space-16);
  padding-block: calc(var(--hero-phone-w) * .1) var(--space-8);    /* room for the badge over the top corner */
}

/* the royal-blue light behind the phone (the core stays behind the device, never behind copy) and a
   few specks of the film's dust. An actor: it slides as the phone leaves. */
.hero__glow {
  inset: -6% -24% -2%;
  background-image:
    radial-gradient(circle at 12% 22%, var(--linework-2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 14%, var(--linework-2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 64%, var(--line-2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 18% 76%, var(--line-2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 88%, var(--linework-2) 0 .8px, transparent 1.3px),
    radial-gradient(circle at 30% 44%, var(--line-2) 0 .8px, transparent 1.3px),
    radial-gradient(circle at 66% 30%, var(--line-2) 0 .8px, transparent 1.3px),
    var(--glow);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 88%;
}

.hero__persp { display: grid; place-items: center; }

/* the hero pose, by intent: the screen turned toward the copy (mirrored by --dir). Every pose is the
   same five functions so the turn interpolates them one by one. Static = the START of the exit scene. */
.hero__turn {
  --hero-pose: rotateY(calc(var(--dir) * 20deg)) rotateX(6deg) rotateZ(calc(var(--dir) * -3deg)) translateZ(0px) scale(1);
  --hero-front: rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateZ(0px) scale(1);
  --hero-away: rotateY(calc(var(--dir) * -22deg)) rotateX(14deg) rotateZ(0deg) translateZ(-120px) scale(.9);
  --turn-from: var(--hero-pose);
  --turn-via: var(--hero-front);
  --turn-to: var(--hero-away);
  transform: var(--hero-pose);
}

.hero__phone { --phone-w: var(--hero-phone-w); }

/* the chat (kit .chat): every bubble one row of the same height, so the feed steps by whole rows */
.hero__avatar svg {
  inline-size: 58%;
  block-size: 58%;
  fill: none;
  stroke: var(--fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__avatar .hero__avatar-accent { stroke: var(--accent); }
.hero__feed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  inline-size: 100%;
  flex: none;
}
.hero__msg {
  max-inline-size: 86%;
  margin-block-start: calc(var(--phone-u) * 3.6);   /* the row = gap + bubble: every row the same */
  transform-origin: var(--start) 100%;
}
.hero__msg .chat__sender,
.hero__msg .chat__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* the badge rides a top corner of the phone on its own Z plane: the inline-start one from 900px (as in
   the film), the inline-end one on phones, where the buttons row ends just above the inline-start corner */
.hero__badge-plane {
  position: absolute;
  inset-block-start: calc(var(--hero-phone-w) * -.08);
  inset-inline-end: calc(var(--hero-phone-w) * -.09);
  transform: translateZ(40px);
}
.hero__badge { --badge-size: max(46px, calc(var(--hero-phone-w) * .19)); }
/* the digit strip: a one-line window over 14 lines; static = the last line (99+) */
.hero__count {
  display: block;
  block-size: 1lh;
  overflow: clip;
}
.hero__strip {
  display: block;
  text-align: center;
  transform: translateY(calc(-13 / 14 * 100%));
}

/* the sticker floats on a nearer plane at the phone's other top corner: over it on phones (the device
   must start above 61svh), above the phone from 900px */
.hero__sticker-plane {
  position: absolute;
  inset-block-start: calc(var(--hero-phone-w) * .1);
  inset-inline-start: calc(var(--hero-phone-w) * -.2);   /* mostly off the screen: the chat title stays legible */
  transform: translateZ(60px);
}
.hero__sticker { --sticker-size: max(1.25rem, calc(var(--hero-phone-w) * .108)); }

/* ---- from 900px: copy | device; the copy centred against the device ----------------------- */
@media (min-width: 900px) {
  .hero {
    --hero-phone-w: clamp(250px, min(22vw, 34svh), 320px);   /* 306px at 1440x900: the phone stays in the first screen */
    padding-block: calc(var(--nav-gap) + var(--nav-h) + var(--space-24)) var(--space-48);
  }
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: 1fr repeat(5, auto) 1fr;
    column-gap: var(--hero-gap);
  }
  .hero__title { font-size: min(var(--hero-h1), (100cqi - var(--hero-gap)) * 7 / 12 / 7.25); }
  .hero__grid > *,
  .hero__h1 > * { order: 0; grid-column: 1; }
  .hero__eyebrow { grid-row: 2; }
  .hero__title { grid-row: 3; margin-block-start: var(--space-16); }
  .hero__lede { grid-row: 4; margin-block-start: var(--space-16); }
  .hero__actions { grid-row: 5; margin-block-start: var(--space-24); }
  .hero__grid > .hero__facts { grid-row: 6; margin-block-start: var(--space-40); column-gap: var(--space-32); }
  .hero__stage { grid-column: 2; grid-row: 1 / -1; align-self: center; padding-block-start: calc(var(--hero-phone-w) * .26); }
  .hero__badge-plane { inset-inline: calc(var(--hero-phone-w) * -.09) auto; }
  .hero__sticker-plane { inset-block: auto calc(100% + var(--hero-phone-w) * .05); inset-inline: auto calc(var(--hero-phone-w) * .04); }
}

/* from 1280px the copy column holds the four facts in one ruler; the languages fact gets the room its
   list of six needs (1.8fr), the third column only its value's width ("Under a minute" never breaks):
   he 2/3/1/2 label lines, en 3/4/1/3 (measured 1280-1920, 2026-11-23) */
@media (min-width: 1280px) {
  .hero__grid > .hero__facts {
    grid-template-columns: minmax(min-content, 1fr) minmax(min-content, 1.8fr) min-content minmax(min-content, 1fr);
    column-gap: var(--space-24);
  }
  .hero__value { font-size: 2rem; white-space: nowrap; }
}

/* ==========================================================================================
   ENHANCEMENT 1 — the h1 rises per keyed part from behind static masks (0-900ms). CSS only, so
   it starts with the first frame; under reduced motion / no JS there is no mask and no move.
   ========================================================================================== */
html.motion .hero__mask {
  overflow-y: clip;
  padding-block: .12em .14em;
  margin-block: -.12em -.14em;
}
html.motion .hero__mask:not(.hero__mask--line) { display: inline-block; }
html.motion .hero__mask--line.hl__quiet--sm-en:lang(en) { padding-block-end: .38em; }   /* the kit's .24em, kept */
html.motion .hero__part {
  display: inline-block;
  animation: e-word 520ms cubic-bezier(.16, 1, .3, 1) backwards;
}
html.motion .hero__part--1 { display: block; }
html.motion .hero__part--2 { animation-delay: 180ms; }
html.motion .hero__part--3 { animation-delay: 380ms; }

/* ==========================================================================================
   ENHANCEMENT 2 — the timed intro of the device (SPEC 7.3). Never an actor: actors live on
   .hero__turn, .hero__glare, .hero__glow and the two planes; these are their children.
   ========================================================================================== */
html.motion .hero__shake { animation: hero-shake 4700ms linear both; }
html.motion .hero__badge { animation: hero-badge 4700ms linear both; }
html.motion .hero__strip { animation: hero-count 4700ms linear both; }
html.motion .hero__feed { animation: hero-feed 4700ms linear both; }
/* bubble k arrives at 300 + 450 * min(k - 1, 4) + 250 * max(k - 5, 0) ms */
html.motion .hero__msg {
  animation: hero-msg 140ms cubic-bezier(.16, 1, .3, 1) calc((300 + 450 * min(var(--k) - 1, 4) + 250 * max(var(--k) - 5, 0)) * 1ms) backwards;
}
html.motion .hero__sticker { animation: e-pop 450ms cubic-bezier(.2, .7, .3, 1) 500ms backwards; }
html.motion .hero__unread { animation: e-fade 300ms linear 4350ms backwards; }
/* the four dimension lines of the facts draw from the reading start (700-1670ms) */
html.motion .hero__rule { animation: e-draw 560ms cubic-bezier(.65, 0, .35, 1) calc(700ms + var(--i) * 90ms) backwards; }

/* below 900px the intro waits until half the phone is in view (.is-playing from section.js); at
   every width it pauses while the hero is off screen (.is-off), so it never plays unseen */
@media (max-width: 899.98px) {
  html.motion .hero:not(.is-playing) :is(.hero__shake, .hero__badge, .hero__strip, .hero__feed, .hero__msg, .hero__sticker, .hero__unread) {
    animation-play-state: paused;
  }
}
html.motion .hero.is-off :is(.hero__shake, .hero__badge, .hero__strip, .hero__feed, .hero__msg, .hero__sticker, .hero__unread, .hero__rule) {
  animation-play-state: paused;
}
/* the replay (owner, 2026-11-23): 10 s after the intro ends the chat starts over. section.js fades the
   chat out, sets .is-replay for two frames (the device's intro animations drop) and removes it, so every one
   of them starts again from 0 ms. The h1 rise and the facts' dimension lines play once only. */
html.motion .hero.is-replay :is(.hero__shake, .hero__badge, .hero__strip, .hero__feed, .hero__msg, .hero__sticker, .hero__unread) {
  animation: none;
}

@keyframes hero-msg {
  from { scale: .8; opacity: 0; }
  to { scale: 1; opacity: 1; }
}

/* ==========================================================================================
   ENHANCEMENT 3 — the scroll scene (.hero__stage). From 900px an EXIT scene: the phone turns away
   and sinks as it leaves, badge and sticker drift on their own planes, the glow slides. Below
   900px a THROUGH scene: three-quarter entering, frontal at the centre of the viewport, turned
   away once its lower edge passes 25% of the viewport height (p ≈ .84 at 390x844 and 390x664).
   ========================================================================================== */
@media (min-width: 900px) {
  .hero__stage { --scene-live: 1; }
  .hero__turn { --act: e-turn; --to: .8; }
  .hero__glare { --act: hero-glare; --to: .7; }
  .hero__badge-plane { --act: hero-badge-drift; --to: .8; }
  .hero__sticker-plane { --act: hero-sticker-drift; --to: .8; }
  .hero__glow { --act: hero-glow; --to: .9; }
}
@media (max-width: 899.98px) {
  .hero__stage { --scene-live: 1; --scene-range: through; }
  .hero__turn { --act: e-turn-via; --from: .2; --to: .84; }
  .hero__glare { --act: hero-glare; --from: .2; --to: .84; }
  .hero__badge-plane { --act: hero-badge-drift-late; --from: .2; --to: .84; }
  .hero__sticker-plane { --act: hero-sticker-drift-late; --from: .2; --to: .84; }
  .hero__glow { --act: hero-glow-late; --from: .2; --to: .9; }
}

@keyframes hero-glare {
  0%, 100% { opacity: 0; }
  50% { opacity: .12; }
}
@keyframes hero-badge-drift {
  from { transform: translate3d(0px, 0px, 40px); }
  to { transform: translate3d(calc(var(--dir) * 18px), -26px, 120px); }
}
@keyframes hero-sticker-drift {
  from { transform: translate3d(0px, 0px, 60px); }
  to { transform: translate3d(calc(var(--dir) * -24px), -40px, 150px); }
}
@keyframes hero-glow {
  from { transform: translate3d(0%, 0%, 0px) scale(1); opacity: 1; }
  to { transform: translate3d(calc(var(--dir) * -8%), 10%, 0px) scale(.9); opacity: .6; }
}
@keyframes hero-badge-drift-late {
  0%, 50% { transform: translate3d(0px, 0px, 40px); }
  100% { transform: translate3d(calc(var(--dir) * 14px), -20px, 110px); }
}
@keyframes hero-sticker-drift-late {
  0%, 50% { transform: translate3d(0px, 0px, 60px); }
  100% { transform: translate3d(calc(var(--dir) * -18px), -30px, 130px); }
}
@keyframes hero-glow-late {
  0%, 45% { transform: translate3d(0%, 0%, 0px) scale(1); opacity: 1; }
  100% { transform: translate3d(calc(var(--dir) * -6%), 8%, 0px) scale(.92); opacity: .6; }
}

/* ==========================================================================================
   The intro's keyframes, generated from the SPEC 7.3 timetable (arrivals t = 300, 750, 1200, 1650,
   2100, 2350 … 4350 step 250). Percentages are t / 4700ms. hero-shake: a four-frame sideways shake per arrival
   (+1.4%, -.7%, +.35%, -.35% of the phone width with .5deg, the film's +8/-4/+2/-2px) over a
   .97 -> 1 push-in. hero-badge: a pop at 300, then 1.25 -> 1 on every arrival. hero-count: the
   digit strip, one row per arrival (8 12 17 21 26 31 35 40 47 55 63 74 88 99+). hero-feed: the
   bubbles, one row up per arrival.
   ========================================================================================== */
@keyframes hero-shake {
  0% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.97); }
  6.383% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9719); }
  7.085% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9721); }
  7.809% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9723); }
  8.511% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9726); }
  9.213% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9728); }
  9.936% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.973); }
  15.957% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9748); }
  16.66% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.975); }
  17.383% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9752); }
  18.085% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9754); }
  18.787% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9756); }
  19.511% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9759); }
  25.532% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9777); }
  26.234% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9779); }
  26.957% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9781); }
  27.66% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9783); }
  28.362% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9785); }
  29.085% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9787); }
  35.106% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9805); }
  35.809% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9807); }
  36.532% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.981); }
  37.234% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9812); }
  37.936% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9814); }
  38.66% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9816); }
  44.681% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9834); }
  45.383% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9836); }
  46.106% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9838); }
  46.809% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.984); }
  47.511% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9843); }
  48.234% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9845); }
  50% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.985); }
  50.702% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9852); }
  51.426% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9854); }
  52.128% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9856); }
  52.83% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9858); }
  53.553% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9861); }
  55.319% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9866); }
  56.021% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9868); }
  56.745% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.987); }
  57.447% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9872); }
  58.149% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9874); }
  58.872% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9877); }
  60.638% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9882); }
  61.34% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9884); }
  62.064% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9886); }
  62.766% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9888); }
  63.468% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.989); }
  64.191% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9893); }
  65.957% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9898); }
  66.66% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.99); }
  67.383% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9902); }
  68.085% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9904); }
  68.787% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9906); }
  69.511% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9909); }
  71.277% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9914); }
  71.979% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9916); }
  72.702% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9918); }
  73.404% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.992); }
  74.106% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9922); }
  74.83% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9924); }
  76.596% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.993); }
  77.298% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9932); }
  78.021% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9934); }
  78.723% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9936); }
  79.426% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9938); }
  80.149% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.994); }
  81.915% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9946); }
  82.617% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9948); }
  83.34% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.995); }
  84.043% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9952); }
  84.745% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9954); }
  85.468% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9956); }
  87.234% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9962); }
  87.936% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.9964); }
  88.66% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9966); }
  89.362% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9968); }
  90.064% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.997); }
  90.787% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9972); }
  92.553% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9978); }
  93.255% { transform: translateX(calc(var(--hero-phone-w) * 0.014)) rotate(0.5deg) scale(0.998); }
  93.979% { transform: translateX(calc(var(--hero-phone-w) * -0.007)) rotate(-0.25deg) scale(0.9982); }
  94.681% { transform: translateX(calc(var(--hero-phone-w) * 0.0035)) rotate(0.12deg) scale(0.9984); }
  95.383% { transform: translateX(calc(var(--hero-phone-w) * -0.0035)) rotate(-0.12deg) scale(0.9986); }
  96.106% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(0.9988); }
  100% { transform: translateX(calc(var(--hero-phone-w) * 0)) rotate(0deg) scale(1.); }
}
@keyframes hero-badge {
  0%, 6.383% { scale: .34; opacity: 0; }
  9.787% { scale: 1.1; opacity: 1; }
  12.128% { scale: 1; opacity: 1; }
  15.957% { scale: 1; opacity: 1; }
  16.383% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  20.915% { scale: 1; opacity: 1; }
  25.532% { scale: 1; opacity: 1; }
  25.957% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  30.489% { scale: 1; opacity: 1; }
  35.106% { scale: 1; opacity: 1; }
  35.532% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  40.064% { scale: 1; opacity: 1; }
  44.681% { scale: 1; opacity: 1; }
  45.106% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  49.638% { scale: 1; opacity: 1; }
  50% { scale: 1; opacity: 1; }
  50.426% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  54.957% { scale: 1; opacity: 1; }
  55.319% { scale: 1; opacity: 1; }
  55.745% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  60.277% { scale: 1; opacity: 1; }
  60.638% { scale: 1; opacity: 1; }
  61.064% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  65.596% { scale: 1; opacity: 1; }
  65.957% { scale: 1; opacity: 1; }
  66.383% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  70.915% { scale: 1; opacity: 1; }
  71.277% { scale: 1; opacity: 1; }
  71.702% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  76.234% { scale: 1; opacity: 1; }
  76.596% { scale: 1; opacity: 1; }
  77.021% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  81.553% { scale: 1; opacity: 1; }
  81.915% { scale: 1; opacity: 1; }
  82.34% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  86.872% { scale: 1; opacity: 1; }
  87.234% { scale: 1; opacity: 1; }
  87.66% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  92.191% { scale: 1; opacity: 1; }
  92.553% { scale: 1; opacity: 1; }
  92.979% { scale: 1.25; opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  97.511% { scale: 1; opacity: 1; }
  100% { scale: 1; opacity: 1; }
}
@keyframes hero-count {
  0% { transform: translateY(0%); animation-timing-function: step-end; }
  15.957% { transform: translateY(calc(-1 / 14 * 100%)); animation-timing-function: step-end; }
  25.532% { transform: translateY(calc(-2 / 14 * 100%)); animation-timing-function: step-end; }
  35.106% { transform: translateY(calc(-3 / 14 * 100%)); animation-timing-function: step-end; }
  44.681% { transform: translateY(calc(-4 / 14 * 100%)); animation-timing-function: step-end; }
  50% { transform: translateY(calc(-5 / 14 * 100%)); animation-timing-function: step-end; }
  55.319% { transform: translateY(calc(-6 / 14 * 100%)); animation-timing-function: step-end; }
  60.638% { transform: translateY(calc(-7 / 14 * 100%)); animation-timing-function: step-end; }
  65.957% { transform: translateY(calc(-8 / 14 * 100%)); animation-timing-function: step-end; }
  71.277% { transform: translateY(calc(-9 / 14 * 100%)); animation-timing-function: step-end; }
  76.596% { transform: translateY(calc(-10 / 14 * 100%)); animation-timing-function: step-end; }
  81.915% { transform: translateY(calc(-11 / 14 * 100%)); animation-timing-function: step-end; }
  87.234% { transform: translateY(calc(-12 / 14 * 100%)); animation-timing-function: step-end; }
  92.553% { transform: translateY(calc(-13 / 14 * 100%)); animation-timing-function: step-end; }
  100% { transform: translateY(calc(-13 / 14 * 100%)); }
}
@keyframes hero-feed {
  0% { transform: translateY(100%); }
  6.383% { transform: translateY(calc(14 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  9.362% { transform: translateY(calc(13 / 14 * 100%)); }
  15.957% { transform: translateY(calc(13 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  18.936% { transform: translateY(calc(12 / 14 * 100%)); }
  25.532% { transform: translateY(calc(12 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  28.511% { transform: translateY(calc(11 / 14 * 100%)); }
  35.106% { transform: translateY(calc(11 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  38.085% { transform: translateY(calc(10 / 14 * 100%)); }
  44.681% { transform: translateY(calc(10 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  47.66% { transform: translateY(calc(9 / 14 * 100%)); }
  50% { transform: translateY(calc(9 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  52.979% { transform: translateY(calc(8 / 14 * 100%)); }
  55.319% { transform: translateY(calc(8 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  58.298% { transform: translateY(calc(7 / 14 * 100%)); }
  60.638% { transform: translateY(calc(7 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  63.617% { transform: translateY(calc(6 / 14 * 100%)); }
  65.957% { transform: translateY(calc(6 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  68.936% { transform: translateY(calc(5 / 14 * 100%)); }
  71.277% { transform: translateY(calc(5 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  74.255% { transform: translateY(calc(4 / 14 * 100%)); }
  76.596% { transform: translateY(calc(4 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  79.574% { transform: translateY(calc(3 / 14 * 100%)); }
  81.915% { transform: translateY(calc(3 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  84.894% { transform: translateY(calc(2 / 14 * 100%)); }
  87.234% { transform: translateY(calc(2 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  90.213% { transform: translateY(calc(1 / 14 * 100%)); }
  92.553% { transform: translateY(calc(1 / 14 * 100%)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  95.532% { transform: translateY(calc(0 / 14 * 100%)); }
  100% { transform: translateY(0%); }
}

/* ==========================================================================
   02b-trades
   ========================================================================== */
/* easytor-v2 · 02b-trades/section.css — NIGHT: "בנוי לכל עסק שעובד בתורים." The businesses that work with
   EasyTor as a ring of neon shop signs round the EasyTor coin (owner, 2026-11-23: it replaces the hero's
   types row). One sign per trade, a street at night: the sign at the front lights up in pink neon; under the
   ring a card says what EasyTor does for the chosen business.

   STATIC FIRST (no JS): the ten signs are a flat, wrapped set of unlit signs (tube, icon, label) and the card
   shows its empty state. Nothing waits for a class.
   THE RING (.trades.is-ring, set by section.js, with or without html.motion): the stage is one grid cell;
   the coin and the ten signs sit in it, centred, and section.js places each sign on a tilted ellipse with
   transform only (translate3d + scale), opacity and z-index (depth: far signs smaller and dimmer, the far
   arc higher; a sign behind the coin goes under it). Signs are billboards: never turned, always upright.
   The orbit is drawn as two half ellipses (the far half under the coin, the near half over it).
   LIGHT: the front sign (.is-lit) and the chosen one ([aria-pressed="true"]) wear the neon: a pale core
   (border), a magenta glow (box-shadow on ::before) and a pink halo round the white label (text-shadow);
   nothing else carries a glow. Under html.motion a sign that lights up flickers twice (.is-flicker, 320ms,
   opacity of the glow layer only). Under the ring: the coin's royal glow and the lit sign's light on a wet
   street (gradients, never a filter).
   THE CARD: one pane per sign, all in one grid cell (the card never changes size); a swap moves only the
   content (out: up 12px and fade 160ms; in: from 12px below 240ms; without html.motion a 120ms cross-fade).
   THE TUCK: as the hero did before this section stood between them, the section's tail scrolls over the
   live switch's flat night top (margin-block-end, only while the switch follows and its stage is live). */

/* ---- the section ------------------------------------------------------------------------- */
.trades {
  --tr-sign-w: 6.5rem;                 /* a sign's width (all equal: a tidy street) */
  --tr-label: .9375rem;                /* 15px on phones; Talent Medium (the weight tokens land on it) */
  --tr-icon: 20px;
  --tr-pad: var(--space-8) var(--space-4);
  --tr-hub: 80px;                      /* the coin */
  --tr-rx: 0px;                        /* the ring's horizontal radius: section.js measures it */
  /* read by section.js: the vertical radius (the tilt: on a phone the ring is seen from higher up, so the
     ten signs spread round it instead of piling up at its sides), the ring's centre against the stage's,
     and the scale of the farthest sign */
  --tr-ry: 104px;
  --tr-y0: -14px;
  --tr-smin: .55;
  --tr-stage-h: 18.5rem;
  --tr-sheen: linear-gradient(to bottom, color-mix(in srgb, var(--surface-2) 72%, var(--surface)), var(--surface) 62%);
  --tr-catch: inset 0 1px 0 color-mix(in srgb, var(--fg) 9%, transparent);
  padding-block-start: var(--space-48);   /* the hero's own foot already holds the night between them */
  overflow-x: clip;                    /* a sign at the ring's edge never widens the page */
  isolation: auto;                     /* the tuck: the canvas under the switch's stage, the content over it */
}
.trades > .trades__inner { position: relative; z-index: 1; }

/* the tuck (the hero's section.css has the measure): below 900px the switch's role line sits near
   50svh - 7rem in its frame; the card ends --trades-tuck less the bottom padding into the stage */
.trades { --trades-tuck: clamp(0px, 50svh - 12rem, 15rem); }
@media (min-width: 900px) {
  .trades { --trades-tuck: calc(var(--space-48) + var(--stage-top) - var(--space-16)); }
}
html.stages .trades:has(+ .switch):not(:has(+ .switch .is-cramped)) {
  margin-block-end: calc(-1 * var(--trades-tuck));
}

/* ---- the head ------------------------------------------------------------------------------ */
.trades__head { margin-block-end: var(--space-24); }
.trades__title { max-inline-size: min(100%, 40rem); }

/* ---- a sign (flat and in the ring alike) --------------------------------------------------- */
.trades__ring {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trades__item { min-inline-size: 0; }
.trades__sign {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-4);
  inline-size: var(--tr-sign-w);
  max-inline-size: 100%;
  margin: 0;
  padding: var(--tr-pad);
  border: 2px solid var(--neon-off);    /* the unlit tube */
  border-radius: var(--radius-lg);
  background-color: var(--bg-step-1);  /* the sign's dark backing: a sign behind never shows through */
  color: var(--fg-2);
  font: inherit;
  font-size: var(--tr-label);
  font-weight: var(--w-bold);
  line-height: 1.12;
  text-align: center;
  cursor: default;                     /* flat (no JS): a sign does nothing */
  -webkit-tap-highlight-color: transparent;
}
/* the glow layer: painted only on a lit sign (box-shadow), its opacity is what flickers */
.trades__sign::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.trades__icon {
  inline-size: var(--tr-icon);
  block-size: var(--tr-icon);
  color: var(--fg-3);
}
.trades__label {
  display: grid;
  place-items: center;
  min-block-size: calc(2em * 1.12);    /* two lines for every sign: one height for the whole street */
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* lit: the front sign and the chosen one */
.trades__sign.is-lit,
.trades__sign[aria-pressed="true"] {
  border-color: var(--neon-core);
  color: var(--fg);
}
.trades__sign.is-lit::before,
.trades__sign[aria-pressed="true"]::before {
  opacity: 1;
  box-shadow: var(--neon-glow);
}
.trades__sign.is-lit .trades__label,
.trades__sign[aria-pressed="true"] .trades__label { text-shadow: var(--neon-halo); }
.trades__sign.is-lit .trades__icon,
.trades__sign[aria-pressed="true"] .trades__icon { color: var(--neon-core); }
html.motion .trades__sign.is-flicker::before { animation: trades-flicker 320ms linear both; }

/* ---- the ring ------------------------------------------------------------------------------ */
.trades__art,
.trades__hub,
.trades__orbit,
.trades__controls { display: none; }

.trades__ringbox { position: relative; }
.trades.is-ring .trades__stage {
  position: relative;
  isolation: isolate;                  /* the signs' z-index and the coin's share one stacking context */
  display: grid;
  block-size: var(--tr-stage-h);
  margin-inline: calc(-1 * var(--gutter));
  touch-action: pan-y;                 /* a vertical swipe still scrolls the page */
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.trades.is-ring .trades__stage.is-dragging { cursor: grabbing; }
.trades.is-ring .trades__ring {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  gap: 0;
  min-inline-size: 0;
}
.trades.is-ring .trades__item {
  grid-area: 1 / 1;
  position: relative;
  transform-origin: 50% 50%;
}
.trades.is-ring .trades__sign { cursor: inherit; }

/* the coin at the hub and its royal light (imagery: the glow's core may sit behind it) */
.trades.is-ring .trades__art {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.trades__glow {
  position: absolute;
  inset: 0;
  margin: auto;
  inline-size: calc(var(--tr-hub) * 4.6);
  block-size: calc(var(--tr-hub) * 2.6);
  translate: 0 var(--tr-y0);
  background-image: var(--glow);
}
.trades.is-ring .trades__hub {
  display: block;
  grid-area: 1 / 1;
  place-self: center;
  z-index: 100;                        /* signs behind it (section.js: z-index under 100) go under the coin */
  inline-size: var(--tr-hub);
  block-size: var(--tr-hub);
  translate: 0 var(--tr-y0);
  border-radius: 50%;
  -webkit-user-drag: none;             /* a press on the coin turns the ring, never drags the image */
}
/* the orbit: the far half under the coin, the near half over it (and under the near signs) */
.trades.is-ring .trades__orbit {
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  inline-size: calc(2 * var(--tr-rx));
  block-size: calc(2 * var(--tr-ry));
  translate: 0 var(--tr-y0);
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.trades__orbit--back { clip-path: inset(0 0 50% 0); }
.trades.is-ring .trades__orbit--front {
  z-index: 101;
  border-color: var(--neon-off);
  clip-path: inset(50% 0 0 0);
}

/* the wet street: the lit sign's light under the ring (a wide soft ellipse and a brighter core) */
.trades__floor {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: calc(var(--tr-sign-w) * 2.8);
  block-size: calc(var(--space-48) + var(--space-8));
  background-image: var(--neon-floor), var(--neon-floor);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%, 44% 40%;
  opacity: .2;
}
.trades__stage.has-lit .trades__floor { opacity: 1; }
html.motion .trades__floor { transition: opacity var(--dur-2) var(--ease-out); }

/* ---- the pause button and the hint ---------------------------------------------------------- */
.trades.is-ring .trades__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  margin-block-start: var(--space-8);
}
html:not(.motion) .trades__pause { display: none; }
.trades__hint {
  margin: 0;
  color: var(--fg-3);
  font-size: var(--text-small);
  line-height: 1.4;
}

/* ---- the card ------------------------------------------------------------------------------ */
.trades__card {
  display: grid;
  inline-size: 100%;
  max-inline-size: 40rem;
  margin-inline: auto;
  margin-block-start: var(--space-24);
  padding: var(--space-16) var(--card-pad);
  background-image: var(--tr-sheen);
  box-shadow: var(--tr-catch);
  text-align: center;
}
.trades.is-ring .trades__card { margin-block-start: var(--space-12); }
.trades__pane {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-4);
  min-inline-size: 0;
}
/* with scripting the panes wait unseen in the card's one cell (from the first paint, so the card never resizes);
   without it no sign can open a pane: the empty state is the whole card (the others are not rendered) */
html.js .trades__pane { visibility: hidden; }
html.js .trades__pane.is-on,
html.js .trades__pane.is-out { visibility: visible; }
html:not(.js) .trades__pane:not(.is-on) { display: none; }
.trades__pane-title { margin: 0; color: var(--fg); }
.trades__pane-line { margin: 0; max-inline-size: 34rem; color: var(--fg-2); text-wrap: balance; }
.trades__more { margin-block-start: var(--space-4); }

html.motion .trades__pane.is-out { animation: trades-out 160ms var(--ease-in-out) both; }
html.motion .trades__pane.is-in { animation: trades-in 240ms var(--ease-out) 100ms both; }
html:not(.motion) .trades__pane.is-out { animation: trades-fade-out 120ms linear both; }
html:not(.motion) .trades__pane.is-in { animation: trades-fade-in 120ms linear both; }

/* ---- from 900px ---------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .trades {
    --tr-sign-w: 12rem;
    --tr-label: 1.1875rem;             /* 19px at weight 700: large text */
    --tr-icon: 32px;
    --tr-pad: var(--space-12) var(--space-12);
    --tr-hub: 136px;
    --tr-ry: 88px;
    --tr-y0: -20px;
    --tr-smin: .6;
    --tr-stage-h: 16.25rem;
  }
  /* a wide stage: the sign is a light box, the icon beside the name (shorter signs: the far ones at the
     ring's sides stand clear of the near ones) */
  .trades__sign {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: var(--space-12);
    text-align: start;
  }
  .trades__label { place-items: center start; }
  .trades__lede { max-inline-size: 46rem; }
  .trades { padding-block-start: var(--space-40); }
  .trades.is-ring .trades__stage { margin-inline: 0; }
  .trades__card { max-inline-size: 46rem; padding-block: var(--space-24); }
  .trades__pane:not(:first-child) {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: start;
    column-gap: var(--space-32);
    text-align: start;
  }
  .trades__pane:not(:first-child) .trades__more { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}
/* from 1280px the light boxes take their full width */
@media (min-width: 1280px) {
  .trades { --tr-sign-w: 14rem; --tr-label: 1.25rem; --tr-pad: var(--space-12) var(--space-16); }
}

/* ---- forced colours: the tubes are drawn borders; the lit one is Highlight ---------------- */
@media (forced-colors: active) {
  .trades__sign { border-color: CanvasText; }
  .trades__sign.is-lit,
  .trades__sign[aria-pressed="true"] { border-color: Highlight; }
  .trades__sign::before { box-shadow: none; }
}

@keyframes trades-flicker {
  0% { opacity: .05; }
  12% { opacity: 1; }
  26% { opacity: .12; }
  42% { opacity: .95; }
  56% { opacity: .3; }
  70%, 100% { opacity: 1; }
}
@keyframes trades-out {
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes trades-in {
  from { opacity: 0; transform: translateY(12px); }
}
@keyframes trades-fade-out {
  to { opacity: 0; }
}
@keyframes trades-fade-in {
  from { opacity: 0; }
}

/* ==========================================================================
   03-switch
   ========================================================================== */
/* easytor-v2 · 03-switch — NIGHT → BLUEPRINT → DAY, the signature scene (SPEC 7.4)

   Static first: four stacked panels, each painting its own world (A night: the
   roles + their pink lines + the question · B night: caption + the paper diary,
   circle drawn · C blueprint: the h2 + the fully drafted logo · D day: the logo
   lockup). That is the page without JS, under reduced motion, on a short
   viewport and when the stage is cramped.

   Live (html.stages, not cramped) the same markup is one sticky stage, layers
   stacked in the safe box, four beats over p 0 → 1:
     A .00–.24  role prism rolled by thresholds, the stamp, the question (hits)
     B .22–.48  the diary tips in, four zigzags, the circle round 16:30 (strokes)
     C .48–.81  dive ×3 into the circle, match cut to the ring, blueprint + floor,
                the h2 word by word (complete .675–.775), the logo drafted in white;
                the layer leaves .775–.81, before the iris is large
     D .76–1    flash (hit), iris of day (.77–.855), day canvas (.835–.87), the real
                mark lands (.88), wordmark, label bar
   Geometry shared by B, C and D (all CSS, no layout reads):
     the beats are centred in the same inner box (the safe box minus --sw-pt /
     --sw-pb); the mark box (--sw-m square) sits at its centre in C and D; the
     drafted ring is the logo's mid-ring circle (r 200 of 512, centre 251,249);
     the diary circle is a third of that ring, so the ×3 dive lands it on the
     ring exactly (the match cut). The card is laid out in --cw units, so the
     circled 16:30 is at a known point of the card (dx .34cw, dy .33875cw from
     its centre). 39 actors. */

.switch {
  --role-fit: 7.9;
  --stamp-fit: 5.3;
  --role-size: min(4.75rem, (100vw - 2 * var(--gutter)) / var(--role-fit));
  --stamp-size: min(var(--role-size) * 1.45, (100vw - 2 * var(--gutter)) / var(--stamp-fit));
  --sw-m: min(60vw, 280px);                 /* the mark box: drafted logo, landed logo */
  padding-block-end: 0;
  overflow-x: clip;
}
.switch:lang(en) { --role-fit: 10.6; --stamp-fit: 8.6; }

/* --- static: the four panels ------------------------------------------------ */

.switch__art,
.switch__skip,
.switch__steps,
.switch__flash,
.switch__stamp,
.switch__ink,
.switch__ring--pink { display: none; }

.switch__beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: var(--space-24);
  padding-inline: var(--gutter);
  text-align: center;
}
.switch__beat > * { min-inline-size: 0; }

/* A · the roles, each with its pink line, and the question */
/* A and B share the section's flat night --bg; each carries a soft light that fades
   to transparent at its edges, so the two panels meet without a seam (the full
   --bg-art ellipse ends on a lighter navy and showed two hard horizontal edges) */
.switch__beat--a,
.switch__beat--b {
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: min(130%, 1200px) 100%;
}
.switch__beat--a {
  padding-block: var(--space-16) var(--section-pad);
}
.switch__persp { max-inline-size: 100%; }
.switch__prism {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-32) var(--space-48);
  margin: 0;
  padding: 0;
  list-style: none;
}
.switch__face {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
}
.switch__role,
.switch__face-stamp {
  font-weight: var(--w-black);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
}
.switch__role {
  color: var(--fg);
  font-size: var(--text-h3);
}
.switch__face-stamp {
  color: var(--accent-display);
  font-size: var(--text-h2);
}
.switch__question {
  max-inline-size: 30rem;
  margin: 0;
  color: var(--fg-2);
  font-size: var(--text-lede);
  line-height: 1.5;
  text-wrap: balance;
}

/* B · the caption and the paper diary (paper tokens, SPEC 3.2) */
.switch__beat--b {
  padding-block: var(--space-16) var(--section-pad);
}
.switch__dive {
  display: grid;
  justify-items: center;
  gap: var(--space-24);
}
.switch__caption {
  max-inline-size: 36rem;
  margin: 0;
  color: var(--fg-2);
  font-size: var(--text-lede);
  line-height: 1.45;
  text-wrap: balance;
}
.switch__paper { max-inline-size: 100%; }

/* The card is one drawing in --cw units: padding .05/.06/.04, title .12, twelve
   rows of .0925, the note .10 (1.42 cw tall). The circled 16:30 (row 10) is at
   .16 cw from the inline-start edge and 1.04875 cw from the top. */
.switch__card {
  --cw: min(86vw, 440px);
  --dc: calc(var(--cw) * .19);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: calc(var(--cw) * .12) repeat(12, calc(var(--cw) * .0925)) calc(var(--cw) * .1);
  box-sizing: border-box;
  inline-size: var(--cw);
  block-size: calc(var(--cw) * 1.42);
  padding: calc(var(--cw) * .05) calc(var(--cw) * .06) calc(var(--cw) * .04);
  border: 1px solid var(--paper-edge);
  border-radius: calc(var(--cw) * .025);
  background-color: var(--paper);
  background-image: radial-gradient(ellipse 85% 75% at 50% 42%, var(--paper) 52%, var(--paper-edge) 150%);
  color: var(--paper-ink);
  font-size: max(var(--text-caption), calc(var(--cw) * .036));
  line-height: 1.2;
  text-align: start;
}
/* the pink margin line between the times and the entries */
.switch__card::before {
  content: "";
  position: absolute;
  inset-block: calc(var(--cw) * .15) calc(var(--cw) * .03);
  inset-inline-start: calc(var(--cw) * .26);
  inline-size: 1.5px;
  background-color: var(--paper-pink);
}
.switch__card-title {
  align-self: center;
  margin: 0;
  font-size: max(var(--text-small), calc(var(--cw) * .052));
  font-weight: var(--w-extra);
  line-height: 1.1;
}
.switch__row {
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--cw) * .2) minmax(0, 1fr);
  align-items: center;
  border-block-end: 1px solid var(--paper-rule);
}
.switch__time {
  justify-self: center;
  font-weight: var(--w-bold);
  font-variant-numeric: tabular-nums;
}
.switch__entry {
  padding-inline-start: calc(var(--cw) * .035);
  overflow-wrap: anywhere;
}
.switch__dash {
  display: block;
  inline-size: calc(var(--cw) * .045);
  block-size: 1.5px;
  margin-inline-start: calc(var(--cw) * .035);
  background-color: var(--paper-pencil);
}
/* a zigzag strikes the name through; drawn in the reading direction */
.switch__zig {
  position: absolute;
  inset-inline-start: calc(var(--cw) * .228);           /* row coordinates: the name starts at .235 cw */
  inset-block-start: calc(50% - var(--cw) * .0225);
  inline-size: calc(var(--cw) * .14);
  block-size: calc(var(--cw) * .045);
  overflow: visible;
  contain: layout paint;
  transform: scaleX(calc(-1 * var(--dir)));
  fill: none;
  stroke: var(--paper-pink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.switch__zig path,
.switch__circle path,
.switch__arc path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
}
/* the circle round 16:30, hand-drawn clockwise from 12 o'clock (never mirrors) */
.switch__circle {
  position: absolute;
  inset-inline-start: calc(var(--cw) * .16 - var(--dc) / 2 - 1px);     /* the 1px card border: the centre sits at */
  inset-block-start: calc(var(--cw) * 1.04875 - var(--dc) / 2 - 1px);   /* .16 / 1.04875 cw of the border box     */
  inline-size: var(--dc);
  block-size: var(--dc);
  overflow: visible;
  contain: layout paint;
  fill: none;
  stroke: var(--paper-pink);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.switch__note {
  align-self: center;
  justify-self: end;
  margin: 0;
  padding-inline-end: calc(var(--cw) * .1);
  color: var(--paper-note);
  font-weight: var(--w-extra);
  rotate: calc(var(--dir) * -3deg);
}
.switch__pencil {
  position: absolute;
  inset-inline-end: calc(var(--cw) * .12);
  inset-block-start: calc(var(--cw) * .47);
  inline-size: calc(var(--cw) * .05);
  block-size: calc(var(--cw) * .25);
  overflow: visible;
  fill: none;
  stroke: var(--paper-pencil);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* C · the blueprint band: the h2 and the drafted logo */
.switch__beat--c {
  gap: calc(var(--sw-m) * .22 + var(--space-24));
  padding-block: var(--section-pad) calc(var(--section-pad) + var(--sw-m) * .14);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px),
    var(--bg-art);
  background-size: 240px 240px, 240px 240px, 60px 60px, 60px 60px, 100% 100%;
  background-position: calc(50% + 120px) 0, 0 0, calc(50% + 30px) 0, 0 0, 0 0;
}
.switch__title { margin: 0; }

/* the drafted logo, in the mark box (512 units = --sw-m). It never mirrors (dir="ltr"). */
.switch__draft {
  position: relative;
  inline-size: var(--sw-m);
  block-size: var(--sw-m);
}
.switch__draft > * { position: absolute; }
.switch__ring {
  inset-inline-start: 9.96%;
  inset-block-start: 9.57%;
  box-sizing: border-box;
  inline-size: 78.125%;
  block-size: 78.125%;
  border-radius: 50%;
}
.switch__ring--pink { border: calc(var(--sw-m) * .026) solid var(--accent); }
.switch__ring--white { border: max(1.5px, calc(var(--sw-m) * .008)) solid var(--linework); }
.switch__svg {
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
  fill: none;
}
.switch__dashes {
  stroke: var(--linework-2);
  stroke-width: 1;
}
.switch__dashes circle {
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;            /* not a drawn stroke: dashes in screen px */
}
.switch__ticks {
  stroke: var(--linework);
  stroke-width: 6;
  stroke-linecap: round;
}
.switch__arc {
  contain: layout paint;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
}
/* the check's two arms as heavy dashed strokes from the centre (HTML boxes) */
.switch__arm {
  inset-inline-start: 47.46%;
  inset-block-start: 48.63%;
  block-size: max(2px, calc(var(--sw-m) * .014));
  margin-block-start: calc(max(2px, calc(var(--sw-m) * .014)) / -2);
  transform-origin: 0 50%;
  background-image: repeating-linear-gradient(to right, var(--linework) 0 calc(var(--sw-m) * .034), transparent 0 calc(var(--sw-m) * .058));
}
.switch__arm--short { inline-size: calc(var(--sw-m) * .2); rotate: -115.9deg; }
.switch__arm--long { inline-size: calc(var(--sw-m) * .47); rotate: -45.3deg; }
.switch__deg {
  inset-inline-start: 50%;
  inset-block-start: 30%;
  translate: -50% 0;
  color: var(--accent-ink);
  font-size: var(--text-caption);
  font-weight: var(--w-bold);
  line-height: 1;
}
.switch__dim--h {
  inset-inline-start: 9.96%;
  inset-block-start: calc(106% - 12px);
  inline-size: 78.125%;
}
.switch__dim--v {
  inset-inline-start: calc(108% - 12px);
  inset-block-start: 5%;
  block-size: 63.6%;
}
.switch__label {
  inset-inline-end: calc(-8% - 12px);
  inset-block-start: -19%;
  margin: 0;
  color: var(--fg-3);
  font-size: var(--text-caption);
  font-weight: var(--w-medium);
  line-height: 1;
  white-space: nowrap;
}

/* D · the day band: the logo lockup */
.switch__beat--d {
  gap: calc(var(--sw-m) * .08);
  padding-block: var(--section-pad);
  background-color: var(--bg);
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: 50% 40%;
  background-size: min(120%, 1200px) 90%;
}
.switch__mark {
  display: block;
  inline-size: var(--sw-m);
  block-size: var(--sw-m);
}
.switch__lockup {
  display: grid;
  justify-items: center;
  gap: calc(var(--sw-m) * .06);
}
.switch__wm { overflow: clip; }
.switch__wm-img {
  display: block;
  inline-size: calc(var(--sw-m) * 1.1);
  block-size: auto;
}
/* the tagline under the wordmark (owner, 2026-11-26): a light pill on a pink-to-navy hairline, led by
   the logo's tick in the CTA's magenta. Not a control: no arrow, no hover, default cursor. It scales with
   the mark box and wraps to two lines, set beside the tick, only on the narrowest phones (English is longer). */
.switch__tag {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  max-inline-size: min(34em, 100vw - 2 * var(--gutter));
  margin: 0;
  padding-block: .45em;
  padding-inline: .45em 1.1em;
  border: 1px solid transparent;
  border-radius: 1.4em;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(calc(180deg + var(--dir) * 90deg), var(--tag-edge-1) 0%, var(--tag-edge-2) 55%, var(--tag-edge-3) 100%) border-box;
  box-shadow: var(--tag-shadow);
  color: var(--fg);
  font-size: clamp(13px, calc(var(--sw-m) * .058), 16px);
  font-weight: var(--w-medium);
  line-height: 1.25;
  text-wrap: pretty;            /* two lines only where it must (English at 390, Hebrew at 320): the first fills the pill */
  cursor: default;
}
.switch__tag-mark {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 1.75em;
  block-size: 1.75em;
  border-radius: 50%;
  background-image: linear-gradient(140deg, var(--cta-fill-1), var(--cta-fill-2));
  box-shadow: var(--tag-mark-shadow);
  color: var(--cta-fg);
}
.switch__tag-mark svg {
  inline-size: 64%;
  block-size: 64%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.switch__tag-text { min-inline-size: 0; text-align: start; }
@media (forced-colors: active) {
  .switch__tag { border: 2px solid ButtonText; background: Canvas; }
  .switch__tag-mark { border: 2px solid ButtonText; }
}

@media (min-width: 900px) {
  .switch__prism { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- LIVE: one sticky stage (html.stages, not cramped), every width -------------
   Layout, liveness and every actor switch together in this block. */

html.stages .switch__track.scene:not(.is-cramped) {
  --scene-live: 1;
  --scene-len: 300svh;
  --sw-pt: var(--space-16);                         /* above the beats (the skip link from 900) */
  --sw-pb: max(64px, 12svh - var(--stage-bottom) + 16px);  /* the stepper; the flat seam band (+ the bar's shadow) */
  --sw-inner: calc(100svh - var(--stage-top) - var(--stage-bottom) - var(--sw-pt) - var(--sw-pb));
  --sw-m: min(64vw, var(--sw-inner) * .4, 300px);
  --sw-cap: calc(var(--text-lede) * 1.45 + var(--space-12));
  --sw-cw: min(86vw, (var(--sw-inner) - var(--sw-cap)) / 1.42, 480px);
  /* the drafted circle's centre (logo units 251, 249) in stage coordinates */
  --sw-cx: calc(50% - var(--sw-m) * .0098);
  --sw-cy: calc(var(--stage-top) + var(--sw-pt) + var(--sw-inner) / 2 - var(--sw-m) * .0137);
}
@media (min-width: 900px) {
  html.stages .switch__track.scene:not(.is-cramped) {
    --scene-len: 360svh;
    --sw-pt: 60px;
    --sw-m: min(64vw, var(--sw-inner) * .43, 320px);
  }
}

/* the night canvas; its top 96px fades to the flat --bg, so the stage meets the hero's flat night
   bottom without a step while it enters (the --bg-art ellipse ends on a lighter navy at its edge) */
html.stages .switch__track:not(.is-cramped) .switch__stage {
  background-color: var(--bg);
  background-image: linear-gradient(to bottom, var(--bg) 0, transparent 96px), var(--bg-art);
}

/* the painted stage: decoration that may overflow the safe box lives here */
html.stages .switch__track:not(.is-cramped) .switch__art {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
html.stages .switch__track:not(.is-cramped) .switch__art > * { position: absolute; }
html.stages .switch__track:not(.is-cramped) .switch__glow {
  inset-inline: 0;
  inset-block-start: calc(var(--stage-top) + var(--sw-pt) + var(--sw-inner) / 2 - var(--role-size) * 1.5 - min(32svh, 300px));
  block-size: min(64svh, 600px);
  background-image: var(--glow);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: min(120vw, 1100px) 100%;
}
html.stages .switch__track:not(.is-cramped) .switch__bp {
  --act: switch-fade;
  --from: .50;
  --to: .57;
  inset: 0;
  background-color: var(--bg);
  background-image: var(--bg-art);
  perspective: var(--perspective);
  perspective-origin: var(--perspective-origin);
}
html.stages .switch__track:not(.is-cramped) .switch__floor {
  --act: e-tip-in;
  --tip: 60deg;
  --tip-y: 0%;
  --tip-scale: 1;
  --tip-o: 1;
  --tip-o-mid: 1;
  --from: .51;
  --to: .64;
  position: absolute;
  inset: 0;
}
html.stages .switch__track:not(.is-cramped) .switch__cross { inset: 0; }
html.stages .switch__track:not(.is-cramped) .switch__cross-h,
html.stages .switch__track:not(.is-cramped) .switch__cross-v {
  --act: e-draw;
  --from: .555;
  --to: .62;
  position: absolute;
}
html.stages .switch__track:not(.is-cramped) .switch__cross-h {
  --draw-x: 0;
  --draw-y: 1;
  inset-inline: 0;
  inset-block-start: calc(var(--sw-cy) - .5px);
  block-size: 1px;
  transform-origin: var(--sw-cx) 50%;
  background-image: repeating-linear-gradient(to right, var(--linework-2) 0 9px, transparent 0 15px);
}
html.stages .switch__track:not(.is-cramped) .switch__cross-v {
  --draw-x: 1;
  --draw-y: 0;
  inset-block: 0;
  inset-inline-start: calc(var(--sw-cx) - .5px);
  inline-size: 1px;
  transform-origin: 50% var(--sw-cy);
  background-image: repeating-linear-gradient(to bottom, var(--linework-2) 0 9px, transparent 0 15px);
}
/* the iris: a day disc laid out at 1/8 of its final size and scaled x8 (raster rule 4). It is a
   light, not a plate: the day --glow's bright core over the day --bg, which holds to 55% of the
   radius and then fades to nothing (a soft edge) */
html.stages .switch__track:not(.is-cramped) .switch__iris {
  --iris: calc(max(100vw, 100lvh) * .1975);
  --act: switch-iris;
  --from: .77;
  --to: .855;
  inset-inline-start: calc(var(--sw-cx) - var(--iris) / 2);
  inset-block-start: calc(var(--sw-cy) - var(--iris) / 2);
  inline-size: var(--iris);
  block-size: var(--iris);
  border-radius: 50%;
  background-image: var(--glow), radial-gradient(closest-side, var(--bg) 55%, transparent 100%);
  will-change: transform;
}
/* the painted day canvas fades in under the logo; its last 12svh is flat --bg (the seam with the tour) */
html.stages .switch__track:not(.is-cramped) .switch__day {
  --act: switch-fade;
  --from: .835;
  --to: .87;
  inset: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, transparent calc(100% - 30svh), var(--bg) calc(100% - 12svh)),
    var(--glow-soft),
    var(--lilac);
  background-repeat: no-repeat;
  background-size: 100% 100%, min(130vw, 1300px) min(100svh, 900px), min(80vw, 900px) min(60svh, 560px);
  background-position: 0 0, var(--sw-cx) calc(var(--sw-cy) - min(50svh, 450px)), 100% calc(100% - 12svh);
}

/* Off-beat art layers are not drawn at all: a stage-sized layer waiting at opacity
   .004 (raster rule 2) still costs a full-stage draw every frame, and five of them
   (glow, blueprint, floor, iris, day) cost measured dropped frames on the
   reference GPU. render() names the phase on the stage; each layer comes back a whole beat
   before its slice, so its tiles are rastered while it still waits at .004. */
html.stages .switch__track:not(.is-cramped) .switch__stage[data-phase="0"] :is(.switch__bp, .switch__cross, .switch__iris, .switch__day),
html.stages .switch__track:not(.is-cramped) .switch__stage[data-phase="1"] :is(.switch__iris, .switch__day),
html.stages .switch__track:not(.is-cramped) .switch__stage[data-phase="2"] :is(.switch__glow, .switch__iris, .switch__day),
html.stages .switch__track:not(.is-cramped) .switch__stage[data-phase="3"] .switch__glow,
html.stages .switch__track:not(.is-cramped) .switch__stage[data-phase="4"] :is(.switch__glow, .switch__bp, .switch__cross, .switch__iris) {
  visibility: hidden;
}
/* the flash veil (stage-sized) exists only in the slice that can fire it (.70 to .90) */
html.stages .switch__track:not(.is-cramped) .switch__stage:not([data-phase="3"]) > .switch__flash { visibility: hidden; }
/* once the blueprint (from .57) and then the day canvas (from .87) are opaque, the night canvas under them is not painted */
html.stages .switch__track:not(.is-cramped) .switch__stage:is([data-phase="2"], [data-phase="3"], [data-phase="4"]) { background: none; }

/* the beats: stacked in the safe box, centred in the same inner box */
html.stages .switch__track:not(.is-cramped) .switch__beat {
  padding: var(--sw-pt) var(--gutter) var(--sw-pb);
  background: none;
  pointer-events: none;
}

/* A · the one-line prism (rolled by [data-roll] to --face), the stamp, the question */
html.stages .switch__track:not(.is-cramped) .switch__beat--a {
  --act: switch-back;
  --from: .22;
  --to: .26;
  gap: 0;
}
html.stages .switch__track:not(.is-cramped) .switch__prism {
  --apothem: calc(var(--role-size) * var(--lh-head) / 2);
  display: grid;
  grid-template-columns: auto;
  gap: 0;
  transform-style: preserve-3d;
  color: var(--fg);
  font-size: var(--role-size);
  font-weight: var(--w-black);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  white-space: nowrap;
}
html.stages .switch__track:not(.is-cramped) .switch__face {
  position: relative;
  display: block;
  grid-area: 1 / 1;
  transform: rotateX(calc(var(--i) * -90deg)) translateZ(var(--apothem));
  backface-visibility: hidden;
  opacity: 0;                                     /* only the face in front shows at rest: under */
}                                                 /* perspective the prism's top and bottom faces peek out */
html.stages .switch__track:not(.is-cramped) .switch__face.is-front { opacity: 1; }
html.motion .switch__face { transition: opacity 0s linear 450ms; }   /* the old face leaves after the roll */
html.motion .switch__face.is-front { transition-delay: 0s; }
html.stages .switch__track:not(.is-cramped) .switch__role { font-size: inherit; }
/* each face's own pink line stays in the accessibility tree, out of sight: the stamp below shows it */
html.stages .switch__track:not(.is-cramped) .switch__face-stamp {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
html.stages .switch__track:not(.is-cramped) .switch__stamp {
  --hit-delay: 520ms;
  display: grid;
  margin: 0;
  margin-block-start: calc(var(--role-size) * .3);
  color: var(--accent-display);
  font-size: var(--stamp-size);
  font-weight: var(--w-black);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  white-space: nowrap;
  text-shadow: var(--accent-glow);
}
html.stages .switch__track:not(.is-cramped) .switch__stamp > span { grid-area: 1 / 1; }
html.stages .switch__track:not(.is-cramped) .switch__stamp-f,
html.stages .switch__track:not(.is-cramped) .switch__stamp.is-fem .switch__stamp-m { opacity: 0; }
html.stages .switch__track:not(.is-cramped) .switch__stamp.is-fem .switch__stamp-f { opacity: 1; }
html.motion .switch__stamp > span { transition: opacity 140ms linear; }
html.stages .switch__track:not(.is-cramped) .switch__question {
  margin-block-start: calc(var(--role-size) * .5);
  font-size: max(var(--text-lede), var(--role-size) * .36);
}

/* B · the card tips in (52deg from 40% below), the caption rises above it, the
   zigzags strike through one after another, the circle draws; then the dive */
html.stages .switch__track:not(.is-cramped) .switch__beat--b { place-content: center; }
html.stages .switch__track:not(.is-cramped) .switch__dive {
  --act: switch-dive;
  --from: .48;
  --to: .56;
  --dive-x: calc(-1 * var(--dir) * .34 * var(--sw-cw) - var(--sw-m) * .0098);
  --dive-y: calc(-1 * (.33875 * var(--sw-cw) + var(--sw-cap) / 2) - var(--sw-m) * .0137);
  position: relative;
  display: block;
  inline-size: var(--sw-cw);
  margin-block-start: var(--sw-cap);
  transform-origin: calc(50% + var(--dir) * .34 * var(--sw-cw)) calc(50% + .33875 * var(--sw-cw));
  will-change: transform;                         /* raster rule 1: it scales x3 */
}
html.stages .switch__track:not(.is-cramped) .switch__caption {
  --act: e-rise;
  --rise: 24px;
  --from: .31;
  --to: .35;
  position: absolute;
  inset-block-end: calc(100% + var(--space-12));
  inset-inline: calc((var(--sw-cw) - min(100vw - 2 * var(--gutter), 36rem)) / 2);
  max-inline-size: none;
}
html.stages .switch__track:not(.is-cramped) .switch__card {
  --cw: var(--sw-cw);
  --dc: calc(var(--sw-m) * .2604);               /* a third of the drafted ring: the x3 dive lands on it */
  --act: e-tip-in;
  --tip: 52deg;
  --tip-y: 40%;
  --from: .24;
  --to: .335;
}
html.stages .switch__track:not(.is-cramped) .switch__zig path {
  --act: e-stroke;
  --from: calc(.335 + var(--z) * .014);
  --to: calc(.349 + var(--z) * .014);
}
html.stages .switch__track:not(.is-cramped) .switch__circle path { --act: e-stroke; --from: .39; --to: .43; }

/* C and D share one grid: the mark box (--sw-m) sits at the centre of the inner box */
html.stages .switch__track:not(.is-cramped) .switch__beat--c,
html.stages .switch__track:not(.is-cramped) .switch__beat--d {
  grid-template-rows: minmax(0, 1fr) var(--sw-m) minmax(0, 1fr);
  align-content: stretch;
  gap: 0;
}
/* beat C holds to .785, then its white linework hands over to the day ink (.switch__ink) while the
   iris passes it (.785 to .83), so the drafted circle is never lost on the light */
html.stages .switch__track:not(.is-cramped) .switch__beat--c {
  --act: switch-c;
  --from: .50;
  --to: .83;
}
html.stages .switch__track:not(.is-cramped) .switch__title {
  --w-from: .565;                                 /* the h2 is complete from .675: 32% of beat C */
  --w-step: .03;
  grid-row: 1;
  align-self: end;
  margin-block-end: calc(var(--sw-m) * .2 + var(--space-16));
}
/* the dawn (.is-dawn on beat C, a state set by render() at .765, played in 280ms): the h2 and the
   filled dimension chips leave with the flash. White type, its pink word and two navy plates must not
   float on the growing light; the drawing itself stays and hands over to the day ink */
html.motion .switch__title,
html.motion .switch__draft .dim-line__chip { transition: opacity 280ms var(--ease-out), translate 280ms var(--ease-out); }
html.stages .switch__track:not(.is-cramped) .switch__beat--c.is-dawn .switch__title { opacity: 0; translate: 0 -12px; }
html.stages .switch__track:not(.is-cramped) .switch__beat--c.is-dawn .dim-line__chip { opacity: 0; }
/* each word rises out of its mask and fades in as it rises: a word parked half-way is a soft partial
   word, never the hard flat tops of its letters */
html.stages .switch__track:not(.is-cramped) .switch__title .w__i {
  --act: switch-word;
  --from: calc(var(--w-from) + var(--w-i) * var(--w-step));
  --to: calc(var(--w-from) + var(--w-i) * var(--w-step) + .05);
}
html.stages .switch__track:not(.is-cramped) .switch__draft { grid-row: 2; }
html.stages .switch__track:not(.is-cramped) .switch__ring--pink {
  --act: switch-ring;
  --from: .545;
  --to: .60;
  display: block;
}
html.stages .switch__track:not(.is-cramped) .switch__ring--white { --act: e-fade; --from: .565; --to: .60; }
html.stages .switch__track:not(.is-cramped) .switch__label { --act: e-rise; --rise: 10px; --from: .585; --to: .61; }
html.stages .switch__track:not(.is-cramped) .switch__dashes { --act: e-fade; --from: .60; --to: .625; }
html.stages .switch__track:not(.is-cramped) .switch__ticks {
  --act: e-fade;
  --from: calc(.615 + var(--g) * .02);
  --to: calc(.635 + var(--g) * .02);
}
html.stages .switch__track:not(.is-cramped) .switch__arm { --act: e-draw; --draw-x: 0; --draw-y: 1; }
html.stages .switch__track:not(.is-cramped) .switch__arm--short { --from: .645; --to: .67; }
html.stages .switch__track:not(.is-cramped) .switch__arm--long { --from: .655; --to: .69; }
html.stages .switch__track:not(.is-cramped) .switch__dim--h { --act: e-fade; --from: .655; --to: .665; }
html.stages .switch__track:not(.is-cramped) .switch__dim--h .dim-line__line { --act: dim-shaft-x; --from: .655; --to: .69; }
html.stages .switch__track:not(.is-cramped) .switch__dim--h .dim-line__lead { --act: dim-lead-x; --from: .655; --to: .69; }
html.stages .switch__track:not(.is-cramped) .switch__dim--v { --act: e-fade; --from: .675; --to: .685; }
html.stages .switch__track:not(.is-cramped) .switch__dim--v .dim-line__line { --act: dim-shaft-y; --from: .675; --to: .71; }
html.stages .switch__track:not(.is-cramped) .switch__dim--v .dim-line__lead { --act: dim-lead-y; --from: .675; --to: .71; }
html.stages .switch__track:not(.is-cramped) .switch__arc path { --act: e-stroke; --from: .70; --to: .725; }
html.stages .switch__track:not(.is-cramped) .switch__deg { --act: e-fade; --from: .715; --to: .73; }

/* D · the lockup on the mark box: mark (hit), wordmark wipe (always left to right), bar (hit) */
html.stages .switch__track:not(.is-cramped) .switch__mark { grid-row: 2; grid-column: 1; }
/* the day ink: the finished drawing in navy on the mark box (the drafted ring is the mark's mid-ring);
   in .785 to .83 as the white linework leaves, under the landing mark from .855, gone by .87 */
html.stages .switch__track:not(.is-cramped) .switch__ink {
  --act: switch-ink;
  --from: .785;
  --to: .87;
  grid-row: 2;
  grid-column: 1;
  display: block;
  inline-size: var(--sw-m);
  block-size: var(--sw-m);
  overflow: visible;
  fill: none;
  stroke-linecap: round;
}
.switch__ink-ring { stroke: var(--linework); stroke-width: 4; }
.switch__ink-ticks { stroke: var(--linework); stroke-width: 6; }
.switch__ink-arms { stroke: var(--linework); stroke-width: 7.2; stroke-dasharray: 17.4 12.3; stroke-linecap: butt; }
.switch__ink-arc { stroke: var(--accent); stroke-width: 5; }
html.stages .switch__track:not(.is-cramped) .switch__lockup {
  grid-row: 3;
  align-self: start;
  padding-block-start: calc(var(--sw-m) * .05);
}
html.stages .switch__track:not(.is-cramped) .switch__wm { --act: switch-wipe-o; --from: .86; --to: .895; }
html.stages .switch__track:not(.is-cramped) .switch__wm-i { --act: switch-wipe-i; --from: .86; --to: .895; }
html.stages .switch__track:not(.is-cramped) .switch__bar { --rise: 8px; }

/* the persistent controls: the skip link (from 900px, where the track is longer
   than 300svh) and the stepper; render() flips their world with the canvas */
html.stages .switch__track:not(.is-cramped) .switch__steps {
  display: flex;
  justify-content: center;
  position: absolute;
  inset-inline: 0;
  /* clear of html's scroll-padding (stage-bottom + 16px): a stop inside it makes the
     browser scroll on Tab, which moves the scene's progress */
  inset-block-end: calc(var(--stage-bottom) + var(--space-16) + var(--space-4));
  z-index: 1;
  pointer-events: none;
}
html.stages .switch__track:not(.is-cramped) .switch__steps .stepper { pointer-events: auto; }
/* the dawn lockup is a clean end card: from p .9 the stepper steps aside (a state set by render());
   a keyboard user who reaches it still sees it */
html.motion .switch__steps { transition: opacity 240ms var(--ease-out); }
html.stages .switch__track:not(.is-cramped) .switch__steps.is-off:not(:focus-within) { opacity: 0; }
@media (min-width: 900px) {
  html.stages .switch__track:not(.is-cramped) .switch__skip {
    display: block;
    position: absolute;
    inset-block-start: calc(var(--stage-top) + var(--space-8));
    inset-inline-end: var(--gutter);
    z-index: 1;
  }
  /* From 900 to 1023px --stage-top is 0 and the link sits inside html's scroll-padding
     (--anchor-top): taking focus, it made the browser scroll the page back 369px (the
     progress jumped). A negative scroll margin cancels the padding for this one stop. */
  html.stages .switch__track:not(.is-cramped) .switch__skip a { scroll-margin-block-start: calc(-1 * var(--anchor-top)); }
}

/* the flash: a veil over the whole stage, a hit fired once when p crosses .76 downward */
html.stages .switch__track:not(.is-cramped) .switch__flash {
  --flash-peak: .4;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: var(--flash);
}

/* the manifesto falls back and leaves upward, accelerating (the film's vertical push) */
/* A beat that has LEFT rests at 0, not .004: three left-behind beats at .004 painted the diary rows,
   the role line and the question as grey ghosts around the dawn lockup. Raster rule 2 is about a layer
   that waits to come IN (its first keyframe stays .004). */
@keyframes switch-back {
  from { transform: translateY(0) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  to { transform: translateY(-9%) scale(.92); opacity: 0; }
}
@keyframes switch-fade {
  from { opacity: .004; }
  to { opacity: 1; }
}
/* the camera dives toward the circled 16:30: accelerating, the paper dissolves at the end */
@keyframes switch-dive {
  0% { transform: translate(0, 0) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  68% { opacity: 1; }
  100% { transform: translate(var(--dive-x), var(--dive-y)) scale(3); opacity: 0; }
}
/* the blueprint layer (slice .50–.83): in at .50–.54 (stage-sized: it waits at .004), out at
   .785–.83 while the iris passes the drawing and the day ink takes over (.switch__ink). The h2
   has already left with the flash (.is-gone), so no white type or pink word floats on the light. */
@keyframes switch-c {
  0% { opacity: .004; }
  12.1% { opacity: 1; }
  86.4% { opacity: 1; }
  100% { opacity: 0; }
}
/* the day ink (slice .785–.87): in as the white linework leaves (to .83), held until the mark lands
   (.855), then out under it */
@keyframes switch-ink {
  0% { opacity: 0; }
  52.9% { opacity: 1; }
  82.4% { opacity: 1; }
  100% { opacity: 0; }
}
/* a word of the h2: out of its mask (decelerating) and in from transparent */
@keyframes switch-word {
  from { translate: 0 110%; opacity: 0; animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  to { translate: 0 0; opacity: 1; }
}
/* the pink ring takes over from the diary circle (match cut), then hands over to the white ring */
@keyframes switch-ring {
  0% { opacity: 0; }
  10% { opacity: 1; }
  55% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes switch-iris {
  from { transform: scale(.001); animation-timing-function: cubic-bezier(.5, 0, .85, .55); }
  to { transform: scale(8); }
}
/* the wordmark wipes in from the left, decelerating, in both languages */
@keyframes switch-wipe-o {
  from { transform: translateX(-101%); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  to { transform: translateX(0); }
}
@keyframes switch-wipe-i {
  from { transform: translateX(101%); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  to { transform: translateX(0); }
}

/* ===========================================================================
   05-story
   =========================================================================== */
/* easytor-v2 · 05-story/section.css — the app tour (#app), SPEC 7.5.

   STATIC (no JS, reduced motion, a viewport under 540px, cramped): the head, then the four
   chapters as a strip of film frames, each with its own flat screen (.story__shot); the 3D stage
   is not rendered. LIVE (html.stages, not cramped), one block per width:
     >= 900px  the track is a grid: the sticky stage on the inline-START (pill, phone, stepper,
               toggle) and the four chapter blocks (85svh each) scrolling on the inline-end. The
               chapters column is padded by 7.5svh, so chapter k is centred at p = k / 3.
     <  900px  the whole tour is one sticky stage (track 360svh): the chapters are a second sticky
               layer over it (.story__chs, the film frame's title band), cross-faded by actors; the
               stage reserves that band (--story-band, measured by section.js) and sizes the phone
               from the height left.
   The timeline (scene progress p, both widths):
     ch1 0 .. .15        booking video (frontal), the timer counts 00:00 -> 00:12 (.005 .. .145)
     .155 .. .185        success screen rises; the done pill pops at .175 (hit)
     .44 .. .54          turn out toward the copy (pose-b), update-1 at the peak (.485 .. .515), turn in
     .555                outline + sticker 1 (hits)
     .655 .. .685        update-2 cross-fades; outline + sticker 2 at .69 (hits)
     .785 .. .885        the full turn: the logo on the back passes the camera; brand screen while the
                         back faces the camera (.815 .. .83; the front face is hidden by section.js .825 .. .845)
     .89 .. 1            brand video (frontal) */

.story { overflow-x: clip; }                    /* a turning device never widens the page */

/* ---- head -------------------------------------------------------------------------------- */
.story__title { max-inline-size: 40rem; }
/* (font-fix) on two lines (320px in English) Chromium's balance set the unsplit line (reduced motion) as
   "for your / clients, and for you."; pretty keeps "for your clients, / and for you.", which is also what
   balance gives the word-split line with motion. On one line nothing changes. */
.story__title .hl__heavy { text-wrap: pretty; }

/* ---- static: the chapters as film frames, each with its own screen ------------------------- */
.story__stage { display: none; }                /* the live stage only */
.story__band { display: none; }
.story__chs {
  container: story-frames / inline-size;          /* static only: the live stage sets it back to normal */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-40);
  inline-size: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.story__ch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(7.25rem, 30%);   /* the thumbnail never squeezes the text (200% text) */
  grid-template-areas: "text shot";
  align-items: center;
  column-gap: var(--space-16);
}
.story__text { grid-area: text; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); min-inline-size: 0; }
.story__ch-title { margin: 0; }
.story__short { display: none; }
.story__body { margin: 0; max-inline-size: 30rem; }
.story__stores {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  color: var(--fg-3);
  font-size: var(--text-small);
}
.story__stores .icon { flex: none; color: var(--fg-2); }

/* a flat phone: the screen in a device-coloured bezel (the 3D phone belongs to the live stage) */
.story__shot {
  --phone-u: 1.12px;
  grid-area: shot;
  position: relative;
  inline-size: 100%;
  margin: 0;
  border: 4px solid var(--device-body);
  border-radius: 18px;
  background-color: var(--device-body);
  box-shadow: var(--shadow-float);
}
.story__shot img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 520 / 1108;
  object-fit: cover;
  border-radius: 14px;
}

/* the pink highlight on a screen: placed by the promoOverlay fractions of brief/media.json
   (update-1: outline .011 / .173 / .989 / .279 · update-2: .062 / .361 / .938 / .543; both
   symmetric, so logical insets mirror nothing) */
.story__outline {
  position: absolute;
  border: max(2px, calc(var(--phone-u) * .9)) solid var(--accent);
  border-radius: calc(var(--phone-u) * 4);
  background-color: color-mix(in srgb, var(--accent) 9%, transparent);
  box-shadow: var(--accent-glow);
  pointer-events: none;
}
.story__outline--1 { inset-block: 17.3% 72.1%; inset-inline: 1.1%; }
.story__outline--2 { inset-block: 36.1% 45.7%; inset-inline: 6.2%; }
/* the callout box is centred on the highlighted element (both outlines are centred); the sticker's
   pointer ends on the outline's top edge */
.story__callout {
  position: absolute;
  display: grid;
  justify-items: center;
  pointer-events: none;
}
.story__callout--1 { inset-block-end: 82.7%; inset-inline: -12%; }   /* centred on the outline; wider than */
.story__callout--2 { inset-block-end: 63.9%; inset-inline: -12%; }   /* the screen, so .sticker--sm keeps its words */
.story__sticker { --hit-delay: 140ms; }

/* from 560px a film strip: each frame its screen above its text (2 columns, 4 from 900px); a
   thumbnail beside the text would leave a two-column frame about 130px for a held title */
@media (min-width: 560px) {
  .story__chs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-32); row-gap: var(--space-48); }
  .story__ch {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "shot" "text";
    align-content: start;
    align-items: start;
    row-gap: var(--space-24);
  }
  .story__shot { --phone-u: 1.6px; inline-size: min(100%, 11.5rem); border-width: 5px; border-radius: 26px; }
  .story__shot img { border-radius: 21px; }
}
/* large text on a phone (the strip under 14rem wide: 200% text at 390, never at 100% or 150%): a
   thumbnail beside the text would leave the held title about 14 characters, so the frame stacks as the
   film strip does, its screen above its text, and the title gets the whole width */
@container story-frames (max-width: 14rem) {
  .story__ch {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "shot" "text";
    align-items: start;
    row-gap: var(--space-16);
  }
  .story__shot { inline-size: min(50%, 7.25rem); }
}
@media (min-width: 900px) {
  .story__chs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--grid-gap); }
}

.story__foot {
  display: flex;
  justify-content: flex-start;
  margin-block-start: var(--head-gap);
}
/* where the dock carries the CTA the foot is empty (.cta-dup, base.css): no gap for nothing */
@media (max-width: 1023.98px) {
  html.js:not(.short) .story__foot { margin-block-start: 0; }
}

/* After the live switch: its dawn lockup already stands on a flat day band (its last 12svh, SPEC 7.4),
   so the tour opens with a short padding instead of a full section's; below 900px the section also
   tucks its own flat top into that band (it paints over it: the same flat day --bg), clear of the
   switch's stepper (--stage-bottom + 20px) and of the band the switch's seam check samples
   (12svh to 64px above the bottom of the screen at p 1). */
html.stages .switch:not(:has(.is-cramped)) + .story { padding-block-start: var(--space-16); }
@media (max-width: 899.98px) {
  html.stages .switch:not(:has(.is-cramped)) + .story { margin-block-start: calc(-1 * var(--space-64)); }
}

/* ============================================================================================
   LIVE: html.stages and the track not cramped. Layout, liveness and every actor switch together.
   ============================================================================================ */
html.stages .story__track.scene:not(.is-cramped) {
  --scene-live: 1;
  --story-pill-gap: 12px;
  /* the band the chapter titles take over the stage below 900px; section.js measures it. This
     first guess is a LOWER bound (one title line, one caption line, the pill): the runtime checks
     the fit before section.js has measured, and the cramped latch must not catch a guess that is
     too high (it did at 375x548 in Hebrew); a real overflow is caught once the band is measured */
  --story-band: calc(var(--stage-top) + 1.1 * clamp(var(--text-h2), 10svh - 28px, var(--text-display)) + 7rem);
}
html.stages .story__track:not(.is-cramped) .story__shot { display: none; }
html.stages .story__track:not(.is-cramped) > .story__stage { display: block; }
html.stages .story__track:not(.is-cramped) .story__safe { display: flex; flex-direction: column; }
/* The fit box runs on into the safe box's bottom padding (the dock band) by a negative margin and
   pads itself clear of it again: its content box is unchanged, but when the title band leaves it
   less than its minimum, its border box crosses the safe box's border box. The runtime's fit check
   reads scrollHeight, which never counts content that only intrudes into the bottom padding, so
   without this a stage with the phone under the dock was never latched cramped (text spacing at
   360x600). */
html.stages .story__track:not(.is-cramped) .story__fit {
  flex: 1 1 0;
  min-block-size: calc(15rem + var(--stage-bottom));   /* below 15rem the phone is too small: static */
  margin-block-end: calc(-1 * var(--stage-bottom));
  padding-block-end: var(--stage-bottom);
  container-type: size;
  display: grid;
  align-items: center;
}
html.stages .story__track:not(.is-cramped) .story__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-8);
}
html.stages .story__track:not(.is-cramped) .story__device {
  grid-column: 2;
  position: relative;
  display: grid;
  justify-items: center;
}
html.stages .story__track:not(.is-cramped) .story__controls {
  grid-column: 3;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
}
/* the pill floats above the phone (it leaves after chapter 2; the phone never moves for it) */
html.stages .story__track:not(.is-cramped) .story__pill {
  position: absolute;
  inset-block-end: calc(100% + var(--story-pill-gap));
  inset-inline: 0;
  display: grid;
  inline-size: fit-content;
  margin-inline: auto;
}
html.stages .story__track:not(.is-cramped) .story__pill > .timer-pill { grid-area: 1 / 1; }
/* THE phone: frontal at rest, sized from the height left; a media-backed screen stays <= 320px */
html.stages .story__track:not(.is-cramped) .story__phone {
  --phone-w: min(var(--phone-w-media-max), 100cqh / 2.0584, 100cqw - 2 * 60px);
}

/* the actors (both widths) */
html.stages .story__track:not(.is-cramped) .story__phone { --act: story-phone; }
html.stages .story__track:not(.is-cramped) .story__glare { --act: story-glare; }
html.stages .story__track:not(.is-cramped) .story__l2 { --act: story-rise; --from: .155; --to: .185; }
html.stages .story__track:not(.is-cramped) .story__l3 { --act: e-fade; --from: .485; --to: .515; }
html.stages .story__track:not(.is-cramped) .story__l4 { --act: e-fade; --from: .655; --to: .685; }
html.stages .story__track:not(.is-cramped) .story__l5 { --act: e-fade; --from: .815; --to: .83; }
html.stages .story__track:not(.is-cramped) .story__pill { --act: story-out; --from: .44; --to: .47; }
/* counters: a clock, 00 .. 12 over .005 .. .145: it reads the whole seconds gone, floor(12 x t)
   (steps(12, jump-end) over 12 rows: each second holds 1/12 of the span and 12 lands at .145, so
   p .08 reads 00:06 with 3px of scroll to spare); the tens strip turns to 1 exactly where the units
   reach 10 (.005 + 2 x 10/12 x .14 = .23833, the midpoint of its steps(2, jump-none)) */
html.stages .story__track:not(.is-cramped) .story__units { --act: story-units; --from: .005; --to: .145; }
html.stages .story__track:not(.is-cramped) .story__tens { --act: story-tens; --from: .005; --to: .23833; }
html.stages .story__track:not(.is-cramped) .story__hand { --act: e-spin; --spin-turns: 4; --from: .005; --to: .145; }

/* ---- from 900px: the stage on the inline-start, the chapters scroll on the inline-end ------- */
@media (min-width: 900px) {
  html.stages .story__track:not(.is-cramped) {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--space-48);
    padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  }
  html.stages .story__track:not(.is-cramped) > .story__stage {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    background-image: var(--glow-soft);
    background-repeat: no-repeat;
    background-position: 50% 52%;
    background-size: 100% 86%;
  }
  html.stages .story__track:not(.is-cramped) .story__fit {
    padding-block: calc(44px + var(--story-pill-gap) + var(--space-24));   /* room for the pill (44px) */
    padding-block-end: calc(44px + var(--story-pill-gap) + var(--space-24) + var(--stage-bottom));
  }
  html.stages .story__track:not(.is-cramped) .story__chs {
    grid-column: 2;
    grid-row: 1;
    container-type: normal;
    display: block;
    inline-size: auto;
    margin: 0;
    padding-block: 7.5svh;
  }
  html.stages .story__track:not(.is-cramped) .story__ch {
    min-block-size: 85svh;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text";
    align-content: center;
  }
  html.stages .story__track:not(.is-cramped) .story__text { gap: var(--space-16); }
  html.stages .story__track:not(.is-cramped) .story__ch-title { font-size: var(--text-h2); }
  html.stages .story__track:not(.is-cramped) .story__body { font-size: var(--text-lede); max-inline-size: 28rem; }
  html.stages .story__track:not(.is-cramped) .story__sticker { --sticker-size: 1.125rem; }
  /* the head opens the chapters' column: it stands over that column (the track's 5fr | 48px | 6fr grid
     in the same content box) and runs into the empty top of chapter 1, whose content is centred at
     50svh of the track, so the head's foot (25svh into the track) keeps 25svh less half of chapter 1's
     content clear above it, whatever the head's height; with large text (chapter 1 near 14rem tall)
     the foot stays at least 3rem above it (50svh - 10rem). The stage's column is never covered. */
  html.stages .story:not(:has(.is-cramped)) .story__head {
    position: relative;
    z-index: 1;
    margin-inline-start: calc((100% - var(--space-48)) * 5 / 11 + var(--space-48));
    margin-block-end: calc(-1 * max(0px, min(25svh, 50svh - 10rem)));
  }
}
@media (min-width: 1024px) {
  html.stages .story:not(:has(.is-cramped)) .story__foot { margin-block-start: var(--space-24); }   /* the stage ends on 80px of its own */
  /* the foot CTA stays on the container's inline-start (the static rule), as the dashboard's does
     right after it: under the stage column the chapter column has already scrolled away, so a CTA
     on that column's edge floated at an arbitrary x */
}

/* ---- below 900px: one sticky stage, each chapter a film frame -------------------------------- */
@media (max-width: 899.98px) {
  html.stages .story:not(:has(.is-cramped)) .story__head {     /* the body is one centred object */
    justify-items: center;
    text-align: center;
  }
  html.stages .story:not(:has(.is-cramped)) .story__head .section-head__actions { justify-content: center; }
  html.stages .story:not(:has(.is-cramped)) .story__foot { justify-content: center; }

  html.stages .story__track.scene:not(.is-cramped) { --scene-len: 360svh; }
  html.stages .story__track:not(.is-cramped) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tour";
  }
  html.stages .story__track:not(.is-cramped) > .story__stage {
    grid-area: tour;
    align-self: start;
    background-image: var(--glow-soft), var(--lilac);
    background-repeat: no-repeat;
    background-position: 50% 62%, var(--end) 0 bottom 3%;
    background-size: 150% 78%, 92% 46%;
  }
  html.stages .story__track:not(.is-cramped) .story__band { display: block; flex: none; block-size: var(--story-band); }
  /* a film frame needs a real phone: below about 38vw (a 120px phone at 375x548 in English) the
     stage goes static through the cramped latch instead (the four screens of the film strip) */
  html.stages .story__track:not(.is-cramped) .story__fit {
    min-block-size: calc(max(15rem, 38vw * 2.0584 + var(--space-12)) + var(--stage-bottom));
    padding-block-end: calc(var(--stage-bottom) + var(--space-12));
  }
  /* the title band: a second sticky layer over the stage, as tall as the stage (lvh), so the two
     stick and release together; it holds text only and lets presses through to the stepper */
  html.stages .story__track:not(.is-cramped) .story__chs {
    grid-area: tour;
    align-self: start;
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    box-sizing: border-box;
    container-type: normal;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0;
    inline-size: auto;
    block-size: 100lvh;
    margin: 0;
    padding: calc(var(--stage-top) + var(--space-16)) var(--gutter) 0;
    pointer-events: none;
  }
  html.stages .story__track:not(.is-cramped) .story__ch {
    grid-area: 1 / 1;
    align-self: start;                          /* its own height: section.js measures it */
    display: block;
    text-align: center;
  }
  html.stages .story__track:not(.is-cramped) .story__text { justify-items: center; gap: var(--space-8); }
  /* --text-display, stepping down to --text-h2 on a short screen (h2 at 600px of svh and under,
     display from about 680px): the phone is sized from the height the title band leaves, and SPEC
     wants it at least 50vw. svh never moves with the toolbar, so nothing jumps while scrolling. */
  html.stages .story__track:not(.is-cramped) .story__ch-title { font-size: clamp(var(--text-h2), 10svh - 28px, var(--text-display)); }
  html.stages .story__track:not(.is-cramped) .story__short {
    display: block;
    max-inline-size: 22rem;
    margin: 0;
    color: var(--fg-2);
    font-size: var(--text-small);
    line-height: 1.45;
    text-wrap: balance;
  }
  /* the full body and the stores line stay in the accessibility tree; the film frame shows the
     title and the short caption only */
  html.stages .story__track:not(.is-cramped) .story__body,
  html.stages .story__track:not(.is-cramped) .story__stores {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  /* the chapters cross-fade (opacity and a 14px rise, as the film's headlines do) */
  html.stages .story__track:not(.is-cramped) .story__ch--1 { --act: story-out; --from: .15; --to: .17; }
  html.stages .story__track:not(.is-cramped) .story__ch--2 { --act: story-mid2; --from: .17; --to: .49; }
  html.stages .story__track:not(.is-cramped) .story__ch--3 { --act: story-mid3; --from: .50; --to: .84; }
  html.stages .story__track:not(.is-cramped) .story__ch--4 { --act: story-in; --from: .84; --to: .86; }
}

/* ---- keyframes ------------------------------------------------------------------------------ */
/* the phone over the whole scene: frontal at rest; out to three-quarter toward the copy and back
   around the chapter 2 -> 3 boundary; the full turn into chapter 4 (the back passes the camera,
   with a short hold on the logo at 180deg). The same three functions in every keyframe. */
@keyframes story-phone {
  0%, 44% { transform: var(--pose-front) translateZ(0px); animation-timing-function: var(--ease-in-out); }
  50% { transform: var(--pose-b) translateZ(0px); animation-timing-function: var(--ease-in-out); }
  54%, 78.5% { transform: var(--pose-front) translateZ(0px); animation-timing-function: var(--ease-in-out); }
  83.5% { transform: rotateY(calc(var(--dir) * 180deg)) rotateX(6deg) translateZ(-48px); animation-timing-function: var(--ease-in-out); }
  88.5%, 100% { transform: rotateY(calc(var(--dir) * 360deg)) rotateX(0deg) translateZ(0px); }
}
@keyframes story-glare {
  0%, 44%, 54%, 78.5%, 88.5%, 100% { opacity: 0; }
  50%, 81%, 86% { opacity: .12; }
  83.5% { opacity: 0; }
}
@keyframes story-rise {
  from { opacity: 0; transform: translateY(10%); animation-timing-function: var(--ease-out); }
  to { opacity: 1; transform: translateY(0%); }
}
/* the titles and the pill wait at opacity 0, not .004: they are small layers (raster rule 2 is for
   stage-sized ones), and three waiting titles at .004 stacked into a visible smudge (7 levels) */
@keyframes story-out {
  from { opacity: 1; transform: translateY(0px); }
  to { opacity: 0; transform: translateY(-14px); }
}
@keyframes story-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0px); }
}
@keyframes story-mid2 {
  0% { opacity: 0; transform: translateY(14px); }
  6.25%, 93.75% { opacity: 1; transform: translateY(0px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes story-mid3 {
  0% { opacity: 0; transform: translateY(14px); }
  5.88%, 94.12% { opacity: 1; transform: translateY(0px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes story-units {
  from { transform: translateY(0%); animation-timing-function: steps(12, jump-end); }
  to { transform: translateY(calc(-12 / 13 * 100%)); }
}
@keyframes story-tens {
  from { transform: translateY(0%); animation-timing-function: steps(2, jump-none); }
  to { transform: translateY(-50%); }
}

@media (forced-colors: active) {
  .story__outline { border-color: Highlight; background-color: transparent; }
  .story__shot { border-color: CanvasText; }
}

/* ==========================================================================
   06-dashboard
   ========================================================================== */
/* easytor-v2 · 06-dashboard/section.css — DAY / plain: the real dashboard in a browser frame
   that tips in and lands flat (SPEC 7.6).

   STATIC (no JS, reduced motion, forced colours): the head; the frame flat, the two crops over
   its corners; below 900px the screenshot is a strip at 220% of the frame that starts at its
   right edge and scrolls by hand (the rig is dir="rtl" in both languages); the four
   capabilities; the CTA (.cta-dup).
   LIVE (html.motion; the runtime reads --scene-live per width):
     >= 900px  .dash__stage is an enter scene: the rig tips in from 34deg and lands flat by .6;
               the screen (bar and view, the leaves that carry text) lights up through .28 at
               8deg to 1 flat; the crops start lifted (translateZ 150px / 90px) and settle as the
               frame lands. No bobbing, no loop.
     <  900px  the same enter scene at 26deg; inside the frame .dash__pan is an inner THROUGH
               scene that pans the 220% screenshot from its right edge to its left edge, in
               both languages (a pan across a Hebrew screen never mirrors).
   The rig holds opacity 1 (--tip-o 1): opacity below 1 on a preserve-3d rig would flatten
   the crops' lift; the fades live on the leaf planes (.dash__veil, .dash__crop). */

.dash { overflow-x: clip; }                     /* the crops hang over the frame's edges */

/* ---- head --------------------------------------------------------------------------- */
.dash__title { max-inline-size: min(100%, 40rem); }
/* (font-fix) under 360px the English heavy line "the whole business." (about 298px at 32px in Talent FS)
   cannot share the 280px column and left "the" alone on a line (the accent pair never splits); at 29px
   it holds on one line. Hebrew's line is 189px and keeps the --text-h2 tier. */
@media (max-width: 359.98px) {
  .dash__title:lang(en) { font-size: 1.8125rem; }
}

/* ---- the stage: frame + crops --------------------------------------------------------- */
.dash__stage {
  display: grid;
  justify-items: center;
  inline-size: min(100% - 2 * var(--gutter), 1040px);
  margin-inline: auto;
  /* (trim) room for the KPI crop that hangs under the frame: its hang plus about 24px clear of the
     capabilities' first rule (phones 48, 560+ 64, 900+ 80; was 64 / 64 / 96) */
  padding-block-end: var(--space-48);
}
.dash__rig { inline-size: 100%; }
.dash__frame { inline-size: 100%; }

/* the strip (static below 900px): the screenshot at 220% of the frame, starting at its right
   edge (dir="rtl" on the rig), scrolled by hand or by keyboard (tabindex, section.js) */
.dash__pan {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.dash__pan:focus-visible { outline-offset: -5px; }     /* inside the frame: the view clips */
.dash__track { inline-size: 220%; }
.dash__shot { display: block; }
/* live (section.js, while the inner through scene is live): the scroll pans it, not the hand */
.dash__pan.dash__pan--live { overflow: hidden; }

.dash__crop {
  position: absolute;
  z-index: 1;
  display: block;
  block-size: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}
.dash__crop--history { display: none; }       /* below 900px one crop, the goals card: the history would sit
                                                  over the strip that pans */
.dash__crop--kpi {
  inset-block-end: -6%;
  inset-inline-start: -2%;                     /* the rig is rtl: the frame's right corner */
  inline-size: 58%;
}

.dash__hint {
  justify-self: start;
  margin: 0 0 var(--space-12);
}

@media (min-width: 560px) {
  .dash__stage { padding-block-end: var(--space-64); }
  .dash__crop--kpi { inline-size: 42%; inset-block-end: -8%; }
}

@media (min-width: 900px) {
  .dash__stage { padding-block-end: var(--space-80); }
  .dash__track { inline-size: 100%; }
  .dash__pan { overflow: visible; }
  .dash__hint { display: none; }
  .dash__crop--history { display: block; inset-block-start: 15%; inset-inline-end: -4.5%; inline-size: 17%; }   /* the frame's left side: the quiet last column */
  .dash__crop--kpi { inset-block-end: -7%; inset-inline-start: -4.5%; inline-size: 31%; }
}

/* ---- the four capabilities ---------------------------------------------------------- */
.dash__caps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  margin: var(--head-gap) 0 0;
  padding: 0;
  list-style: none;
}
/* (trim) the ruled column on phones is denser: 16px from the rule to the title, 12px from the text to
   the next rule (was 24 / 16); from 560px the rows keep 24 */
.dash__caps { row-gap: var(--space-12); }
.dash__cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon title" "icon text";
  align-content: start;
  column-gap: var(--space-16);
  row-gap: var(--space-4);
  padding-block-start: var(--space-16);
  border-block-start: 1px solid var(--line);
}
@media (min-width: 560px) {
  .dash__cap { padding-block-start: var(--space-24); }
}
.dash__cap .icon-tile { grid-area: icon; color: var(--fg); }
.dash__cap-title { grid-area: title; margin: 0; color: var(--fg); }
.dash__cap-text { grid-area: text; margin: 0; color: var(--fg-2); text-wrap: pretty; }
@media (min-width: 560px) {
  .dash__caps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-32); }
}
@media (min-width: 900px) {
  .dash__caps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dash__cap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "icon" "title" "text";
    row-gap: var(--space-8);
  }
  .dash__cap .icon-tile { margin-block-end: var(--space-8); }
}

/* (trim) the gap rides on the button, not on the row: below 1024px the button (.cta-dup) is not
   rendered and the empty row kept a 32px band; the CTA sits 32px under the capabilities (was the head gap) */
.dash__foot {
  display: flex;
  justify-content: flex-start;
}
.dash__foot > .btn { margin-block-start: var(--space-32); }

/* ============================================================================================
   LIVE (html.motion). Liveness and every actor switch together, per width.
   ============================================================================================ */
@keyframes dash-veil {
  0% { opacity: .004; }
  70% { opacity: .28; }
  100% { opacity: 1; }
}
@keyframes dash-lift {
  0% { transform: translateZ(var(--lift)); opacity: .004; }
  70% { transform: translateZ(calc(var(--lift) * .2)); opacity: .28; }
  100% { transform: translateZ(0px); opacity: 1; }
}
/* the pan: the track is 220% wide and starts at its right edge; the end shows its left edge.
   Physical +X in both languages (never var(--dir)): 120 / 220 of the track's own width. */
@keyframes dash-pan {
  from { transform: translateX(0%); }
  to { transform: translateX(54.5455%); }
}

@media (min-width: 900px) {
  .dash__stage { --scene-live: 1; }
  .dash__rig { --act: e-tip-in; --tip: 34deg; --tip-o: 1; --tip-o-mid: 1; --from: 0; --to: .6; }
  .dash__veil { --act: dash-veil; --from: 0; --to: .6; }
  .dash__crop { --act: dash-lift; --from: 0; --to: .6; }
  .dash__crop--kpi { --lift: 150px; }
  .dash__crop--history { --lift: 90px; }
}
@media (max-width: 899.98px) {
  .dash__stage { --scene-live: 1; }
  .dash__rig { --act: e-tip-in; --tip: 26deg; --tip-o: 1; --tip-o-mid: 1; --from: 0; --to: .6; }
  .dash__veil { --act: dash-veil; --from: 0; --to: .6; }
  .dash__crop { --act: dash-lift; --from: 0; --to: .6; }
  .dash__crop--kpi { --lift: 70px; }
  .dash__crop--history { --lift: 40px; }
  /* the inner through scene: the pan runs while the frame is on screen and flat */
  .dash__pan { --scene-live: 1; }
  .dash__track { --act: dash-pan; --from: .22; --to: .68; }   /* about the span in which the whole frame is on screen */
}
/* while the pan is live there is nothing to scroll by hand: no hint (section.js) */
.dash__stage--panning .dash__hint { display: none; }

/* ---- forced colours ------------------------------------------------------------------- */
@media (forced-colors: active) {
  .dash__crop { outline: 1px solid CanvasText; }
}

/* ===========================================================================
   04-toolbox
   =========================================================================== */
/* easytor-v2 · 04-toolbox/section.css — "הכל עובד לבד." (#features), SPEC 7.7: the film's scene 11.
   NIGHT (owner, v2.1): the section is the hero's night; a dusk at its top leads out of the day #dashboard.

   STATIC (no JS, reduced motion, a viewport under 540px, cramped): the head, then the seven
   stations as cards (one column, two from 900px), each with its flat drawing, counter and chip,
   title, lede and its three leader labels drawn to the edge of a flat screen thumbnail.
   LIVE (html.stages, the track not cramped): one sticky stage, the film frame of scene 11.
     <  900px  the head scrolls before the stage (centred). Frame: counter + chip, the title
               (28px, pink last word) and the lede on top; the label column at the inline-start,
               the phone docked at the inline-end (41-43vw, sized from the height left) with the
               24/7 line on its outer side; the stepper (seven ticks) under it. Track 320svh.
     >= 900px  the head stays at the top of the stage: it is a sticky layer as tall as the
               stage over it (.features__intro), and the frame reserves its height in its first
               row (--features-head, measured by section.js; the CSS value is a lower bound).
               Station block | label column | phone (spanning the height) + 24/7 line; the
               stepper under the station block. Track 412svh.
   The timeline (scene progress p; o = the opening beat, s = one station; section.js reads both):
     >= 900  o = 60 / 312 = .19231   s = 36 / 312 = .11538
     <  900  o = 24 / 220 = .10909   s = 28 / 220 = .12727
     0 .. o            the opening: the phone three-quarter (pose-a) with the UI planes lifted off
                       its screen (46 / 92 / 138px; 40 / 80px below 900); the planes settle onto
                       the glass and fade while the phone turns to frontal; the screen is station 1's
                       first beat from the start, the WhatsApp reminder (owner 2026-11-30: no day view)
     o .. o + s        station 1, three screens (owner 2026-11-30): the reminder until .2, the WhatsApp
                       arrival confirmation from .25 (the stop, .45, shows it), the app's confirmation
                       screen from .6, its recording playing once from .66 until the next screen (.94)
     o + k*s (k 1-6)   station k+1 begins: the outgoing block fades out in the last tenth of its
                       station, the incoming one rises in the first tenth of its own; the screen
                       cross-fades at the boundary while the phone yaws 8deg toward the labels and
                       back; render() draws the new leaders (80ms apart) and moves the stepper
     0 .. 1            the 24/7 dimension line grows from the top of the phone to its foot; its
                       chip fades in as the arrowhead passes the middle (.46 .. .52) */

.features { overflow-x: clip; }                 /* a turning phone or a lifted plane never widens the page */

/* ---- night, and the dusk that leads into it ----------------------------------------------------
   From here to the footer the page is the hero's night (data-world="night": the same --bg at every
   section edge). The day #dashboard above ends on the day canvas; the change is a dusk, never a cut
   (owner, 2026-11-26: "the horizon clock"): the night rises out of the day as the rim of a giant clock face.
   .features__dusk is the band. It starts at the top of the dashboard's bottom padding (it hangs up over it by
   --section-pad, which the dashboard keeps as its bottom padding) and is --features-dusk tall (about 36svh);
   --features-dusk-in is its part inside #features, which the section reserves as top padding. The live stage
   starts after it, so the pinned frame is fully night. The band paints the day canvas, transparent over its
   first 12% (the dashboard's own canvas, the same colour), so the glow of the dashboard's button is not cut.
   .features__horizon (the band's one actor) paints the night: a circle of radius --hz-r whose top, the apex,
   sits at --hz-apex in the band; just inside its edge a royal blue limb deepens into the night canvas. On it
   the dial (an SVG circle concentric with the arc, dashed: a short tick every 28px, a long one every 140px, a
   long one on the apex) and the limb (a pale pink rim line in a magenta glow, a haze on the day side), both
   faded out toward the sides. The circle grows with the width, so the arc is about 10% of the width deep, and
   past 1440px it grows faster, so the arc stays near 160px. The arc meets both edges well above the band's
   foot, so the foot is all night and meets the section's canvas without a seam, even while the horizon still
   rises. Live (html.motion: an enter scene), the horizon rises --hz-rise into place over p 0 .. .6; static it
   rests in place. */
.features {
  --features-dusk: clamp(260px, 36svh, 380px);
  --features-dusk-in: calc(var(--features-dusk) - var(--section-pad));
  padding-block-start: calc(var(--features-dusk-in) + var(--space-32));    /* static: the head 32px under it */
  scroll-margin-block-start: calc(var(--space-48) - var(--features-dusk-in)); /* an anchor lands on the head */
}
/* below 900px the head (it scrolls before the stage) rises out of the night under the arc, as the hero's head
   stands on its glow: it starts at --features-head-at, 58% down the band, well under the rim and the dial.
   The dusk keeps its full height; this only drops the empty night band under it (final-qa-w7: it kept the
   page at 390x844 en within the 19,000px budget). An anchor still lands on the head, 80px down. */
@media (max-width: 899.98px) {
  .features {
    --features-head-at: max(var(--space-32), calc(var(--features-dusk) * .58 - var(--section-pad)));
    padding-block-start: var(--features-head-at);
    scroll-margin-block-start: calc(var(--space-48) + var(--space-32) - var(--features-head-at));
  }
}
.features__dusk {
  --hz-r: calc(125vw + max(0px, (100vw - 1440px) * 1.6));
  --hz-apex: calc(var(--features-dusk) * .3);
  --hz-cy: calc(var(--hz-apex) + var(--hz-r));
  --hz-deep: min(150px, var(--features-dusk) * .4);       /* how far inside the rim the limb's blue reaches */
  --hz-haze: min(110px, var(--hz-apex) - 8px);             /* how far above it the pink haze reaches: never past the band's top */
  --scene-live: 1;
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(-1 * var(--section-pad));
  z-index: -1;
  block-size: var(--features-dusk);
  overflow: clip;
  pointer-events: none;
  background-image: linear-gradient(to bottom, color-mix(in srgb, var(--day-canvas) 0%, transparent) 0%, var(--day-canvas) 12%);
}
.features__horizon {
  --act: features-rise;
  --from: 0;
  --to: .6;
  --hz-rise: min(var(--features-dusk) * .17, 52px);
  position: absolute;
  inset: 0;
  background-image:
    /* the foot: the limb's blue settles into the night canvas before the band ends (its sides reach the foot) */
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent) calc(100% - 64px), var(--bg) 100%),
    radial-gradient(circle var(--hz-r) at 50% var(--hz-cy),
    var(--bg) calc(var(--hz-r) - var(--hz-deep)),
    color-mix(in oklab, var(--navy-2) 42%, var(--bg)) calc(var(--hz-r) - 36px),
    color-mix(in oklab, var(--illus-blue) 34%, var(--navy-2)) calc(var(--hz-r) - 1.5px),
    color-mix(in srgb, var(--navy-2) 0%, transparent) calc(var(--hz-r) + .5px));
}
@keyframes features-rise {
  from { translate: 0 var(--hz-rise); }
  to { translate: 0 0; }
}
/* the dial: both rings on one radius (so their dashes keep step), the long ticks reach 4px further each way;
   each dash pattern is shifted so a tick is centred on the apex (12 o'clock is 3/4 of the way round from
   where an SVG circle starts) */
.features__dial {
  --dial-r: calc(var(--hz-r) - 19px);
  --dial-apex: calc(.75 * 2 * pi * var(--dial-r));
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  overflow: hidden;
  fill: none;
  mask-image: linear-gradient(to right, transparent 8%, var(--black) 34%, var(--black) 66%, transparent 92%);
}
.features__dial circle {
  cx: 50%;
  cy: var(--hz-cy);
  r: var(--dial-r);
}
.features__dial-minor {
  stroke: color-mix(in srgb, var(--magenta) 50%, transparent);
  stroke-width: 8px;
  stroke-dasharray: 2px 26px;
  stroke-dashoffset: calc(28px - mod(var(--dial-apex) - 1px, 28px));
}
.features__dial-major {
  stroke: var(--magenta);
  stroke-width: 16px;
  stroke-dasharray: 2.5px 137.5px;
  stroke-dashoffset: calc(140px - mod(var(--dial-apex) - 1.25px, 140px));
}
/* the limb: a pale pink line on the rim inside a magenta glow, and a haze above it on the day canvas */
.features__limb {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle var(--hz-r) at 50% var(--hz-cy),
    color-mix(in srgb, var(--magenta) 0%, transparent) calc(var(--hz-r) - 4px),
    color-mix(in srgb, var(--magenta) 70%, transparent) calc(var(--hz-r) - 2.5px),
    var(--neon-core) calc(var(--hz-r) - 1px),
    color-mix(in srgb, var(--magenta) 60%, transparent) calc(var(--hz-r) + 1px),
    color-mix(in srgb, var(--magenta) 20%, transparent) calc(var(--hz-r) + var(--hz-haze) * .11),
    color-mix(in srgb, var(--magenta) 7%, transparent) calc(var(--hz-r) + var(--hz-haze) * .4),
    color-mix(in srgb, var(--magenta) 0%, transparent) calc(var(--hz-r) + var(--hz-haze)));
  mask-image: linear-gradient(to right, transparent 4%, var(--black) 30%, var(--black) 70%, transparent 96%);
}
/* the section's own night grid (the static stations stand on it) starts well under the dusk; live, the
   stage carries the grid and the section is the plain night canvas (the head below 900px, the foot):
   two grids would meet in a seam at the stage's edge */
.features.section[data-surface="grid"] {
  background-image:
    linear-gradient(to bottom, var(--bg) 0, var(--bg) var(--features-dusk-in), transparent calc(var(--features-dusk-in) + 2 * var(--overlay-fade)), transparent calc(100% - var(--overlay-fade)), var(--bg) 100%),
    linear-gradient(to right, var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
}
html.stages .features.section[data-surface="grid"]:not(:has(.is-cramped)) { background-image: none; }

/* the night light where the content sits: a soft royal glow behind the phone (live). It is drawn on the
   stage's art layer, outside the safe box (anything absolute inside the safe box would count as its
   overflow and latch the stage static). Centred on the phone: the frame's inline-end padding, the 24/7
   line (24px + 6px), half the phone. */
html.stages .features__track:not(.is-cramped) .features__art::after {
  --features-glow-w: calc(var(--features-pw) * 3.2);
  content: "";
  position: absolute;
  inset-block: 6%;
  inset-inline-end: calc(var(--features-glow-pad) + 30px + var(--features-pw) / 2 - var(--features-glow-w) / 2);
  inline-size: var(--features-glow-w);
  background-image: var(--glow-soft);
  pointer-events: none;
}
html.stages .features__track:not(.is-cramped) .features__art { --features-glow-pad: max(var(--space-4), var(--gutter) - 30px); }
@media (min-width: 900px) {
  html.stages .features__track:not(.is-cramped) .features__art { --features-glow-pad: max(var(--gutter), (100% - var(--container)) / 2); }
}

/* ---- head ---------------------------------------------------------------------------------- */
.features__title { max-inline-size: 40rem; }
.features__lede { max-inline-size: 34rem; }

/* ---- static: the seven stations as cards ---------------------------------------------------- */
.features__band,
.features__floor,
.features__device,
.features__steps { display: none; }            /* the live stage only */

.features__frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  inline-size: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.features__st {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text text" "labels shot";
  align-items: center;
  row-gap: var(--space-24);
  min-inline-size: 0;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);           /* a night card: the lifted surface, its rim, its glow */
  background-image: var(--island-art);
  background-repeat: no-repeat;
  box-shadow: var(--shadow-float);
}

.features__text {
  grid-area: text;
  display: grid;
  justify-items: start;
  gap: var(--space-8);
  min-inline-size: 0;
}
.features__ico {
  inline-size: 64px;
  block-size: 64px;
  margin-block-end: var(--space-4);
}
.features__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-12);
  color: var(--fg-3);
  font-size: var(--text-caption);
  font-weight: var(--w-bold);
  line-height: 1.3;
}
.features__count { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
/* the recordings of stations 2 (~22 s) and 4 (~6.6 s) run over 5 s, so each has a pause / play control (WCAG
   2.2.2, SPEC 5.5: a sibling of the device and the stations, in the stage's persistent part; both stand in one
   place, one at a time). The live stage only: the static card shows stills */
.features__ctl { display: none; }
.features__name { max-inline-size: 100%; }
.features__line { max-inline-size: 28rem; color: var(--fg-2); }

/* three leader labels: the stub is set on the column and the column is padded by it, so every
   dot lands on the column's edge, which is the edge of the screen beside it (KIT 7.8) */
.features__labels {
  --leader-stub: 18px;
  grid-area: labels;
  display: grid;
  align-content: center;
  gap: var(--space-16);
  min-inline-size: 0;
  padding-inline-end: var(--leader-stub);
}
/* (font-fix) the elbow rises from the rule's inline-end beside the name's last line: the name keeps 8px
   clear of it (in Talent FS "Days and hours" ran to 2px of the elbow in a 320px card) */
.features__labels .leader__name { padding-inline-end: var(--space-8); }
.features__labels .leader__note { text-wrap: pretty; }   /* no one-word last line ("all.", "book.") */
.features__leader { --leader-drop: 20px; }
.features__leader:nth-child(2) { --leader-drop: 16px; --leader-delay: 80ms; }
.features__leader:nth-child(3) { --leader-drop: 26px; --leader-delay: 160ms; }

/* the station's screen as a flat phone (the 3D phone belongs to the live stage) */
.features__shot {
  grid-area: shot;
  position: relative;
  inline-size: 6.5rem;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--device-body);
  border-radius: 18px;
  background-color: var(--device-body);
  box-shadow: var(--shadow-float);
}
.features__shot > img,
.features__shot > .features__scene {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 520 / 1108;
  border-radius: 14px;
  object-fit: cover;
}
.features__shot--drawn > .features__scene { background-color: var(--bg); }
/* stations 1, 2 and 3 (owner, 2026-11-29 / 11-30 / 12-01): up to three screens, one beside the other. Station 1: the
   WhatsApp reminder beside the labels, the WhatsApp arrival confirmation, then the app's confirmation screen
   (the recording's poster). Station 2: three stills of the owner's waitlist recording (joining the list, the
   notification, the app opened on the freed slot). Station 3: the stories, then the survey over them (two). Each
   comes in only when the card has room for it and a
   readable label column: the second from 28rem of content (1440 two-column, landscape phones), the third from
   40rem (tablets, landscape phones); a narrower card keeps the first alone. The query container is the static
   card only (the live stage's subgrid would lose it) */
.features__st--1,
.features__st--2,
.features__st--3 {
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas: "text text text text" "labels shot shotb shotc";
}
.features__shot--b,
.features__shot--c {
  display: none;
  margin-inline-start: var(--space-8);
}
.features__shot--b { grid-area: shotb; }
.features__shot--c { grid-area: shotc; }
@container (min-width: 28rem) {
  .features__shot--b { display: block; }
}
@container (min-width: 40rem) {
  .features__shot--c { display: block; }
}
/* station 3's screen (owner 2026-12-01): the survey a business sends pops up over the stories, as in the client app:
   a black scrim (the app dims its screen to about half), then the survey's bottom sheet (survey-sheet.jpg, cut from
   the owner's screenshot) slides up. The sheet keeps the screenshot's side margins (2.54% of the width) and stands as
   far from the bottom (1.19% of the height); the CSS radius (58 px of 896x1244) cuts the dimmed backdrop out of the
   crop's corners. A replaced element: its width is set, not stretched between two insets */
.features__scrim {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  opacity: .5;
}
.u-phone3d__layer > img.features__sheet {
  inset: auto auto 1.19% 2.54%;
  inline-size: 94.92%;
  block-size: auto;
  aspect-ratio: 896 / 1244;
  border-radius: 6.47% / 4.66%;
}
/* the camera pill over every screen (the crops carry their own; this one is 1px larger) */
.features__shot::after {
  content: "";
  position: absolute;
  inset-block-start: 1.42%;
  inset-inline-start: 33.75%;
  inline-size: 32.5%;
  block-size: 3.9%;
  border-radius: var(--radius-full);
  background-color: var(--device-screen);
}

@media (min-width: 560px) {
  .features__shot { inline-size: 7.5rem; border-width: 5px; border-radius: 21px; }
  .features__shot > img,
  .features__shot > .features__scene { border-radius: 16px; }
}
@media (min-width: 900px) {
  .features__frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__st { align-content: start; }
  /* the seventh card closes the grid on its own row: text | labels | screen */
  .features__st--7 {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    grid-template-areas: "text labels shot";
    column-gap: var(--space-48);
  }
  .features__st--7 .features__labels { margin-inline-end: calc(-1 * var(--space-48)); }
}

/* the drawings (stations 5, 7 on the screens; one flat icon per station). Station 1 shows the WhatsApp
   reminder and arrival confirmation (rendered from tools/build/screens/whatsapp.html, 2026-11-28) and, since
   2026-11-30, the owner's recording of the app's arrival confirmation (confirm-app.mp4 + its poster) ------ */
.features__scene { display: block; }
.features__scene .fs-g { fill: color-mix(in srgb, var(--navy) 13%, var(--white)); }
.features__scene .fs-n { fill: var(--navy); }
.features__scene .fs-b { fill: var(--illus-blue); }
.features__scene .fs-bt { fill: color-mix(in srgb, var(--illus-blue) 18%, var(--white)); }
.features__scene .fs-p { fill: var(--accent); }
.features__scene .fs-pt { fill: color-mix(in srgb, var(--accent) 9%, var(--white)); }
.features__scene .fs-soft { fill: var(--surface-2); }
.features__scene .fs-card { fill: var(--white); stroke: color-mix(in srgb, var(--navy) 14%, var(--white)); stroke-width: 2; }
.features__scene .fs-ln,
.features__scene .fs-lb,
.features__scene .fs-lp { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.features__scene .fs-ln { stroke: var(--navy); stroke-width: 3.5; }
.features__scene .fs-lb { stroke: var(--illus-blue); stroke-width: 3; }
.features__scene .fs-lp { stroke: var(--accent); stroke-width: 5; }
.features__scene .fs-ring { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); stroke-width: 3; }
.features__scene .fs-radio { fill: var(--white); stroke: var(--line-2); stroke-width: 2; }

/* the flat icons on night: the solid parts are the night linework (white), the outlines stay navy so
   two light shapes that touch stay apart */
.features__ico .fi-n { fill: var(--linework); }
.features__ico .fi-b,
.features__ico .fi-bo { fill: var(--illus-blue); stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.features__ico .fi-p { fill: var(--accent); }
.features__ico .fi-w { fill: var(--white); }
.features__ico .fi-wo { fill: var(--white); stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.features__ico .fi-pl { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.features__ico .fi-t { fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.features__ico .fi-ring { fill: var(--white); stroke: var(--accent); stroke-width: 4; }

/* ---- foot: works with + the CTA -------------------------------------------------------------- */
.features__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16) var(--space-32);
  margin-block-start: var(--head-gap);
  padding-block-start: var(--space-24);
  border-block-start: 1px solid var(--line);
}
.features__with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-24);
  margin: 0;
  color: var(--fg-3);
  font-size: var(--text-small);
}
.features__with-label { font-weight: var(--w-medium); }
.features__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--fg);
  font-weight: var(--w-bold);
}
.features__brand > img { inline-size: 22px; block-size: 22px; }
/* (trim) phones: "works with" and both marks share one line at 375px and up (12px after the label,
   16px between the marks; was 24px, which pushed Google Calendar onto a second line). It still wraps
   at 360px and with larger text */
@media (max-width: 559.98px) {
  .features__with { column-gap: var(--space-12); }
  .features__brand + .features__brand { margin-inline-start: var(--space-4); }
}

/* ============================================================================================
   LIVE: html.stages and the track not cramped. Layout, liveness and every actor switch together.
   ============================================================================================ */
html.stages .features__track.scene:not(.is-cramped) {
  --scene-live: 1;
  --scene-len: 320svh;
  --features-o: .10909;
  --features-s: .12727;
}
/* The phone is sized from the height the station text leaves (--features-st). The text row
   itself is sized by its content (the seven stations share it through subgrid, so it is the
   tallest one and never jumps); only the PHONE reads --features-st. Here it is an UPPER bound
   (chip row, a two-line title, a four-line lede: station 5's owner copy, 2026-12-01, runs to four
   lines at 336px; with two, the first check latched 360x600 static before section.js measured), so the runtime's first fit check, which runs
   before section.js, sees a phone that is too small rather than too big; section.js then writes
   the measured tallest block on the section and the phone grows into the room that is there.
   A real overflow (larger text, a 320px phone in English) crosses the frame's edge and the
   stage goes static through the cramped latch. */
html.stages .features:not(:has(.is-cramped)) {
  --features-st: calc(28px + 2 * var(--space-8) + 2 * 1.1 * 1.75rem + 4 * 1.45 * var(--text-small));
  --features-pw: min(43vw, (100svh - var(--stage-top) - var(--stage-bottom) - var(--space-12) - var(--features-st) - 2 * var(--space-12) - 44px - 20px) / 2.0584);
}
html.stages .features__track:not(.is-cramped) > .features__stage {
  isolation: isolate;                         /* the grid layer paints over the stage's own canvas */
  background-color: var(--bg);
}
html.stages .features__track:not(.is-cramped) .features__safe { display: flex; flex-direction: column; }
/* The frame runs on into the safe box's bottom padding (the dock band) by a negative margin and
   keeps clear of it with its last grid row: the runtime's fit check reads scrollHeight, which
   never counts content that only reaches into the bottom padding (05-story's .story__fit, wave A
   lesson 2), so a real overflow must cross the safe box's border edge */
html.stages .features__track:not(.is-cramped) .features__frame {
  flex: 1 1 0;
  min-block-size: 0;
  inline-size: auto;
  margin: 0 0 calc(-1 * var(--stage-bottom));
  padding-block: var(--space-12) 0;
  padding-inline: var(--gutter) max(var(--space-4), var(--gutter) - 30px);
  display: grid;
  grid-template-columns: [labels] minmax(0, 1fr) [dev] auto;
  /* the last row is the dock band + 20px (a row, not padding: rows that overflow the frame's padding
     would stay inside its border box, where the fit check cannot see them) */
  grid-template-rows: [st] auto [body] minmax(min-content, 1fr) [steps] auto [dock] calc(var(--stage-bottom) + 20px - var(--space-12));
  gap: var(--space-12) 0;
}
/* (the body row's minimum is min-content, not auto: with auto, Chromium let the label column of a
   subgridded station run past the row at 320px instead of growing it, so the fit check never saw it) */
html.stages .features__track:not(.is-cramped) .features__st {
  grid-row: 1 / 3;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  grid-template-areas: none;
  gap: inherit;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
}
html.stages .features__track:not(.is-cramped) :is(.features__st--1, .features__st--2, .features__st--3) { container-type: normal; }
/* a control is shown (.is-on, set by section.js) only while its station is on screen, so a hidden one is never
   focused or pressed. Below 900px it stands in the station row's inline-end corner, on the line of the station's
   counter and chip (the station's text keeps to the start side there); from 900px beside the stepper */
html.stages .features__track:not(.is-cramped) .features__ctl {
  display: inline-grid;
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: end;
  align-self: start;
  margin-block-start: -8px;
  visibility: hidden;
}
html.stages .features__track:not(.is-cramped) .features__ctl.is-on { visibility: visible; }
html.stages .features__track:not(.is-cramped) .features__text {
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: start;
  gap: var(--space-8);
}
html.stages .features__track:not(.is-cramped) .features__ico,
html.stages .features__track:not(.is-cramped) .features__shot { display: none; }
html.stages .features__track:not(.is-cramped) .features__name { font-size: 1.75rem; }
html.stages .features__track:not(.is-cramped) .features__line {
  font-size: var(--text-small);
  line-height: 1.45;
  text-wrap: balance;
}
/* the label column: as tall as the phone and centred on it, so every dot lands on its edge */
html.stages .features__track:not(.is-cramped) .features__labels {
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  align-content: space-between;
  gap: var(--space-12);
  min-block-size: calc(var(--features-pw) * 2.0584 - 2 * var(--space-16));
  margin-inline-end: 0;
}
html.stages .features__track:not(.is-cramped) .features__device {
  grid-row: 2;
  grid-column: 2;
  align-self: center;
  display: block;
}
html.stages .features__track:not(.is-cramped) .features__body {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
html.stages .features__track:not(.is-cramped) .features__phone { --phone-w: var(--features-pw); }
html.stages .features__track:not(.is-cramped) .features__dim { display: flex; }
html.stages .features__track:not(.is-cramped) .features__steps {
  grid-row: 3;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  /* seven 44px ticks need 308px: on the narrowest phones the row runs into the start gutter only
     (the end side holds the 24/7 line and has 4px) */
  margin-inline: min(0px, 100% - 308px) 0;
}

/* the dock row holds a box, so a frame that overflows really crosses the safe box's edge */
html.stages .features__track:not(.is-cramped) .features__floor { display: block; grid-row: -2 / -1; grid-column: 1 / -1; }

/* (trim) the foot rides up over the stage's empty dock band. The stage keeps its stepper clear of the
   dock with a last row (below 900: --stage-bottom + 20px after the stepper; from 900: --stage-bottom +
   24px), which is empty once the stage has landed at the end of its track. The foot's rule now sits
   36px under the stepper instead of the band plus the head gap (390: 148px, 1440: 104px). It moves into
   that band only in the last scroll of the track, under the dock, never over the stepper or the phone;
   it is positioned so it paints over the stuck stage's canvas. The track's length does not change. */
html.stages .features:not(:has(.is-cramped)) .features__foot {
  position: relative;
  z-index: 1;
  margin-block-start: calc(var(--space-16) - var(--stage-bottom));
}
@media (min-width: 900px) {
  html.stages .features:not(:has(.is-cramped)) .features__foot { margin-block-start: calc(var(--space-12) - var(--stage-bottom)); }
}

/* live, the stage starts right under the dusk (its part inside #features is the section's top padding),
   and an anchor still lands at p 0 with the stage filling the viewport (base.css: -anchor-top, less the dusk) */
html.stages .features:not(:has(.is-cramped)) {
  padding-block-start: var(--features-dusk-in);
  scroll-margin-block-start: calc(-1 * var(--anchor-top) - var(--features-dusk-in));
}
/* below 900px the head scrolls before the stage (KIT 4: restore what .section--stage takes): it rises out
   of the dusk's dark tail (--features-head-at, above), and an anchor lands on the head */
@media (max-width: 899.98px) {
  html.stages .features:not(:has(.is-cramped)) {
    padding-block-start: var(--features-head-at);
    scroll-margin-block-start: calc(var(--space-48) + var(--space-32) - var(--features-head-at));
  }
  html.stages .features:not(:has(.is-cramped)) .features__head { justify-items: center; text-align: center; }
  html.stages .features:not(:has(.is-cramped)) .features__head .section-head__actions { justify-content: center; }
  html.stages .features:not(:has(.is-cramped)) .features__intro { margin-block-end: var(--head-gap); }
  html.stages .features__track:not(.is-cramped) .features__plane--3 { display: none; }
  /* (font-fix) the label column, tightened for Talent FS: its wider Latin set station 4's English labels
     at 287px (two names on two lines, a one-liner on three), 5px past the 360x600 frame, and the stage
     latched static. The one-liners close up to 1.32 (17px: Talent's glyph box is 1.308em, so lines
     never touch) and the labels stand at least 8px apart (space-between still spreads them where the
     column has room); the measure stays, so no line reaches the leader's elbow. */
  html.stages .features__track:not(.is-cramped) .features__labels { gap: var(--space-8); }
  html.stages .features__track:not(.is-cramped) .features__labels .leader__note { line-height: 1.32; }
  /* the film frame keeps the names' full measure (360x600 has no 8px to spare: a third name line would
     latch it static); its balanced names stop short of the elbow */
  html.stages .features__track:not(.is-cramped) .features__labels .leader__name { padding-inline-end: 0; }
}

/* ---- from 900px: the head on top of the stage, station | labels | phone ---------------------- */
@media (min-width: 900px) {
  html.stages .features__track.scene:not(.is-cramped) {
    --scene-len: 412svh;
    --features-o: .19231;
    --features-s: .11538;
    /* a LOWER bound of the head (one lede line): the runtime's first fit check runs before
       section.js measures it, and the cramped latch must not keep a guess that is too high */
    --features-head: calc(1.5rem + 2 * var(--space-16) + 1.1 * var(--text-h2) + 1.6 * var(--text-lede) + var(--space-24) + 44px);
  }
  html.stages .features:not(:has(.is-cramped)) {
    --features-pw: min(320px, (100svh - var(--stage-top) - var(--stage-bottom) - 2 * var(--space-24)) / 2.0584);
  }
  /* the head: a sticky layer as tall as the stage, laid over its top (the two stick and release
     together, both inside .features__run); presses pass through it except on the skip link */
  html.stages .features:not(:has(.is-cramped)) .features__intro {
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    box-sizing: border-box;
    block-size: 100lvh;
    padding-block-start: calc(var(--stage-top) + var(--space-24));
    pointer-events: none;
  }
  /* the track is pulled up under the head (not the head's own negative margin: a sticky box may
     overhang its containing block by a negative margin, and the head stayed stuck 100lvh too long) */
  html.stages .features:not(:has(.is-cramped)) .features__track { margin-block-start: -100lvh; }
  html.stages .features:not(:has(.is-cramped)) .features__head {
    max-inline-size: calc(100% - var(--features-pw) - 30px - var(--space-48));
  }
  html.stages .features:not(:has(.is-cramped)) .features__skip {
    pointer-events: auto;
    /* inside html's scroll-padding band from 900 to 1023px (stage-top 0): without this a Tab onto
       it scrolls the page and moves the scene (wave A lesson 1) */
    scroll-margin-block-start: calc(-1 * var(--anchor-top));
  }
  html.stages .features__track:not(.is-cramped) .features__frame {
    padding-block: var(--space-24) 0;
    padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
    grid-template-columns: [st] minmax(0, 5fr) var(--space-48) [labels] minmax(0, 4fr) [dev] auto;
    grid-template-rows: [band] var(--features-head) [body] minmax(min-content, 1fr) [steps] auto [dock] var(--stage-bottom);
    gap: var(--space-24) 0;
  }
  html.stages .features__track:not(.is-cramped) .features__band { display: block; grid-row: 1; grid-column: 1 / 4; }
  html.stages .features__track:not(.is-cramped) .features__st {
    grid-row: 2;
    grid-column: 1 / 4;
    grid-template-rows: minmax(0, 1fr);
  }
  html.stages .features__track:not(.is-cramped) .features__text { grid-row: 1; grid-column: 1; gap: var(--space-12); }
  html.stages .features__track:not(.is-cramped) .features__ico { display: block; }
  html.stages .features__track:not(.is-cramped) .features__name { font-size: var(--text-h3); }
  html.stages .features__track:not(.is-cramped) .features__line { font-size: var(--text-body); line-height: var(--lh-body); }
  html.stages .features__track:not(.is-cramped) .features__labels {
    grid-row: 1;
    grid-column: 3;
    align-self: stretch;
    align-content: space-evenly;
    gap: var(--space-24);
    min-block-size: 0;
  }
  html.stages .features__track:not(.is-cramped) .features__device { grid-row: 1 / 4; grid-column: 4; }
  html.stages .features__track:not(.is-cramped) .features__steps {
    grid-row: 3;
    grid-column: 1 / 4;
    justify-content: flex-start;
    margin-inline: 0;
  }
  /* the control after the stepper's seven 44px buttons */
  html.stages .features__track:not(.is-cramped) .features__ctl {
    grid-row: 3;
    grid-column: 1 / 4;
    justify-self: start;
    align-self: center;
    margin-block-start: 0;
    margin-inline-start: calc(7 * 44px + var(--space-12));
  }
}

/* (fixer) from 900px the head stays on the stage, so its pink 'לבד.' / 'itself.' leads the whole scene:
   the station titles are all navy there (SPEC 7.7 gives the station title its accent below 900px only,
   where the head has scrolled away). The leaders and the 24/7 line stay magenta */
@media (min-width: 900px) {
  html.stages .features__track:not(.is-cramped) .features__name .hl__accent { color: inherit; }
}

/* (verifier) from 1024px the chrome's floating WhatsApp button holds the inline-end corner (24px off both
   edges, 48px). Below about 1320px the frame's end padding is under 56px, so the phone's outer edge and the
   foot of the 24/7 line ran under it (1024x768: the arrowhead at 745px, the button from 696px). There the
   device keeps the corner's 72px clear: a step from 72px to 0 at 1320px (no breakpoint of its own) */
@media (min-width: 1024px) {
  html.stages .features:not(:has(.is-cramped)) {
    --features-fab: clamp(0px, (1320px - 100vw) * 100, 72px);
    --features-pw: min(320px, (100svh - var(--stage-top) - var(--stage-bottom) - 2 * var(--space-24) - var(--features-fab)) / 2.0584);
  }
  html.stages .features__track:not(.is-cramped) .features__device { margin-block-end: var(--features-fab); }
}

/* the grid layer of the stage (the section's own grid is behind it; the stage paints its canvas) */
.features__art { display: none; }
html.stages .features__track:not(.is-cramped) .features__art { display: block; }

/* ---- the UI planes of the opening beat: real UI lifting off the screen ---------------------- */
/* (fixer) each plane is a crop of the screen the phone shows under them, the same file: since 2026-11-30
   (owner: no day view) the WhatsApp reminder (layer 0's .features__msg--a): the message bubble, two of its
   paragraphs (the greeting with the time, the business with its address and phone), the chat header.
   A crop is placed where it sits on the screen (--l --r --t --b: percent of the 390x831 screen, measured in
   tools/build/screens/whatsapp.html; physical: the message is Hebrew in both languages) and shows that part
   of the screen, so the exploded view is the real screen coming apart, not skeleton bars. The plane box is
   the screen box (KIT: inset by the bezel) */
.features__plane > i {
  position: absolute;
  inset: calc(var(--t) * 1%) calc(var(--r) * 1%) calc(var(--b) * 1%) calc(var(--l) * 1%);
  display: block;
  border-radius: 6px;
  background-color: var(--white);
  background-image: url("../media/features/whatsapp-reminder.svg");
  background-repeat: no-repeat;
  background-size: calc(10000% / (100 - var(--l) - var(--r))) calc(10000% / (100 - var(--t) - var(--b)));
  background-position: calc(100% * var(--l) / (var(--l) + var(--r))) calc(100% * var(--t) / (var(--t) + var(--b)));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--navy) 10%, transparent), var(--shadow-float);
}
.features__plane--1 { --plane-z: 46px; }
.features__plane--2 { --plane-z: 92px; }
.features__plane--3 { --plane-z: 138px; }
.features__bubble { --l: 10.77; --r: 2.56; --t: 47.68; --b: 9.39; border-radius: 8px; }  /* the reminder's bubble */
.features__part--a { --l: 10.77; --r: 2.56; --t: 51.35; --b: 30.02; }    /* the greeting, the time, "please come on time" */
.features__part--b { --l: 10.77; --r: 2.56; --t: 70.7; --b: 19.27; }     /* the business, its address and phone */
.features__bar { --l: 0; --r: 0; --t: 6.02; --b: 86.52; border-radius: 10px; }  /* the chat header */
@media (max-width: 899.98px) {
  .features__plane--1 { --plane-z: 40px; }
  .features__plane--2 { --plane-z: 80px; }
}

/* ---- the actors (both widths; the slices read --features-o and --features-s) ----------------- */
/* stations: the first leaves, the middle five come and go, the last arrives */
html.stages .features__track:not(.is-cramped) .features__st {
  --act: features-mid;
  --from: calc(var(--features-o) + var(--i) * var(--features-s));
  --to: calc(var(--features-o) + (var(--i) + 1) * var(--features-s));
}
html.stages .features__track:not(.is-cramped) .features__st--1 {
  --act: features-out;
  --from: calc(var(--features-o) + .9 * var(--features-s));
  --to: calc(var(--features-o) + var(--features-s));
}
html.stages .features__track:not(.is-cramped) .features__st--7 {
  --act: features-in;
  --from: calc(var(--features-o) + 6 * var(--features-s));
  --to: calc(var(--features-o) + 6.1 * var(--features-s));
}
/* screens: station k's screen cross-fades in at its boundary (the peak of the yaw) */
html.stages .features__track:not(.is-cramped) .features__l[data-act] {
  --act: e-fade;
  --from: calc(var(--features-o) + (var(--i) - .06) * var(--features-s));
  --to: calc(var(--features-o) + (var(--i) + .06) * var(--features-s));
}
/* station 1, one screen at a time (owner 2026-11-29 / 11-30). Layer 0 is the WhatsApp chat: the reminder holds
   from the opening to .2 and leaves by .25, the arrival confirmation comes in over the still chat by .3 (the
   stop, .45, shows it). Layer 1, the app's confirmation screen (the poster, the owner's recording
   confirm-app.mp4 over it), comes in from .6 to .66, not at the boundary like the other screens; section.js
   plays the recording once from .66 until layer 2 comes (.94) */
html.stages .features__track:not(.is-cramped) .features__msg--a {
  --act: features-msg-out;
  --from: calc(var(--features-o) + .2 * var(--features-s));
  --to: calc(var(--features-o) + .25 * var(--features-s));
}
html.stages .features__track:not(.is-cramped) .features__msg--b {
  --act: e-fade;
  --from: calc(var(--features-o) + .25 * var(--features-s));
  --to: calc(var(--features-o) + .3 * var(--features-s));
}
html.stages .features__track:not(.is-cramped) .features__l--1[data-act] {
  --from: calc(var(--features-o) + .6 * var(--features-s));
  --to: calc(var(--features-o) + .66 * var(--features-s));
}
/* station 3 (owner 2026-12-01): the stories screen comes at the boundary; the survey pops up over it from .2 of the
   station (the scrim by .3, the sheet up by .32), so the stop (.45) shows the survey over the dimmed stories */
html.stages .features__track:not(.is-cramped) .features__scrim {
  --act: features-scrim;
  --from: calc(var(--features-o) + 2.2 * var(--features-s));
  --to: calc(var(--features-o) + 2.3 * var(--features-s));
}
html.stages .features__track:not(.is-cramped) .features__sheet {
  --act: features-sheet-up;
  --from: calc(var(--features-o) + 2.2 * var(--features-s));
  --to: calc(var(--features-o) + 2.32 * var(--features-s));
}
/* the opening: three-quarter, then frontal (outer rig); the yaws between stations (the phone) */
html.stages .features__track:not(.is-cramped) .features__turn {
  --act: features-turn;
  --from: calc(.3 * var(--features-o));
  --to: var(--features-o);
}
html.stages .features__track:not(.is-cramped) .features__phone { --act: features-yaw; --from: var(--features-o); --to: 1; }
html.stages .features__track:not(.is-cramped) .features__glare { --act: features-glare; --from: var(--features-o); --to: 1; }
/* the exploded view settles onto the glass, the highest plane first */
html.stages .features__track:not(.is-cramped) .features__plane { --act: features-settle; }
html.stages .features__track:not(.is-cramped) .features__plane--1 { --from: calc(.45 * var(--features-o)); --to: var(--features-o); }
html.stages .features__track:not(.is-cramped) .features__plane--2 { --from: calc(.35 * var(--features-o)); --to: calc(.9 * var(--features-o)); }
html.stages .features__track:not(.is-cramped) .features__plane--3 { --from: calc(.25 * var(--features-o)); --to: calc(.8 * var(--features-o)); }
/* the 24/7 line grows with the whole scene; its chip comes in as the arrowhead passes it */
/* (verifier) at p 0 the collapsed line is only its two caps and arrowheads, a stray pink hourglass over
   the phone's corner. (fixer) It stays hidden until its shaft is about 4% of the phone (≈28px at 1440,
   a clear line, not a glyph) and fades in by 8% */
html.stages .features__track:not(.is-cramped) .features__dim { --act: e-fade; --from: .04; --to: .08; }
html.stages .features__track:not(.is-cramped) .features__dim-line { --act: dim-shaft-y; --from: 0; --to: 1; }
html.stages .features__track:not(.is-cramped) .features__dim-lead { --act: dim-lead-y; --from: 0; --to: 1; }
html.stages .features__track:not(.is-cramped) .features__dim-chip { --act: e-fade; --from: .46; --to: .52; }

/* ---- keyframes ------------------------------------------------------------------------------ */
/* blocks rest at opacity 0 while they wait (small layers: waiting at .004 stacks into a smudge) */
@keyframes features-out {
  from { opacity: 1; transform: translateY(0px); }
  to { opacity: 0; transform: translateY(-14px); }
}
@keyframes features-in {
  from { opacity: 0; transform: translateY(14px); animation-timing-function: var(--ease-out); }
  to { opacity: 1; transform: translateY(0px); }
}
@keyframes features-mid {
  0% { opacity: 0; transform: translateY(14px); animation-timing-function: var(--ease-out); }
  10%, 90% { opacity: 1; transform: translateY(0px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes features-scrim {
  from { opacity: 0; }
  to { opacity: .5; }
}
@keyframes features-sheet-up {
  from { transform: translateY(103%); animation-timing-function: var(--ease-out); }
  to { transform: none; }
}
@keyframes features-msg-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes features-turn {
  from { transform: var(--pose-a); animation-timing-function: var(--ease-in-out); }
  to { transform: var(--pose-front); }
}
/* six station boundaries at k / 7 of [o, 1]; each yaw lasts .6 of a station */
@keyframes features-yaw {
  0%, 10%, 18.571%, 24.286%, 32.857%, 38.571%, 47.143%, 52.857%, 61.429%, 67.143%, 75.714%, 81.429%, 90%, 100% {
    transform: var(--pose-front); animation-timing-function: var(--ease-in-out);
  }
  14.286%, 28.571%, 42.857%, 57.143%, 71.429%, 85.714% {
    transform: rotateY(calc(var(--dir) * 8deg)) rotateX(0deg); animation-timing-function: var(--ease-in-out);
  }
}
@keyframes features-glare {
  0%, 10%, 18.571%, 24.286%, 32.857%, 38.571%, 47.143%, 52.857%, 61.429%, 67.143%, 75.714%, 81.429%, 90%, 100% { opacity: 0; }
  14.286%, 28.571%, 42.857%, 57.143%, 71.429%, 85.714% { opacity: .1; }
}
@keyframes features-settle {
  0% { transform: translateZ(0px); opacity: 1; animation-timing-function: var(--ease-in-out); }
  65% { opacity: 1; }
  100% { transform: translateZ(calc(-1 * var(--plane-z))); opacity: 0; }
}

@media (forced-colors: active) {
  .features__st { border-color: CanvasText; }
  .features__shot { border-color: CanvasText; }
}

/* ==========================================================================
   06b-usecases
   ========================================================================== */
/* easytor-v2 · 06b-usecases/section.css — NIGHT / glow: who it's for (SPEC 7.8; night since v2.1).

   Eight business types as tabs (icon + name; the selected one a navy fill, no cap; a 2 x 4 grid
   with 48px rows below 720px, 4 x 2 from 720px, so all eight are visible; fitness trainers and
   private tutors joined the six on 2026-12-01), and per type a panel: the verdict
   headline (its last word .hl__accent), one paragraph, the bar CTA carrying data-topic, and
   beside it the overnight card: a night .island with three notifications and the morning
   greeting on a day strip at its foot, the chip "המחשה".

   STATIC (no JS): the tabs are not rendered (they could not work); every panel shows, stacked,
   each with its own trade line (.usecases__kind). With JS the tabs work at once (html.js), even
   before section.js: the first panel shows, the others wait (display none) until the script
   marks the section ready and the hidden attributes take over (no layout jump on init).
   MOTION (html.motion): a tab change is a 180ms cross-fade (.is-in / .is-out, section.js), then
   the three notifications pop in time order (hits, 100ms apart, after the fade). Scroll: each
   island stage (.usecases__isle) is an enter scene; the card tips in and lands flat by .6, the
   notifications pop when it is half in (p .5, section.js), and the greeting strip cross-fades
   from night to day (.48 .. .6): the page's dawn in miniature. */

/* ---- night (owner, v2.1) -------------------------------------------------------------
   The section is the hero's night (data-world="night"): its canvas is the night --bg at both
   edges. Its light is the copy-safe night glow (data-surface="glow", no bright core), set where
   the overnight card stands (inline-end; under the text below 900px) and gone --overlay-fade
   before each edge, so no seam shows against #features above or #how below. */
.usecases.section[data-surface="glow"] {
  --glow-size: min(100%, 760px) calc(100% - 2 * var(--overlay-fade));
  background-position: 50% calc(100% - var(--overlay-fade));
}
@media (min-width: 900px) {
  .usecases.section[data-surface="glow"] {
    --glow-size: min(62%, 860px) calc(100% - 2 * var(--overlay-fade));
    background-position: var(--end) 2% top var(--overlay-fade);
  }
}

/* ---- head --------------------------------------------------------------------------- */
/* (font-fix) 46rem (was 44): in Talent FS the English heavy line "For every kind of business." is about
   710px at 56px and broke onto a second line at 1440, so the head stood a line taller in English than in
   Hebrew and a language switch moved the island under the reader (qa-usecases: its tilt 15 -> 17.7deg) */
.usecases__title { max-inline-size: min(100%, 46rem); }

/* ---- tabs --------------------------------------------------------------------------- */
.usecases__tabs { margin-block-end: var(--space-24); }   /* (trim) was 32 */
html:not(.js) .usecases__tabs { display: none; }
/* below 560px two columns (the 2 x 3 grid); a column is at least 8.25rem, so at 200% text the
   tabs stack in one column instead of breaking "וברברשופ" inside the word */
.usecases__tablist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(8.25rem, 40%), 1fr));
  gap: var(--space-8);
}
.usecases__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-inline-size: 0;
  min-block-size: 48px;
  margin: 0;
  /* (trim) a two-line name ("Barbershops / & salons") fits the 48px row: 6px padding, 1.15 leading
     (was 8px and 1.25, which made those rows 63px) */
  padding: 6px var(--space-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--fg);
  font: inherit;
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.usecases__tab .icon { color: var(--fg-2); }
.usecases__tab-label { min-inline-size: 0; overflow-wrap: break-word; text-wrap: balance; }
.usecases__tab:hover { border-color: var(--line-2); }
.usecases__tab[aria-selected="true"] {
  border-color: var(--fg);
  background-color: var(--fg);
  box-shadow: none;
  color: var(--surface);
  cursor: default;
}
.usecases__tab[aria-selected="true"] .icon { color: var(--surface); }
html.motion .usecases__tab { transition: transform var(--dur-1) var(--ease-out); }
html.motion .usecases__tab:active { transform: scale(.98); }

/* (font-fix) under 360px a tab leaves its name 82px; in Talent FS "Barbershops" is 93px at 15px and broke
   inside the word ("Barbersho / ps"): English names there are 14px with 8px ends and a 6px icon gap (92px
   for an 87px word). Hebrew's longest word is 67px and keeps the 15px tab. */
@media (max-width: 359.98px) {
  .usecases__tab:lang(en) { gap: 6px; padding-inline: var(--space-8); font-size: .875rem; }
}
/* eight trades (owner 2026-12-01: fitness trainers and private tutors joined the six): two even columns (four
   rows) below 720px, four columns (two rows) from 720px. Before: three columns from 560px and one row of six from
   1280px; one row of eight would break names inside a word. A tab needs about 147px for its longest name at 15px
   ("Barbershops" is 93px, plus the icon, the gap and the ends), so four columns need about 612px of row */
@media (min-width: 720px) {
  .usecases__tablist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .usecases__tab { padding-inline: var(--space-16); }
}

/* ---- panels ------------------------------------------------------------------------- */
.usecases__panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-64);
}
.usecases__panel {
  --usecases-lag: 0ms;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--space-24);                         /* (trim) was 32 (stacked below 900px) */
  min-inline-size: 0;
}
/* with JS the panels share one cell (an outgoing and an incoming panel overlap while they
   cross-fade); until section.js is ready only the first one shows */
html.js .usecases__panel { grid-area: 1 / 1; }
html.js .usecases:not(.usecases--ready) .usecases__panel ~ .usecases__panel { display: none; }

.usecases__text {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: var(--space-16);
  min-inline-size: 0;
}
.usecases__kind {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0;
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-bold);
}
.usecases__kind .icon { color: var(--fg-2); }
html.js .usecases__kind { display: none; }
/* the verdict is the panel's big moment, but it stays a step under the section's h2: the same
   32px on phones; (fixer) from 900px, where the h2 is 56px and both are in view, it is the h3 step
   (32px, on the type scale; 44px was off it), so the h2's pink word leads and the panel reads as a
   sub-level. Its quiet lead-in is .75em there (24px), still a step over the 20px paragraph */
.usecases__verdict { margin: 0; font-size: min(var(--text-h2), 2.75rem); }
@media (min-width: 900px) {
  .usecases__verdict { font-size: var(--text-h3); }
  .usecases__verdict .hl__quiet--sm { font-size: .75em; }
}
.usecases__p {
  margin: 0;
  max-inline-size: 32rem;
  color: var(--fg-2);
  font-size: var(--text-lede);
  text-wrap: pretty;
}
.usecases__cta { margin-block-start: var(--space-8); }

@media (min-width: 900px) {
  .usecases__panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--space-64);
  }
}

/* ---- the overnight card (a night island) ---------------------------------------------- */
.usecases__isle {
  display: grid;
  justify-items: center;
  min-inline-size: 0;
  perspective: var(--perspective);             /* the card's DIRECT parent */
  perspective-origin: var(--perspective-origin);
}
@media (min-width: 900px) {
  .usecases__isle { justify-items: end; }
}
.usecases__card {
  display: grid;
  gap: var(--space-12);                         /* (trim) was 16 */
  inline-size: min(100%, 30rem);
  min-inline-size: 0;
  /* on the night page the island still reads as a card: its lifted surface (the kit's), a hairline
     rim and a soft royal glow under it (the night --shadow-float) */
  box-shadow: var(--shadow-float);
}
.usecases__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8) var(--space-16);
}
.usecases__card-title {
  margin: 0;
  color: var(--fg);
  font-size: var(--text-h4);
  font-weight: var(--w-bold);
  line-height: 1.25;
}
.usecases__events {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* a notification on the night lock screen: the app icon, what happened, when */
.usecases__event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-12);
  padding: 10px 14px;                           /* (trim) was 12px block */
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--surface-2);
  color: var(--fg);
  font-size: var(--text-small);
  line-height: 1.35;
  --hit-delay: calc(var(--usecases-lag) + var(--i) * 100ms);
}
.usecases__app {
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
}
.usecases__app img { inline-size: 24px; block-size: 24px; }
.usecases__what { min-inline-size: 0; overflow-wrap: break-word; text-wrap: pretty; }
.usecases__time {
  align-self: start;
  color: var(--fg-3);
  font-size: var(--text-caption);
  font-weight: var(--w-medium);
  font-variant-numeric: tabular-nums;
}

/* the morning greeting: a strip at the card's foot. Two copies stacked in one cell: the night
   one under (aria-hidden), the day one over it (data-world="day", the real text). Static, the
   day strip covers the night one; live, it fades in over it (.48 .. .6). */
.usecases__greet {
  display: grid;
  margin-block-start: var(--space-4);
  margin-inline: calc(-1 * var(--card-pad) - 1px);    /* over the island's own border: the strip */
  margin-block-end: calc(-1 * var(--card-pad) - 1px); /* is the card's foot, edge to edge */
}
.usecases__greet-night,
.usecases__greet-day {
  grid-area: 1 / 1;
  margin: 0;
  padding: var(--space-12) var(--card-pad);   /* (trim) was 16px block */
  border-end-start-radius: var(--radius-card);
  border-end-end-radius: var(--radius-card);
  color: var(--fg);
  font-weight: var(--w-medium);
  text-wrap: pretty;
}
.usecases__greet-night { background-color: var(--bg-step-2); border-block-start: 1px solid var(--line); }
.usecases__greet-day { background-color: var(--surface); }   /* white: the day canvas itself would melt into the page */

/* ============================================================================================
   MOTION
   ============================================================================================ */
/* the island: an enter scene at every width */
.usecases__isle { --scene-live: 1; }
/* (fixer) the island stays opaque navy while it tips (KIT 9: a rig is never faded); the rule that text
   stays under .3 opacity while tilted more than 8deg (SPEC 5.4) is kept on its leaves: the title row,
   the notifications and the night strip follow the kit's tip-in opacity curve (.28 at the 70% key,
   where the tilt reaches 8deg). Before, the whole card faded and showed as a grey-lilac ghost */
.usecases__card { --act: e-tip-in; --tip: 34deg; --tip-o: 1; --tip-o-mid: 1; --from: 0; --to: .6; }
.usecases__card-top,
.usecases__events,
.usecases__greet-night { --act: usecases-ink; --from: 0; --to: .6; }
@keyframes usecases-ink {
  0% { opacity: 0; }
  70% { opacity: .28; }
  100% { opacity: 1; }
}
.usecases__greet-day { --act: usecases-dawn; --from: .48; --to: .6; }
@keyframes usecases-dawn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* the tab swap: a 180ms cross-fade on the panels (outside the island's perspective) */
@keyframes usecases-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes usecases-out { from { opacity: 1; } to { opacity: 0; } }
html.motion .usecases__panel.is-in { animation: usecases-in 180ms var(--ease-out) both; }
html.motion .usecases__panel.is-out { animation: usecases-out 180ms var(--ease-out) both; pointer-events: none; }

/* ---- forced colours ------------------------------------------------------------------- */
@media (forced-colors: active) {
  .usecases__tab { border: 2px solid ButtonText; }
  .usecases__tab[aria-selected="true"] { border-color: Highlight; outline: 2px solid Highlight; }
  .usecases__event { border-color: CanvasText; }
}

/* ===========================================================================
   07-how
   =========================================================================== */
/* easytor-v2 · 07-how/section.css — how to start (#how), SPEC 7.9. Owner: quiet.

   STATIC (no JS, reduced motion): four night cards on one pink line, the finished page.
     <  900px  a rail at the inline-start: every step draws its piece of it (.how__seg, from the
               gap above it to its own bottom; the first starts at its dot, the last ends at it),
               so the rail runs dot to dot without a measured length. The card holds the numeral
               beside the title and the line (an index, short on a phone).
     >= 900px  four columns; one line (.how__line) above them from the first dot to the last,
               each card hanging under its dot, the numeral on top.
   LIVE (an enter scene, html.motion; the runtime collects the actors):
     >= 900px  .how__track is the scene. The line draws from the reading start over .14 .. .44;
               step i "lands" when the line reaches its dot, at a = .14 + i × .1: its dashed
               outline tips in (34deg, a − .1 .. a), its dot pops (a − .02 .. a + .03) and the
               solid card cross-fades over the outline (a .. a + .04). The last ends at .48, so an
               anchor jump to #how (p .48 at 1280x720, .52 at 1440x800, .57 at 1440x900) lands on
               four finished steps (verifier: with the old .2 .. .6 timing step 04 was still an
               empty outline there).
     <  900px  each .how__step is its own scene: rail piece 0 .. .26, dot .08 .. .16, outline
               tips in (30deg) .02 .. .24, card .24 .. .32.
   The outline (.how__ghost) has no text and stays opaque while tipped; the card (all the text)
   is at opacity 0 until its plane is flat (SPEC 5.4). */

/* The closing run (how, pricing, voices, FAQ) is one stretch of the day canvas with nothing painted at its seams,
   so two full section pads (128px on a phone, 195 at 1440) stood between one section's last card and the next
   eyebrow. Inside the run each seam is ONE --section-pad: half on either side (page-height trim, after W5).
   How opens the run at half the pad too (usecases' own full pad stands above it: 1.5 pads); the FAQ's foot
   keeps the full pad toward contact. */
.how { padding-block: calc(var(--section-pad) / 2); }

/* ---- NIGHT (owner, after W6): from #features to the footer the page is the hero's night ------------------
   The canvas is the night --bg at every edge (.section paints it), so how, pricing, voices and the FAQ run on
   one seamless sheet. Each section lays ONE soft light (--glow-soft, the copy-safe one: no bright core) where its
   content sits, on an aria-free pseudo layer at reduced strength, kept --overlay-fade inside the top and bottom
   edges: a closest-side radial is fully transparent at its own box edge, so nothing shows at a seam.
   THE CLOSING CARD (the same recipe in 07-how, 10-pricing, 11-faq): --surface (one step above the canvas), a
   hairline --line rim, a top sheen from --surface-2 and a 1px light catch on the top edge. No dark shadow
   (SPEC 3.2: elevation at night is an edge plus light). The islands (plan card, voices stage) go one step
   further: --surface-2, --island-art, --shadow-float. */
.how {
  --close-sheen: linear-gradient(to bottom, color-mix(in srgb, var(--surface-2) 72%, var(--surface)), var(--surface) 62%);
  --close-catch: inset 0 1px 0 color-mix(in srgb, var(--fg) 9%, transparent);
}
.how::before {
  content: "";
  position: absolute;
  inset: var(--overlay-fade) 0;
  z-index: -1;
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: 50% 62%;
  background-size: min(100%, 1320px) 100%;
  opacity: .7;
  pointer-events: none;
}
.how__card {
  background-image: var(--close-sheen);
  box-shadow: var(--close-catch);
}

.how {
  --how-dot: 12px;                         /* the dot on the line */
  --how-halo: 4px;                         /* the canvas ring that cuts the line around a dot */
  --how-rail: 24px;                        /* the rail column below 900px */
  --how-num: 2.5rem;                       /* the numeral (navy 900) */
}

/* ---- the list ------------------------------------------------------------------------------ */
.how__track { position: relative; }

.how__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.how__step {
  /* where the line reaches this step (>= 900px slices) */
  --how-a: calc(.14 + var(--i) * .1);
  position: relative;
  display: grid;
  grid-template-columns: var(--how-rail) minmax(0, 1fr);
  column-gap: var(--space-12);
  min-inline-size: 0;
  perspective: var(--perspective);         /* the plane's DIRECT parent */
  perspective-origin: var(--perspective-origin);
}

/* the dot: raw magenta (decoration: the order is the list's own), ringed in the canvas, with the brand's
   magenta glow at night (SPEC 3.2: magenta objects glow) */
.how__dot {
  position: absolute;
  z-index: 1;
  inset-inline-start: calc(var(--how-rail) / 2 - var(--how-dot) / 2);
  inset-block-start: calc(var(--how-dot-y) - var(--how-dot) / 2);
  inline-size: var(--how-dot);
  block-size: var(--how-dot);
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 var(--how-halo) var(--bg), var(--accent-glow);
}
/* the destination: the last dot wears the thin ring of the film's end card */
.how__dot--end::before {
  content: "";
  position: absolute;
  inset: calc(-1 * (var(--how-halo) + 4px));
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

/* the rail piece of a step (below 900px): from the gap above it to its own bottom */
.how__seg {
  position: absolute;
  inset-inline-start: calc(var(--how-rail) / 2 - 1px);
  inset-block: calc(-1 * var(--grid-gap)) 0;
  inline-size: 2px;
  background-color: var(--accent);
}
.how__step:first-child .how__seg { inset-block-start: var(--how-dot-y); }
.how__step:last-child .how__seg { inset-block-end: calc(100% - var(--how-dot-y)); }

/* the horizontal line (from 900px) */
.how__line { display: none; }

/* ---- the step: an outline plane that holds the card ----------------------------------------- */
.how__plane {
  position: relative;
  grid-column: 2;
  display: grid;
  min-inline-size: 0;
}
.how__ghost {
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-card);
  opacity: 0;                              /* the static page shows the solid card only */
}
.how__card {
  display: grid;
  /* a fixed numeral column (not min-inline-size on the dir="ltr" numeral: its spare width fell on the
     inline-start side in Hebrew), so the titles of the four cards still align */
  grid-template-columns: calc(var(--how-num) * 1.25) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--space-16);
  row-gap: var(--space-4);
  align-content: start;
  min-inline-size: 0;
}
.how__num {
  grid-row: 1 / span 2;
  color: var(--fg);
  font-size: var(--how-num);
  font-weight: var(--w-black);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: proportional-nums lining-nums;   /* tabular '1' carries side bearings: in Hebrew its ink stood 7px off the card's text edge */
  /* the numeral is dir="ltr" (digit order), so its own text-align: start would be LEFT in Hebrew too;
     it shrinks to its digits and sits at the card's inline-start (the grid's direction), under its dot */
  justify-self: start;
}
.how__name {
  color: var(--fg);
  font-size: var(--text-h4);
  font-weight: var(--w-bold);
  line-height: 1.3;
  letter-spacing: 0;
}
.how__text {
  color: var(--fg-2);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

/* below 900px (page-height trim, after W5): the numeral stands beside the title only and the line runs under
   both at the card's full width, so a phone's text column is not narrowed by the numeral (a line less per
   card). Reset from 900px and in the narrow-card query below. */
@media (max-width: 899.98px) {
  .how__card { grid-template-rows: auto auto; row-gap: var(--space-8); }
  .how__num { grid-row: 1; }
  .how__name { grid-column: 2; align-self: center; }
  .how__text { grid-column: 1 / -1; }
}

/* a narrow card (320px, or a visitor's large text) stacks the numeral over the title, so the words
   keep a usable measure; the dot still sits on the numeral's centre line. 17em: at 320px the plane is
   244px wide and side by side left a 136px text column of two-word lines (verifier); at 360 (284px)
   the row layout keeps a 176px column. */
.how__plane { container-type: inline-size; }
@container (max-width: 17em) {
  .how__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; row-gap: var(--space-4); }
  .how__num { grid-row: auto; margin-block-end: var(--space-8); }
  .how__name, .how__text { grid-column: auto; align-self: auto; }
}

/* the dot sits on the numeral's centre line (card border + padding + half the numeral) */
.how { --how-dot-y: calc(1px + var(--card-pad) + var(--how-num) / 2); }

/* The heavy line "בארבעה צעדים." is one no-break pair (SPEC 3.3: the pink word never alone), so it cannot
   wrap. At 200% text on a phone it would be 450px wide and push the whole page sideways (whole-page review):
   the headline stops growing at 12vw, where the pair still fits a 320px screen. At 100% text the h2 is
   always smaller than 12vw (32px at 390, 56px from 1300), so nothing changes there. */
.how__title { font-size: min(var(--text-h2), 12vw); }

/* ---- from 900px: four columns hanging from one line ------------------------------------------ */
@media (min-width: 900px) {
  .how {
    --how-num: clamp(3rem, 1.9rem + 1.9vw, 4rem);
    --how-row: 44px;                       /* the band above the cards that holds the line */
  }
  .how__track { padding-block-start: var(--how-row); }
  .how__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how__step { display: grid; grid-template-columns: minmax(0, 1fr); }
  .how__plane { grid-column: 1; }
  .how__seg { display: none; }

  /* the dot above the card's inline-start padding, so it stands over the numeral */
  .how__dot {
    inset-inline-start: calc(1px + var(--card-pad));
    inset-block-start: calc(var(--how-row) / -2 - var(--how-dot) / 2);
  }

  /* first dot centre to last dot centre: every column is (100% - 3 gaps) / 4 wide */
  .how__line {
    display: block;
    position: absolute;
    inset-block-start: calc(var(--how-row) / 2 - 1px);
    inset-inline-start: calc(1px + var(--card-pad) + var(--how-dot) / 2);
    inset-inline-end: calc((100% - 3 * var(--grid-gap)) / 4 - 1px - var(--card-pad) - var(--how-dot) / 2);
    block-size: 2px;
    background-color: var(--accent);
    transform-origin: var(--start) 50%;
  }

  .how__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    row-gap: var(--space-8);
  }
  .how__num { grid-row: auto; margin-block-end: var(--space-8); }
  .how__name, .how__text { grid-column: auto; align-self: auto; }
}

/* ---- LIVE --------------------------------------------------------------------------------- */
@keyframes how-solid {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes how-outline-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 899.98px) {
  .how__step { --scene-live: 1; }
  .how__seg { --act: e-draw; --draw-x: 1; --draw-y: 0; transform-origin: 50% 0; --from: 0; --to: .26; }
  .how__dot { --act: e-pop; --from: .08; --to: .16; }
  .how__plane { --act: e-tip-in; --tip: 30deg; --tip-y: 10%; --tip-o: 1; --tip-o-mid: 1; --from: .02; --to: .24; }
  .how__ghost { --act: how-outline-out; --from: .25; --to: .32; }
  .how__card { --act: how-solid; --from: .24; --to: .32; }
}
@media (min-width: 900px) {
  .how__track { --scene-live: 1; }
  .how__line { --act: e-draw; --from: .14; --to: .44; }
  .how__dot { --act: e-pop; --from: calc(var(--how-a) - .02); --to: calc(var(--how-a) + .03); }
  .how__plane { --act: e-tip-in; --tip: 34deg; --tip-o: 1; --tip-o-mid: 1; --from: calc(var(--how-a) - .1); --to: var(--how-a); }
  .how__ghost { --act: how-outline-out; --from: var(--how-a); --to: calc(var(--how-a) + .04); }
  .how__card { --act: how-solid; --from: var(--how-a); --to: calc(var(--how-a) + .04); }
}

/* ---- forced colours: the line and the dots are backgrounds ------------------------------------ */
@media (forced-colors: active) {
  .how__line,
  .how__seg,
  .how__dot {
    forced-color-adjust: none;
    background-color: CanvasText;
    box-shadow: none;
  }
  .how__dot--end::before { border-color: CanvasText; }
}

/* ===========================================================================
   10-pricing
   =========================================================================== */
/* easytor-v2 · 10-pricing/section.css — pricing (#pricing), SPEC 7.10. Owner: quiet.

   STATIC: the head, then the bento. Below 900px the three tiles stack (plan, included, why);
   from 900px the plan island stands on the inline-start over two rows (5 of 12 columns) beside
   "what's included" (the widest tile) and "why it pays off" (7 columns each).
   LIVE (enter scenes, html.motion): from 900px the bento is the scene and each tile comes in from
   depth (-180px) one after another (.02 .. .28, +.06 per tile: done by .40, so an anchor jump to
   #pricing, p .36 at 1280x720, finds the first row in place); below 900px each cell
   is its own scene (-140px, 0 .. .5). The cell is the tile's DIRECT parent and carries the
   perspective. The ticks are hits (section.js), not actors. */

/* The heavy line is a no-break pair ("בלי מדרגות."): at 200% text on a 320px phone the h2 stops growing at
   12vw so the pair fits (whole-page review); at 100% text the h2 is always smaller than 12vw. */
.pricing__title { font-size: min(var(--text-h2), 12vw); }

/* inside the closing run each seam is one --section-pad, half on either side (07-how/section.css) */
.pricing { padding-block: calc(var(--section-pad) / 2); }

/* ---- NIGHT (owner, after W6): the section sits on the hero's night, one sheet with how, voices and the FAQ.
   The light: one soft pool (--glow-soft, copy-safe) behind the plan card at the inline-start, kept
   --overlay-fade off both edges (07-how/section.css explains the recipe and THE CLOSING CARD). */
.pricing {
  --close-sheen: linear-gradient(to bottom, color-mix(in srgb, var(--surface-2) 72%, var(--surface)), var(--surface) 62%);
  --close-catch: inset 0 1px 0 color-mix(in srgb, var(--fg) 9%, transparent);
}
.pricing::before {
  content: "";
  position: absolute;
  inset: var(--overlay-fade) 0;
  z-index: -1;
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: var(--start) 18% bottom 0;
  background-size: min(100%, 1100px) 82%;
  opacity: .7;
  pointer-events: none;
}
.pricing__incl,
.pricing__why {
  background-image: var(--close-sheen);
  box-shadow: var(--close-catch);
}

/* ---- the bento ---------------------------------------------------------------------------- */
.pricing__cell {
  display: grid;
  min-inline-size: 0;
  perspective: var(--perspective);
  perspective-origin: var(--perspective-origin);
}
.pricing__tile {
  display: grid;
  align-content: start;
  min-inline-size: 0;
}

/* ---- the plan island ---------------------------------------------------------------------- */
.pricing__plan {
  grid-template-rows: auto auto auto 1fr;
  gap: var(--space-16);
}
/* THE offer on night: the island one step up (--surface-2) under its own royal light (--island-art at the
   top centre) and a magenta bloom rising from its foot; a magenta-tinted rim, the light catch on the top
   edge, and the brand's glow around it (magenta objects glow, never a shadow). Text sits on --surface-2 or
   on the island light, both pairs of the contrast table. */
.pricing__plan {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line-2));
  background-color: var(--surface-2);
  background-image:
    var(--island-art),
    radial-gradient(ellipse 90% 46% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--fg) 14%, transparent),
    0 0 0 4px color-mix(in srgb, var(--accent) 8%, transparent),
    0 0 72px -12px color-mix(in srgb, var(--accent) 38%, transparent),
    var(--shadow-float);
}
.pricing__name { margin: 0; }
.pricing__figure {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-8) var(--space-4);
}
.pricing__price {
  margin: 0;
  color: var(--fg);
  line-height: 1;
}
.pricing__period {
  color: var(--fg-3);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
}
.pricing__note {
  max-inline-size: 26rem;
  color: var(--fg-2);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}
.pricing__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: end;
  gap: var(--space-12);
  margin-block-start: var(--space-8);
  padding-block-start: var(--space-16);
  border-block-start: 1px solid var(--line);
}
.pricing__actions .btn { inline-size: 100%; }
/* (font-fix) under 360px the tile leaves the pill's label 144px: "לקבלת הצעת מחיר" (168px at 20px in
   Talent FS) wrapped onto two lines; there the two pills take the regular button type (17px, 18px ends) */
@media (max-width: 359.98px) {
  .pricing__actions .btn--lg { --btn-size: 1.0625rem; --btn-pad: 18px; }
}

/* ---- the two tiles (closing cards) -------------------------------------------------------------------- */
.pricing__h {
  margin-block-end: var(--space-12);
  color: var(--fg);
  font-size: var(--text-h4);
  font-weight: var(--w-bold);
  line-height: 1.25;
}

.pricing__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-12);
  padding-block: var(--space-8);
  border-block-start: 1px solid var(--line);
  color: var(--fg);
  font-size: var(--text-body);
  font-weight: var(--w-medium);
  line-height: 1.4;
}
.pricing__item:first-child { border-block-start: 0; padding-block-start: 0; }
.pricing__item-text { min-inline-size: 0; text-wrap: pretty; }

/* the green tick disc with the navy tick (SPEC 3.2: success fill, #00194d tick) */
.pricing__tick {
  display: grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background-color: var(--success);
  color: var(--navy-deep);
}
.pricing__tick svg {
  inline-size: 16px;
  block-size: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing__reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-16);
}
.pricing__reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--space-16);
}
.pricing__reason-body { display: grid; gap: var(--space-4); min-inline-size: 0; }
.pricing__reason-name {
  color: var(--fg);
  font-size: var(--text-body);
  font-weight: var(--w-bold);
  line-height: 1.4;
  letter-spacing: 0;
}
.pricing__reason-text {
  color: var(--fg-2);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

/* the included list in two columns where the tile is wide enough */
@media (min-width: 560px) {
  .pricing__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-32); }
  .pricing__item { padding-block: var(--space-12); }
  .pricing__item:nth-child(2) { border-block-start: 0; padding-block-start: 0; }
}

@media (min-width: 900px) {
  .pricing__plan { gap: var(--space-24); }
  .pricing__figure { padding-block: var(--space-16) var(--space-8); }
  .pricing__reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-32); }
}

/* ---- LIVE --------------------------------------------------------------------------------- */
@media (max-width: 899.98px) {
  .pricing__cell { --scene-live: 1; }
  .pricing__tile { --act: e-depth-in; --depth: -140px; --from: 0; --to: .5; }
}
@media (min-width: 900px) {
  .pricing__grid { --scene-live: 1; }
  .pricing__tile { --act: e-depth-in; --depth: -180px; --from: calc(.02 + var(--i) * .06); --to: calc(.28 + var(--i) * .06); }
}

/* ---- forced colours: the tick disc is a fill -------------------------------------------------- */
@media (forced-colors: active) {
  .pricing__tick { forced-color-adjust: none; background-color: Canvas; color: CanvasText; border: 2px solid CanvasText; }
}

/* ==========================================================================
   08-voices
   ========================================================================== */
/* easytor-v2 · 08-voices/section.css — NIGHT section (the closing run, owner after W6), night-island stage: the customer-video coverflow (SPEC 7.11).
   Static first: without JavaScript the island holds a plain, natively scrollable row of flat portrait frames
   (all five fit from about 1100px), no arrows (they cannot work), every frame at full strength.
   Then, in layers:
     html.js      the row gets half a viewport of padding on both sides so any card can stand in the centre;
                  arrows, position ticks and the neighbours' navy scrim (section.js writes --d and --ad on each
                  card from the scroll position: --d = the card's signed distance from the centre in cards,
                  positive toward the inline END; --ad = min(|d|, 2));
     html.motion  the coverflow in 3D: the viewport carries the page perspective and every card is posed
                  from --d and --dir, so it mirrors with the language (SPEC 5.1); the island is an enter scene
                  whose actors fan the neighbours out from behind the centre card (depth-in, SPEC 5.4).
   3D chain (KIT §9): .voices__viewport (perspective; the scroller) > .voices__list > .voices__slot >
   .voices__fan (actor: the fan) > .voices__card (the coverflow pose) > planes (frame, icon, name).
   Everything between the perspective element and the planes keeps preserve-3d and has no opacity, overflow,
   clip or filter; the frame and the icon disc are leaf planes (they clip and dim). */

/* ---- the section ------------------------------------------------------------------------- */
.voices {
  --voice-w: clamp(196px, 15vw + 48px, 264px);         /* a frame with a real video: 196 → 264px wide */
  --voice-gap: var(--grid-gap);                          /* flat rows (no JS, reduced motion) */
  --voice-span: calc(var(--voice-w) + var(--voice-gap));
  --voice-icon: clamp(44px, var(--voice-w) * .26, 68px);
}
/* the 3D coverflow needs more air: neighbours turn and recede */
html.motion .voices { --voice-gap: clamp(16px, 3.4vw - 4px, 44px); }

/* inside the closing run each seam is one --section-pad, half on either side (07-how/section.css) */
.voices { padding-block: calc(var(--section-pad) / 2); }

/* ---- NIGHT (owner, after W6): the section sits on the hero's night, one sheet with how, pricing and the FAQ
   (07-how/section.css). Its light (--glow-soft, copy-safe, reduced) stands behind the stage, --overlay-fade
   off both edges. The stage is the night island lifted off the canvas: --surface under --island-art, a
   hairline rim with a light catch on its top edge, and the night --shadow-float (an edge plus blue light). */
.voices::before {
  content: "";
  position: absolute;
  inset: var(--overlay-fade) 0;
  z-index: -1;
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: min(100%, 1240px) 84%;
  opacity: .75;
  pointer-events: none;
}
.voices__stage {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fg) 12%, transparent), var(--shadow-float);
}

.voices__head { margin-block-end: 0; }
/* the heavy line is one no-break run ("In our customers’ words."): at 200% text on a 320px phone the h2 stops
   growing at 12vw so it fits (whole-page review); at 100% text the h2 is always smaller than 12vw */
.voices__title { font-size: min(var(--text-h2), 12vw); }
.voices__head .lede { text-wrap: balance; }                 /* centred: no orphan word under a long line */
/* "the videos are on the way" is said only while every slot is a placeholder */
.voices:not([data-state="placeholder"]) .voices__note { display: none; }

/* ---- placeholders only: a still stack of three (SPEC 7.11, "a stage of reduced height") ---------------
   While no slot is complete there is nothing to browse: five identical "coming soon" cards with working
   arrows filled a 1200x495 night island (whole-page review). So the placeholder stage is a still object:
   the middle three frames, the centre one in front and its two neighbours tucked behind it (turned in 3D
   with motion, overlapped flat without), on a narrower island; no arrows, no ticks, no drag (section.js
   leaves the coverflow off until a slot is complete). Frames are at most 313px tall at 1440 and 227px at
   390. The first and the last slot stay in the markup for the videos. */
.voices[data-state="placeholder"] {
  --voice-w: clamp(108px, 25vw + 30px, 176px);           /* the stack fits the row unshrunk from 320px */
  --voice-tuck: calc(var(--voice-w) * -.24);             /* how far a neighbour slides under the centre frame */
  --voice-span: calc(var(--voice-w) + var(--voice-tuck)); /* centre to centre: where the fan starts from */
}
.voices[data-state="placeholder"] .voices__stage {
  max-inline-size: 42rem;
  margin-inline: auto;
  padding-block-end: var(--space-16);
}
.voices[data-state="placeholder"] .voices__band::before { display: none; }   /* nothing runs off the edges */
.voices[data-state="placeholder"] .voices__controls { display: none; }
.voices[data-state="placeholder"] .voices__viewport { overflow: hidden; cursor: auto; }
.voices[data-state="placeholder"] .voices__list {
  inline-size: auto;
  justify-content: center;
  padding-inline: 0;
}
.voices[data-state="placeholder"] .voices__slot { flex: 0 1 var(--voice-w); min-inline-size: 0; }
.voices[data-state="placeholder"] .voices__slot:first-child,
.voices[data-state="placeholder"] .voices__slot:nth-child(n+5) { display: none; }
.voices[data-state="placeholder"] .voices__slot:nth-child(2) { margin-inline-end: calc(var(--voice-tuck) - var(--voice-gap)); }
.voices[data-state="placeholder"] .voices__slot:nth-child(4) { margin-inline-start: calc(var(--voice-tuck) - var(--voice-gap)); }
/* the pose: the coverflow's own, frozen one card either side (--d is logical; --dir mirrors it) */
.voices[data-state="placeholder"] .voices__slot:nth-child(2) .voices__card { --d: -1; --ad: 1; }
.voices[data-state="placeholder"] .voices__slot:nth-child(4) .voices__card { --d: 1; --ad: 1; }
.voices[data-state="placeholder"] .voices__scrim,
.voices[data-state="placeholder"] .voices__disc::after { opacity: min(var(--ad), 1); }
/* one mark, the centre's: the tucked frames show their viewfinder corners and their circle only */
.voices[data-state="placeholder"] .voices__slot:not(:nth-child(3)) .voices__mark { visibility: hidden; }
/* flat (no JS, reduced motion): the centre frame lies on top of its neighbours, which tuck in further
   (nothing turns them away, and three frames must fit a 320px screen side by side) */
html:not(.motion) .voices[data-state="placeholder"] { --voice-tuck: calc(var(--voice-w) * -.4); }
html:not(.motion) .voices[data-state="placeholder"] .voices__slot { position: relative; z-index: 0; }   /* each frame its own layer */
html:not(.motion) .voices[data-state="placeholder"] .voices__slot:nth-child(3) { z-index: 1; }

/* ---- the island ------------------------------------------------------------------------- */
.voices__stage {
  margin-block-start: var(--head-gap);
  padding-block-end: var(--space-16);
}

/* the band: the row bleeds to the island's inner edges, under two static edge fades (one layer, both
   sides: they are symmetric) and over the keyboard ring of the row (drawn here, above the fades) */
.voices__band {
  --band-r: calc(var(--radius-card) - 1px);
  position: relative;
  margin-block-start: calc(-1 * var(--card-pad));
  margin-inline: calc(-1 * var(--card-pad));
}
.voices__band::before,
.voices__band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-start-start-radius: var(--band-r);
  border-start-end-radius: var(--band-r);
  pointer-events: none;
}
.voices__band::before {
  z-index: 1;
  background-image:
    linear-gradient(to right, var(--surface), transparent),
    linear-gradient(to left, var(--surface), transparent);
  background-position: left top, right top;
  background-size: clamp(24px, 7vw, 112px) 100%;
  background-repeat: no-repeat;
}
.voices__band::after { z-index: 2; }
.voices__band:has(> .voices__viewport:focus-visible)::after { outline: 2px solid var(--focus); outline-offset: -6px; }

.voices__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding-block: calc(var(--voice-icon) / 2 + var(--space-24)) var(--space-8);
  border-start-start-radius: var(--band-r);
  border-start-end-radius: var(--band-r);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
/* the keyboard ring sits inside the row (the island's own edge is the row's edge); where :has() works the
   band draws it above the edge fades, and the row's own ring steps aside (forced colours still draw it) */
.voices__viewport:focus-visible { outline-offset: -6px; }
@supports selector(:has(*)) {
  .voices__viewport:focus-visible { outline-color: transparent; }
}

.voices__list {
  display: flex;
  gap: var(--voice-gap);
  inline-size: max-content;
  margin: 0 auto;                                       /* centred while it fits, scrollable when it does not */
  padding: 0 var(--card-pad);
  list-style: none;
}
.voices__slot {
  flex: none;
  inline-size: var(--voice-w);
  scroll-snap-align: center;
}

/* ---- a card: the frame, the app-icon circle on its top edge, the name ---------------------- */
.voices__card {
  --d: 0;
  --ad: 0;
  position: relative;
  display: grid;
  gap: var(--space-12);
}

.voices__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--surface-2);
  background-image: linear-gradient(to bottom, var(--surface-2), var(--bg-step-1));
}
.voices__video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  background-color: var(--bg);
}

/* the empty frame: a camera's viewfinder corners around the mark */
.voices__frame--empty::before {
  content: "";
  position: absolute;
  inset: var(--space-12);
  --vf: var(--line-2);
  background-image:
    linear-gradient(var(--vf), var(--vf)), linear-gradient(var(--vf), var(--vf)),
    linear-gradient(var(--vf), var(--vf)), linear-gradient(var(--vf), var(--vf)),
    linear-gradient(var(--vf), var(--vf)), linear-gradient(var(--vf), var(--vf)),
    linear-gradient(var(--vf), var(--vf)), linear-gradient(var(--vf), var(--vf));
  background-repeat: no-repeat;
  background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.voices__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-12);
  margin: 0;
  padding: var(--space-24) var(--space-16);
  color: var(--fg-2);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.35;
  text-align: center;
}
.voices__mark > span { text-wrap: balance; }
.voices__mark-icon { color: var(--fg-3); }

/* the neighbours' dimming: a navy scrim, never the card's opacity (SPEC 7.11) */
.voices__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--scrim-navy);
  opacity: 0;
  pointer-events: none;
}

/* the business's app icon: a circle half outside, half inside the frame's top edge, magenta ring */
.voices__icon {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(var(--voice-icon) / -2);
  inset-inline: 0;
  inline-size: var(--voice-icon);
  block-size: var(--voice-icon);
  margin-inline: auto;
}
.voices__disc {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 100%;
  block-size: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-full);
  background-color: var(--surface-2);
  box-shadow: 0 0 0 4px var(--surface), var(--accent-glow);
  color: var(--fg-3);
}
.voices__disc img { inline-size: 100%; block-size: 100%; border-radius: var(--radius-full); object-fit: cover; }
/* the neighbours' scrim covers the whole circle, ring included: one bright ring, the centre's. It is the
   disc's own layer, so it waits and pops with the disc (no dark circle before the hit). */
.voices__disc::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background-color: var(--scrim-navy);
  opacity: 0;
  pointer-events: none;
}

/* a complete slot: the customer's name under the frame */
.voices__who {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0;
  text-align: center;
  line-height: 1.35;
}
.voices__name { color: var(--fg); font-size: var(--text-small); font-weight: var(--w-bold); }
.voices__biz { color: var(--fg-3); font-size: var(--text-caption); }

/* the play disc (section.js renders it on complete slots only): magenta, navy glyph, never mirrored */
.voices__play {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  inline-size: 64px;
  block-size: 64px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background-color: var(--accent);
  box-shadow: var(--accent-glow);
  color: var(--on-accent);
  cursor: pointer;
}
.voices__play svg { inline-size: 26px; block-size: 26px; fill: currentColor; }
.voices__slot.is-playing .voices__play { display: none; }

/* ---- controls: previous · position ticks · next (with JavaScript only) -------------------- */
.voices__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  margin-block-start: var(--space-12);
}
html:not(.js) .voices__controls { display: none; }

.voices__arrow {
  flex: none;                                            /* 44px at 320 too: the ticks give way, not the targets */
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-full);
  background-color: var(--surface-2);
  color: var(--fg);
  cursor: pointer;
}
.voices__arrow:hover { border-color: var(--fg); }
.voices__arrow[aria-disabled="true"] { border-color: var(--line); color: var(--fg-3); cursor: default; }

.voices__ticks { display: flex; align-items: center; gap: 6px; }
.voices__tick {
  inline-size: 20px;
  block-size: 3px;
  border-radius: var(--radius-full);
  background-color: var(--line-2);
  transform: scaleX(.4);
}
.voices__tick.is-on { background-color: var(--fg); transform: none; }

/* ---- with JavaScript: any card can be centred, neighbours dim -------------------------------- */
html.js .voices__viewport { scrollbar-width: none; }
html.js .voices__viewport::-webkit-scrollbar { display: none; }
html.js .voices__list { padding-inline: calc(50% - var(--voice-w) / 2); }
html.js .voices__scrim,
html.js .voices__disc::after { opacity: min(var(--ad), 1); }
@media (hover: hover) and (pointer: fine) {
  html.js .voices__viewport { cursor: grab; -webkit-user-select: none; user-select: none; }
  html.js .voices__viewport.is-dragging { cursor: grabbing; }
}
html.js .voices__viewport.is-dragging { scroll-snap-type: none; }
html.js .voices__viewport.is-dragging .voices__frame { pointer-events: none; }

/* ---- with motion: the coverflow in 3D, the fan, the press and hover moves -------------------- */
html.motion .voices__viewport {
  perspective: var(--perspective);
  perspective-origin: var(--perspective-origin);
}
html.motion .voices__list,
html.motion .voices__slot,
html.motion .voices__fan { transform-style: preserve-3d; }
/* SPEC 7.11: translate3d(dir · 34px · d, 0, −150px · min(|d|, 2)) rotateY(dir · 28deg · clamp(d, −1.4, 1.4)):
   with d measured toward the inline end, --dir turns it into the on-screen coverflow in both languages
   (the neighbours face the centre, their outer edges come forward; they are pulled in a little) */
html.motion .voices__card {
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--dir) * var(--d) * 34px), 0px, calc(var(--ad) * -150px))
    rotateY(calc(var(--dir) * clamp(-1.4, var(--d), 1.4) * 28deg));
}
/* text on a card turned more than 8deg is under .3 opacity (SPEC 5.4): it fades by |d| = .27 */
html.motion .voices__mark,
html.motion .voices__who { opacity: clamp(0, 1 - var(--ad) * 2.6, 1); }

html.motion .voices__arrow,
html.motion .voices__play { transition: transform var(--dur-1) var(--ease-out); }
html.motion .voices__arrow:active:not([aria-disabled="true"]) { transform: scale(.94); }
/* hover: the chevron nudges 2px the way it points (the icon is mirrored by --dir; translate composes) */
html.motion .voices__arrow .icon { transition: translate var(--dur-1) var(--ease-out); }
html.motion .voices__arrow--prev:hover:not([aria-disabled="true"]) .icon { translate: calc(var(--dir) * 2px) 0; }
html.motion .voices__arrow--next:hover:not([aria-disabled="true"]) .icon { translate: calc(var(--dir) * -2px) 0; }
html.motion .voices__play:hover { transform: scale(1.06); }
html.motion .voices__play:active { transform: scale(.98); }
html.motion .voices__tick { transition: transform var(--dur-2) var(--ease-out); }

/* the enter scene: the island is measured, the neighbours fan out from behind the centre card by .6.
   --k (the slot's distance from the centred card, toward the inline end) and --ak = |k| are written in the
   markup for the middle card and kept by section.js; the centre card itself only comes forward 80px. */
.voices__stage { --scene-live: 1; }
.voices__fan { --act: voices-fan; --from: .04; --to: .6; }
@keyframes voices-fan {
  from {
    transform: translate3d(calc(var(--dir) * var(--k) * var(--voice-span)), 0px, calc(-80px - var(--ak) * 160px));
    animation-timing-function: cubic-bezier(.45, .05, .3, 1);
  }
  to { transform: translate3d(0px, 0px, 0px); }
}

/* ---- forced colours -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .voices__frame { border: 2px solid CanvasText; }
  .voices__disc { border-color: CanvasText; }
  .voices__arrow,
  .voices__play { border: 2px solid ButtonText; }
  .voices__arrow[aria-disabled="true"] { border-color: GrayText; color: GrayText; }
  .voices__tick { background-color: CanvasText; }
  .voices__tick.is-on { background-color: Highlight; }
  .voices__scrim,
  .voices__disc::after,
  .voices__frame--empty::before,
  .voices__band::before { display: none; }
}

/* ===========================================================================
   11-faq
   =========================================================================== */
/* easytor-v2 · 11-faq/section.css — the questions (#faq), SPEC 7.12. Owner: quiet.

   One centred column (the head is centred: the body is one object). Each group is a night card list
   of rows (hairlines between them, the closing card: sheen, rim, light catch), under a small group title. A question is
   16px/600 in --fg; its answer in --fg-2. The open row is marked by a 3px --accent-display edge
   at the inline-start and by its icon (plus → minus).
   Without JS (or before section.js) the questions are plain headings and every answer is open.
   With section.js each question is a full-row button (.faq__trigger) and closed answers are
   hidden; opening one is instant, its text rises in (transform + opacity, html.motion only). */

/* inside the closing run each seam is one --section-pad, half on either side (07-how/section.css); the FAQ's
   foot keeps the full pad toward contact */
.faq { padding-block-start: calc(var(--section-pad) / 2); }

/* ---- NIGHT (owner, after W6): the hero's night, one sheet with how, pricing and voices. One soft light
   (--glow-soft, copy-safe) under the head and the first rows, --overlay-fade off both edges; the lists are THE
   CLOSING CARD (07-how/section.css explains both). */
.faq {
  --close-sheen: linear-gradient(to bottom, color-mix(in srgb, var(--surface-2) 72%, var(--surface)), var(--surface) 62%);
  --close-catch: inset 0 1px 0 color-mix(in srgb, var(--fg) 9%, transparent);
}
.faq::before {
  content: "";
  position: absolute;
  inset: var(--overlay-fade) 0;
  z-index: -1;
  background-image: var(--glow-soft);
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: min(100%, 1240px) 78%;
  opacity: .65;
  pointer-events: none;
}

.faq__inner { max-inline-size: 48rem; }

/* The heavy line is a no-break pair ("אותנו לפניך." / "they start."). At 200% text on a phone the h2
   stops growing at 12vw so the pair still fits a 320px screen; at 100% text the h2 is always smaller. */
.faq__title { font-size: min(var(--text-h2), 12vw); }

.faq__groups {
  display: grid;
  gap: var(--space-32);
}

.faq__group { display: grid; gap: var(--space-12); }

.faq__group-title {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding-inline: var(--space-4);
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-bold);
  line-height: 1.3;
  letter-spacing: 0;
}
/* a short drafting rule after the title, toward the inline-end (decoration) */
.faq__group-title::after {
  content: "";
  flex: 1 1 auto;
  block-size: 1px;
  background-color: var(--line);
}

.faq__list {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  background-image: var(--close-sheen);
  box-shadow: var(--close-catch);
}

.faq__item {
  position: relative;
  border-block-start: 1px solid var(--line);
}
.faq__item:first-child { border-block-start: 0; }

/* the open row's edge: a mark that carries state on day uses --accent-display */
.faq__item::before {
  content: "";
  position: absolute;
  inset-block: 14px;
  inset-inline-start: -1px;
  inline-size: 3px;
  border-start-end-radius: 2px;
  border-end-end-radius: 2px;
  background-color: var(--accent-display);
  opacity: 0;
}
.faq__item.is-open::before { opacity: 1; }
/* night: the open row is lifted as one piece (question and answer on --surface-2, the hover fill), so the
   row does not read as two bands; the end rows keep the list's corners */
.faq__item.is-open { background-color: var(--surface-2); }
.faq__item:first-child { border-start-start-radius: calc(var(--radius-card) - 1px); border-start-end-radius: calc(var(--radius-card) - 1px); }
.faq__item:last-child { border-end-start-radius: calc(var(--radius-card) - 1px); border-end-end-radius: calc(var(--radius-card) - 1px); }

.faq__q {
  margin: 0;
  color: var(--fg);
  font-size: var(--text-body);
  font-weight: var(--w-semi);
  line-height: 1.45;
  letter-spacing: 0;
}

/* static (no JS, or before section.js): the question is a heading over its open answer */
.faq:not(.faq--js) .faq__q { padding: var(--space-24) var(--space-24) var(--space-8); }

/* live: the whole row is the button */
.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  inline-size: 100%;
  min-block-size: 56px;
  margin: 0;
  padding: var(--space-8) var(--space-24);
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.faq__item:first-child .faq__trigger { border-start-start-radius: calc(var(--radius-card) - 1px); border-start-end-radius: calc(var(--radius-card) - 1px); }
.faq__item:last-child .faq__trigger:not([aria-expanded="true"]) { border-end-start-radius: calc(var(--radius-card) - 1px); border-end-end-radius: calc(var(--radius-card) - 1px); }
.faq__trigger:focus-visible { outline-offset: -4px; }
@media (hover: hover) {
  .faq__trigger:hover { background-color: var(--surface-2); }
  .faq__trigger:hover:not([aria-expanded="true"]) .faq__icon { background-color: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
}
.faq__label { min-inline-size: 0; text-wrap: pretty; }

/* plus → minus: the vertical stroke folds away (transform only) */
.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 32px;
  block-size: 32px;
  border-radius: 50%;
  background-color: var(--surface-2);
  color: var(--fg);
}
.faq__icon svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.faq__icon-v { transform-box: fill-box; transform-origin: 50% 50%; }
.faq__trigger[aria-expanded="true"] .faq__icon { background-color: var(--fg); color: var(--surface); }
.faq__trigger[aria-expanded="true"] .faq__icon-v { transform: scaleY(0); }
html.motion .faq__icon-v { transition: transform var(--dur-2) var(--ease-out); }

/* the answer (the panel itself has no box, so hidden="until-found" leaves nothing behind) */
.faq__answer {
  max-inline-size: 62ch;
  padding: 0 var(--space-24) var(--space-24);
  color: var(--fg-2);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}
.faq--js .faq__answer { margin-block-start: calc(-1 * var(--space-4)); }

@keyframes faq-answer-in {
  from { opacity: 0; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}
html.motion .faq__item.is-open .faq__answer { animation: faq-answer-in var(--dur-2) var(--ease-out) both; }

/* ---- foot ------------------------------------------------------------------------------- */
.faq__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-12);
  margin-block-start: var(--space-32);
  text-align: center;
}
.faq__foot-q { color: var(--fg); font-weight: var(--w-semi); }

@media (min-width: 900px) {
  .faq__groups { gap: var(--space-40); }
  .faq__trigger { min-block-size: 64px; padding: var(--space-12) var(--space-32); }
  .faq:not(.faq--js) .faq__q { padding-inline: var(--space-32); }
  .faq__answer { padding-inline: var(--space-32); }
  .faq__foot { margin-block-start: var(--space-40); }
}

/* from 1100px the three groups stand in two columns (page-height trim, after W5): "the system" over
   "price and scope" at the inline-start, "day to day" beside them over both rows. Row-major, so the reading
   and Tab order (system, day to day, price) is the visual one. The column is still one centred object under
   the centred head. "Day to day" spans both rows and the second row is the flexible one: an answer opening
   there grows that row, never the gap between the two groups beside it. */
@media (min-width: 1100px) {
  .faq__inner { max-inline-size: 72rem; }
  .faq__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: var(--space-40) var(--space-32);
  }
  .faq__group:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
}

@media (forced-colors: active) {
  .faq__item::before { forced-color-adjust: none; background-color: Highlight; }
  .faq__icon { border: 1px solid ButtonText; }
}

/* ==========================================================================
   12-contact
   ========================================================================== */
/* easytor-v2 · 12-contact/section.css — NIGHT / glow: the film's end card (scene 12) and the WhatsApp
   message builder (SPEC 7.13). The page is night from #features to the end: the end card stands on the
   hero's own canvas (--bg at both edges, so it runs into the FAQ above and the footer below without a
   seam), lit from inside: a royal-blue light behind the lockup and the slogan, a faint magenta haze
   behind the phone, and the builder as a lifted night card (the island recipe: one surface step up, a
   hairline rim, a soft glow).
   Static first: this file without html.motion IS the no-JS / reduced-motion page: the whole logo,
   the wordmark, the slogan, the form card (replaced by its noscript block without JS) and, from 900px,
   the phone at rest, frontal, showing the message.
   Then three enhancements, each keyed on html.motion:
     1. the lockup's reveal, ONE hit when the lockup is 60% in view (section.js adds .is-landed): a
        clockwise radial wipe of the mark (an SVG mask stroke, the draw recipe) led by a pink hand that
        settles onto the logo's own tick, the mark lands (1.05 -> 1), the wordmark wipes in left to right
        in both languages, then three hairline pulse rings (the film's beat) and nothing moves after 2.4 s;
     2. the device stage (from 900px) is an ENTER scene: the phone turns from the three-quarter pose
        toward the form to frontal by p .6, the glass catching light only while it turns;
     3. the chips' tick pops when a trade is chosen (a transition, html.motion only).
   Rig: .u-persp > .contact__turn (actor) > .u-phone3d. Nothing between them fades or clips. */

/* ---- the section ------------------------------------------------------------------------- */
.contact {
  /* page-height trim (SPEC 2, after W5): the mark is 112px on a phone and 160px from ~1000px (it was
     160-200), and the phone is as tall as the form card beside it (it was 290px wide, 80px taller) */
  --contact-mark: clamp(112px, 9vw + 77px, 160px);
  --contact-phone-w: clamp(232px, 17vw, 240px);
  --contact-wipe-dur: 440ms;
  --contact-wipe-ease: cubic-bezier(.5, 0, .4, 1);
  /* the end card runs straight into the footer's night (one canvas, the footer's top padding below it),
     so its bottom pad is shorter than the kit's: 48px on a phone, 80px at most */
  padding-block-end: clamp(var(--space-48), 4vw + 24px, var(--space-80));
  overflow-x: clip;                                   /* the wordmark wipe and the turning phone never widen the page */
  /* Every "לתיאום הדגמה" CTA is a jump to #contact (href="#contact" stays: section.js preselects the trade
     from it). The jump lands on the message builder, not on the logo: the section's padding and the lockup
     (mark + gap + wordmark, all sized from --contact-mark) go above the anchor line, so the slogan sits
     where an anchor's heading sits, under the nav, and the card begins in the upper half of the screen
     (whole-page review). Scrolling back up still shows the lockup and lands it. */
  scroll-margin-block-start: calc(-1 * (var(--section-pad) + var(--contact-mark) * (1.1 + 1.3 * 274 / 852) + var(--space-8) + var(--space-16)));
}

/* the film's end card at night. The section's surface (glow, the copy-safe night light: no core) is
   lifted to the lockup and the slogan, as the hero's light sits high; the bloom layer adds the magenta
   haze low at the inline-end, behind the phone (and the number bar below 900px). Both are radial and
   end inside the section, --overlay-fade clear of its top and bottom: the canvas at either edge is the
   bare --bg, the same as the FAQ above and the footer below. */
.contact[data-surface="glow"] {                         /* as specific as the kit's surface rule, after it */
  --glow-size: min(100%, 1320px) min(64%, 1000px);
  --glow-at: 50% var(--overlay-fade);
}
.contact__bloom {
  background-image: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 15%, transparent) 0%, color-mix(in srgb, var(--accent) 6%, transparent) 52%, transparent 100%);
  background-repeat: no-repeat;
  background-size: min(64%, 760px) min(46%, 680px);
  background-position: var(--end) 2% bottom var(--overlay-fade);
}

/* ---- the lockup: mark + wordmark, centred ----------------------------------------------- */
.contact__head { margin-block-end: min(var(--head-gap), var(--space-40)); }   /* the kit's head gap, capped at 40 */
.contact__lockup {
  display: grid;
  justify-items: center;
  gap: calc(var(--contact-mark) * .1);
  margin-block-end: var(--space-8);
}
.contact__mark {
  position: relative;
  inline-size: var(--contact-mark);
  aspect-ratio: 1;
}
/* the coin's halo at night: the device's royal-blue light round the light logo (a leaf, behind the art) */
.contact__mark::before {
  content: "";
  position: absolute;
  inset: 9% 9% 7%;
  border-radius: 50%;
  box-shadow: var(--shadow-device);
}
.contact__mark-art {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  contain: layout paint;                               /* the SVG draw recipe */
}
/* the wipe: a stroke as wide as the radius it sweeps, so drawing it uncovers a growing wedge from 12 o'clock */
.contact__wipe {
  fill: none;
  stroke: var(--white);
  stroke-width: 280;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
}
.contact__hand,
.contact__ring { display: none; }                      /* static: the finished logo, no hand, no ring */

.contact__wm {
  inline-size: calc(var(--contact-mark) * 1.3);
}
.contact__wm-o,
.contact__wm-i { display: block; }
.contact__wm-o { overflow: clip; }
.contact__wm-img { inline-size: 100%; block-size: auto; }

/* ---- the slogan and the lede ------------------------------------------------------------ */
.contact__title { inline-size: 100%; }
.contact__lede { margin-inline: auto; }

/* ---- two columns from 900px, a stack below ---------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-40);
  align-items: center;
}
.contact__grid > * { min-inline-size: 0; }

/* ---- the message builder: a lifted night card (the island recipe) ------------------------
   --surface (one step above the canvas) with the island's light from its top edge, a hairline rim and
   the device's royal-blue glow round it, so it reads as the page's last object, not as a hole in the
   night. Fields are wells of the canvas inside it; chips stand on --surface-2. */
.contact__card {
  --contact-form-gap: var(--space-24);
  border-color: var(--line);
  background-color: var(--surface);
  background-image: var(--island-art);
  background-repeat: no-repeat;
  box-shadow: var(--shadow-device);
  display: grid;
  gap: var(--contact-form-gap);
  align-content: start;
}
.contact__card-title { font-size: var(--text-h3); }
.contact__form {
  display: grid;
  gap: var(--contact-form-gap);
}
.contact__types { display: grid; gap: var(--space-12); }
.contact__legend,
.contact__label {
  display: block;
  padding: 0;
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-bold);
  line-height: 1.4;
}
.contact__legend { margin-block-end: var(--space-12); }

/* nine native radios drawn as 44px chips. The radio itself covers its chip (appearance none,
   transparent), so it is the hit area and its focus ring follows the chip's outline. */
.contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.contact__opt {
  position: relative;
  display: flex;
  max-inline-size: 100%;
}
.contact__radio {
  position: absolute;
  inset: 0;
  z-index: 1;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.contact__chip {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-block-size: 44px;
  max-inline-size: 100%;
  /* 12px at both ends (was 16px at the end): with nine trades (2026-12-01) the Hebrew chips keep three rows of
     three in the 1280-1440 card */
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-full);
  background-color: var(--surface-2);
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.3;
  overflow-wrap: break-word;
  text-align: start;
  min-inline-size: 0;
}
/* the name is a flex item: without min-inline-size 0 its longest word sets its width and, under large
   text, runs past the chip's border instead of breaking */
.contact__chip > span { min-inline-size: 0; }
.contact__tick {
  flex: none;
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__tick-o { stroke: var(--line-2); stroke-width: 1.5; }
.contact__tick-v { stroke: var(--accent); stroke-width: 2.6; opacity: 0; transform-box: fill-box; transform-origin: 50% 55%; }
@media (hover: hover) {
  .contact__radio:hover + .contact__chip { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
}
/* chosen: the light fill (the night --fg, navy type on it) AND a tick (the state is never told by colour alone) */
.contact__radio:checked + .contact__chip {
  border-color: var(--fg);
  background-color: var(--fg);
  color: var(--surface);
  box-shadow: none;
}
.contact__radio:checked + .contact__chip .contact__tick-o { opacity: 0; }
.contact__radio:checked + .contact__chip .contact__tick-v { opacity: 1; }
html.motion .contact__tick-v { scale: .4; transition: scale 220ms var(--ease-pop); }
html.motion .contact__radio:checked + .contact__chip .contact__tick-v { scale: 1; }

/* text fields: 16px (no zoom on focus in iOS Safari), a 3:1 border, the kit's focus ring */
.contact__field { display: grid; gap: var(--space-8); }
.contact__input {
  display: block;
  inline-size: 100%;
  min-block-size: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background-color: var(--bg);                         /* a well of the canvas in the card */
  color: var(--fg);
  font-size: var(--text-body);
  line-height: 1.5;
}
/* dir="auto" resolves an EMPTY field to ltr: the caret would start at the wrong edge of a Hebrew
   form. The placeholder is a single space, so :placeholder-shown means "empty": it follows the page. */
.contact__input:placeholder-shown { direction: inherit; }
@media (hover: hover) {
  .contact__input:hover { border-color: var(--fg); }
}
.contact__note { min-block-size: 96px; resize: vertical; }

/* the message as it will be sent (visible below 900px; from 900px the phone shows it) */
.contact__preview { display: grid; gap: var(--space-8); }
.contact__bubble {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-end-end-radius: var(--radius-bar);
  background-color: var(--surface-2);
  color: var(--fg);
  font-size: var(--text-small);
  line-height: 1.55;
}
.contact__msg { overflow-wrap: anywhere; }
.contact__line { display: block; white-space: pre-line; }

.contact__submit { justify-self: stretch; }
/* (font-fix) under 360px the card leaves the pill's label 180px: "Continue in WhatsApp" (216px at 20px in
   Talent FS) wrapped onto two lines; there the pill takes the regular button type (17px, 18px ends) */
@media (max-width: 359.98px) {
  .contact__submit { --btn-size: 1.0625rem; --btn-pad: 18px; }
}

/* the status: exists empty from load (role="status"), filled after the click */
.contact__status {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin: 0;
  color: var(--fg);
  font-size: var(--text-small);
  line-height: 1.55;
}
.contact__status-ico { display: none; flex: none; inline-size: 24px; block-size: 24px; }
.contact__status-ico circle { fill: var(--success); }
.contact__status-ico path { fill: none; stroke: var(--navy-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.contact__status.has-text {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: var(--surface-2);
}
.contact__status.has-text .contact__status-ico { display: block; }
/* empty, the region takes no room: out of the form's flow it holds no grid row and no gap open under the
   bar (it stays in the page, so it is a live region from load); with its text it joins the flow */
.contact__status:not(.has-text) { position: absolute; }

/* without scripting the builder cannot open WhatsApp: the noscript block replaces it */
html:not(.js) .contact__form { display: none; }
.contact__noscript { color: var(--fg-2); }
.contact__noscript-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-24); margin-block-start: var(--space-8); }

/* ---- the phone, the number bar and the small line --------------------------------------- */
.contact__side {
  display: grid;
  justify-items: center;
  gap: var(--space-24);
}
.contact__stage { display: none; }                      /* the device exists from 900px (SPEC 7.13) */
.contact__reach {
  display: grid;
  justify-items: center;
  gap: var(--space-8);
  inline-size: 100%;
}
.contact__tel { inline-size: min(100%, 21rem); }
/* the number bar is the quieter companion of the builder's pink pill: the same pill, white circle and
   neon hairline (the kit's), filled with the night surface and lit only on hover, so the end card has ONE
   glowing action ("continue in WhatsApp") and the number reads as the second way in */
.contact__tel {
  --cta-fill-1: var(--surface-2);
  --cta-fill-2: var(--surface);
  --cta-fg: var(--fg);
  --cta-glow: 0 0 0 0 transparent;
  --cta-glow-hover: var(--shadow-device);
}
/* the kit keeps the number on one line; under 200% text on a phone that line is wider than the screen, so
   here (and only when it must) it may break after the hyphen */
.contact__tel bdi { white-space: normal; }
/* the small line: WhatsApp · e-mail on one row, as in the film, only where the row fits. CSS cannot hide
   a separator that a wrap leaves hanging at a line end, so a narrow column (phones up to 390px, larger
   text: the query is in rem) stacks the two links and drops the dot. */
.contact__reach { container-type: inline-size; }
.contact__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  column-gap: var(--space-8);
}
.contact__sep {
  display: none;
  inline-size: 4px;
  block-size: 4px;
  border-radius: 50%;
  background-color: var(--line-2);
}
/* the row needs about 24.2rem in Talent FS (the WhatsApp link ~10.6rem, contact@easytor.co.il ~12.3rem, the
   dot and its two gaps; it was 22.3rem while the address was info@…): from 24.5rem it is one row (a tablet,
   the side column from about 1100px); every phone stacks (a 430px one is 24.2rem wide, a hair too tight for
   a row), and so does the side column at 1024px; from 26rem the dot gets 16px each side (25.2rem with them) */
@container (min-width: 24.5rem) {
  .contact__more { flex-direction: row; flex-wrap: wrap; }
  .contact__sep { display: block; }
}
@container (min-width: 26rem) {
  .contact__more { column-gap: var(--space-16); }
}
/* the address has no place to break: under 200% text on a phone it is wider than the screen, so there (and
   only when it must) it may break between any two letters, as the number above may after its hyphen */
.contact__mail .btn__label { overflow-wrap: anywhere; }

.contact__persp { display: grid; place-items: center; }
.contact__phone { --phone-w: var(--contact-phone-w); }

/* the chat (kit .chat): EasyTor's own chat, one outgoing message, the composer with WhatsApp's send disc */
.contact__avatar {
  padding: calc(var(--phone-u) * 1.2);
  background-color: var(--white);
}
.contact__avatar img { inline-size: 100%; block-size: 100%; }
.contact__list { gap: calc(var(--phone-u) * 3); }
/* a new chat opens on the contact's card: the logo once more, centred in the space above the message */
.contact__intro {
  display: grid;
  justify-items: center;
  align-self: center;
  gap: calc(var(--phone-u) * 1.2);
  margin-block: auto;
  text-align: center;
}
.contact__intro-logo {
  display: block;
  inline-size: calc(var(--phone-u) * 26);
  block-size: calc(var(--phone-u) * 26);
  margin-block-end: calc(var(--phone-u) * 2);
  padding: calc(var(--phone-u) * 2);
  border-radius: 50%;
  background-color: var(--white);
}
.contact__intro-logo img { inline-size: 100%; block-size: 100%; }
.contact__intro-name {
  color: var(--fg);
  font-size: calc(var(--phone-u) * 6);
  font-weight: var(--w-bold);
  line-height: 1.2;
}
.contact__intro-sub {
  color: var(--fg-3);
  font-size: calc(var(--phone-u) * 3.8);
  font-variant-numeric: tabular-nums;
}
.contact__day {
  align-self: center;
  padding: calc(var(--phone-u) * 1) calc(var(--phone-u) * 3.4);
  border-radius: calc(var(--phone-u) * 2);
  background-color: var(--surface);
  color: var(--fg-3);
  font-size: calc(var(--phone-u) * 3.4);
  line-height: 1.3;
}
.contact__out { max-inline-size: 90%; }
.contact__msg--phone { font-size: calc(var(--phone-u) * 4.9); line-height: 1.35; }
.contact__compose {
  display: flex;
  align-items: center;
  flex: none;
  gap: calc(var(--phone-u) * 2);
  padding-inline-end: calc(var(--phone-u) * 4);
}
.contact__input-pill { flex: 1 1 auto; margin-inline-end: 0; }
.contact__send {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: calc(var(--phone-u) * 13);
  block-size: calc(var(--phone-u) * 13);
  margin-block-end: calc(var(--phone-u) * 6);
  border-radius: 50%;
  background-color: var(--wa-fill);
  color: var(--wa-glyph);
}
.contact__send svg {
  inline-size: 52%;
  block-size: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  transform: scaleX(calc(var(--dir) * -1));             /* drawn pointing right: it points along the reading direction */
}

/* ---- below 900px (one column): a denser stack. The card's rows step by 16 (a label sits 8 above its
   field), the phone bar follows the card at 24 ---------------------------------------------- */
@media (max-width: 899.98px) {
  .contact__card { --contact-form-gap: var(--space-16); }
  .contact__grid { gap: var(--space-24); }
}

/* ---- below 560px: the chips in two even columns (no ragged one-per-row stack) ------------- */
@media (max-width: 559.98px) {
  /* the card runs closer to the screen edge: inputs, chips and the bar get the width (one box, not three) */
  .contact__card { margin-inline: calc(var(--space-8) - var(--gutter)); padding-block: var(--space-16); padding-inline: 14px; }
  /* two columns where a tile still holds a trade name on two lines; one column when the card is narrower
     than that in rem (320px, 200% text), so names never break inside a word */
  .contact__card { container-type: inline-size; }
  .contact__chips { display: grid; grid-template-columns: minmax(0, 1fr); }
  .contact__chip { flex: 1 1 auto; padding-inline: 10px 12px; border-radius: var(--radius-md); }   /* a tile, so a two-line name sits well */
  .contact__radio { border-radius: var(--radius-md); }                                            /* the focus ring follows the tile */
  @container (min-width: 19rem) {
    .contact__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}

/* ---- from 560px: the bar sits at the start of the card --------------------------------- */
@media (min-width: 560px) {
  .contact__submit { justify-self: start; }
}

/* ---- from 900px: builder | phone; the preview lives in the phone ------------------------ */
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(40px, 5vw, 80px);
    max-inline-size: 1080px;
    margin-inline: auto;
  }
  .contact__stage { display: grid; justify-items: center; }
  .contact__reach { gap: var(--space-12); }
  .contact__tel { inline-size: min(100%, calc(var(--contact-phone-w) + 32px)); }
  .contact__preview {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .contact__form { position: relative; }
}

/* ==========================================================================================
   ENHANCEMENT 1 — the lockup's reveal (one hit, timed, never scrubbed). Pre-state under
   html.motion: the wedge undrawn, the wordmark behind its mask. section.js adds .is-landed once the
   lockup is 60% in view. Order (ms): wipe + hand 0-440 · hand settles on the tick 440-600, fades by
   700 · mark lands 440-800 · wordmark 560-1000 · three pulse rings 900-2400. Clockwise and the
   wordmark's left-to-right never mirror.
   ========================================================================================== */
html.motion .contact__lockup:not(.is-landed) .contact__wipe { stroke-dashoffset: 1; }
html.motion .contact__lockup:not(.is-landed) .contact__mark::before { opacity: 0; }
html.motion .contact__lockup:not(.is-landed) .contact__wm-o { transform: translateX(-101%); }
html.motion .contact__lockup:not(.is-landed) .contact__wm-i { transform: translateX(101%); }

html.motion .contact__hand {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
}
html.motion .contact__hand-i {
  position: absolute;
  inset-block-start: .6%;
  inset-inline-start: 46.1%;
  inline-size: 7.8%;
  block-size: 49.4%;
  border-radius: var(--radius-full);
  background-color: var(--accent);
  transform-origin: 50% 100%;
}
html.motion .contact__ring {
  position: absolute;
  inset: 0;
  display: block;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

html.motion .contact__lockup.is-landed .contact__wipe {
  animation: e-stroke var(--contact-wipe-dur) var(--contact-wipe-ease) both;
}
html.motion .contact__lockup.is-landed .contact__hand {
  opacity: 1;
  animation: contact-sweep var(--contact-wipe-dur) var(--contact-wipe-ease) both;
}
html.motion .contact__lockup.is-landed .contact__hand-i {
  animation: contact-settle 700ms linear both;
}
html.motion .contact__lockup.is-landed .contact__mark {
  animation: contact-land 360ms var(--ease-out) var(--contact-wipe-dur) backwards;
}
html.motion .contact__lockup.is-landed .contact__mark::before {
  animation: e-fade 320ms linear 380ms backwards;
}
html.motion .contact__lockup.is-landed .contact__wm-o {
  animation: contact-wipe-o 440ms var(--ease-out) 560ms backwards;
}
html.motion .contact__lockup.is-landed .contact__wm-i {
  animation: contact-wipe-i 440ms var(--ease-out) 560ms backwards;
}
html.motion .contact__lockup.is-landed .contact__ring {
  animation: contact-pulse 500ms linear 900ms 3 both;
}

@keyframes contact-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* the hand holds at 12 o'clock while its parent sweeps the full turn, then turns on to 1:30, where the
   logo's own tick lies, and hands over to it */
@keyframes contact-settle {
  0%, 62.8% { transform: rotate(0deg); opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  85% { transform: rotate(45deg); opacity: 1; }
  100% { transform: rotate(45deg); opacity: 0; }
}
@keyframes contact-land {
  from { scale: 1.05; }
  to { scale: 1; }
}
@keyframes contact-wipe-o {
  from { transform: translateX(-101%); }
  to { transform: translateX(0); }
}
@keyframes contact-wipe-i {
  from { transform: translateX(101%); }
  to { transform: translateX(0); }
}
/* the film's hairline ring: appears at 1.27 times the logo, contracts onto it and fades */
@keyframes contact-pulse {
  0% { transform: scale(1.27); opacity: 0; }
  12% { transform: scale(1.24); opacity: .9; }
  60% { transform: scale(1.04); opacity: 0; }
  100% { transform: scale(1.04); opacity: 0; }
}

/* ==========================================================================================
   ENHANCEMENT 2 — the device stage is an ENTER scene from 900px: three-quarter toward the form
   (--pose-a: the device stands on the inline-end side) to frontal by p .6; the glass catches the
   light only while it turns. Static (no JS, reduced motion): frontal, which is the end state.
   ========================================================================================== */
@media (min-width: 900px) {
  .contact__stage { --scene-live: 1; }
  .contact__turn { --act: e-turn; --turn-from: var(--pose-a); --turn-to: var(--pose-front); --from: 0; --to: .6; }
  .contact__glare { --act: contact-glare; --from: 0; --to: .6; }
}
@keyframes contact-glare {
  0%, 100% { opacity: 0; }
  45% { opacity: .12; }
}

/* ---- forced colours: filled controls get a border, the chosen chip a Highlight one ------- */
@media (forced-colors: active) {
  .contact__chip { border: 1px solid ButtonText; }
  .contact__radio:checked + .contact__chip { border: 2px solid Highlight; }
  .contact__tick-v { stroke: Highlight; }
  .contact__bubble,
  .contact__status.has-text { border: 1px solid CanvasText; }
  .contact__sep { background-color: CanvasText; }
}

/* ==========================================================================
   13-footer
   ========================================================================== */
/* easytor-v2 · 13-footer/section.css — the night footer (SPEC 7.2). Owner: chrome.
   The film's lockup (light wordmark over the label bar) heads it; a faint blueprint grid rises from a
   hairline at its top (static: no decorative animation). Below 560px: the brand block, then the link
   groups in two columns with 44px rows.
   The page is night from #features on, so the end card (#contact, night) runs straight into the footer:
   one canvas. The footer's top edge is the bare night --bg (no fade, no band, no step), and the night
   only deepens toward the very bottom of the page. */

.footer {
  position: relative;
  isolation: isolate;
  padding-block: var(--space-64) var(--space-32);
  overflow-x: clip;
  background-color: var(--bg);
  background-image: linear-gradient(to bottom, transparent 0%, transparent 30%, color-mix(in srgb, var(--black) 34%, transparent) 100%);
  color: var(--fg-2);
}

/* where the end card stops and the footer begins: a hairline as wide as the content, gone at both
   ends (the same --line as the rule above the copyright line), not a change of colour */
.footer::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: -1;
  inline-size: min(100% - 2 * var(--gutter), var(--container));
  block-size: 1px;
  margin-inline: auto;
  background-image: linear-gradient(to right, transparent 0%, var(--line) 22%, var(--line) 78%, transparent 100%);
  pointer-events: none;
}

/* the blueprint grid: its lines only (none of the floor's fill), rising out of the hairline, strongest a
   little below it and gone 320px down (a static layer). It is transparent at the footer's top edge. */
.footer__grid {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: -1;
  block-size: 320px;
  background-color: transparent;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--black) 22%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, var(--black) 22%, transparent 100%);
}

.footer__in {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24) var(--space-16);
}

/* the brand block: the film's lockup (f-21), then the tagline */
.footer__brand {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--space-12);
}
/* while the brand block spans the row (below 1024px), it stands 32px clear of the link groups, which step by 24 */
.footer__brand { margin-block-end: var(--space-8); }
.footer__logo {
  inline-size: 168px;
  block-size: auto;
}
.footer__lockup { --label-h: 28px; margin-block-start: calc(-1 * var(--space-4)); }
.footer__tagline {
  max-inline-size: 22rem;
  color: var(--fg-2);
  font-size: var(--text-small);
  line-height: 1.55;
  text-wrap: balance;
}

.footer__title {
  margin-block-end: var(--space-8);
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-bold);
  line-height: 1.3;
}
.footer__links { display: grid; }
/* the whole grid cell is the hit area, not just the word (W6: 'FAQ' was 27px wide) */
.footer__link {
  display: flex;
  min-inline-size: 44px;
  align-items: center;
  gap: var(--space-12);
  min-block-size: 44px;
  max-inline-size: 100%;
  color: var(--fg-2);
  font-size: var(--text-small);
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  overflow-wrap: anywhere;
}
@media (hover: hover) {
  .footer__link[href]:hover { color: var(--fg); text-decoration-color: currentColor; }
}
.footer__icon,
.footer__glyph {
  flex: none;
  inline-size: 20px;
  block-size: 20px;
  color: var(--fg-3);
}
.footer__glyph { fill: currentColor; }
/* the number stays on one line wherever its column holds it (every width at the default text size, from
   320px). Under 200% text a phone's half-width column (and the fifth column at 1024px) is narrower than the
   number: kept on one line it widened the whole list past the screen edge and lost its first digits, so
   there (and only when it must) it breaks, as the links around it do (overflow-wrap on .footer__link) */
.footer__num { font-variant-numeric: tabular-nums; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8) var(--space-24);
  margin-block-start: var(--space-32);
  padding-block-start: var(--space-16);
  border-block-start: 1px solid var(--line);
}
.footer__copy {
  color: var(--fg-3);
  font-size: var(--text-caption);
  line-height: 1.45;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-block-size: 44px;
  color: var(--fg-2);
  font-size: var(--text-small);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .3em;
}
@media (hover: hover) {
  .footer__top:hover { color: var(--fg); text-decoration-color: currentColor; }
}
/* the two language addresses (2026-12-01): real links for crawlers and for a page without scripts; the
   current language is plain text weight-wise brighter, the other one a link like the rest of the footer */
.footer__langs {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
}
.footer__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding-inline: var(--space-8);
  color: var(--fg-2);
  font-size: var(--text-small);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.footer__lang[aria-current] { color: var(--fg); font-weight: var(--w-bold); }
@media (hover: hover) {
  .footer__lang:not([aria-current]):hover { color: var(--fg); text-decoration-color: currentColor; }
}

/* the footer is a dock blocker (data-dock-hide): the dock steps away when it comes on screen, since the
   footer lists the same phone, WhatsApp and contact links. No room is reserved for the dock any more. */
.footer { padding-block-end: calc(var(--space-24) + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 560px) {
  .footer__in { column-gap: var(--space-24); }
}
@media (min-width: 900px) {
  .footer__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer { padding-block-start: var(--space-80); }
  .footer__in { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); column-gap: var(--space-32); }
  .footer__brand { grid-column: auto; margin-block-end: 0; }
}

@media (forced-colors: active) {
  .footer__grid,
  .footer::after { display: none; }
  .footer__glyph { fill: CanvasText; }
}

/* ==========================================================================
   14-overlays
   ========================================================================== */
/* easytor-v2 · 14-overlays/section.css — the mobile dock, the floating WhatsApp button, the promo
   (video) dialog, and the offer: the month's promotion as a dialog and its tag (SPEC 7.1). Owner: chrome.
   The dock is the nav's twin at the foot of the screen: the same floating plate, cross-faded between the
   night and day worlds of the section under it (written by section.js). It lives inside the 72px band
   every stage reserves (--stage-bottom), so it never covers a stage's content. */

/* ---- the dock (below 1024px, scripting on, not on short screens) ------------------------------ */
.overlay-dock { display: none; }

/* html.short (head script / runtime: a 100svh probe of 480px or less, kept while a field has focus) */
@media (max-width: 1023.98px) {
  html.js:not(.short) .overlay-dock {
    position: fixed;
    z-index: var(--z-dock);
    inset-inline: 0;
    inset-block-end: calc(6px + env(safe-area-inset-bottom, 0px));
    isolation: isolate;
    display: block;
    inline-size: min(100% - 2 * var(--gutter), 32rem);
    margin-inline: auto;
    border-radius: var(--radius-full);          /* a pill around the pill CTA and its two discs */
    color: var(--fg-2);
    transform: translateY(calc(100% + 6px + env(safe-area-inset-bottom, 0px) + 48px));
    visibility: hidden;
  }
  html.js:not(.short) .overlay-dock.is-shown {
    transform: none;
    visibility: visible;
  }
}

.overlay-dock__plate {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: inherit;
  background-color: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
}
.overlay-dock[data-world="night"] .overlay-dock__plate--night,
.overlay-dock[data-world="day"] .overlay-dock__plate--day { opacity: 1; }

.overlay-dock__in {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
}
.overlay-dock__cta { flex: 1 1 auto; min-inline-size: 0; }
/* below 360px the pill keeps its label on one line (at 320 it wrapped and the dock grew into the 72px band):
   less padding, a tighter label -> circle gap, a 15px label and 44px discs. Larger text may still wrap it,
   which is right. */
@media (max-width: 359.98px) {
  .overlay-dock__cta { --btn-pad: 8px; --btn-size: .9375rem; --cap-gap: var(--space-8); }
  .overlay-dock__btn { inline-size: 44px; block-size: 44px; min-block-size: 44px; }
}

/* the two round companions of the pill: WhatsApp (green with the navy glyph: a white glyph on that
   green is 1.98:1) and the call button (an outline disc in the world's colours) */
.overlay-dock__btn {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 48px;
  block-size: 48px;
  min-block-size: 48px;
  border-radius: var(--radius-full);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.overlay-dock__btn--wa {
  background-color: var(--wa-fill);
  color: var(--wa-glyph);
}
.overlay-dock__btn--call {
  border: 1px solid var(--line-2);
  background-color: var(--surface-2);
  color: var(--fg);
}
.overlay-dock__glyph {
  inline-size: 24px;
  block-size: 24px;
  fill: currentColor;
}
.overlay-dock__btn:active { transform: scale(.96); }

/* ---- the floating WhatsApp button (from 1024px) --------------------------------------------- */
.overlay-wa { display: none; }

@media (min-width: 1024px) {
  html.js .overlay-wa {
    position: fixed;
    z-index: var(--z-float);
    inset-block-end: var(--space-24);
    inset-inline-end: var(--space-24);
    display: grid;
    place-items: center;
    inline-size: 48px;
    block-size: 48px;
    border-radius: var(--radius-full);
    background-color: var(--wa-fill);
    color: var(--wa-glyph);
    box-shadow: var(--shadow-float);
    transform: translateY(16px) scale(.6);
    opacity: 0;
    visibility: hidden;
  }
  html.js .overlay-wa.is-shown {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}
.overlay-wa__glyph {
  inline-size: 24px;
  block-size: 24px;
  fill: currentColor;
}
/* its name, shown beside it on hover and focus (a day chip: it floats over both worlds) */
.overlay-wa__tip {
  position: absolute;
  inset-inline-end: calc(100% + var(--space-12));
  inset-block-start: 50%;
  display: flex;
  align-items: center;
  min-block-size: 36px;
  padding-inline: var(--space-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-bar);
  background-color: var(--surface);
  box-shadow: var(--shadow-float);
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.2;
  white-space: nowrap;
  transform: translate(0, -50%);
  pointer-events: none;
}
html.js .overlay-wa__tip { opacity: 0; transform: translate(calc(var(--dir) * 6px), -50%); }
html.js .overlay-wa:hover .overlay-wa__tip,
html.js .overlay-wa:focus-visible .overlay-wa__tip {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ---- the promo dialog ----------------------------------------------------------------------- */
/* while a dialog is open the page does not scroll under it (section.js toggles html.dialog-lock); the
   gutter is kept so the 1440 layout does not shift by a scrollbar's width, and it wears the scrim too (with
   classic scrollbars it stood out as a strip of the day canvas beside the dark backdrop: the backdrop is
   laid out inside the scrollbars) */
html.dialog-lock {
  overflow: hidden;
  scrollbar-gutter: stable;
  background-color: var(--navy-deep);
  background-image: linear-gradient(var(--scrim), var(--scrim));
}
.overlay-video .dialog__body { overscroll-behavior: contain; }
.overlay-video {
  --dialog-w: 60rem;
  --ov-h: calc(100dvh - 210px);           /* the player's height: the dialog minus its head and padding */
}
/* the title and the close button stay in reach while the dialog scrolls (on a phone the 34-line
   transcript scrolls the whole dialog, and a phone has no Esc key) */
.overlay-video__head {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  background-color: var(--surface);
}
.overlay-video__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-16);
}
.overlay-video__player {
  justify-self: center;
  inline-size: min(100%, var(--ov-h) * 9 / 16, 360px);
  block-size: auto;
  aspect-ratio: 720 / 1280;
  border-radius: var(--radius-media);
  background-color: var(--black);
}
.overlay-video__text {
  display: grid;
  align-content: start;
  gap: var(--space-16);
  min-inline-size: 0;
}
.overlay-video__note {
  color: var(--fg-2);
  font-size: var(--text-small);
  line-height: 1.55;
}
.overlay-video__script {
  border-block: 1px solid var(--line);
}
.overlay-video__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  min-block-size: 48px;
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-bold);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.overlay-video__summary::-webkit-details-marker { display: none; }
.overlay-video__summary::after {
  content: "";
  flex: none;
  inline-size: 9px;
  block-size: 9px;
  margin-inline-end: var(--space-8);
  border-block-end: 2px solid currentColor;   /* a down chevron in both directions: the corner is */
  border-inline-end: 2px solid currentColor;  /* bottom-right in ltr, bottom-left in rtl, so it turns by --dir */
  transform: translateY(-2px) rotate(calc(var(--dir) * -45deg));
}
.overlay-video__script[open] > .overlay-video__summary::after { transform: translateY(2px) rotate(calc(var(--dir) * 135deg)); }
.overlay-video__scenes {
  display: grid;
  padding-block-end: var(--space-16);
}
.overlay-video__scene {
  display: grid;
  gap: 2px;
  padding-block: var(--space-12);
  padding-inline-start: var(--space-16);
  border-block-start: 1px solid var(--line);
  position: relative;
  color: var(--fg-2);
  font-size: var(--text-small);
  line-height: 1.5;
}
.overlay-video__scene:first-child { border-block-start: 0; }
/* a small mark at the start of each frame of the film (decoration) */
.overlay-video__scene::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: calc(var(--space-12) + .55em);
  inline-size: 6px;
  block-size: 6px;
  background-color: var(--line-2);
}
.overlay-video__line { display: block; }
.overlay-video__line[dir="ltr"] { text-align: end; justify-self: start; }

@media (min-width: 900px) {
  .overlay-video { --ov-h: min(100dvh - 190px, 720px); }
  .overlay-video__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "text player";
    align-items: start;
    column-gap: var(--space-32);
  }
  .overlay-video__player {
    grid-area: player;
    inline-size: auto;
    block-size: var(--ov-h);
  }
  .overlay-video__text {
    grid-area: text;
    max-block-size: var(--ov-h);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: var(--space-4);
  }
}

/* ---- the offer (this month's promotion) ------------------------------------------------------ */
/* A night card one step up, as the plan card of #pricing (THE offer on night): --surface-2, a magenta
   bloom rising from its foot, a magenta-tinted rim and the brand's glow. The kit's dialog keeps its
   geometry (centred, --dialog-w wide); the layout lives on .overlay-offer__body, never on the <dialog>
   itself (a display there would show it while closed). */
.overlay-offer {
  --dialog-w: 26rem;
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line-2));
  background-color: var(--surface-2);
  background-image: radial-gradient(ellipse 90% 46% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--fg) 14%, transparent),
    0 0 0 4px color-mix(in srgb, var(--accent) 8%, transparent),
    0 0 72px -12px color-mix(in srgb, var(--accent) 38%, transparent),
    var(--shadow-float);
}
/* the eyebrow and the close button stay in reach while a small screen scrolls the card (a phone has no
   Esc key); the title scrolls with the rest. The card's rhythm follows the screen's height (dvh inside
   clamps, no new breakpoint): at 360x600 everything stands in the 552px the kit's dialog may take. */
.overlay-offer__head {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding-block: clamp(6px, 1.4dvh, var(--space-12)) clamp(4px, 1dvh, var(--space-8));
  padding-inline: var(--card-pad) var(--space-12);
  background-color: var(--surface-2);
}
.overlay-offer__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 2dvh, var(--space-16));
  padding: var(--space-4) var(--card-pad) var(--card-pad);
}
/* the headline grammar at the card's size (30 -> 40px). It takes the first focus when the dialog opens, so
   Enter or Space pressed at that moment reach nothing; a heading shows no ring. */
.overlay-offer__title { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.5rem); }
.overlay-offer__title:focus-visible { outline: none; }
.overlay-offer__lede {
  margin: 0;
  color: var(--fg-2);
  font-size: var(--text-body);
  line-height: 1.5;
}

/* the drawing's well: one step down (--surface) under the blueprint's grid. Decoration (aria-hidden). */
.overlay-offer__figure {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-8);
  padding-block: clamp(var(--space-8), 1.8dvh, var(--space-16)) clamp(6px, 1.4dvh, var(--space-12));
  padding-inline: var(--space-16);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-2) 1px, transparent 1px);
  background-position: center;
  background-size: 24px 24px;
}
/* "0 ₪": two stacked drawings of one viewBox. Under: the zero's outline, a hairline that is drawn when the
   dialog opens (the SVG draw recipe, SPEC 5.6). Over it: the lit segments, one for every day left, dealt out
   by section.js as ONE dash list on ONE path (no child of the SVG is animated on its own), and the shekel
   sign. Lit and unlit differ by weight, not by colour alone. The magenta light behind the zero is the box's
   own background (magenta objects glow; never an SVG filter). */
.overlay-offer__zero {
  position: relative;
  block-size: clamp(5.5rem, 19dvh, 11rem);
  max-inline-size: 100%;
  aspect-ratio: 220 / 184;
  background-image: radial-gradient(ellipse 40% 54% at 64.5% 50%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 100%);
}
.overlay-offer__art {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  contain: layout paint;
}
.overlay-offer__trace {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  stroke-dasharray: 1 2;
}
.overlay-offer__seg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 13;
  stroke-linecap: butt;
}
.overlay-offer__cur {
  fill: none;
  stroke: var(--fg);
  stroke-width: 8;
  stroke-linecap: butt;
  stroke-linejoin: round;
}
/* the caption on the blueprint's white measuring line (the pink one belongs to the 24/7 of #features) */
.overlay-offer__fee { inline-size: min(100%, 13rem); }
.overlay-offer__fee .dim-line { --dim-chip-bg: var(--surface); }

/* the clock: text that changes once a second while the dialog is open (no animation per tick; without
   html.motion the seconds are not shown and it changes once a minute). role="timer": never a live region.
   Its row is dir="ltr" in the markup: a clock reads days, hours, minutes, seconds from the left in Hebrew
   too (owner 2026-12-02), as a dimension line never mirrors. */
.overlay-offer__clock {
  display: grid;
  gap: var(--space-8);
}
.overlay-offer__ends {
  margin: 0;
  color: var(--fg-2);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.3;
}
.overlay-offer__cells {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--space-8);
}
.overlay-offer__cell {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding-block: clamp(5px, 1dvh, var(--space-8));
  padding-inline: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--surface);
}
.overlay-offer__n {
  color: var(--fg);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  font-weight: var(--w-extra);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.overlay-offer__u {
  color: var(--fg-3);
  font-size: var(--text-caption);
  line-height: 1.3;
}
html:not(.motion) .overlay-offer__cell--s { display: none; }

.overlay-offer__action { display: grid; }
.overlay-offer__action .btn { inline-size: 100%; }
/* on a phone the pill takes the regular button's size: 8px of height the card needs at 360x600 */
@media (max-width: 559.98px) {
  .overlay-offer__action .btn--lg { --btn-h: 48px; --btn-pad: 22px; --btn-size: 1.0625rem; }
}

/* from 900px: the words at the start, the drawing beside them at the end (as every section: text, then object) */
@media (min-width: 900px) {
  .overlay-offer { --dialog-w: 52rem; }
  .overlay-offer__body {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas:
      "title figure"
      "lede figure"
      "clock figure"
      "action figure";
    column-gap: var(--space-32);
  }
  .overlay-offer__title { grid-area: title; }
  .overlay-offer__lede { grid-area: lede; }
  .overlay-offer__clock { grid-area: clock; }
  .overlay-offer__action { grid-area: action; }
  .overlay-offer__figure { grid-area: figure; }
  .overlay-offer__zero { block-size: clamp(9rem, 30dvh, 14rem); }
}

/* ---- the offer's tag ----------------------------------------------------------------------------- */
/* What stays on screen once the offer has been seen: the tag recipe of #switch (a light pill on a
   pink-to-navy hairline, led by a disc in the CTA's magenta), a day chip because it floats over both worlds
   (as the WhatsApp button's tip). Never a magenta pill: that is the call to action, and only that. Without
   scripting it is not rendered at all; hidden means moved away AND inert (section.js). Below 1024px it
   stands centred over the dock's band, from 1024px over the WhatsApp button (whose tip opens beside it). */
.overlay-offer-tag { display: none; }

html.js:not(.short) .overlay-offer-tag {
  position: fixed;
  z-index: var(--z-float);
  inset-inline: 0;
  inset-block-end: calc(var(--dock-h) + var(--space-8) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  inline-size: max-content;
  max-inline-size: calc(100% - 2 * var(--gutter));
  min-block-size: 44px;
  margin-block: 0;
  margin-inline: auto;
  padding-block: 5px;
  padding-inline: 5px var(--space-16);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(calc(180deg + var(--dir) * 90deg), var(--tag-edge-1) 0%, var(--tag-edge-2) 55%, var(--tag-edge-3) 100%) border-box;
  box-shadow: var(--tag-shadow);
  color: var(--fg);
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  line-height: 1.25;
  text-align: start;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(16px) scale(.6);
  opacity: 0;
  visibility: hidden;
}
html.js:not(.short) .overlay-offer-tag.is-shown {
  transform: none;
  opacity: 1;
  visibility: visible;
}
html.js:not(.short) .overlay-offer-tag.is-shown:active { transform: scale(.98); }
@media (min-width: 1024px) {
  html.js:not(.short) .overlay-offer-tag {
    inset-inline: auto var(--space-24);
    inset-block-end: calc(var(--space-24) + 48px + var(--space-12));
    margin-inline: 0;
  }
}
.overlay-offer-tag__mark {
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 32px;
  block-size: 32px;
  border-radius: 50%;
  background-image: linear-gradient(140deg, var(--cta-fill-1), var(--cta-fill-2));
  box-shadow: var(--tag-mark-shadow);
  color: var(--cta-fg);
  font-size: 1.125rem;
  font-weight: var(--w-extra);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.overlay-offer-tag__text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .5em;
}
.overlay-offer-tag__name { font-weight: var(--w-bold); }
.overlay-offer-tag__left {
  color: var(--accent-ink);
  font-weight: var(--w-bold);
}

/* ---- motion ---------------------------------------------------------------------------------- */
html.motion .overlay-dock {
  transition: transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
html.motion .overlay-dock.is-shown {
  transition: transform var(--dur-3) var(--ease-out), visibility 0s;
}
/* focus that lands in the dock while it slides in finds it in place at once (a transition-property of
   none CANCELS the running slide; a 0s duration would not) */
html.motion .overlay-dock.is-shown:focus-within,
html.motion .overlay-wa.is-shown:focus-visible { transition: none; }
html.motion .overlay-dock__plate { transition: opacity var(--dur-2) var(--ease-out); }
html.motion .overlay-dock__btn { transition: transform var(--dur-1) var(--ease-out); }
html.motion .overlay-wa {
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) linear, visibility 0s linear var(--dur-2);
}
html.motion .overlay-wa.is-shown {
  transition: transform var(--dur-2) var(--ease-pop), opacity var(--dur-1) linear, visibility 0s;
}
html.motion .overlay-wa__tip { transition: opacity var(--dur-1) linear, transform var(--dur-2) var(--ease-out); }
html.motion .overlay-video__summary::after { transition: transform var(--dur-2) var(--ease-out); }

html.motion .overlay-offer-tag {
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) linear, visibility 0s linear var(--dur-2);
}
html.motion .overlay-offer-tag.is-shown {
  transition: transform var(--dur-2) var(--ease-pop), opacity var(--dur-1) linear, visibility 0s;
}
html.motion .overlay-offer-tag.is-shown:focus-visible { transition: none; }
/* the offer's entrance: timed, once, on [open] alone (never gated on a script class: a failed script must
   not leave an invisible modal). The card rises, the zero's outline is drawn (the SVG draw recipe), the
   measuring line runs out from its left end, the lit layer lands as ONE element, the clock and the action
   rise. `backwards`: each part waits in its first frame, and nothing holds a fill once it has played. */
html.motion .overlay-offer[open] { animation: e-rise var(--dur-2) var(--ease-out) backwards; }
html.motion .overlay-offer[open]::backdrop { animation: e-fade var(--dur-1) linear backwards; }
html.motion .overlay-offer[open] .overlay-offer__trace { animation: e-stroke 440ms var(--ease-in-out) 120ms backwards; }
html.motion .overlay-offer[open] .dim-line__line { animation: dim-shaft-x 360ms var(--ease-out) 320ms backwards; }
html.motion .overlay-offer[open] .dim-line__lead { animation: dim-lead-x 360ms var(--ease-out) 320ms backwards; }
html.motion .overlay-offer[open] .dim-line__chip { animation: e-fade var(--dur-1) linear 560ms backwards; }
html.motion .overlay-offer[open] .overlay-offer__art--lit { animation: e-land 360ms var(--ease-out) 520ms backwards; }
html.motion .overlay-offer[open] .overlay-offer__clock { animation: e-rise var(--dur-2) var(--ease-out) 600ms backwards; }
html.motion .overlay-offer[open] .overlay-offer__action { animation: e-rise var(--dur-2) var(--ease-out) 680ms backwards; }
/* failsafe: whatever the class says, a visitor who asked for less motion gets the card at rest */
@media (prefers-reduced-motion: reduce) {
  .overlay-offer,
  .overlay-offer::backdrop,
  .overlay-offer * { animation: none !important; }
}

/* ---- forced colours ---------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .overlay-dock__plate { border: 2px solid CanvasText; background-color: Canvas; }
  .overlay-dock__btn,
  .overlay-wa { border: 2px solid ButtonText; }
  .overlay-dock__glyph,
  .overlay-wa__glyph { fill: ButtonText; }
  .overlay-wa__tip { border: 1px solid CanvasText; }
  .overlay-video__scene::before { forced-color-adjust: none; background-color: CanvasText; }
  .overlay-offer__figure,
  .overlay-offer__cell { border: 1px solid CanvasText; background-image: none; }
  .overlay-offer__zero { background-image: none; }
  .overlay-offer__trace,
  .overlay-offer__cur { stroke: CanvasText; }
  .overlay-offer__seg { stroke: Highlight; }
  html.js:not(.short) .overlay-offer-tag { border: 2px solid ButtonText; background: ButtonFace; }
  .overlay-offer-tag__mark { border: 1px solid ButtonText; background-image: none; }
}
