/* =========================================================================
   Israel Arbov webinar landing page: design system
   RTL-first, mobile-first. Logical properties only (inline-start = right in RTL).
   v2 (24.11): centered "invitation" page, heavy rounded Hebrew sans (Rubik) display,
   Assistant body, paper with a faint notebook grid, ink night sections, terracotta pills.
   Direction contract: .impeccable/surfaces/site-index-html.md. The v2 block at the end overrides v1.
   ========================================================================= */

:root {
  --paper: #f6f2ea;
  --paper-2: #eee7da;
  --card: #fffdf9;
  --ink: #17212b;
  --ink-2: #3c4652;
  --ink-3: #5b6570;
  --line: rgba(23, 33, 43, .13);
  --accent: #a8471f;          /* buttons, white text on it ≈ 5.6:1 */
  --accent-hover: #8f3b18;
  --accent-ink: #7e3416;      /* accent text on paper ≈ 8:1 */
  --accent-soft: #f3e2d6;
  --night: #14202c;
  --night-2: #1c2a38;
  --on-night: #f3efe7;
  --on-night-2: #c9c3b8;
  --wa: #157a41;              /* WhatsApp-ish green, white text ≈ 5.4:1 */
  --wa-hover: #10633a;
  --danger: #a3251a;

  --font-head: "Rubik", "Assistant", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Assistant", "Arial Hebrew", Arial, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1120px;
  --gutter: 20px;
  --sec-y: clamp(56px, 9vw, 104px);
  --shadow: 0 1px 2px rgba(23, 33, 43, .06), 0 12px 32px -18px rgba(23, 33, 43, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s);
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* Placeholder slots: visible only while ?slots=1 is in the URL (QA aid). */
.show-slots [data-slot] { outline: 1px dashed rgba(168, 71, 31, .55); outline-offset: 2px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); }
.sec--alt { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--on-night); }
.sec--night a { color: #f0b89b; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.sec--night .eyebrow { color: #f0b89b; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(34px, 7.6vw, 60px); font-weight: 900; }
h2 { font-size: clamp(28px, 5.4vw, 42px); }
h3 { font-size: clamp(21px, 3.2vw, 25px); }
.h1-accent { color: var(--accent-ink); display: block; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink-2); margin: 16px 0 0; max-width: 40ch; }
.sec-head { max-width: 680px; margin-block-end: clamp(28px, 5vw, 48px); }
.sec-head p { color: var(--ink-2); margin: 14px 0 0; }
.sec--night .sec-head p { color: var(--on-night-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--accent); --bg-h: var(--accent-hover); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px;
  font-size: 19px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(168, 71, 31, .7);
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--bg-h); color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -8px rgba(168, 71, 31, .8); }
.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translateX(-3px); }   /* RTL: arrow points left = forward */
.btn--block { width: 100%; }
.btn--wa { --bg: var(--wa); --bg-h: var(--wa-hover); box-shadow: 0 10px 22px -12px rgba(21, 122, 65, .7); }
.btn--ghost {
  --bg: transparent; --bg-h: rgba(23, 33, 43, .06); --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.link-btn {
  background: none; border: 0; padding: 10px 2px; min-height: 44px;
  color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  cursor: pointer;
}
.sec--night .link-btn { color: #f0b89b; }

/* ---------- top bar ---------- */
.topbar { padding-block: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 900; font-size: 21px; color: var(--ink); text-decoration: none; }
.bsd { font-size: 14px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { padding-block: 8px var(--sec-y); }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 34ch; }
.hero-cta { margin-top: 26px; display: grid; gap: 14px; }
.facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  font-size: 16px; color: var(--ink-2);
}
.facts li { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.facts svg { flex: none; width: 20px; height: 20px; color: var(--accent-ink); }

.media {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  background: var(--night); aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(10, 16, 22, .55), rgba(10, 16, 22, 0) 55%);
  border: 0; cursor: pointer; color: #fff;
}
.media-play span {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255, 253, 249, .94); color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .2s var(--ease);
}
.media-play:hover span { transform: scale(1.06); }
.media-play svg { width: 28px; height: 28px; margin-inline-start: 4px; }
.media-label {
  position: absolute; inset-inline: 16px; bottom: 14px; color: #fff; font-size: 15px; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* Portrait placeholder until the 23.11 shoot (slot P1). */
.portrait-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(168, 71, 31, .35), transparent 60%),
    linear-gradient(160deg, var(--night-2), var(--night));
  color: var(--on-night); font-family: var(--font-head); font-weight: 900; font-size: clamp(64px, 16vw, 120px);
}

