/* Cipher Security Academy — parents' page and kid page.
   One dark palette taken from the logo: ink, bone and the wordmark's blue.
   Amber means exactly one thing on this site: the flaw someone found. */

:root {
  --ink: #04060a;
  --ink-2: #0a0f19;
  --ink-3: #111827;
  --bone: #eef1f6;
  /* the quiet text colour: light enough to hold 8:1 on the brightest light pool
     under it (producer's note, 2026-10-25: grey copy must read without effort) */
  --mute: #c9d0dc;
  --faint: rgba(238, 241, 246, .12);
  --line: rgba(238, 241, 246, .22);
  --blue: #1f63ff;
  --blue-2: #3d7bff;
  --cyan: #38b6ff;
  --flaw: #ffb020;

  --gutter: 20px;
  --maxw: 1120px;
  --f-body: Heebo, "Arial Hebrew", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;   /* Latin only: it has no Hebrew */
  --bar-h: 64px;
  --dock: calc(64px + env(safe-area-inset-bottom));
  /* corners (2026-11-07): soft enough to read as a form you fill in, firm enough to stay technical */
  --r-btn: 12px;
  --r-field: 12px;
  --r-card: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--ink); color: var(--bone); -webkit-text-size-adjust: 100%; scroll-padding-block-start: 76px; }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-inline-size: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* author display rules (grid, flex) would otherwise beat the hidden attribute */