/* ---------- teacher card ---------- */
.teacher { display: grid; gap: 28px; align-items: start; }
.teacher-photo { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 1 / 1; max-width: 420px; box-shadow: var(--shadow); }
.teacher-role { color: var(--ink-3); margin: 6px 0 0; font-size: 16px; }
.stats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.stats li {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px;
  padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
}
.stats b { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--accent-ink); white-space: nowrap; }
.stats span { color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.quote {
  margin: 26px 0 0; padding: 4px 18px 4px 0; 
  font-family: var(--font-head); font-size: clamp(21px, 3vw, 25px); line-height: 1.45; color: var(--ink);
}
.quote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 15px; color: var(--ink-3); }

/* ---------- compare (common way vs right way) ---------- */
.compare { display: grid; gap: 16px; }
.compare-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.compare-col--right { border-color: rgba(168, 71, 31, .4); box-shadow: var(--shadow); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tag {
  display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2);
}
.compare-col--right .tag { background: var(--accent-soft); color: var(--accent-ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; }
.ticks--no svg { color: var(--ink-3); }
.ticks--yes svg { color: var(--accent); }

/* ---------- timeline ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: st; }
.stop {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  padding: 22px 20px; border-radius: var(--r-l);
  background: var(--night-2); border: 1px solid rgba(243, 239, 231, .09);
}
.stop-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--night);
  font-family: var(--font-head); font-weight: 900; font-size: 22px;
}
.stop-time { font-size: 14px; font-weight: 600; color: #f0b89b; letter-spacing: .02em; }
.stop h3 { color: var(--on-night); margin: 4px 0 8px; }
.stop p { margin: 0 0 10px; color: var(--on-night-2); }
.stop ul { margin: 0 0 12px; padding-inline-start: 20px; color: var(--on-night-2); }
.stop ul li { margin-block: 4px; }
.stop-out {
  margin: 0; padding-top: 12px; border-top: 1px dashed rgba(243, 239, 231, .18);
  color: var(--on-night); font-weight: 600;
}
.stop-out b { color: #f0b89b; }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(243, 239, 231, .22); color: var(--on-night); font-size: 15px; }
.sec-cta { margin-top: 32px; display: grid; justify-items: start; }

/* ---------- fit ---------- */
.fit { display: grid; gap: 16px; }
.fit-col { border-radius: var(--r-l); padding: 24px; background: var(--card); border: 1px solid var(--line); }
.fit-col h3 { margin-bottom: 14px; }

/* ---------- gift ---------- */
.gift {
  display: grid; gap: 18px; align-items: center;
  padding: 28px 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.gift-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.gift-icon svg { width: 32px; height: 32px; }
.gift p { margin: 8px 0 0; color: var(--ink-2); }

/* ---------- when & where (ticket) ---------- */
.ticket {
  display: grid; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow);
  background: var(--card); border: 1px solid var(--line);
}
.ticket-date {
  background: var(--night); color: var(--on-night); padding: 26px 24px;
  display: grid; align-content: center; gap: 4px;
}
.ticket-day { font-size: 16px; color: var(--on-night-2); }
.ticket-big { font-family: var(--font-head); font-weight: 900; font-size: clamp(38px, 9vw, 54px); line-height: 1.05; }
.ticket-heb { font-size: 17px; color: #f0b89b; }
.ticket-body { padding: 24px; }
.ticket-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.ticket-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.ticket-list svg { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.ticket-list b { display: block; }
.ticket-list span { color: var(--ink-3); font-size: 16px; }
.notify { margin-top: 10px; }
.notify-form { margin-top: 12px; display: grid; gap: 10px; }
.notify-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.notify-done { margin: 10px 0 0; color: var(--wa); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);   /* physical: a down chevron in any direction */
  transform: rotate(45deg); transition: transform .2s var(--ease); margin-top: -6px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); }
.faq .ans p { margin: 0; }

/* ---------- letter ---------- */
.letter {
  max-width: 720px; margin-inline: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(26px, 5vw, 48px); box-shadow: var(--shadow);
}
.letter .eyebrow { margin-bottom: 10px; }
.letter-body { font-family: var(--font-head); font-size: clamp(19px, 2.6vw, 21px); line-height: 1.75; color: var(--ink); }
.letter-body p { margin: 0 0 16px; }
.letter-sign { margin: 22px 0 26px; font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.letter-sign span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink-3); }

/* ---------- disclosure + footer ---------- */
.disclosure {
  max-width: 820px; font-size: 15px; line-height: 1.6; color: var(--ink-2);
  padding: 18px 20px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--card);
}
.disclosure h2 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.disclosure p { margin: 0 0 6px; }
.footer { padding-block: 32px 120px; font-size: 15px; color: var(--ink-3); border-top: 1px solid var(--line); }
.footer .wrap { display: grid; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.footer p { margin: 0; }

/* ---------- sticky bar (mobile) ---------- */
.sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 242, 234, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.sticky.is-on { transform: translateY(0); }
.sticky .btn { width: 100%; min-height: 52px; font-size: 18px; }

/* ---------- bottom sheet (registration) ---------- */
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; margin: auto auto 0; padding: 0;
  border: 0; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--card); color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5);
}
.sheet::backdrop { background: rgba(10, 16, 22, .55); }
.sheet[open] { animation: sheet-up .28s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-in { padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; max-height: 92dvh; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sheet-head h2 { font-size: 26px; }
.sheet-sub { margin: 0 0 18px; color: var(--ink-2); font-size: 16px; }
.sheet-x {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper-2); color: var(--ink); display: grid; place-items: center;
}
.sheet-x svg { width: 18px; height: 18px; }

.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld label { font-weight: 600; font-size: 16px; }
.fld input {
  width: 100%; min-height: 54px; padding: 12px 14px;
  border: 1.5px solid rgba(23, 33, 43, .28); border-radius: var(--r-s); background: #fff;
  font: inherit; font-size: 18px; color: var(--ink);
}
.fld input:focus { border-color: var(--accent); outline: 3px solid rgba(168, 71, 31, .2); outline-offset: 0; }
.fld input[aria-invalid="true"] { border-color: var(--danger); }
.fld input[dir="ltr"] { text-align: left; }
.err { min-height: 0; font-size: 15px; color: var(--danger); font-weight: 600; }
.err:empty { display: none; }
.hint { font-size: 14px; color: var(--ink-3); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-bottom: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.form-fail { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: #fbe9e6; color: var(--danger); font-size: 15px; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

/* ---------- thank-you page ---------- */
.thanks { padding-block: 12px 64px; }
.thanks-head h1 { font-size: clamp(32px, 7vw, 48px); max-width: 16ch; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow); }
.step--main { border-color: rgba(21, 122, 65, .45); }
.step-n { font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.step h2 { font-size: clamp(22px, 4vw, 28px); margin: 4px 0 8px; }
.step p { margin: 0 0 14px; color: var(--ink-2); }
.wa-plain { margin: 12px 0 0; font-size: 15px; color: var(--ink-3); word-break: break-all; }
.wa-plain a { color: var(--wa); font-weight: 600; }
.cal-row { display: grid; gap: 10px; }
.survey fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.survey legend { font-weight: 600; margin-bottom: 8px; }
.survey textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; border: 1.5px solid rgba(23, 33, 43, .28);
  border-radius: var(--r-s); font: inherit; font-size: 17px; background: #fff;
}
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff;
}
.radios input { accent-color: var(--accent); width: 20px; height: 20px; margin: 0; }
.legal { padding-block: 24px 80px; }
.legal h1 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 18px; }
.legal h2 { font-size: 24px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }

/* ---------- entrance (hero only, once) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: enter .7s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  @keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- teacher text, results note, client story (copy v1, 22.11) ---------- */
.teacher-text { color: var(--ink-2); margin: 16px 0 0; max-width: 52ch; }
.stats-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.story { margin: 0 auto; max-width: 720px; }
.story blockquote {
  margin: 18px 0 0; padding: 4px 18px 4px 0; 
  font-family: var(--font-head); font-size: clamp(20px, 2.8vw, 24px); line-height: 1.5; color: var(--ink);
}
.story blockquote p { margin: 0; }
.story blockquote p + p { margin-top: 14px; font-family: var(--font-body); font-size: 17px; color: var(--ink-2); }
.story figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-3); }

/* ---------- tablet & desktop ---------- */
@media (min-width: 640px) {
  .hero-cta { grid-template-columns: auto; justify-items: start; }
  .facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .facts li { white-space: nowrap; }
  .compare, .fit { grid-template-columns: 1fr 1fr; }
  .gift { grid-template-columns: auto 1fr auto; }
  .cal-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero .media { aspect-ratio: 4 / 5; max-height: 640px; }
  .teacher { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .road { grid-template-columns: 1fr 1fr; }
  .ticket { grid-template-columns: .85fr 1.15fr; }
  .ticket-date { padding: 36px; }
  .ticket-body { padding: 32px 36px; }
  .sticky { display: none; }
  .sheet { margin: auto; border-radius: var(--r-l); }
  .footer { padding-block-end: 40px; }
}


/* =========================================================================
   v2 skin (24.11). Overrides the v1 rules above.
   ========================================================================= */
:root {
  --grid: rgba(23, 33, 43, .045);
  --accent-2: #c2643a;
  --glow: 0 14px 28px -12px rgba(168, 71, 31, .55), 0 3px 8px -2px rgba(168, 71, 31, .25);
  --card-shadow: 0 2px 4px rgba(23, 33, 43, .04), 0 18px 40px -24px rgba(23, 33, 43, .35);
}
::selection { background: rgba(168, 71, 31, .22); color: var(--ink); }
.sec--night ::selection { background: rgba(240, 184, 155, .35); color: #fff; }
html { scrollbar-color: rgba(23, 33, 43, .35) var(--paper); }
body { font-size: 18px; line-height: 1.7; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.015em; line-height: 1.15; }
h1 { font-weight: 900; font-size: clamp(30px, 6.2vw, 66px); text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(28px, 4.6vw, 46px); text-wrap: balance; }
h3 { font-weight: 700; font-size: clamp(20px, 2.6vw, 24px); }
.h1-accent { color: var(--accent); }
.lede, .sec-head p, .teacher-text { text-wrap: pretty; }

/* section heads: centered, like the reference */
.sec-head { margin-inline: auto; text-align: center; max-width: 760px; }
.sec-head p { margin-inline: auto; max-width: 56ch; font-size: 19px; }
.sec-cta { justify-items: center; }

/* paper with a faint ruled notebook grid */
.hero, .sec--grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
.sec--alt { background: #fbf8f2; }

/* topbar */
.topbar { padding-block: 10px; background: var(--paper); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }

/* buttons: warm pill with a soft tinted drop shadow */
.btn {
  --bg: linear-gradient(180deg, var(--accent-2), var(--accent) 60%, #933b17);
  background: var(--bg); background-color: var(--accent); border-radius: 999px; min-height: 60px; padding: 16px 34px;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; box-shadow: var(--glow);
}
.btn:hover { background: linear-gradient(180deg, var(--accent), var(--accent-hover)); transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(168, 71, 31, .6), 0 4px 10px -2px rgba(168, 71, 31, .3); }
.btn:active { transform: translateY(1px) scale(.99); box-shadow: 0 6px 12px -8px rgba(168, 71, 31, .7); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(23, 33, 43, .22); color: var(--ink); }
.btn--ghost:hover { background: rgba(23, 33, 43, .05); box-shadow: inset 0 0 0 1.5px rgba(23, 33, 43, .4); }
.btn--wa { background: linear-gradient(180deg, #1b8a4b, var(--wa)); box-shadow: 0 14px 28px -12px rgba(21, 122, 65, .55); }
.btn--wa:hover { background: var(--wa-hover); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 96px); text-align: center; }
.hero-in { display: grid; justify-items: center; gap: clamp(32px, 5vw, 56px); }
.hero-head { display: grid; justify-items: center; }
.hero h1 { max-width: 19ch; }
.hero h1 > span { display: block; }
.hero .lede { margin: 20px auto 0; max-width: 46ch; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); }
.hero-cta { margin-top: 30px; display: grid; justify-items: center; gap: 18px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; font-size: 16px; color: var(--ink-2); }
.facts li { white-space: nowrap; }

/* the frame: video slot; until the video exists it holds Israel's ledger */
.frame { margin: 0; width: min(100%, 920px); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: var(--night); color: var(--on-night); box-shadow: 0 30px 60px -30px rgba(23, 33, 43, .55), 0 6px 14px -6px rgba(23, 33, 43, .25); }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.ledger { height: 100%; display: grid; align-content: center; gap: clamp(14px, 3vw, 28px); padding: clamp(22px, 5vw, 56px);
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(var(--row) - 1px), rgba(243, 239, 231, .08) calc(var(--row) - 1px) var(--row)),
    radial-gradient(120% 90% at 85% 0%, #24364a 0%, var(--night) 60%);
  --row: clamp(34px, 6vw, 64px); }
.ledger-title { margin: 0; font-size: clamp(14px, 1.6vw, 17px); color: var(--on-night-2); letter-spacing: .01em; }
.ledger-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ledger-rows li { display: grid; gap: 4px; padding-inline: clamp(8px, 2vw, 24px); border-inline-start: 1px solid rgba(243, 239, 231, .16); }
.ledger-rows li:first-child { border-inline-start: 0; }
.ledger-rows b { font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 7.4vw, 84px); line-height: 1; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.ledger-rows li:last-child b { color: #f0b89b; }
.ledger-rows span { font-size: clamp(13px, 1.7vw, 18px); color: var(--on-night-2); }

/* ---------- teacher ---------- */
.teacher { display: grid; justify-items: center; text-align: center; max-width: 860px; }
.teacher > div { display: grid; justify-items: center; }
.teacher-role { font-size: 17px; margin-top: 10px; }
.teacher-text { margin: 18px auto 0; max-width: 54ch; font-size: 19px; }
.stats { margin-top: 34px; width: 100%; display: grid; gap: 0; grid-template-columns: 1fr; background: var(--card);
  border-radius: 24px; box-shadow: var(--card-shadow); border: 1px solid var(--line); overflow: hidden; }
.stats li { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 22px 20px; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); text-align: center; }
.stats li:first-child { border-top: 0; }
.stats b { font-family: var(--font-head); font-size: clamp(34px, 5vw, 46px); font-weight: 900; color: var(--accent); letter-spacing: -.02em; line-height: 1.05; }
.stats span { font-size: 16px; max-width: 24ch; }
.stats-note { margin-top: 12px; }
.quote { border: 0; padding: 0; margin: 34px auto 0; max-width: 34ch; font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; }
.quote p::before { content: "״"; color: var(--accent); }
.quote p::after { content: "״"; color: var(--accent); }
.quote cite { font-family: var(--font-body); font-weight: 400; }

/* ---------- compare ---------- */
.compare { max-width: 980px; margin-inline: auto; }
.compare-col { border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--card-shadow); }
.compare-col:not(.compare-col--right) { background: transparent; box-shadow: none; border: 1.5px dashed rgba(23, 33, 43, .2); }
.compare-col--right { border: 1.5px solid rgba(168, 71, 31, .35); background: var(--card); }
.tag { font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.ticks { gap: 14px; }
.ticks li { font-size: 18px; }
.ticks--no li { color: var(--ink-3); }

/* ---------- road (night section, cards like the reference) ---------- */
.sec--night { background: radial-gradient(90% 60% at 50% 0%, #1f3044 0%, var(--night) 70%); }
.road { max-width: 980px; margin-inline: auto; gap: 18px; }
.stop { background: rgba(243, 239, 231, .04); border: 1px solid rgba(243, 239, 231, .12); border-radius: 22px; padding: clamp(20px, 3vw, 28px);
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.stop-num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px;
  color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 8px 18px -8px rgba(168, 71, 31, .8); }
.stop-time { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #f0b89b; }
.stop h3 { margin: 2px 0 8px; }
.stop-out { border-top: 1px dashed rgba(243, 239, 231, .18); padding-top: 12px; margin: 12px 0 0; }
.chips { justify-content: center; }

/* ---------- fit ---------- */
.fit { max-width: 980px; margin-inline: auto; }
.fit-col { border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--card-shadow); }
.fit-col:last-child { background: transparent; box-shadow: none; border: 1.5px dashed rgba(23, 33, 43, .2); }
.fit-col h3 { font-size: 22px; }

/* ---------- story (night) ---------- */
#story-sec { background: var(--night); color: var(--on-night); }
.story { text-align: center; max-width: 760px; }
.story h2 { color: var(--on-night); }
.story blockquote { border: 0; padding: 0; margin: 22px auto 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(21px, 2.8vw, 27px); line-height: 1.55; color: var(--on-night); }
.story blockquote p + p { margin-top: 18px; font-family: var(--font-body); font-weight: 400; font-size: 18px; color: var(--on-night-2); }
.story figcaption { color: #f0b89b; font-family: var(--font-head); font-weight: 700; margin-top: 18px; }

/* ---------- gift ---------- */
.gift { max-width: 980px; margin-inline: auto; border-radius: 26px; background: var(--card); border: 1.5px solid rgba(168, 71, 31, .3); box-shadow: var(--card-shadow); padding: clamp(22px, 3vw, 32px); }
.gift-icon { border-radius: 16px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 8px 18px -8px rgba(168, 71, 31, .8); }
.gift h2 { font-size: clamp(22px, 3vw, 28px) !important; }

/* ---------- when ---------- */
.ticket { max-width: 980px; margin-inline: auto; border-radius: 26px; box-shadow: var(--card-shadow); }
.ticket-big { font-family: var(--font-head); font-weight: 900; letter-spacing: -.02em; }

/* ---------- faq / letter / disclosure ---------- */
.faq { margin-inline: auto; }
.faq details { border-radius: 18px; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--card-shadow); }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.letter { margin-inline: auto; border-radius: 28px; box-shadow: var(--card-shadow); }
.letter-body { font-family: var(--font-body); font-size: clamp(19px, 2.4vw, 21px); }
.letter-sign { font-family: var(--font-head); font-weight: 800; }
.disclosure { margin-inline: auto; max-width: 820px; }
.disclosure h2 { font-family: var(--font-head); }

/* sheet + thanks */
.sheet-head h2, .thanks-head h1, .step h2, .legal h1, .legal h2 { font-family: var(--font-head); }
.sheet { border-radius: 26px 26px 0 0; }
.thanks-head { text-align: center; }
.thanks-head h1 { margin-inline: auto; }
.step { border-radius: 22px; box-shadow: var(--card-shadow); }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { border-top: 0; border-inline-start: 1px solid var(--line); padding: 26px 18px; }
  .stats li:first-child { border-inline-start: 0; }
}
@media (min-width: 900px) {
  .hero-in, .teacher { grid-template-columns: 1fr; }
  .hero .media { aspect-ratio: auto; }
  .road { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .frame { aspect-ratio: 4 / 3; border-radius: 22px; }
  .ledger-rows li { padding-inline: 6px; }
}

/* night sections: neutral elevation, no coloured halos */
.sec--night .btn, #story-sec .btn { box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6), 0 3px 8px -3px rgba(0, 0, 0, .4); }
.stop-num { box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .55); }
.sec--night a:hover, #story-sec a:hover { color: #f7d3bf; }
.btn--wa { background-color: var(--wa); }
.stop-num, .gift-icon { background-color: var(--accent); }

/* =========================================================================
   v2.1 (24.11): finish-review fixes
   ========================================================================= */
/* 1. the ledger is a real account: one ruled row per line, a double rule before the total */
.ledger { background: radial-gradient(120% 90% at 85% 0%, #24364a 0%, var(--night) 60%);
  align-content: stretch; grid-template-rows: auto 1fr; gap: 0; padding: clamp(22px, 4vw, 48px) clamp(24px, 5vw, 64px); text-align: start; }
.ledger-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.8vw, 19px); color: var(--on-night);
  padding-bottom: 14px; border-bottom: 1px solid rgba(243, 239, 231, .3); }
.ledger-rows { grid-template-columns: 1fr; align-content: end; }
.ledger-rows li { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 0 10px;
  border-inline-start: 0; border-bottom: 1px solid rgba(243, 239, 231, .18); }
.ledger-rows li:last-child { border-bottom: 0; border-top: 3px double rgba(240, 184, 155, .7); margin-top: -1px; }
.ledger-rows b { order: 2; font-size: clamp(38px, 6vw, 76px); font-variant-numeric: tabular-nums; }
.ledger-rows span { order: 1; font-size: clamp(16px, 2vw, 21px); padding-bottom: .4em; }
@media (max-width: 640px) { .frame { aspect-ratio: auto; } }

/* 2. ledger reaches the first viewport on desktop */
.hero { padding-block-start: clamp(20px, 3.5vw, 44px); }
.hero-in { gap: clamp(28px, 3.5vw, 40px); }
.hero h1 { font-size: clamp(30px, 4.6vw, 62px); max-width: 21ch; }
.hero-cta { margin-top: 24px; }

/* 4. no kickers: the road time becomes a meta line under its heading */
.stop > div { display: flex; flex-direction: column; }
.stop h3 { order: 1; margin: 6px 0 2px; }
.stop-time { order: 2; margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; color: rgba(240, 184, 155, .9); }
.stop > div > p { order: 3; }
.stop > div > .stop-out { order: 4; }

/* 5. teacher figures: a ruled list echoing the ledger, not a stat card */
.stats { background: none; box-shadow: none; border: 0; border-radius: 0; border-top: 1px solid rgba(23, 33, 43, .25); max-width: 640px; }
.stats li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: start; padding: 16px 0;
  border: 0; border-bottom: 1px solid var(--line); }
.stats b { order: 2; font-variant-numeric: tabular-nums; font-size: clamp(30px, 4vw, 40px); }
.stats span { order: 1; max-width: none; font-size: 17px; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr; } .stats li { border-inline-start: 0; padding: 16px 0; } }

/* 6. unbox the letter and the disclosure */
.letter { background: none; box-shadow: none; border: 0; border-radius: 0; border-top: 2px solid var(--ink); padding: 34px 0 0; max-width: 720px; }
.disclosure { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }

/* 7. readable body measure */
.teacher-text { text-align: start; max-width: 46ch; }

/* thanks: step markers beside the heading, not above it */
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.step > * { grid-column: 2; }
.step > .step-n { grid-column: 1; grid-row: 1 / span 2; width: auto; min-width: 40px; height: 40px; padding-inline: 10px; border-radius: 999px;
  display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-size: 14px; white-space: nowrap; }
.step > h2 { grid-row: 1; margin-top: 4px; }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; } .step > *, .step > .step-n { grid-column: 1; grid-row: auto; justify-self: start; } .step > h2 { grid-row: auto; } }
.frame { aspect-ratio: auto; }
.frame:has(video) { aspect-ratio: 16 / 9; }
.ledger-rows { align-content: start; }