[hidden] { display: none !important; }
.nb { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { inline-size: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ── the ground under the words ──────────────────────────────────────────
   Still, on purpose (Daniel, 2026-11-07). Light that drifts behind text, and
   a page whose colour changes as it scrolls, pull the eye to the edges while
   it is trying to read: the reader feels the motion before the words (a
   moving surround is what makes a still reader feel they are moving). So the
   ground never moves and never changes key. Chapters are told apart by
   structure: a hairline, generous room, and every other chapter one step
   darker. Colour is information, and it stays inside the picture that
   carries it: blue around the mark and the lock, amber on the flaw in the
   HP window, CyCube's orange inside the lab's band.
   (The pools' markup and atmos.js stay, so the moods can come back if ever
   wanted; nothing of them is drawn.) */
.atmo { display: none !important; }
body { background: var(--ink); }
/* the hero's own light, behind the mark only: a still glow, never under the words */
.hero { background: radial-gradient(70% 42% at 50% 30%, rgba(31, 99, 255, .2), rgba(31, 99, 255, .06) 55%, transparent 78%); }
@media (min-width: 900px), (orientation: landscape) and (max-height: 560px) {
  .hero { background: radial-gradient(46% 62% at 27% 52%, rgba(31, 99, 255, .2), rgba(31, 99, 255, .06) 55%, transparent 78%); }
}

/* ── type ────────────────────────────────────────────────────────────────── */
.display { font-weight: 900; font-size: clamp(33px, 9vw, 66px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.title { font-weight: 900; font-size: clamp(30px, 7.9vw, 54px); line-height: 1.07; letter-spacing: -0.012em; text-wrap: balance; }
.title em { font-style: normal; color: var(--cyan); }
.lead { margin-block-start: 14px; color: var(--mute); max-inline-size: 34em; text-wrap: pretty; }
.lead strong { color: var(--bone); font-weight: 500; }
.say { margin-block-start: 16px; font-weight: 700; font-size: 20px; line-height: 1.4; text-wrap: balance; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.35; }
/* the word a heading turns on, in every heading on every page */
:is(h1, h2, h3, h4) em { font-style: normal; color: var(--cyan); }
.mono { font-family: var(--f-mono); font-weight: 500; direction: ltr; unicode-bidi: isolate; }

/* ── buttons: square, never pills ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 54px; padding: 0 20px; font-weight: 700; font-size: 16.5px; line-height: 1.2; text-decoration: none; text-align: center; border-radius: var(--r-btn); transition: background-color .2s, border-color .2s, color .2s, transform .12s; }
.btn:active { transform: scale(.985); }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-2); }
.btn--line { border: 1px solid var(--line); color: var(--bone); background: rgba(238, 241, 246, .03); }
.btn--line:hover { border-color: var(--bone); }
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; color: var(--bone); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; font-weight: 500; }
.link:hover { text-decoration-color: var(--cyan); }
.links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-block-start: 8px; }

/* ── header ─────────────────────────────────────────────────────────────── */
.top { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 30; transition: background-color .3s, border-color .3s; border-block-end: 1px solid transparent; }
.top.is-solid { background: rgba(4, 6, 10, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--faint); }
.top__in { display: flex; align-items: center; justify-content: space-between; block-size: 62px; }
.top__logo { display: inline-flex; align-items: center; padding-block: 12px; margin-block: -12px; }
.top__logo img { block-size: 28px; inline-size: auto; }
.top__cta { font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.top__cta:hover { border-color: var(--bone); }
/* the way to the program, beside the fit check: a word, not a second button */
.top__nav { display: flex; align-items: center; gap: 4px; }
.top__link { font-weight: 700; font-size: 15px; padding: 10px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.top__link:hover { text-decoration-color: var(--cyan); }
.top__link, .top__cta { white-space: nowrap; }
/* phones: the logo and both links share one line, down to the narrowest */
@media (max-width: 419px) {
  .top__logo img { block-size: 23px; }
  .top__link, .top__cta { font-size: 14px; }
  .top__link { padding-inline: 7px; }
  .top__cta { padding-inline: 10px; }
}
@media (max-width: 359px) {
  .top__logo img { block-size: 20px; }
  .top__link, .top__cta { font-size: 13px; }
  .top__link { padding-inline: 5px; }
  .top__cta { padding-inline: 8px; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */
/* The mark's size lives here so the page is laid out before any script runs:
   --R is the ring's outer radius at rest, --P how much closer the camera gets
   once the keyhole opens. .hero__mark reserves the open mark's height, and
   vortex.js reads the mark's centre and radius back from it. */
.hero { --R: min(34vw, 16svh, 150px); --P: 1.24; position: relative; min-block-size: 100svh; padding-block: 70px calc(26px + env(safe-area-inset-bottom)); isolation: isolate; overflow-x: clip; }
.hero__field { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: -1; touch-action: pan-y; }
.hero__in { display: grid; grid-template-areas: "stage" "copy"; }
.hero__stage { grid-area: stage; display: grid; justify-items: center; text-align: center; }
/* clear space above and below the ring: the captions never touch its digits */
.hero__mark { inline-size: 100%; block-size: calc(2.143 * var(--R) * var(--P)); margin-block: 20px 12px; }
.hero .copy { grid-area: copy; margin-block-start: 16px; }
.hero .sub { margin-block-start: 12px; font-weight: 700; font-size: clamp(18px, 4.8vw, 26px); line-height: 1.35; text-wrap: balance; }
.hero .lead { margin-block-start: 12px; }
/* how many and when, right over the buttons that act on it */
.hero .seats { margin-block-start: 18px; display: grid; justify-items: start; gap: 4px; }
.seats__n { font-weight: 900; font-size: clamp(28px, 7.4vw, 50px); line-height: 1.05;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seats__when { font-weight: 700; font-size: clamp(16px, 4.4vw, 20px); line-height: 1.3; color: var(--bone); }
/* "the deepest": the one word the headline turns on */
.w--deep { color: var(--cyan); }
.hero__acts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-block-start: 22px; }
.hero__acts .btn--line { font-size: 16px; }
/* Phones held upright: the whole opening fits the first screen, the words
   whole and the film as large as before (Daniel, 2026-11-07). The two buttons
   wait in the dock, which main.js shows from the start on a phone; the mark
   takes the height the words leave it, between a floor and its full size
   (vortex.js reads its size back from this box), and its keyhole opens wider
   than the logo's own, so the film inside it keeps its size. */
@media (max-width: 899px) and (orientation: portrait) {
  .js .hero:not(.kid-hero) { display: flex; flex-direction: column; padding-block: calc(62px + 4px) calc(var(--dock) + 8px); }
  .js .hero:not(.kid-hero) .hero__in { flex: 1 0 auto; display: flex; flex-direction: column; }
  .js .hero:not(.kid-hero) .hero__stage { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; }
  .js .hero:not(.kid-hero) .hero__mark { flex: 1 0 196px; block-size: auto; max-block-size: calc(2.143 * min(34vw, 150px) * var(--P)); margin-block: 4px 0; }
  .js .hero:not(.kid-hero) .hero__acts { display: none; }
  .js .hero:not(.kid-hero) .copy { margin-block-start: 6px; }
  .film__q { font-size: 16.5px; }
  .film__cap { min-block-size: 40px; font-size: 14.5px; line-height: 1.35; }
  .hero:not(.kid-hero) .display { font-size: clamp(31px, 8.6vw, 40px); }
  .hero:not(.kid-hero) .sub { margin-block-start: 8px; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.3; }
  .hero:not(.kid-hero) .lead { margin-block-start: 6px; font-size: 16px; line-height: 1.5; }
  /* how many and when: one line, the number first */
  .hero:not(.kid-hero) .seats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-block-start: 10px; }
  .seats__n { font-size: clamp(23px, 6.2vw, 28px); }
  .seats__when { font-size: 16px; }
}
/* short phones (an iPhone SE, a small Android with its bars showing): the same
   opening, a little tighter, so the words still reach the dock */
@media (max-width: 899px) and (orientation: portrait) and (max-height: 700px) {
  .js .hero:not(.kid-hero) .hero__mark { flex-basis: 170px; }
  .film__q { font-size: 15.5px; line-height: 1.3; }
  .film__cap { min-block-size: 36px; font-size: 14px; }
  .hero:not(.kid-hero) .display { font-size: clamp(29px, 8vw, 34px); }
  .hero:not(.kid-hero) .sub { margin-block-start: 6px; font-size: 17px; }
  .hero:not(.kid-hero) .lead { margin-block-start: 4px; font-size: 15.5px; line-height: 1.45; }
  .hero:not(.kid-hero) .seats { margin-block-start: 6px; }
  .seats__n { font-size: 23px; }
}

/* the film in the keyhole: the frame is sized for the open keyhole and
   clipped to the current one (film.js), so the picture stays put while the
   aperture opens around it */
.film { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.film__q { font-weight: 500; font-size: 18px; line-height: 1.35; color: var(--mute); text-wrap: balance; max-inline-size: 21em; }
.film__q strong { color: var(--bone); font-weight: 900; }
.film__cap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 44px; max-inline-size: 27em; padding-inline: 6px; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--mute); text-wrap: balance; transition: color .2s; }
.film__cap svg { flex: none; inline-size: 13px; block-size: 13px; color: var(--cyan); }
.film__cap:hover { color: var(--bone); }
.js [data-film-fade] { opacity: 0; }
[data-film="off"] [data-film-fade] { display: none; }
.film__frame { position: absolute; overflow: hidden; background: #02040a; opacity: 0; }
.film__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle var(--r1, 120px) at 50% var(--r1, 120px), rgba(4, 6, 10, 0) 60%, rgba(4, 6, 10, .5) 100%); }
.film__frame.is-open { pointer-events: auto; }
.film__frame.is-open::after { display: none; }
.film__still, .film__video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 30%; }
.film__still { animation: drift 16s ease-in-out infinite alternate; }
.film[data-playing] .film__still { visibility: hidden; }
.film__frame.is-open .film__video { object-fit: contain; object-position: 50% 50%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.12) translateY(2%); } }
.film__note { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 6px 10px; font-size: 14px; font-weight: 500; color: var(--bone); background: rgba(4, 6, 10, .72); }
.film__key { position: absolute; left: calc(var(--cx, 0px) - var(--r1, 0px)); top: calc(var(--cy, 0px) - var(--r1, 0px)); inline-size: calc(2 * var(--r1, 0px)); block-size: calc(2 * var(--r1, 0px)); border-radius: 50%; pointer-events: auto; cursor: pointer;
  display: grid; justify-items: center; align-items: end; padding-block-end: calc(var(--r1) * .1); }
.film__key:focus-visible { outline-offset: 4px; }
.film__sound { position: relative; display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; color: #fff; background: rgba(4, 8, 18, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(160, 210, 255, .45);
  opacity: 0; transform: scale(.7); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1.2), background-color .25s; }
.film[data-state="teaser"] .film__sound { opacity: 1; transform: none; }
.film__sound::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(120, 205, 255, .8); animation: ping 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.film__sound svg { inline-size: 22px; block-size: 22px; }
.film__sound[data-icon="sound"] .i-play, .film__sound[data-icon="play"] .i-sound { display: none; }
.film__key:hover .film__sound { background: rgba(31, 99, 255, .75); }
[data-film="off"] .film__key { display: none; }
.film__veil { position: fixed; inset: 0; z-index: 60; background: rgba(2, 3, 6, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: auto; }
.film__x { position: fixed; z-index: 63; pointer-events: auto; inset-block-start: calc(10px + env(safe-area-inset-top)); inset-inline-end: 10px; display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; font-size: 28px; line-height: 1; color: #fff; background: rgba(4, 6, 10, .92); border: 1px solid rgba(238, 241, 246, .75); }
.film__unmute { position: absolute; z-index: 5; pointer-events: auto; left: calc(var(--cx, 50%) - 58px); top: calc(var(--cy, 40%) + (var(--r1, 90px) * 0.42)); min-block-size: 44px; padding: 0 14px; font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: rgba(4, 6, 10, .92); border: 1px solid rgba(238, 241, 246, .75); border-radius: 999px; }
.film[data-state="open"] .film__unmute { position: fixed; z-index: 63; inset-block-start: calc(10px + env(safe-area-inset-top)); inset-inline-start: 10px; left: auto; top: auto; }
html.is-locked { overflow: hidden; }
/* the film's veil, frame and close button live inside the hero's stacking
   context: while it plays, lift the whole hero over the header and the page */
html.is-locked .hero { z-index: 50; }
html.is-leaving body { opacity: 0; transition: opacity .35s ease; }

/* word-level decode: the final word holds the layout, the scramble sits over it */
.w { position: relative; display: inline-block; }
/* The scramble is drawn, never written: the word's own letters stay in the DOM
   (transparent while it decodes) and the random letters come from data-s. The
   empty alternative text keeps a screen reader on the real word. */
.js .decode .w:not(.is-done) { color: transparent; }
.js .decode .w:not(.is-done)::after { content: attr(data-s); content: attr(data-s) / ""; position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--cyan); contain: strict; }
/* a counted number: the real figure is always the element's text; while it
   counts, that text is clipped to nothing (still read aloud) and the counting
   one is drawn in its place from data-n */
.count.is-counting .count__real { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.count.is-counting::after { content: attr(data-n); content: attr(data-n) / ""; }

/* ── chapters ───────────────────────────────────────────────────────────── */
/* 3D scenes and probes paint past their boxes; clip sideways so a phone never zooms out */
.chapter { padding-block: 54px; position: relative; overflow-x: clip; }
/* Where one chapter ends and the next begins is never in doubt: a hairline
   between every two, and every other chapter on a darker plate. The plate
   also mutes the light pools under its words. */
:is(.hero, .chapter) + .chapter { border-block-start: 1px solid rgba(238, 241, 246, .1); }
.plate { background: #070a12; }

/* everyone arrives with the same preparation: a wall of identical zeros (wall.js) */
.wall { inline-size: 100%; block-size: clamp(220px, 30vw, 340px); margin-block-start: 20px; }

/* ── the program: the new standard ───────────────────────────────────────
   Two parts. First, what they leave with: the thirty sessions as one path
   with four stops (14, 9, 4, 3 sessions). Each stop has a dot per session, so
   the program reads to scale; as the chapter is read the dots light one after
   another, in reading order, and a stop lights once its dots are full
   (main.js). Then the help that runs around the sessions, each kind with its
   rhythm drawn beside it.
   2026-11-11 (producer's note: "the colours annoy me, and it is crowded"):
   one family of blue that deepens from stop to stop, in place of blue, cyan,
   orange and white; open columns in place of four framed cards; and on a
   phone a line with four stops, in place of a strip of thirty squares and
   rows between hairlines. The chapter is no taller than it was. ── */
.program__head { max-inline-size: 40em; }
.program__with { margin-block-start: 12px; font-weight: 700; font-size: clamp(19px, 5vw, 24px); line-height: 1.35; color: var(--mute); }
.stretches { list-style: none; padding: 0; margin-block-start: 22px; display: grid; }
.stretch { --tone: #8fd0ff; position: relative; display: grid; align-content: start; }
.stretch[data-tone="2"] { --tone: #66b9ff; }
.stretch[data-tone="3"] { --tone: #4c9fff; }
.stretch[data-tone="4"] { --tone: #3d88ff; }
.stretch__run { display: flex; flex-wrap: wrap; gap: 5px; direction: rtl; }
.stretch__run i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: rgba(160, 196, 255, .2); transition: background-color .35s, transform .35s; }
.stretch__run i.is-lit { background: var(--tone); }
.stretch__span { font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--mute); }
.stretch__t { font-weight: 900; font-size: clamp(20px, 5.4vw, 24px); line-height: 1.24; }
.stretch__t em { color: var(--tone); }
.stretch__d { color: var(--mute); line-height: 1.6; }
.stretch__d strong { color: var(--bone); font-weight: 500; }
html:not(.js) .stretch__run { display: none; }
/* a phone: one line down the side, a stop for each stretch; the line fills as the stops are read */
@media (max-width: 899px) {
  .stretches { margin-block-start: 18px; }
  .stretch { grid-template-columns: 16px minmax(0, 1fr); column-gap: 16px; padding-block-end: 22px; }
  .stretch:last-child { padding-block-end: 0; }
  .stretch > * { grid-column: 2; }
  .stretch__run { display: none; }
  .stretch::before { content: ""; grid-column: 1; grid-row: 1 / span 3; z-index: 1; align-self: start; inline-size: 16px; block-size: 16px; margin-block-start: 5px; border-radius: 50%; border: 2px solid rgba(160, 196, 255, .45); background: #070a12; transition: background-color .4s, border-color .4s, transform .45s cubic-bezier(.2, 1.5, .4, 1); }
  .stretch.is-on::before { border-color: var(--tone); background: var(--tone); transform: scale(1.12); }
  .stretch:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 7px; inset-block: 22px -5px; inline-size: 2px; background: linear-gradient(var(--tone), var(--tone)) no-repeat top / 100% 0%, rgba(160, 196, 255, .18); transition: background-size .7s cubic-bezier(.3, .6, .2, 1) .1s; }
  .stretch.is-on:not(:last-child)::after { background-size: 100% 100%, auto; }
  .stretch__t { order: 1; font-size: clamp(20px, 5.4vw, 23px); }
  .stretch__span { order: 2; margin-block-start: 2px; font-size: 13.5px; }
  .stretch__d { order: 3; margin-block-start: 6px; font-size: 16px; }
}
/* the help around the sessions */
.never-card { margin-block-start: 26px; padding: 20px 18px 18px; border: 1px solid rgba(160, 196, 255, .14); border-radius: var(--r-card); background: rgba(12, 18, 32, .72); }
.program__never { font-weight: 900; font-size: clamp(22px, 6vw, 30px); line-height: 1.22; text-wrap: balance; }
.program__never em { font-style: normal; color: var(--cyan); }
.never { list-style: none; padding: 0; margin-block-start: 16px; display: grid; gap: 14px; }
.never li { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "beat b" "beat s"; column-gap: 14px; row-gap: 1px; align-items: start; }
.never .beat { grid-area: beat; padding-block-start: 5px; }
.never b { grid-area: b; font-weight: 700; font-size: 16.5px; line-height: 1.35; color: var(--bone); }
.never li > span:last-child { grid-area: s; color: var(--mute); font-size: 15px; line-height: 1.5; }
.beat { display: block; }
.beat svg { inline-size: 56px; block-size: 14px; overflow: visible; }
.beat__base { stroke: rgba(160, 196, 255, .22); stroke-width: 1.5; stroke-linecap: round; fill: none; }
.beat circle { fill: var(--cyan); transform-box: fill-box; transform-origin: center; }
.beat__line { stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.js .never:not(.is-drawn) .beat circle { transform: scale(0); }
.js .never:not(.is-drawn) .beat__line { stroke-dasharray: 80; stroke-dashoffset: 80; }
.never .beat circle { transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.never .beat__line { stroke-dasharray: 80; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.3, .7, .2, 1); }
.never li:nth-child(2) .beat__line { transition-delay: .15s; }
.never li:nth-child(3) .beat circle { transition-delay: .3s; }
.never li:nth-child(4) .beat__line { transition-delay: .45s; }
.never li:nth-child(1) .beat circle + circle { transition-delay: .12s; }
.program__end { margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--faint); color: var(--mute); }
.program__end strong { color: var(--bone); font-weight: 700; }
.program__end .re { color: var(--bone); font-size: 1em; }
@media (max-width: 899px) { .never-card { padding: 18px 16px 16px; } }

/* ── CyCube: a band of its own, lit in the approved CyCube orange (#ED712E)
   on its near-black. The one chapter outside the plate rhythm: a
   partner's colours, never the page's. ── */
.band--lab { background: radial-gradient(85% 65% at 50% 100%, rgba(237, 113, 46, .17), rgba(237, 113, 46, 0) 72%), linear-gradient(180deg, #070403, #0a0604 60%, #080504); }
.band--lab .lead { color: #ece1d8; }
.band--lab .lead .cycube__who { color: #ED712E; font-weight: 700; }
.band--lab .link:hover { text-decoration-color: #ED712E; }
.lab__head .title { font-size: clamp(28px, 7.4vw, 46px); }


/* defend / attack / research */
.sys { position: relative; block-size: 330px; display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 45%; margin-block: 4px 2px; }
/* a pool of light under the system: blue, and an amber one that fades in over it for research
   (a gradient can't transition; two layers' opacity can) */
.sys::before, .sys::after { content: ""; position: absolute; left: 50%; top: 58%; inline-size: min(110%, 520px); block-size: 46%; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .9s; }
.sys::before { background: radial-gradient(closest-side, rgba(31, 99, 255, .34), rgba(31, 99, 255, .08) 60%, transparent); }
.sys::after { background: radial-gradient(closest-side, rgba(255, 176, 32, .24), rgba(31, 99, 255, .06) 60%, transparent); opacity: 0; }
.sys[data-mode="research"]::before { opacity: .35; }
.sys[data-mode="research"]::after { opacity: 1; }
.sys__tilt { transform-style: preserve-3d; scale: .96; }
/* spin the square in its own plane first, then tilt it back — the other way
   round leans the whole stack sideways. gsap writes its own fixed transform
   order, so layers.js writes this transform itself as the camera moves. */
.sys__stack { direction: ltr; position: relative; inline-size: 158px; block-size: 158px; transform-style: preserve-3d; transform: rotateX(62deg) rotateZ(-45deg); }
/* no blurred shadows on the layers: a phone would repaint them on every frame
   of a move. And no will-change either — the scene is scaled up, and a layer
   pinned at its first raster scale would stay soft */
.ly { position: absolute; inset: 0; border: 1px solid rgba(130, 170, 255, .38); border-radius: 6px; transform-style: preserve-3d; background: linear-gradient(135deg, rgba(70, 120, 255, .13), rgba(70, 120, 255, .03)); }
.ly > * { position: absolute; }
.sys[data-mode="research"] .ly { border-color: rgba(170, 204, 255, .75); }
.ly--ui { background: linear-gradient(135deg, rgba(28, 50, 104, .94), rgba(12, 22, 50, .94)); border-color: rgba(160, 196, 255, .62); }
.ly--chip { background: linear-gradient(135deg, rgba(30, 52, 104, .55), rgba(10, 18, 40, .55)); }
.ly--ui .bar { left: 0; top: 0; width: 100%; height: 20px; border-bottom: 1px solid rgba(130, 170, 255, .38); }
.ly--ui .dot { top: 7px; width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(130, 170, 255, .5); }
.ly--ui .t { height: 5px; border-radius: 3px; background: rgba(160, 190, 255, .35); }
.ly--ui .key { left: 85px; top: 42px; width: 46px; height: 20px; border-radius: 4px; background: var(--blue); transition: background-color .5s, box-shadow .5s; }
.ly--code .row { position: absolute; height: 5px; border-radius: 3px; background: rgba(160, 190, 255, .32); }
.ly--code .row.k { background: rgba(61, 123, 255, .85); }
.ly--mem .cells { left: 5px; top: 5px; display: grid; grid-template-columns: repeat(8, 15px); gap: 4px; }
.ly--mem .cells i { width: 15px; height: 15px; border-radius: 2px; background: rgba(120, 160, 255, .14); border: 1px solid rgba(130, 170, 255, .18); transition: background-color .4s, box-shadow .4s, border-color .4s; }
.ly--circuit svg { left: 0; top: 0; width: 158px; height: 158px; }
.ly--chip img { left: 34px; top: 34px; width: 90px; height: 90px; opacity: .6; }
.beam { position: absolute; display: block; left: 106px; top: 50px; width: 3px; height: 150px; border-radius: 2px; background: linear-gradient(to bottom, var(--flaw), rgba(255, 176, 32, .15)); box-shadow: 0 0 14px 2px rgba(255, 176, 32, .45); }
.scan { position: absolute; display: block; inset: -8px; border: 1.5px solid rgba(255, 190, 70, .95); border-radius: 9px; box-shadow: 0 0 26px rgba(255, 176, 32, .55), inset 0 0 26px rgba(255, 176, 32, .3); pointer-events: none; }

/* defend: a shield over the top layer, a ripple with every hit */
.ly--ui .shield, .ly--ui .ripple { left: -32px; top: -32px; width: 222px; height: 222px; border-radius: 50%; transform: translateZ(28px); opacity: 0; pointer-events: none; }
.ly--ui .shield { border: 1.5px solid rgba(110, 165, 255, .9); transition: opacity .6s;
  background: repeating-conic-gradient(rgba(61, 123, 255, .2) 0 1.5deg, transparent 1.5deg 10deg), radial-gradient(closest-side, rgba(61, 123, 255, .06) 52%, rgba(61, 123, 255, .34) 95%, transparent);
  box-shadow: 0 0 32px rgba(61, 123, 255, .5); }
.ly--ui .ripple { border: 1px solid rgba(140, 200, 255, .9); }
.sys[data-mode="defend"] .shield { opacity: 1; animation: shield 16s linear infinite; }
.sys[data-mode="defend"] .ripple { animation: ripple 2.4s ease-out infinite; }
.sys[data-mode="defend"] .ripple + .ripple { animation-delay: 1.2s; }
@keyframes shield { to { transform: translateZ(28px) rotate(360deg); } }
@keyframes ripple { from { transform: translateZ(28px) scale(.55); opacity: .9; } to { transform: translateZ(28px) scale(1.3); opacity: 0; } }

/* attack: probes strike the edges, a spark where each lands */
.ly--ui .probe { opacity: 0; height: 2px; width: 54px; box-shadow: 0 0 10px rgba(56, 182, 255, .8); }
.ly--ui .p1 { left: -72px; top: 64px; background: linear-gradient(90deg, transparent, var(--cyan) 70%, #fff); }
.ly--ui .p2 { left: 60px; top: -72px; width: 2px; height: 54px; background: linear-gradient(180deg, transparent, var(--cyan) 70%, #fff); }
.ly--ui .p3 { left: 176px; top: 112px; background: linear-gradient(270deg, transparent, var(--cyan) 70%, #fff); }
.ly--ui .spark { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, #f0faff, rgba(56, 182, 255, .7) 38%, transparent 70%); }
.ly--ui .s1 { left: 0; top: 65px; }
.ly--ui .s2 { left: 61px; top: 0; }
.ly--ui .s3 { left: 158px; top: 113px; }
.sys[data-mode="attack"] .probe { opacity: 1; }
.sys[data-mode="attack"] .p1 { animation: probe-l 1.1s ease-in infinite; }
.sys[data-mode="attack"] .p2 { animation: probe-t 1.1s .35s ease-in infinite; }
.sys[data-mode="attack"] .p3 { animation: probe-r 1.1s .7s ease-in infinite; }
.sys[data-mode="attack"] .s1 { animation: spark 1.1s ease-in infinite; }
.sys[data-mode="attack"] .s2 { animation: spark 1.1s .35s ease-in infinite; }
.sys[data-mode="attack"] .s3 { animation: spark 1.1s .7s ease-in infinite; }
.sys[data-mode="attack"] .ly--ui { border-color: rgba(56, 182, 255, .95); box-shadow: 0 0 22px rgba(56, 182, 255, .35); }
@keyframes probe-l { from { transform: translateX(-30px); opacity: 0; } 50% { opacity: 1; } to { transform: translateX(18px); opacity: 0; } }
@keyframes probe-t { from { transform: translateY(-30px); opacity: 0; } 50% { opacity: 1; } to { transform: translateY(18px); opacity: 0; } }
@keyframes probe-r { from { transform: translateX(30px); opacity: 0; } 50% { opacity: 1; } to { transform: translateX(-18px); opacity: 0; } }
@keyframes spark { 0%, 62% { opacity: 0; transform: scale(.3); } 72% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0; transform: scale(.9); } }

/* research: the flaw, deep inside, lights the button on top */
.sys[data-mode="research"] .cells i.hot { background: var(--flaw); border-color: var(--flaw); box-shadow: 0 0 18px 4px rgba(255, 176, 32, .6); transition-delay: 1.6s; }
.sys[data-mode="research"] .ly--ui .key { background: var(--flaw); box-shadow: 0 0 22px 4px rgba(255, 176, 32, .55); transition-delay: 2.2s; }

.lens { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; }
.lens button { min-block-size: 52px; font-weight: 700; font-size: 16.5px; color: var(--mute); transition: background-color .25s, color .25s; }
.lens button + button { border-inline-start: 1px solid var(--line); }
.lens button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.lens button[data-mode="research"][aria-pressed="true"] { background: var(--flaw); color: var(--ink); }
.lens-say { min-block-size: 3.2em; margin-block-start: 14px; color: var(--mute); }
.lens-say strong { color: var(--bone); font-weight: 700; }
.lens-more { margin-block-start: 6px; color: var(--mute); }
/* without scripts the system never draws: the three lines are listed instead */
html:not(.js) :is(.sys, .lens, .lens-say) { display: none; }
.js .lens-all, .js .hp-all { display: none; }
.lens-all, .hp-all { display: grid; gap: 8px; margin-block-start: 16px; padding-inline-start: 1.2em; color: var(--mute); }
.lens-all { list-style: none; padding: 0; }
.lens-all strong, .hp-all strong { color: var(--bone); }
.hp-all .hint { display: block; font-size: 15px; }
html:not(.js) .hp__tabs { display: none; }

/* HP: one installer window, three ways of seeing it */
.hp { margin-block-start: 22px; }
.hp__stage { position: relative; aspect-ratio: 16 / 10; max-inline-size: 520px; margin-inline: auto; }
.hp__stage svg { inline-size: 100%; block-size: 100%; overflow: visible; }
.hp__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; margin-block-start: 18px; }
.hp__tabs button { min-block-size: 48px; font-weight: 700; font-size: 15.5px; color: var(--mute); }
.hp__tabs button + button { border-inline-start: 1px solid var(--line); }
.hp__tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.hp__say { min-block-size: 5.2em; margin-block-start: 14px; color: var(--mute); }
.hp__say strong { color: var(--bone); font-weight: 700; }
/* the x-ray: the inside shows where the scan has passed (main.js drives the cut) */
.hp__flaws circle { fill: var(--flaw); transform-box: fill-box; transform-origin: center; transition: fill .5s; }
.hp__flaws circle.is-hit { filter: drop-shadow(0 0 6px rgba(255, 176, 32, .95)); animation: flaw 1.2s ease-in-out infinite; }
.hp__trace { stroke-dashoffset: 0; animation: march 1.2s linear infinite; transition: opacity .5s; }
@keyframes march { to { stroke-dashoffset: -16; } }
@keyframes flaw { 50% { transform: scale(1.5); } }
.hp[data-step="2"] .hp__flaws circle { fill: var(--blue-2); filter: drop-shadow(0 0 6px rgba(61, 123, 255, .9)); }
.hp[data-step="2"] .hp__trace { opacity: .25; }
.hp__beam { opacity: 0; }
.stamp rect { fill: rgba(28, 14, 2, .78); stroke: #ffb020; stroke-width: 1.6; }
.stamp rect + rect { fill: none; stroke-width: .7; stroke-opacity: .75; }
.stamp text { fill: #ffc44d; letter-spacing: .03em; }
.js .stamp { opacity: 0; }
/* each stamp is a link to its record: a box laid over the stamp in the svg's
   own units (320 × 200), so it lands on the stamp at every size. Physical
   left/top on purpose: the svg is drawn left to right. */
.hp__cves { position: absolute; inset: 0; direction: ltr; }
.js .hp:not([data-step="2"]) .hp__cves { display: none; }
.hp__cve { position: absolute; left: calc((var(--x) - 62) / 320 * 100%); top: calc((var(--y) - 14) / 200 * 100%); inline-size: calc(124 / 320 * 100%); block-size: calc(28 / 200 * 100%);
  transform: rotate(var(--r)); border-radius: 2px; transition: box-shadow .25s; }
.hp__cve:hover { box-shadow: 0 0 0 1px rgba(255, 196, 77, .9), 0 0 24px rgba(255, 176, 32, .55); }
.hp__cve:focus-visible { outline: 2px solid var(--flaw); outline-offset: 3px; }
.hp__say .hint { display: block; margin-block-start: 6px; font-size: 15px; color: var(--mute); }
.hp__more { margin-block-start: 24px; }



/* who teaches: the researchers' headline keeps "חוקרי" on the line with the
   company's name — the size comes down to fit the column, not the phrase apart */
.nir__head { container-type: inline-size; }
.nir__title { font-size: min(clamp(30px, 7.9vw, 54px), 8.1cqi); }
/* the program's lead, set apart from the researchers: a card of his own.
   His photo stands upright beside his name, so it is never cut at the head;
   under them, the facts, the vendors that credit him, and the book */
.nir__lead { margin-block-start: 34px; padding: 16px; border: 1px solid rgba(140, 170, 230, .22); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(20, 30, 52, .86), rgba(11, 17, 30, .92)); box-shadow: 0 26px 70px rgba(0, 0, 0, .35); }
.nir__top { display: grid; grid-template-columns: minmax(112px, 38%) minmax(0, 1fr); column-gap: 16px; align-items: end; }
.nir__lead .nir__photo { margin: 0; aspect-ratio: 3 / 4; border-radius: 14px; }
.nir__id { padding-block-end: 4px; }
.nir__role { font-weight: 900; font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
.nir__role em { font-style: normal; color: var(--cyan); }
.nir__job { margin-block-start: 8px; color: var(--mute); line-height: 1.5; }
.nir__facts { list-style: none; padding: 0; margin-block-start: 16px; display: grid; gap: 6px; border-block-start: 1px solid var(--faint); padding-block-start: 14px; }
.nir__facts li { position: relative; padding-inline-start: 18px; color: var(--mute); line-height: 1.5; }
.nir__facts li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: .62em; inline-size: 7px; block-size: 7px; border-radius: 2px; background: var(--cyan); }
.nir__facts li:last-child { padding-inline-start: 0; font-weight: 700; color: var(--bone); }
.nir__facts li:last-child::before { display: none; }
.nir__facts b { color: var(--bone); font-weight: 700; }
.nir__lead .names { margin-block-start: 8px; }
.nir__lead .names li { font-size: clamp(15px, 4.3vw, 21px); min-block-size: 54px; }
/* his book, at the foot of his card */
.nir__lead .book { margin-block-start: 18px; padding-block-start: 16px; border-block-start: 1px solid var(--faint); }

/* Nir */
.nir__photo { position: relative; aspect-ratio: 3 / 4; margin-block-start: 22px; overflow: hidden; background: var(--ink-3); }
.nir__photo img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 59% 0%; filter: grayscale(.2) contrast(1.05); }
/* opacity, not clip-path: a lazy image clipped to nothing never starts loading */
.nir__photo.is-coded img { opacity: 0; }
.nir__digits { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; }
.nir__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 10, .7)); }
/* the book, as an object: cover, page edges and spine around a 16px block.
   Physical left/right on purpose: the faces must meet in 3D, and RTL logical
   offsets would mirror one of them. --turn is scrubbed by scroll (main.js),
   --lift by hover, so neither fights a transition on transform. */
@property --lift { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.book { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; margin-block-start: 26px; text-decoration: none; perspective: 700px; --turn: -26deg; }
.book__obj { position: relative; display: block; aspect-ratio: 810 / 1000; transform-style: preserve-3d; transform: rotateY(calc(var(--turn) + var(--lift))); transition: --lift .6s cubic-bezier(.2, .8, .2, 1); }
.book:hover { --lift: 16deg; }
.book__cover, .book__back { position: absolute; inset: 0; backface-visibility: hidden; }
.book__cover { transform: translateZ(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.book__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .16) 46%, rgba(255, 255, 255, 0) 60%); }
.book__cover img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.book__back { transform: translateZ(-8px) rotateY(180deg); background: #0b1428; box-shadow: 0 18px 30px rgba(0, 0, 0, .55); }
.book__edge, .book__spine { position: absolute; inset-block: 0; inline-size: 16px; }
.book__edge { left: calc(100% - 8px); top: 1.2%; bottom: 1.2%; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #ece6d8 0 1px, #c9c1af 1px 2px); }
.book__spine { left: -8px; transform: rotateY(-90deg); background: linear-gradient(90deg, #0a1226, #16264a 50%, #0a1226); }
.book__text { font-size: 15.5px; color: var(--mute); }
.book__text b { display: block; color: var(--bone); font-weight: 700; font-size: 16.5px; }
.book__text { min-inline-size: 0; }
/* narrow phones: the English title may wrap; the narrowest get a smaller book too */
@media (max-width: 379px) { .book__text .nb { white-space: normal; } }
@media (max-width: 359px) { .book { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } }

/* program: the loop between sessions. Physical positions on purpose — it is a
   diagram, and the travelling dot is placed from an angle. */
.loop { position: relative; direction: ltr; aspect-ratio: 1; max-inline-size: min(340px, 86vw); margin: 18px auto 0; }
.loop__ring { position: absolute; inset: 6%; border: 1px dashed rgba(130, 170, 255, .35); border-radius: 50%; }
.js .loop__ring { display: none; }
/* thirty sessions around the dial, lit as the chapter scrolls by (main.js) */
.loop__dial { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(56, 182, 255, .5)); }
.loop__dial path { fill: none; stroke: rgba(130, 170, 255, .15); stroke-width: 7; transition: stroke .3s; }
.loop__dial path.on { stroke: var(--cyan); }
.loop__dial path.on.is-new { stroke: #dff3ff; }
.loop.is-full .loop__dial { animation: dial-full 1.6s ease-out; }
@keyframes dial-full { 30% { filter: drop-shadow(0 0 20px rgba(140, 220, 255, .95)); } }
.loop__count { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; direction: rtl; pointer-events: none; }
.loop__count b { font-weight: 900; font-size: clamp(40px, 12vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--bone); }
.loop__count small { margin-block-start: 2px; font-size: 13.5px; font-weight: 700; color: var(--mute); }
.loop__dot { position: absolute; left: 0; top: 0; inline-size: 14px; block-size: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #eaf8ff; box-shadow: 0 0 0 3px rgba(56, 182, 255, .35), 0 0 22px 4px var(--cyan); }
.loop__node { position: absolute; inline-size: 29%; transform: translate(-50%, -50%); direction: rtl; text-align: center; font-weight: 700; font-size: 14.5px; line-height: 1.3; padding: 9px 7px; background: rgba(10, 15, 25, .82); border: 1px solid var(--line); color: var(--mute); transition: border-color .3s, color .3s, background-color .3s, box-shadow .3s; }
.loop__node[aria-pressed="true"] { color: var(--bone); border-color: var(--cyan); background: #0b1730; box-shadow: 0 0 24px rgba(56, 182, 255, .3); }
.loop__node:nth-of-type(1) { left: 50%; top: 22%; }
.loop__node:nth-of-type(2) { left: 22%; top: 50%; }
.loop__node:nth-of-type(3) { left: 50%; top: 78%; }
.loop__node:nth-of-type(4) { left: 78%; top: 50%; }
.loop__say { min-block-size: 3.4em; margin-block-start: 16px; color: var(--mute); text-align: center; }
/* the teen's page: the dial alone, the count in the middle */
.loop--solo { max-inline-size: min(250px, 66vw); margin-block: 24px 6px; }
.loop__say strong { color: var(--bone); }
.facts { margin-block-start: 28px; display: grid; gap: 14px; }
.facts p { color: var(--mute); }
.facts p strong { color: var(--bone); font-weight: 700; }

/* the lab: task → attempt → understanding */
.lab { margin-block-start: 22px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--ink-2); }
/* the three stages are one segmented control; the lit segment slides between them */
.lab__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-block-end: 1px solid var(--line); --k: 0; }
.lab__steps::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--k) * 100% / 3); inline-size: calc(100% / 3); background: var(--cyan); transition: inset-inline-start .5s cubic-bezier(.2, .8, .2, 1); }
.lab__steps button { position: relative; min-block-size: 44px; padding: 8px 6px; text-align: center; font-weight: 700; font-size: 15px; color: var(--mute); transition: color .3s; cursor: pointer; }
.lab__steps button:hover:not(.is-on) { color: var(--bone); }
.lab__steps button.is-on { color: var(--ink); }
.lab__steps button:focus-visible { outline: 2px solid #ED712E; outline-offset: -2px; }
@keyframes caret { 50% { opacity: 0; } }

/* the filter */
.path { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-block-start: 22px; font-weight: 700; font-size: 15px; }
.path span { padding: 7px 9px; border: 1px solid var(--line); white-space: nowrap; }
.path i { color: var(--mute); font-style: normal; }
.check { margin-block-start: 30px; }
.check__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-start: 14px; }
.check__grid button { display: flex; align-items: center; gap: 10px; min-block-size: 52px; padding: 8px 12px; text-align: start; font-size: 15px; line-height: 1.3; border: 1px solid var(--line); color: var(--mute); transition: border-color .2s, color .2s, background-color .2s; }
.check__grid button > span { flex: 1; min-inline-size: 0; }
.check__grid button::before { content: ""; flex: none; inline-size: 16px; block-size: 16px; border: 1.5px solid var(--line); transition: background-color .2s, border-color .2s; }
.check__grid button[aria-pressed="true"] { color: var(--bone); border-color: var(--cyan); background: #0b1730; }
.check__grid button[aria-pressed="true"]::before { background: var(--cyan); border-color: var(--cyan); }
.check__say { min-block-size: 3.2em; margin-block-start: 14px; font-weight: 700; }

/* fit check */
.fit { margin-block-start: 26px; padding: 22px 18px 22px; border: 1px solid rgba(140, 170, 230, .24); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(22, 33, 58, .9), rgba(11, 17, 31, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .42); }
.fit__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-block-size: 44px; }
.fit__count { color: var(--mute); font-size: 15.5px; }
.fit__ring { flex: none; inline-size: 44px; block-size: 44px; margin-inline-start: auto; overflow: visible; }
.fit__ring path { fill: none; stroke: rgba(160, 196, 255, .18); stroke-width: 8; transition: stroke .4s; }
.fit__ring path.on { stroke: var(--cyan); }
.fit__ring .key { fill: rgba(160, 196, 255, .22); stroke: none; transition: fill .4s; }
.fit__ring.is-full { filter: drop-shadow(0 0 10px rgba(56, 182, 255, .75)); }
.fit__ring.is-full .key { fill: var(--bone); }
.fit__q { margin-block-start: 6px; font-weight: 900; font-size: 24px; line-height: 1.25; }
.fit__q:focus { outline: none; }
.fit__opts { display: grid; gap: 8px; margin-block-start: 16px; }
.fit__opts button { min-block-size: 52px; padding: 10px 14px; text-align: start; font-size: 16.5px; border: 1px solid rgba(160, 190, 255, .26); border-radius: 10px; background: rgba(4, 8, 16, .45); transition: border-color .2s, background-color .2s; }
.fit__opts button:hover { border-color: var(--bone); }
.fit__opts button[aria-pressed="true"] { border-color: var(--cyan); background: #0b1730; }
.fit__opts--row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.fit__opts--row button { padding-inline: 4px; text-align: center; }
.fit__nav { display: flex; justify-content: space-between; align-items: center; margin-block-start: 16px; min-block-size: 24px; }
.fit__back { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; font-size: 15.5px; }
.fit__result h3 { font-size: 22px; font-weight: 900; }
.fit__result p { margin-block-start: 8px; color: var(--mute); }
.form { display: grid; gap: 12px; margin-block-start: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15.5px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"] { min-block-size: 54px; padding: 0 14px; padding-right: 46px; font: inherit; font-size: 17px; color: var(--bone);
  background: rgba(4, 8, 16, .72) no-repeat right 14px center / 20px; border: 1px solid rgba(160, 190, 255, .26); border-radius: var(--r-field); transition: border-color .2s, box-shadow .2s; }
/* each field's icon, at its start (the right): a person, a phone, an envelope */
.form input[name="name"] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b8d6' stroke-width='1.7' stroke-linecap='round'><circle cx='12' cy='8' r='3.6'/><path d='M4.8 20c.9-3.7 3.8-5.6 7.2-5.6s6.3 1.9 7.2 5.6'/></svg>"); }
.form input[name="phone"] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b8d6' stroke-width='1.7' stroke-linejoin='round'><path d='M6.6 3.8 9 3.4l1.6 4.1-2 1.5a12 12 0 0 0 6.4 6.4l1.5-2 4.1 1.6-.4 2.4c-.2 1-1 1.7-2 1.7C10.3 19.1 4.9 13.7 4.9 5.8c0-1 .7-1.8 1.7-2Z'/></svg>"); }
.form input[name="email"] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b8d6' stroke-width='1.7' stroke-linejoin='round'><rect x='3.5' y='5.5' width='17' height='13' rx='2'/><path d='m4 7 8 6 8-6'/></svg>"); }
.form input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(56, 182, 255, .18); }
.form input[aria-invalid="true"] { border-color: #ff6b6b; }
.form .agree { display: flex; gap: 10px; align-items: start; font-weight: 400; color: var(--mute); }
.form .agree input { inline-size: 22px; block-size: 22px; margin-block-start: 2px; accent-color: var(--blue); flex: none; }
.form__err { color: #ff8b8b; font-size: 15.5px; min-block-size: 1.4em; }
.form__note { font-size: 14px; line-height: 1.55; color: var(--mute); }
.form__note .link--inline { font-size: inherit; }
.form .btn { inline-size: 100%; }
.hp-field { display: none !important; }

/* faq */
.faq { display: grid; gap: 8px; margin-block-start: 20px; }
.faq details { border: 1px solid rgba(160, 190, 255, .16); border-radius: 14px; background: rgba(11, 17, 30, .86); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: rgba(56, 182, 255, .42); background: rgba(13, 23, 42, .92); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: 17.5px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
/* a chevron pointing down, up once open (physical sides on purpose: a chevron doesn't mirror) */
.faq summary::after { content: ""; flex: none; inline-size: 10px; block-size: 10px; margin-block-start: -5px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; color: var(--mute); transform: rotate(45deg); transition: transform .3s, margin .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-block-start: 5px; color: var(--cyan); }
.faq details p { padding: 0 16px 16px; color: var(--mute); }
/* opening, an answer slides down with a line of light along its edge (main.js animates the height) */
.faq details { position: relative; }
.faq summary { transition: color .25s; }
.faq summary:hover, .faq details[open] summary { color: #dff3ff; }
.faq .faq__a { overflow: hidden; }
.faq__more { margin-block-start: 16px; color: var(--mute); }


/* footer */
.foot { padding-block: 26px calc(30px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--faint); color: var(--mute); font-size: 15px; }
.foot__logo { block-size: 26px; inline-size: auto; }
.foot .links { margin-block-start: 16px; }
.foot .links:first-child { margin-block-start: 0; }
.foot small { display: block; margin-block-start: 18px; font-size: 13.5px; line-height: 1.6; }

/* sticky action bar (phones) */
.dock { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 25; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(4, 6, 10, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block-start: 1px solid var(--faint); transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.dock.is-on { transform: none; }
.dock .btn { min-block-size: 48px; }
/* the narrowest phones: both labels still fit on one line */
@media (max-width: 359px) { .dock .btn { padding-inline: 8px; font-size: 15.5px; } }

/* the share sheet */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; max-inline-size: none; inline-size: 100%; max-block-size: 88svh; padding: 0; color: var(--bone); background: var(--ink-2); border: 0; border-block-start: 1px solid var(--line); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(0, 0, 0, .62); }
.sheet__in { padding: 22px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet__head h2 { font-weight: 900; font-size: 24px; line-height: 1.2; }
.sheet__x { inline-size: 44px; block-size: 44px; font-size: 26px; line-height: 1; color: var(--mute); }
.sheet__opts { display: grid; gap: 10px; margin-block-start: 18px; }
.sheet__opts .btn { justify-content: space-between; inline-size: 100%; }
.sheet__note { margin-block-start: 14px; color: var(--mute); font-size: 15px; min-block-size: 1.5em; }

/* reveals: hidden states live under .js so the page reads with scripts off.
   Titles rise word by word — Hebrew always splits by word, never by letter. */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-block-end: .08em; margin-block-end: -.08em; }
.wd > span { display: inline-block; }
.js .split-words .wd > span { transform: translateY(110%); }
.js .rise { opacity: 0; transform: translateY(16px); }
.js .ln { display: inline-block; }

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; }
  .top__in { block-size: 76px; }
  .top__logo img { block-size: 32px; }
  .hero .pair { max-inline-size: 460px; }
  .chapter { padding-block: 120px; }
  /* both columns start at the same line: the headline and what stands beside it */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; align-items: start; }
  .sys { block-size: 520px; }
  .sys__tilt { scale: 1.6; }
  .nir { grid-template-columns: 220px 1fr; gap: 32px; }
  .dock { display: none; }
  .foot { padding-block-end: 48px; }
  .sheet { inset: 0; margin: auto; inline-size: min(560px, 92vw); max-block-size: 86vh; border: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; }
  .js .split-words .wd > span { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .atmo i { animation: none !important; }
}
/* the same stillness, asked for from the accessibility menu (html.is-still, set by each page's head script) */
html.is-still .rise { opacity: 1; transform: none; }
html.is-still .split-words .wd > span { transform: none; }
html.is-still *, html.is-still *::before, html.is-still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.is-still .atmo i { animation: none !important; }

/* ── the last word: fifteen seats, and the details once more ─────────── */
/* the number, drawn by the digits (seats.js); without scripts the heading says it */
.final__seats { display: none; }
.final__head { position: relative; isolation: isolate; }
.final__head::before { content: ""; position: absolute; inset: -40px -20px auto; block-size: 300px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(31, 99, 255, .2), transparent); }
.js .final__seats { display: block; inline-size: min(100%, 320px); block-size: clamp(92px, 25vw, 130px); margin-inline: auto; margin-block-end: 2px; }
.final__lead { max-inline-size: 30em; }
.final__form { margin-block-start: 18px; padding: 20px 16px 20px; border: 1px solid rgba(140, 170, 230, .24); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(22, 33, 58, .9), rgba(11, 17, 31, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .42); }
.form__title { font-weight: 900; font-size: clamp(22px, 5.8vw, 28px); line-height: 1.25; }
.form__sub { margin-block-start: -4px; color: var(--mute); }
.final__go svg { inline-size: 19px; block-size: 19px; }
.final__go { min-block-size: 58px; margin-block-start: 4px; font-size: 17.5px; }
/* which grade, as five buttons in one row (radio inputs, so a keyboard and a screen reader read them as a choice) */
.grade { display: grid; gap: 8px; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.grade legend { margin-block-end: 6px; padding: 0; font-weight: 500; font-size: 15.5px; }
.grade legend span { color: var(--mute); font-weight: 400; }
.grade__opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.form .grade__opts label { position: relative; display: block; }
.grade__opts input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.grade__opts span { display: grid; place-items: center; min-block-size: 48px; font-weight: 700; font-size: 16px; border: 1px solid rgba(160, 190, 255, .26); border-radius: 10px; background: rgba(4, 8, 16, .5); transition: border-color .2s, background-color .2s; }
.grade__opts label:hover span { border-color: rgba(238, 241, 246, .5); }
.grade__opts input:checked + span { border-color: var(--cyan); background: #0b1730; color: #dff3ff; }
.grade__opts input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── the fit check again, right after the film ─────────────────────────── */
/* the page under an open window stays put */
html.is-modal { overflow: hidden; }
/* a sheet from the bottom on a phone, a window in the middle on a desktop */
.warm { position: fixed; inset: auto 0 0 0; margin: 0; inline-size: 100%; max-inline-size: none; max-block-size: 92svh; padding: 0; color: var(--bone);
  background: #070b14; border: 0; border-block-start: 1px solid rgba(120, 170, 255, .35); box-shadow: 0 -20px 80px rgba(0, 0, 0, .6), 0 0 90px rgba(31, 99, 255, .2); overflow: auto; overscroll-behavior: contain; }
.warm::backdrop { background: rgba(2, 4, 10, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.warm__in { padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.warm__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.warm__head h2 { font-weight: 900; font-size: clamp(22px, 6vw, 30px); line-height: 1.2; text-wrap: balance; }
.warm__head h2:focus { outline: none; }
.warm .sheet__x { flex: none; margin-block-start: -6px; margin-inline-end: -8px; }
.warm__lead { margin-block-start: 6px; color: var(--mute); }
.fit--warm { margin-block-start: 14px; }

/* ── accessibility ─────────────────────────────────────────────────────────
   A skip link first in every page; the menu's round button in a corner
   (a11y.js), above the phone's action bar when that is up; and the four
   ways the menu can change the page, each a class on <html>. */
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100; padding: 12px 16px; font-weight: 700; color: var(--ink); background: var(--bone); text-decoration: none; transform: translateY(-180%); transition: transform .2s; }
.skip:focus { transform: none; }
/* a section a link has moved the focus to: no ring round the whole of it */
[tabindex="-1"]:focus { outline: none; }
/* The button, panel, and cookie dialog live in chrome.css so the homepage can use the same file. */

/* high contrast: black ground, white words, nothing glowing behind them */
html.a11y-contrast { --mute: #fff; --line: rgba(255, 255, 255, .7); --faint: rgba(255, 255, 255, .4); }
html.a11y-contrast, html.a11y-contrast body { background: #000; }
html.a11y-contrast .atmo { display: none; }
html.a11y-contrast .plate, html.a11y-contrast .top.is-solid, html.a11y-contrast .dock { background: #000; }
html.a11y-contrast .bridge { color: #fff; }
html.a11y-contrast :is(.lead, .say, .lens-say, .hp__say, .loop__say, .stretch__d, .never span, .news__deck, .news__orig, .news__foot, .news__site, .nir__facts li, .faq p, .band--lab .lead, .way span, .ready__how, .ready__unsure, .ready__prep, .tier__n, .program__end) { color: #fff; }
/* larger text: the reading copy steps up; the headlines are large already */
html.a11y-big body { font-size: 20px; }
html.a11y-big :is(.lens-say, .hp__say, .loop__say, .check__grid button, .news__deck, .news__orig, .news__foot, .news__site, .stretch__d, .nir__facts li, .never span, .ready__list button, .ready__unsure, .way span, .tier__n, .pc-note, .sheet__note, .foot small, .ch__fine, .syl-topic ol, .lab__line, .faq summary, .fit__opts button, .term__door, .ch__hint-text, .live__copy, .book__text) { font-size: max(1.15em, 17px); }
@media (min-width: 900px) { html.a11y-big body { font-size: 21px; } }
/* links stand out: underlined, framed in yellow */
html.a11y-links a, html.a11y-links .link { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; outline: 2px solid #ffd400; outline-offset: 2px; }
/* a plain, familiar face for every word but the code */
html.a11y-font :is(body, h1, h2, h3, h4, p, li, a, button, span, b, strong, em, label, input, summary, dt, dd, small) { font-family: Arial, "Arial Hebrew", Helvetica, sans-serif !important; letter-spacing: normal; }
html.a11y-font :is(.mono, .mono *, .term__cmd, .term__ls, .term__flag) { font-family: var(--f-mono) !important; }

/* the legal pages: the accessibility statement and the privacy policy */
.legal { padding-block: calc(62px + 44px) 64px; }
.legal__in { max-inline-size: 760px; }
.legal h1 { font-weight: 900; font-size: clamp(32px, 8vw, 50px); line-height: 1.1; }
.legal__kicker { margin-block-start: 10px; font-size: 15px; color: var(--mute); }
.legal__date { margin-block-start: 8px; font-size: 15px; color: var(--mute); }
.legal h2 { margin-block-start: 36px; font-weight: 900; font-size: clamp(21px, 5.4vw, 26px); line-height: 1.3; }
.legal h3 { margin-block-start: 22px; font-weight: 700; font-size: clamp(18px, 4.4vw, 21px); line-height: 1.35; }
.legal p { margin-block-start: 12px; color: var(--mute); }
.legal ul { margin-block-start: 12px; padding-inline-start: 1.3em; display: grid; gap: 8px; color: var(--mute); }
.legal li::marker { color: var(--cyan); }
.legal b { color: var(--bone); font-weight: 700; }
@media (min-width: 900px) { .legal { padding-block-start: calc(76px + 64px); } }

/* ── the guide for parents: one long page that reads well and that crawlers
   and answer engines read whole. The legal pages' column, with a summary up
   front, a table of contents, a table, and the questions as on the main page. ── */
.guide .legal__in { max-inline-size: 780px; }
.crumbs { margin-block-end: 14px; font-size: 14.5px; color: var(--mute); }
.crumbs a { color: var(--bone); text-underline-offset: 4px; }
.guide h1 { font-size: clamp(30px, 7.4vw, 48px); line-height: 1.12; text-wrap: balance; }
.guide__sum { margin-block-start: 22px; padding: 18px 20px; border: 1px solid rgba(140, 170, 230, .24); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(20, 30, 52, .82), rgba(11, 17, 30, .86)); color: var(--bone) !important; line-height: 1.7; }
.guide__sum b { color: #9fd9ff; }
.guide__toc { margin-block-start: 26px; padding-block: 4px 6px; border-block: 1px solid var(--faint); }
.guide__toc h2 { margin-block-start: 14px; font-size: 18px; }
.guide__toc ol { margin-block: 10px 12px; padding-inline-start: 1.4em; display: grid; gap: 6px; color: var(--mute); }
.guide__toc a { color: var(--bone); text-decoration-color: var(--line); text-underline-offset: 4px; }
.guide__toc a:hover { text-decoration-color: var(--cyan); }
.guide h2 { scroll-margin-block-start: 90px; }
.guide ol:not(.guide__toc ol) { margin-block-start: 12px; padding-inline-start: 1.3em; display: grid; gap: 8px; color: var(--mute); }
.guide__table { margin-block-start: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.guide__table:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.guide__table table { inline-size: 100%; min-inline-size: 560px; border-collapse: collapse; font-size: 15.5px; }
.guide__table th, .guide__table td { padding: 10px 12px; text-align: start; border-block-end: 1px solid var(--faint); color: var(--mute); }
.guide__table th { color: var(--bone); font-weight: 700; background: rgba(20, 30, 52, .6); }
.guide__table tr:last-child td { border-block-end: 0; }
.guide__table td.ltr { color: var(--bone); text-align: right; }
.guide__note { font-size: 15px; }
.guide .faq { margin-block-start: 16px; }
.guide .faq details p { margin-block-start: 0; }
.guide__cta { margin-block-start: 40px; padding: 22px 20px; border: 1px solid rgba(140, 170, 230, .24); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(20, 30, 52, .82), rgba(11, 17, 30, .86)); }
.guide__cta-say { margin: 0 0 14px !important; font-weight: 900; font-size: clamp(21px, 5.4vw, 26px); color: var(--bone) !important; }
@media (max-width: 359px) { .guide__cta .pair { grid-template-columns: 1fr; } }

/* the footer's legal links */
.links--legal { margin-block-start: 6px; }
.links--legal .link { font-size: 14.5px; color: var(--mute); }

/* ── the teen's page ────────────────────────────────────────────────────── */
.ch { position: relative; border: 1px solid var(--line); background: var(--ink-2); padding: 22px 18px; scroll-margin-top: 84px; }
/* The close control stays below the fixed header so the header cannot take the click. */
.ch__x {
  position: sticky;
  inset-block-start: calc(62px + env(safe-area-inset-top, 0px) + 8px);
  z-index: 6;
  display: grid;
  place-items: center;
  margin-inline-start: auto;
  margin-block-end: 8px;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--line);
  background: #10151f;
  color: var(--bone);
  font-size: 28px;
  line-height: 1;
}
.ch__x:hover { color: var(--cyan); border-color: var(--cyan); }
@media (min-width: 900px) {
  .ch { scroll-margin-top: 96px; }
  .ch__x { inset-block-start: calc(76px + 8px); }
}
.ch__lead { font-weight: 900; font-size: 22px; line-height: 1.3; }
.ch__go { inline-size: 100%; margin-block-start: 16px; }
.ch__note { margin-block-start: 10px; color: var(--mute); font-size: 15.5px; }
.ch__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block-start: 10px; padding: 6px 14px; border: 1px solid var(--line); background: var(--ink); font-size: 17px; }
.ch__hints { margin-block-start: 14px; border-block-start: 1px solid var(--faint); }
.ch__hints details { border-block-end: 1px solid var(--faint); }
.ch__hints summary { list-style: none; padding-block: 14px; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; }
.ch__hints summary::-webkit-details-marker { display: none; }
.ch__hints summary::after { content: "+"; color: var(--mute); }
.ch__hints details[open] summary::after { content: "−"; }
.ch__hints p { padding-block-end: 14px; color: var(--mute); }
.ch__form input[name="flag"] { font-family: var(--f-mono); }
/* no film in the teen's hero: the mark stays a closed mark, and the hero centres */
.hero.kid-hero { --P: 1; display: grid; align-content: center; }
.kid-in { margin-block-start: 22px; max-inline-size: 560px; }
.kid .nir__photo { margin-block-start: 0; }
.kid .chapter .split > figure { margin-block-start: 22px; }
@media (min-width: 900px) { .kid .chapter .split > figure { margin-block-start: 0; } }

/* ── lead-in sentences over a headline: readable, quieter than the title ── */
.bridge { margin-block-end: 10px; font-weight: 700; font-size: clamp(17px, 4.5vw, 21px); line-height: 1.35; color: #9fd9ff; }
.hot { color: var(--bone); font-weight: 900; font-size: 1.12em; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.links--pair .link { font-size: 15.5px; line-height: 1.3; }
/* inline in a paragraph, but still a 44px target: the padding reaches past the line */
.link--inline { display: inline; min-block-size: 0; white-space: nowrap; padding-block: 11px; }

/* ── the press: four stories, each a card the way a news site shows one ──
   (Daniel, 2026-11-07, round 3: "it has to feel like an article"). A picture
   on top, drawn for each story in the page's own line (no one else's images);
   the site that ran it, with its initials for a logo; the story in plain
   Hebrew; the headline as it ran (so it can be checked); the date and the way
   to the article at the foot. On a phone the cards are a row that swipes, with
   a track under it; on a desktop, a news front page: the HP story leads and
   the other three run down beside it, each with its picture at the side. ── */
.press__head { max-inline-size: 40em; }
.press__by { margin-block-start: 12px; }
.news__defs { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.news { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 330px); gap: 12px; margin-block-start: 20px;
  margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.news::-webkit-scrollbar { display: none; }
.news__item { display: flex; min-inline-size: 0; scroll-snap-align: start; }
.news__card { position: relative; display: flex; flex-direction: column; inline-size: 100%; text-decoration: none; color: var(--bone); overflow: hidden;
  border: 1px solid rgba(160, 196, 255, .16); border-radius: var(--r-card); background: #0b111e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 16px 36px rgba(0, 0, 0, .3);
  transition: border-color .3s, transform .3s, box-shadow .3s; }
.news__card:hover { border-color: rgba(56, 182, 255, .55); transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0, 0, 0, .42); }
.news__card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* the picture: 16:9, edge to edge; it settles in as the card arrives (main.js) and leans in on hover */
.news__img { display: block; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1328; border-block-end: 1px solid rgba(160, 196, 255, .12); }
.news__img svg { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.news__card:hover .news__img svg { transform: scale(1.05); }
.news__body { display: flex; flex-direction: column; gap: 9px; flex: 1; padding: 14px 16px 14px; }
/* the site, as a news card shows its source: a round mark with its initials, and its name */
.news__pub { display: flex; align-items: center; gap: 9px; min-inline-size: 0; }
.news__av { flex: none; display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; color: #fff; font: 700 10.5px/1 var(--f-mono); letter-spacing: .02em; background: #1f63ff; }
.news__av--hr { background: #0f766e; }
.news__av--sn { background: #6d4ad6; }
.news__av--ic { background: #9d174d; }
.news__site { min-inline-size: 0; font-weight: 700; font-size: 14px; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news__head { font-weight: 900; font-size: clamp(19px, 5.2vw, 21px); line-height: 1.3; text-wrap: balance; }
.news__head em { font-style: normal; color: var(--cyan); }
.news__card--lead .news__head { font-size: clamp(21px, 5.8vw, 25px); line-height: 1.25; }
.news__deck { color: var(--mute); line-height: 1.5; }
.news__orig { font-size: 13.5px; line-height: 1.45; font-style: italic; color: rgba(201, 208, 220, .82); text-align: left; }
.news__orig:lang(ja) { font-style: normal; }
/* a headline that ran in Hebrew reads from the right, upright */
.news__orig:lang(he) { font-style: normal; text-align: start; }
.news__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-block-start: auto; padding-block-start: 11px; border-block-start: 1px solid rgba(160, 196, 255, .12); font-size: 13.5px; color: var(--mute); }
.news__foot time { white-space: nowrap; }
.news__go { font-weight: 700; font-size: 15px; color: var(--cyan); white-space: nowrap; }
/* the narrowest phones: the date and the link still share one line */
@media (max-width: 359px) { .news__foot { gap: 4px 8px; font-size: 12.5px; } .news__go { font-size: 14px; } }
.news__track { position: relative; max-inline-size: 160px; block-size: 3px; margin-block-start: 2px; background: rgba(56, 182, 255, .18); border-radius: 2px; }
.news__track i { position: absolute; inset-block: 0; inset-inline-start: calc(var(--p, 0) * (1 - var(--w, 1)) * 100%); inline-size: calc(var(--w, 1) * 100%); background: var(--cyan); border-radius: 2px; }
html:not(.js) .news__track { display: none; }
html.is-still .news__card:hover .news__img svg { transform: none; }
.press__links { margin-block-start: 14px; }


/* ── Nir: the vendors that credit him, set like a masthead ─────────────── */
.names { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: 10px; border-block: 1px solid var(--line); }
.names li { display: grid; place-items: center; min-block-size: 64px; font-weight: 900; font-size: clamp(19px, 5.2vw, 28px); letter-spacing: .01em; color: var(--bone); }
.names li + li { border-inline-start: 1px solid var(--faint); }
/* four names don't fit across the narrowest phones: two by two */
@media (max-width: 359px) {
  .names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .names li:nth-child(3) { border-inline-start: 0; }
  .names li:nth-child(n+3) { border-block-start: 1px solid var(--faint); }
}
/* the names come up like credits: decoded letter by letter, then a flash */
.nm { position: relative; display: inline-block; }
.nm__s { position: absolute; inset-block: 0; left: 0; white-space: nowrap; color: var(--cyan); }
/* the noise is wider than the name it settles into: keep it inside the name */
.js .nm.is-coding { overflow: hidden; }
.js .nm.is-coding .nm__f { visibility: hidden; }
.nm:not(.is-coding) .nm__s { display: none; }
.nm.is-lit { animation: credit 1.4s ease-out; }
@keyframes credit { 0% { text-shadow: 0 0 18px rgba(56, 182, 255, .95), 0 0 2px #fff; color: #dff3ff; } 100% { text-shadow: 0 0 0 rgba(56, 182, 255, 0); } }

/* ── CyCube: the lab, lit in the CyCube orange. A console with a title bar, a cube that
   turns a face at every stage over a grid floor running toward the reader,
   and the stage printed out line by line. The one place on the page where
   motion may sit behind words; the cube and the floor only move while the
   console is on screen (.is-live, main.js). ── */
.cycube { position: relative; margin-block-start: 26px; isolation: isolate; }
.cycube::before { content: ""; position: absolute; inset: -40px calc(-1 * var(--gutter)) -30px; z-index: -1; pointer-events: none;
  background: radial-gradient(65% 60% at 50% 60%, rgba(237, 113, 46, .3), rgba(237, 113, 46, .1) 55%, rgba(237, 113, 46, 0) 80%); }
.cycube__name { color: #6ef0a0; text-shadow: 0 0 22px rgba(110, 240, 160, .45); }
.band--lab .cycube__name,
.cycube .cycube__name { color: #ED712E; text-shadow: 0 0 22px rgba(237, 113, 46, .45); }

.cycube .lab { background: #100804; border-color: rgba(237, 113, 46, .5); box-shadow: 0 0 0 1px rgba(237, 113, 46, .08), 0 0 70px rgba(237, 113, 46, .18), inset 0 0 40px rgba(237, 113, 46, .06); }
.lab__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; direction: ltr; border-block-end: 1px solid rgba(237, 113, 46, .28); }
.lab__bar i { inline-size: 8px; block-size: 8px; border-radius: 50%; border: 1px solid rgba(237, 113, 46, .65); }
.lab__bar span { margin-inline-start: auto; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 214, 190, .85); }
.lab__screen { position: relative; display: grid; place-items: center; block-size: 150px; overflow: hidden; }
/* the floor: an orange grid tipped away, fading at both ends */
.lab__screen::before { content: ""; position: absolute; inset: 44% -50% -16%; transform: perspective(260px) rotateX(60deg); transform-origin: 50% 0;
  background: linear-gradient(rgba(237, 113, 46, .38) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(237, 113, 46, .38) 1px, transparent 1px) 50% 0 / 22px 100%;
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 65%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 65%, transparent); }
.lab.is-live .lab__screen::before { animation: floor 1.4s linear infinite; }
@keyframes floor { to { background-position: 0 22px, 50% 0; } }
/* the screen's scanlines */
.lab__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(237, 113, 46, .05) 0 1px, transparent 1px 3px); }
.cube { --s: 74px; position: relative; z-index: 1; inline-size: var(--s); block-size: var(--s); margin-block-start: -18px; perspective: 520px; }
/* a light on the floor under it */
.cube::after { content: ""; position: absolute; left: 50%; top: 128%; inline-size: 170%; block-size: 30px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(237, 113, 46, .5), transparent); }
.cube__turn, .cube__spin { position: absolute; inset: 0; transform-style: preserve-3d; }
/* a quarter turn per stage (--q counts up, main.js), on top of the slow spin */
.cube__turn { transform: rotateY(calc(var(--q, 0) * 90deg)); transition: transform 1.1s cubic-bezier(.3, 1.3, .4, 1); }
.cube__spin { transform: rotateX(-24deg) rotateY(-32deg); }
.lab.is-live .cube__spin { animation: cube 18s linear infinite; }
@keyframes cube { from { transform: rotateX(-24deg) rotateY(-32deg); } to { transform: rotateX(-24deg) rotateY(328deg); } }
.cube__spin i { position: absolute; inset: 0; border: 1.5px solid rgba(255, 176, 122, .95);
  background: linear-gradient(rgba(237, 113, 46, .3) 1px, transparent 1px) 0 0 / 33.34% 33.34%, linear-gradient(90deg, rgba(237, 113, 46, .3) 1px, transparent 1px) 0 0 / 33.34% 33.34%, rgba(48, 22, 8, .42);
  box-shadow: 0 0 14px rgba(237, 113, 46, .35), inset 0 0 14px rgba(237, 113, 46, .28); }
.cube__spin i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube__spin i:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube__spin i:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube__spin i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube__spin i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube__spin i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
/* a flash through the faces whenever the stage changes */
.lab.is-flash .cube__spin i { animation: face-flash .8s ease-out; }
@keyframes face-flash { from { background-color: rgba(237, 113, 46, .6); } }
.cycube .lab__steps { border-block: 1px solid rgba(237, 113, 46, .3); }
.cycube .lab__steps::before { background: #ED712E; box-shadow: 0 0 18px rgba(237, 113, 46, .55); }
.cycube .lab__line { color: #ffd7c2; }
/* the console's lines: a mark in the margin, the words after it; three lines' room so nothing jumps */
.lab__line { min-block-size: calc(3 * 1.6em + 24px); padding: 12px 14px; font-size: 16px; line-height: 1.6; }
.lab__type p { display: flex; gap: 10px; align-items: baseline; }
.lab__type i { flex: none; inline-size: 1em; font-style: normal; font-family: var(--f-mono); text-align: center; color: rgba(237, 113, 46, .8); }
.lab__type .is-no i { color: #ff9b8c; }
.lab__type .is-yes i { color: #ED712E; }
.lab__type p:last-child span::after { content: ""; display: inline-block; inline-size: .5em; block-size: 1.05em; margin-inline-start: 3px; vertical-align: -.16em; background: currentColor; animation: caret 1s steps(1) infinite; }
.re { color: #cdbb8b; font-weight: 700; font-size: 1.08em; }

/* ── the syllabus: the mark's rings, unrolled into the course ───────────
   Three stages, one row each, one digit per lesson in the mark's own font
   and colours. The first time they are seen the digits stand on three rings,
   the slot at the bottom open as in the logo, and unroll into the rows
   (main.js). A stage opens where it lies; its digits light one by one. ── */
.tiers { margin-block-start: 24px; border-block-start: 1px solid var(--faint); }
.tier { position: relative; border-block-end: 1px solid var(--faint); }
.tier summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "track plus" "name plus" "n plus"; gap: 4px 14px; align-items: center; padding-block: 14px; cursor: pointer; }
.tier summary::-webkit-details-marker { display: none; }
.tier summary::after { content: "+"; grid-area: plus; font-weight: 400; font-size: 24px; line-height: 1; color: var(--mute); transition: transform .25s; }
.tier[open] summary::after { transform: rotate(45deg); }
.tier__track { grid-area: track; display: flex; flex-wrap: wrap; gap: 0 3px; min-block-size: 26px; }
.tier__track i { display: inline-block; font-style: normal; font-family: Saira, var(--f-body); font-weight: 700; font-size: 22px; line-height: 1.15; color: rgba(238, 241, 246, .62); transition: color .35s, text-shadow .35s; }
.tier__track i.is-b { color: rgba(64, 132, 255, .9); }
.tier__track i.is-lit { color: #e8f7ff; text-shadow: 0 0 12px rgba(56, 182, 255, .85); }
.tier__name { grid-area: name; font-weight: 900; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.25; transition: color .25s; }
.tier summary:hover .tier__name, .tier[open] .tier__name { color: #dff3ff; }
.tier__n { grid-area: n; color: var(--mute); font-size: 14.5px; white-space: nowrap; }
.tier__body { overflow: hidden; }
.tier .syl-topics { margin-block-start: 0; padding-block-end: 20px; }
/* opening, a stage gets the FAQ's line of light along its edge */
.tier::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(-1 * min(var(--gutter), 18px)); inline-size: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tier[open]::before { transform: scaleY(1); }
.tier.is-closing::before { transform: scaleY(0); }
.syl-n { font-weight: 500; font-size: 14.5px; color: var(--mute); }

.syl-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 12px; }
.syl-topic { flex: 1 1 260px; padding: 14px 16px 12px; border: 1px solid var(--line); background: rgba(14, 21, 36, .9); }
.syl-topic h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.syl-topic h4 .syl-n { flex: none; }
.syl-topic ol { margin-block-start: 8px; padding-inline-start: 1.7em; font-size: 15.5px; line-height: 1.55; color: #d3d9e3; }
.syl-topic li::marker { font-size: .85em; color: var(--mute); }

/* ── the way in: four stops on one line ─────────────────────────────────── */
.way__title { margin-block-start: 28px; font-weight: 900; font-size: clamp(20px, 5.4vw, 24px); line-height: 1.3; }
.way { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-block-start: 14px; padding: 0; }
.way::before { content: ""; position: absolute; inset-inline: 12.5%; inset-block-start: 8px; block-size: 2px; background: linear-gradient(90deg, rgba(56, 182, 255, .25), rgba(56, 182, 255, .8)); }
.way li { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; padding-block-start: 28px; text-align: center; min-inline-size: 0; }
.way li::before { content: ""; position: absolute; inset-block-start: 1px; inset-inline-start: calc(50% - 8px); inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); }
/* the first stop is here, on this page */
.way li:first-child::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 182, 255, .18), 0 0 18px rgba(56, 182, 255, .7); }
.way b { font-weight: 900; font-size: 15.5px; line-height: 1.25; }
.way span { color: var(--mute); font-size: 14px; line-height: 1.35; }

/* ── what they need to know already: tick, and see where they stand ───── */
.ready { margin-block-start: 34px; padding: 18px 16px 16px; border: 1px solid rgba(140, 170, 230, .22); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(18, 27, 47, .84), rgba(10, 15, 27, .88)); }
.ready__title { font-weight: 900; font-size: clamp(22px, 5.9vw, 29px); line-height: 1.25; }
.ready__note { margin-block-start: 6px; font-size: 17px; color: var(--bone); }
.ready__note b { color: var(--cyan); font-weight: 900; }
.ready__how { margin-block-start: 4px; color: var(--mute); }
.ready__list { display: grid; margin-block-start: 12px; border-block-start: 1px solid var(--faint); }
.ready__list button { display: flex; align-items: center; gap: 12px; min-block-size: 46px; padding: 7px 4px; text-align: start; font-size: 16px; line-height: 1.35; color: var(--bone);
  border-block-end: 1px solid var(--faint); transition: background-color .2s, color .2s; }
.ready__list button > span { flex: 1; min-inline-size: 0; }
.ready__list button::before { content: ""; flex: none; inline-size: 22px; block-size: 22px; border: 1.5px solid rgba(160, 196, 255, .6); background: center / 15px no-repeat; transition: background-color .2s, border-color .2s; }
.ready__list button:hover::before { border-color: var(--bone); }
.ready__list button[aria-pressed="true"] { color: #dff3ff; }
.ready__list button[aria-pressed="true"]::before { border-color: var(--cyan); background-color: var(--cyan);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%2304060a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.ready__out { margin-block-start: 12px; min-block-size: 56px; }
.js .ready__out { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.ready__say { font-weight: 700; line-height: 1.45; }
.ready__go { grid-column: 1 / -1; margin-block-start: 12px; inline-size: 100%; }
.ready__unsure { margin-block-start: 10px; color: var(--mute); }
.ready__unsure .link { font-size: inherit; color: var(--bone); }
.ready__prep { margin-block-start: 14px; padding-block-start: 14px; border-block-start: 1px solid var(--faint); color: var(--mute); }
.ready__prep strong { color: var(--bone); font-weight: 700; }


/* ── what they need to know ────────────────────────────────────────────── */
.check__title { font-weight: 900; font-size: clamp(22px, 5.8vw, 30px); line-height: 1.25; }
.check__ask { margin-block-start: 6px; font-weight: 700; font-size: 18px; color: var(--cyan); }
.check__grid .check__unsure { color: var(--bone); border-color: rgba(56, 182, 255, .55); background: rgba(31, 99, 255, .08); }
.check__grid .check__unsure::before { content: "?"; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: var(--cyan); border-color: var(--cyan); border-radius: 50%; }
.check__grid .check__unsure[aria-pressed="true"]::before { color: var(--ink); }
.check__out { margin-block-start: 14px; }
/* seven arcs around a keyhole, one for every box ticked (main.js) */
.js .check__out { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.check__send { grid-column: 1 / -1; }
.check__ring { inline-size: 56px; block-size: 56px; overflow: visible; }
.check__ring path { fill: none; stroke: rgba(160, 196, 255, .18); stroke-width: 7; transition: stroke .35s; }
.check__ring path.on { stroke: var(--cyan); }
.check__ring .key { fill: rgba(160, 196, 255, .22); stroke: none; transition: fill .4s; }
.check__ring.is-full { filter: drop-shadow(0 0 10px rgba(56, 182, 255, .7)); }
.check__ring.is-full .key { fill: var(--bone); }
.check__ring.is-unsure path { stroke: rgba(56, 182, 255, .35); stroke-dasharray: 2 3; }
.check__out .check__say { margin-block-start: 0; }
.check__send { margin-block-start: 12px; }
.check__send .btn { inline-size: 100%; }
.check__prep { margin-block-start: 18px; }

/* ── their turn: the mark that opens the challenge ─────────────────────── */
.turn__card { margin-block-start: 18px; padding: 16px 18px 14px; border: 1px solid rgba(140, 170, 230, .22); border-radius: var(--r-card); background: linear-gradient(180deg, rgba(20, 30, 52, .86), rgba(11, 17, 30, .9)); }
.turn__card-t { font-weight: 900; font-size: clamp(19px, 5vw, 22px); line-height: 1.3; }
.turn__card-t em { font-style: normal; color: var(--cyan); }
.turn__card .rules { margin-block-start: 10px; gap: 8px; font-size: 17px; color: var(--bone); }
.turn__card .rules strong { color: var(--cyan); }
.turn__call { margin-block-start: 22px; font-weight: 700; font-size: clamp(19px, 5vw, 24px); line-height: 1.35; color: var(--bone); }
.turn__call em { font-style: normal; color: var(--cyan); }
.rules { list-style: none; display: grid; gap: 3px; margin-block-start: 14px; padding: 0; color: var(--mute); }
.rules li { position: relative; padding-inline-start: 20px; line-height: 1.5; }
.rules li::before { content: ""; position: absolute; inset-inline-start: 3px; inset-block-start: .58em; inline-size: 7px; block-size: 7px; background: var(--cyan); transform: rotate(45deg); }
.rules strong { color: var(--bone); font-weight: 700; }
/* the real challenge is the teen's: the way to send it, under the mark and,
   once the parents' version opens, at the foot of its panel */
.turn__send { margin-block-start: 18px; }
.turn__send-say { font-weight: 900; font-size: 19px; line-height: 1.35; }
.turn__send-say em { font-style: normal; color: var(--cyan); }
.turn__send .pc-note { margin-block-start: 6px; font-weight: 500; font-size: 15.5px; color: var(--mute); }
.turn__send.is-inside { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
/* the narrowest phones: one button per row, so neither label breaks three ways */
@media (max-width: 359px) { .turn__send .pair { grid-template-columns: 1fr; } }
/* after a solve, the send button calls twice */
.btn.is-calling { animation: calling 1.5s cubic-bezier(.2, .6, .3, 1) 3; }
@keyframes calling { from { box-shadow: 0 0 0 0 rgba(56, 182, 255, .75); } to { box-shadow: 0 0 0 18px rgba(56, 182, 255, 0); } }

/* the parents' version: a training server drawn on the page */
.ch__say { margin-block-start: 8px; color: var(--mute); }
.term { margin-block-start: 16px; border: 1px solid rgba(160, 196, 255, .32); background: #040913; transition: border-color .6s, box-shadow .6s; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; direction: ltr; border-block-end: 1px solid rgba(160, 196, 255, .2); }
.term__bar i { inline-size: 8px; block-size: 8px; border-radius: 50%; border: 1px solid rgba(160, 196, 255, .55); }
.term__bar span { margin-inline-start: auto; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(191, 232, 255, .75); }
.term__body { padding: 14px 14px 16px; }
.term__door { font-weight: 700; line-height: 1.45; }
.term__code { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-block-start: 12px; padding: 12px 8px; font-size: clamp(19px, 5.4vw, 24px); letter-spacing: .06em; color: #cdeeff;
  background: rgba(56, 182, 255, .07); border: 1px dashed rgba(56, 182, 255, .4); text-shadow: 0 0 14px rgba(56, 182, 255, .55); }
.term__code span { font-variant-numeric: tabular-nums; }
.term__form { margin-block-start: 14px; }
.term__form input[name="pass"] { font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.term__out { margin-block-start: 4px; line-height: 1.7; }
.term__ok { font-weight: 700; color: #6ef0a0; }
.term__cmd, .term__ls, .term__flag { font-family: var(--f-mono); font-size: 15px; }
.term__cmd { color: #cdeeff; }
.term__cmd::before { content: "$ "; color: rgba(110, 240, 160, .85); }
.term__ls { color: var(--mute); }
.term__flag { margin-block-start: 6px; padding: 8px 12px; font-size: 18px; color: #ffd27a; background: rgba(255, 176, 32, .09); border: 1px dashed rgba(255, 176, 32, .75); }
.ch.is-solved .term { border-color: rgba(110, 240, 160, .6); box-shadow: 0 0 34px rgba(110, 240, 160, .14); }
.ch__won { margin-block-start: 18px; }
.ch__won:focus { outline: none; }
.lock { position: relative; block-size: 280px; margin-block-start: 6px; touch-action: pan-y; }
.turn__play { position: relative; isolation: isolate; }
.turn__play::before { content: ""; position: absolute; inset: -30px -10px auto; block-size: 360px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(31, 99, 255, .22), rgba(31, 99, 255, .06) 60%, transparent); }
@media (pointer: fine) { .lock { cursor: grab; } .lock[data-state="turning"] { cursor: grabbing; } }
.lock__key { transition: opacity .3s; }
.lock[data-state="turning"] .lock__key, .lock[data-state="unlocking"] .lock__key, .lock[data-state="open"] .lock__key { opacity: 0; }
/* the canvas reaches 40px past the box on every side, so the light behind the
   mark fades out inside it instead of stopping at a straight edge */
.lock__field { position: absolute; inset: -40px; inline-size: calc(100% + 80px); max-inline-size: none; block-size: calc(100% + 80px); pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent), linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-composite: source-in; mask: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent), linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-composite: intersect; }
.lock__key { position: absolute; left: calc(var(--cx) - var(--r)); top: calc(var(--cy) - var(--r)); inline-size: calc(2 * var(--r)); block-size: calc(2 * var(--r)); border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 17px; color: var(--bone); }
.lock__key::before, .lock__key::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1.5px solid rgba(56, 182, 255, .8); animation: ping 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.lock__key::after { animation-delay: 1.2s; }
.lock__key span { position: relative; padding: 6px 12px; background: rgba(4, 6, 10, .55); }
.lock__key:hover span { color: var(--cyan); }
@keyframes ping { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.pc-note { display: flex; align-items: center; gap: 10px; margin-block-start: 14px; font-weight: 700; color: var(--bone); }
.pc-note svg { flex: none; inline-size: 24px; block-size: 24px; color: var(--cyan); }
.turn .pair { margin-block-start: 16px; }
.turn .links--pair { margin-block-start: 6px; }
.ch__mission { font-weight: 900; font-size: 21px; line-height: 1.35; }
.ch__mission:focus { outline: none; }
.ch__phone { margin-block-end: 14px; padding: 10px 12px; font-weight: 500; font-size: 15.5px; color: var(--bone); background: rgba(31, 99, 255, .14); }
.ch__rules { margin-block-start: 14px; border-block-start: 1px solid var(--faint); }
.ch__rules div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-block: 10px; border-block-end: 1px solid var(--faint); }
.ch__rules dt { font-weight: 700; }
.ch__rules dd { margin: 0; color: var(--mute); }
.ch__target { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-start: 16px; }
.ch__label { font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--mute); }
.ch__addr { font-size: 22px; padding: 8px 12px; border: 1px solid var(--line); background: var(--ink); }
.ch__copied { color: var(--cyan); font-size: 15px; }
.ch__hints { display: grid; gap: 6px; margin-block-start: 14px; }
.ch__hint { justify-self: start; min-block-size: 44px; font-weight: 700; color: var(--cyan); text-decoration: underline; text-underline-offset: 5px; }
.ch__hint-text { padding: 10px 12px; color: var(--bone); background: rgba(160, 196, 255, .06); border-inline-start: 2px solid var(--cyan); }
.ch__fine { margin-block-start: 14px; color: var(--mute); font-size: 14px; }

/* youth challenge only — the parents' puzzle does not use .ch--live */
.ch.ch--live {
  background:
    linear-gradient(180deg, rgba(31, 99, 255, .10), transparent 140px),
    var(--ink-2);
  border-color: rgba(56, 182, 255, .32);
  box-shadow: 0 0 0 1px rgba(31, 99, 255, .14), 0 28px 70px rgba(0, 0, 0, .28);
  padding: 28px 18px 22px;
}
.ch--live .live { display: grid; gap: 0; min-inline-size: 0; }
.ch--live .ch__mission { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -0.015em; }
.live__lead { margin-block-start: 10px; max-inline-size: 62ch; color: var(--mute); line-height: 1.55; }
.live__rules { list-style: none; display: grid; gap: 8px; margin-block-start: 18px; padding: 0; }
.live__rules li { display: grid; gap: 4px; min-inline-size: 0; padding: 12px 14px; background: rgba(4, 6, 10, .5); border: 1px solid var(--faint); }
.live__rules b { font-size: 14px; line-height: 1.3; }
.live__rules span { color: var(--mute); font-size: 14.5px; line-height: 1.45; }
.live__target { display: grid; justify-items: start; gap: 8px; margin-block-start: 22px; min-inline-size: 0; }
.live__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--cyan); }
.ch--live .ch__addr {
  max-inline-size: 100%;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .04em;
  padding: 12px 16px;
  color: var(--bone);
  background: #070b14;
  border: 1px solid rgba(56, 182, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(31, 99, 255, .28), 0 0 28px rgba(31, 99, 255, .14);
}
.ch--live .ch__copied { min-block-size: 1.2em; }
.live__hints { display: grid; gap: 8px; margin-block-start: 22px; min-inline-size: 0; }
.live__item { min-inline-size: 0; border: 1px solid var(--line); background: rgba(4, 6, 10, .35); }
.live__item.is-open { border-color: rgba(56, 182, 255, .55); box-shadow: 0 0 0 1px rgba(56, 182, 255, .16), 0 0 24px rgba(31, 99, 255, .08); }
.live__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; inline-size: 100%; min-block-size: 52px; padding: 0 14px; text-align: start; font-weight: 700; }
.live__head:hover { background: rgba(31, 99, 255, .08); }
.live__mark { flex: none; inline-size: 28px; block-size: 28px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cyan); }
.live__mark::before { content: ""; inline-size: 8px; block-size: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.live__item.is-open .live__mark::before { transform: rotate(225deg) translateY(-2px); }
.live__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.live__item.is-open .live__panel { grid-template-rows: 1fr; }
.live__panel > [data-hint-text] { overflow: hidden; min-block-size: 0; }
.live__copy { padding: 0 14px 16px; color: var(--bone); line-height: 1.65; overflow-wrap: break-word; }
.ch--live .live__form { margin-block-start: 26px; padding: 16px; gap: 10px; background: rgba(7, 11, 20, .72); border: 1px solid rgba(56, 182, 255, .28); box-shadow: inset 0 0 0 1px rgba(31, 99, 255, .12); }
.ch--live .live__label { display: flex; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 0.35em; inline-size: fit-content; max-inline-size: 100%; font-weight: 700; }
.ch--live input[name="flag"] {
  font-family: var(--f-mono);
  font-size: 16px;
  letter-spacing: .08em;
  text-align: left;
  background: #070b14;
  border-color: rgba(56, 182, 255, .45);
}
.ch--live input[name="flag"]:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 182, 255, .18); }
.ch--live .form__err { min-block-size: 0; }
.ch--live .form__err:not(:empty) { padding: 10px 12px; border: 1px solid rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .08); }
.ch--live .form__err.is-wait:not(:empty) { color: var(--bone); border-color: rgba(56, 182, 255, .4); background: rgba(31, 99, 255, .1); }
@media (min-width: 768px) {
  .ch.ch--live { padding: 36px 32px 28px; }
  .live__rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── the fit check's button: there from the first question ─────────────── */
.fit__go { inline-size: 100%; margin-block-start: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.fit__lock { flex: none; inline-size: 18px; block-size: 18px; }
.fit__shackle { transform-origin: 16px 11px; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.fit__go.is-open .fit__shackle { transform: translateY(-2.5px) rotate(28deg); }
/* the moment it opens: a sweep of light across the button */
.fit__go.is-waking::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 1.1s .15s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes sweep { to { transform: translateX(120%); } }
.fit__go:disabled { cursor: default; background: transparent; color: rgba(238, 241, 246, .5); border: 1px solid rgba(238, 241, 246, .18); }

/* ── the fit check's chapter stands out (Daniel, 2026-11-07, round 3: "a section that must
   stand out by its background"): a band of its own, bluer and lighter than the plates on
   either side, with a still glow behind the card (nothing in it moves). The card itself is
   the details form's size, with the details form's fields: one answer per row, a mark that
   fills when chosen, and the button held at the foot. Only here: the window after the film
   keeps its compact card. ── */
.chapter.band--cta { border-block-start-color: rgba(120, 170, 255, .3); background:
    radial-gradient(70% 42% at 50% 74%, rgba(31, 99, 255, .3), rgba(31, 99, 255, 0) 72%),
    linear-gradient(180deg, #0c1a3a, #091330 55%, #0b1836); }
.band--cta + .chapter { border-block-start-color: rgba(120, 170, 255, .3); }
html.a11y-contrast .band--cta { background: #000; }
#fit .fit { display: flex; flex-direction: column; min-block-size: 700px; border-color: rgba(120, 170, 255, .38); background: linear-gradient(180deg, #14213f, #0b1328);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 90px rgba(1, 5, 18, .6); }
#fit .fit__stage { display: flex; flex-direction: column; flex: 1; padding-block-end: 18px; }
#fit .fit__q { margin-block-start: 12px; font-size: clamp(23px, 6.2vw, 28px); }
#fit .fit__opts, #fit .fit__opts--row { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-block-start: 20px; }
#fit .fit__opts button { position: relative; min-block-size: 56px; padding: 12px 16px; padding-inline-start: 50px; font-size: 17px; text-align: start; border-radius: var(--r-field); background: rgba(4, 8, 16, .5); }
#fit .fit__opts button::before { content: ""; position: absolute; inset-inline-start: 16px; inset-block-start: 50%; inline-size: 20px; block-size: 20px; margin-block-start: -10px; border: 2px solid rgba(160, 190, 255, .5); border-radius: 50%; transition: border-color .2s, background-color .2s, box-shadow .2s; }
#fit .fit__opts button:hover::before { border-color: var(--bone); }
#fit .fit__opts button[aria-pressed="true"]::before { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 4px #0b1730; }
#fit .fit__go { margin-block-start: auto; min-block-size: 58px; font-size: 17.5px; }

@media (min-width: 900px) {
  .loop { max-inline-size: 400px; }
  .loop__node { font-size: 15.5px; }
  .lock { block-size: 380px; }
  .links--pair { display: flex; gap: 0 26px; }
}
/* the teen's program on a desktop: the dial beside the words, not under them */
@media (min-width: 900px) {
  .wrap--dial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 72px; align-items: start; }
  .wrap--dial > * { grid-column: 1; }
  .wrap--dial > .link { justify-self: start; }
  .wrap--dial > .loop { grid-column: 2; grid-row: 1 / -1; align-self: center; inline-size: 100%; max-inline-size: 340px; margin: 0 auto; }
}

/* ── chapters of three blocks: on a phone they read in markup order; on a
   desktop the headline column gathers what explains it, and the other column
   holds the picture. In RTL the first grid column is the right-hand one. ── */
@media (min-width: 900px) {
  .split--hp, .split--nir { grid-template-rows: auto 1fr; }
  /* HP: the headline, then "and that's just one" under it; the window beside both */
  .split--hp { grid-template-areas: "head hp" "more hp"; }
  .hp__head { grid-area: head; }
  .split--hp .hp { grid-area: hp; margin-block-start: 0; }
  .hp__more { grid-area: more; margin-block-start: 30px; }
  /* who teaches: the researchers in the headline's column, with the book; the program's lead in his own panel beside it */
  /* the researchers' words stand level with the middle of Nir's panel, not at its top */
  .split--nir { grid-template-rows: 1fr auto 1fr; grid-template-areas: ". lead" "head lead" ". lead"; }
  .nir__head { grid-area: head; }
  .nir__lead { grid-area: lead; margin-block-start: 0; }
  .nir__lead { padding: 22px; }
  .nir__top { grid-template-columns: 190px minmax(0, 1fr); column-gap: 22px; }
  /* what stands beside a headline starts level with it */
  .split .fit { margin-block-start: 0; }
  .faq summary { padding: 20px 24px; font-size: 20px; }
  .faq details p { padding: 0 24px 22px; font-size: 18px; }
  /* defend / attack / research: room for the layers when research takes them apart */
  .sys { block-size: 600px; perspective-origin: 50% 40%; }
  .sys__tilt { scale: 1.42; translate: 0 -10px; }
  /* ...and the words beside the system, level with its middle: the lenses and their line
     go under it as grid items of their own (the producer's mark, 2026-10-26) */
  .split--method { grid-template-areas: "text sys" ". lens" ". say"; }
  .split--method > :first-child { grid-area: text; align-self: center; }
  .split--method > :last-child { display: contents; }
  .split--method .sys { grid-area: sys; }
  .split--method .lens { grid-area: lens; }
  .split--method .lens-say { grid-area: say; }
  /* HP: the window's top edge level with the first line beside it (the svg draws
     the window 20 of its 200 units down; that much comes off, less the line's own half-leading) */
  .split--hp .hp__stage { margin-block-start: calc(7px - 6.25%); }
}

/* ── the new chapters on a desktop (2026-11-07) ─────────────────────────── */
@media (min-width: 900px) {
  /* the program: what they leave with on the right, the help around it on the left, level at the top */
  .program__how { margin-block-start: 0; padding-block-start: 6px; }
  /* four open columns on one line: each stop's dots stand on the line, and its part of the line lights with it */
  .stretches { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; margin-block-start: 38px; }
  .stretch { row-gap: 8px; padding-block-start: 0; }
  .stretch__run { min-block-size: 23px; align-content: start; padding-block-end: 14px; border-block-end: 2px solid rgba(160, 196, 255, .16); margin-block-end: 10px; background: linear-gradient(var(--tone), var(--tone)) no-repeat right bottom / 0% 2px; transition: background-size .8s cubic-bezier(.3, .6, .2, 1); }
  .stretch.is-on .stretch__run { background-size: 100% 2px; border-block-end-color: transparent; }
  .stretch__t { font-size: 25px; margin-block-start: 2px; }
  .stretch__d { font-size: 16.5px; }
  /* a mouse over a stop: its dots answer, one after the other */
  @keyframes dot-wave { 40% { transform: scale(1.45); } }
  .stretch:hover .stretch__run i { animation: dot-wave .55s ease calc(var(--k, 0) * 32ms) both; }
  .never-card { margin-block-start: 48px; padding: 28px 32px 22px; }
  .never { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 34px; margin-block-start: 22px; }
  .never li { grid-template-columns: 1fr; grid-template-areas: "beat" "b" "s"; row-gap: 4px; align-content: start; }
  .never .beat { padding-block: 0 8px; }
  .never b { font-size: 17.5px; }
  .never li > span:last-child { font-size: 15.5px; line-height: 1.55; }
  .program__end { margin-block-start: 22px; }
  /* CyCube: the words beside the lab, level with its middle */
  .split--lab { align-items: center; }
  .cycube { margin-block-start: 0; }
  .lab__screen { block-size: 190px; }
  /* the press: a front page. The newest story leads across the full width, its picture on
     the right (where a Hebrew line starts) and its words beside it; the other four sit under it
     two by two, each with its picture at the side */
  .news { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; gap: 16px 24px; margin-block-start: 28px; }
  .news__item--lead { grid-column: 1 / -1; }
  .news__card--lead { flex-direction: row; }
  .news__card--lead .news__img { inline-size: 52%; aspect-ratio: auto; border-block-end: 0; border-inline-end: 1px solid rgba(160, 196, 255, .12); }
  .news__card--lead .news__body { gap: 12px; padding: 26px 30px 22px; }
  .news__card--lead .news__head { font-size: 32px; }
  .news__card--lead .news__deck { font-size: 18px; }
  .news__item:not(.news__item--lead) .news__card { flex-direction: row; align-items: start; gap: 18px; padding: 14px; }
  .news__item:not(.news__item--lead) .news__img { inline-size: 200px; border: 1px solid rgba(160, 196, 255, .14); border-radius: 10px; }
  .news__item:not(.news__item--lead) .news__body { align-self: stretch; gap: 7px; padding: 0; }
  .news__item:not(.news__item--lead) .news__head { font-size: 19px; }
  .news__item:not(.news__item--lead) .news__foot { padding-block-start: 9px; }
  .news__track { display: none; }
  /* admission: the way in under the headline; the readiness check beside it */
  .split--filter .ready { margin-block-start: 0; padding: 26px 28px 24px; }
  .way span { font-size: 15px; }
  /* the syllabus: the stages as wide rows; a stage's topics three to a row */
  .tier summary { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "track name n plus"; column-gap: 26px; padding-block: 20px; align-items: center; }
  .tier__track { inline-size: 300px; }
  /* the last word: the number beside the form */
  .split--final { align-items: center; }
  .js .final__seats { inline-size: 100%; block-size: clamp(170px, 20vw, 250px); margin-inline: 0; margin-block-end: 10px; }
  .final__form { margin-block-start: 0; padding: 26px 28px 26px; }
  /* the fit check: the card as tall as the details form, its words level with its middle */
  #fit .split { align-items: center; }
  #fit .fit { min-block-size: 660px; padding: 26px 28px 26px; }
  .chapter.band--cta { background: radial-gradient(38% 62% at 27% 52%, rgba(31, 99, 255, .3), rgba(31, 99, 255, 0) 72%), linear-gradient(180deg, #0c1a3a, #091330 55%, #0b1836); }
  .warm { inset: 0; margin: auto; inline-size: min(620px, 92vw); max-block-size: 88vh; border: 1px solid rgba(120, 170, 255, .32); }
  .warm__in { padding: 24px 30px 28px; }
}

/* the hero side by side: desktops, and phones held sideways */
@media (min-width: 900px), (orientation: landscape) and (max-height: 560px) {
  .hero { --R: min(27svh, 18vw, 280px); --P: 1.12; display: grid; align-content: center; padding-block: 92px 40px; }
  .film__q { font-size: 20px; }
  .hero__in { grid-template-areas: "copy stage"; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 48px; }
  .hero .copy { margin-block-start: 0; }
  .hero__acts { grid-template-columns: auto auto; justify-content: start; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { --R: min(31svh, 17vw); padding-block: 66px 20px; }
  .hero [data-film-fade] { display: none; }
}

/* ── the thank-you page ─────────────────────────────────────────────────── */
.ack { padding-block-start: calc(62px + 40px); isolation: isolate; }
/* the page opens on the mark unlocking (thanks.js); without scripts, just the words */
.ack__field, .ack__mark { display: none; }
.js .ack { padding-block-start: calc(62px + 14px); }
.js .ack__field { display: block; position: absolute; inset: 0; inline-size: 100%; max-inline-size: none; block-size: 100%; z-index: -1; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, #000 62%, transparent); mask: linear-gradient(180deg, #000 62%, transparent); }
.ack__in { display: grid; grid-template-areas: "mark" "copy"; }
.js .ack__mark { grid-area: mark; display: block; block-size: clamp(170px, 46vw, 236px); margin-block-end: 14px; }
.ack__copy { grid-area: copy; }
.ack__hi { font-weight: 700; font-size: 19px; color: var(--mute); }
.ack__brand { margin-block-start: 18px; padding-block-start: 18px; border-block-start: 1px solid var(--faint); font-weight: 700; font-size: 19px; line-height: 1.45; color: var(--bone); }
.ack .pair { margin-block-start: 24px; max-inline-size: 460px; }
.ack__note { margin-block-start: 12px; color: var(--mute); font-size: 15px; }
.mid-cta { margin-block-start: 40px; padding: 22px var(--gutter); margin-inline: calc(-1 * var(--gutter)); display: grid; gap: 14px; justify-items: start; background: rgba(31, 99, 255, .08); border-block: 1px solid var(--faint); }
.mid-cta p { font-weight: 700; font-size: 17px; }
.path .is-done { border-color: var(--cyan); color: var(--cyan); }
.path [data-step="talk"] { border-color: var(--bone); color: var(--bone); }
.prereq-recap { margin-block-start: 26px; padding: 18px 16px; border: 1px solid var(--line); background: var(--ink-2); }
.prereq-recap h3 { font-size: 17.5px; }
.prereq-recap p { margin-block-start: 6px; color: var(--mute); }
.prereq-recap:has(.check__ring) { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.prereq-recap .check__ring { grid-row: span 2; }
.prereq-recap:has(.check__ring) p { grid-column: 2; }
/* the next step waits with a pulse round it */
.path [data-step="talk"] { position: relative; }
.js .path [data-step="talk"]::after { content: ""; position: absolute; inset: -1px; border: 1.5px solid var(--cyan); pointer-events: none; animation: next-step 2.2s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes next-step { from { transform: scale(1); opacity: .9; } to { transform: scale(1.16, 1.4); opacity: 0; } }
.end-cta { padding-block-end: calc(56px + var(--bar-h)); }
@media (min-width: 900px) {
  .ack { padding-block-start: calc(76px + 64px); }
  .js .ack { padding-block-start: calc(76px + 40px); }
  .ack__in { grid-template-columns: minmax(0, 1fr) minmax(300px, 40%); grid-template-areas: "copy mark"; column-gap: 48px; align-items: center; }
  .js .ack__mark { block-size: min(50svh, 420px); margin: 0; }
  .mid-cta { grid-auto-flow: column; align-items: center; justify-content: space-between; margin-inline: 0; padding-inline: 28px; }
}
/* phones held sideways: the mark beside the words, as in the hero */
@media (orientation: landscape) and (max-height: 560px) {
  .js .ack { padding-block-start: calc(62px + 10px); }
  .ack__in { grid-template-columns: minmax(0, 1fr) minmax(190px, 34%); grid-template-areas: "copy mark"; column-gap: 28px; align-items: center; }
  .js .ack__mark { block-size: min(62svh, 250px); margin: 0; }
}