/* =========================================================================
   v2.2 (24.11): "why" section + interaction layer
   ========================================================================= */
.ledger, .stats-note, .quote { display: none; }
.why { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 0; border-top: 1px solid rgba(23, 33, 43, .2); }
.why-item { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 26px 4px; border-bottom: 1px solid rgba(23, 33, 43, .14);
  transition: background-color .3s var(--ease); }
.why-item h3, .why-item p { grid-column: 2; }
.why-item p { margin: 6px 0 0; color: var(--ink-2); max-width: 52ch; }
.why-n { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--accent); border: 1.5px solid rgba(168, 71, 31, .35);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.why-n svg { width: 24px; height: 24px; }
.why-item:hover .why-n { background-color: var(--accent); color: #fff; transform: rotate(-4deg) scale(1.04); }
.why-item--gift { background: linear-gradient(90deg, transparent, rgba(168, 71, 31, .07)); }
.why-item--gift .why-n { background-color: var(--accent); color: #fff; border-color: var(--accent); }
.why-item--gift h3 { color: var(--accent-ink); }
@media (min-width: 900px) {
  .why { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* scroll progress */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 60; transform-origin: right center; transform: scaleX(0);
  background: linear-gradient(90deg, #f0b89b, var(--accent)); pointer-events: none; }

/* reveal: only elements that start below the fold get it (motion.js) */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(4px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), filter .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.stop.reveal .stop-num { transform: scale(.6); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0ms) + 180ms); }
.stop.reveal.in .stop-num { transform: none; }

/* hero pointer light over the grid */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(168, 71, 31, .12), transparent 70%); }
.hero.lit::before { opacity: 1; }

/* buttons: light sweep on hover, press on click */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(110%); }
.btn:hover::after { transform: translateX(-110%); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.btn--ghost::after { display: none; }

/* cards lift on hover */
.stop, .fit-col, .faq details { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
@media (hover: hover) {
  .stop:hover { transform: translateY(-3px); border-color: rgba(240, 184, 155, .35); }
  .fit-col:hover { transform: translateY(-3px); }
  .faq details:hover { border-color: rgba(168, 71, 31, .35); }
}

/* faq: smooth open where supported */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: hidden; transition: height .35s cubic-bezier(.16, 1, .3, 1), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero::before, .btn::after { display: none; }
}

/* v2.3 (24.11): Alon's fixes */
.facts { font-size: clamp(17px, 2.2vw, 20px); gap: 10px 26px; color: var(--ink); font-weight: 600; }
.facts svg { width: 22px; height: 22px; }
.stats li, .ledger-rows li { align-items: center; }
.stats span { line-height: 1.35; }
.stats b { line-height: 1; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, 1fr); column-gap: 36px; } }
/* v2.4: real photo of Israel */
.teacher-photo { display: block; width: min(100%, 560px); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 40%;
  border-radius: 24px; margin: 0 auto 32px; box-shadow: 0 24px 50px -28px rgba(23, 33, 43, .55), 0 4px 10px -4px rgba(23, 33, 43, .2); }
