/* ==========================================================================
   BEAM by GlowJar — landing v2
   Design system + nav + hero. Sections land in BrenerBot #1324.

   Palette is the MOCK-SAMPLED one (see site/assets/README.md): periwinkle
   #4d69fb primary, navy #062b5b, amber #fca10a. The older sky-blue #2e90f5 /
   #16345e token table is stale — do not reintroduce it.
   Light mode only. No dark variants anywhere.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --periwinkle-700: #3f5ef4;   /* pressed / deep end of CTA gradient */
  --periwinkle-600: #4d69fb;   /* PRIMARY — CTA pills, links, wordmark */
  --periwinkle-500: #5a75fb;   /* "rewarding." accent */
  --periwinkle-100: #dfe4fe;
  --navy-900: #062b5b;         /* headlines */
  --navy-700: #23335c;         /* body copy on light bg (>= 4.5:1) */
  --navy-500: #4a5878;         /* muted meta text */
  --amber-500: #fca10a;        /* star / glow accent */
  --gold-300: #ffd65a;

  --white: #ffffff;
  --cream-50: #fefcfa;
  --sky-500: #2fa3fe;          /* hero backdrop top-right */
  --lavender-300: #c5b7f4;     /* hero backdrop bottom-right */
  --cream-200: #fef3e3;        /* hero backdrop bottom-left */

  /* Typography — MOCK-MATCHED, flagged in the PR.
     The mock's page type is a geometric sans with single-storey 'a' and 'g';
     its width-to-cap-height ratio (5.19) matches Outfit (5.13), not Nunito
     (5.44, double-storey 'a', rounded terminals) or Poppins (5.61). Baloo 2
     stays the brand face — the nav wordmark SVG is Baloo 2 outlines.
     One-line revert to the spec faces: set both to "Nunito". */
  --font-display: "Outfit", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Outfit", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Baloo 2", var(--font-display);

  /* Headline weight must be >= any section-heading weight. */
  --fw-hero: 700;
  --fw-heading: 700;
  --fw-semibold: 600;
  --fw-medium: 500;
  --fw-regular: 400;

  /* Fluid type — sizes back-solved from the mock's measured glyph widths so
     the 1280px render lands 1:1 on it. */
  --fs-hero: clamp(2.375rem, 5.31vw, 4.25rem);   /* 68px @1280 */
  --fs-lead: clamp(1.0625rem, 1.64vw, 1.3125rem);/* 21px @1280 */
  --fs-nav: clamp(1rem, 1.41vw, 1.125rem);       /* 18px @1280 */
  --fs-btn: 1.125rem;                            /* hero CTA + play link */
  --fs-btn-sm: 1.03125rem;                       /* nav CTA — 16.5px */
  --fs-badge: 1rem;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-pill: 999px;

  /* Shadow — soft, long, low-opacity (mock style) */
  --shadow-sm: 0 2px 8px rgba(6, 43, 91, 0.06);
  --shadow-md: 0 8px 24px rgba(6, 43, 91, 0.08);
  --shadow-lg: 0 18px 48px rgba(6, 43, 91, 0.10);
  --shadow-cta: 0 10px 26px rgba(77, 105, 251, 0.32);

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5.6vw, 5rem);
  --nav-h: 7rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }

/* "Glow" is a branded word: always bold in running text; inside headings,
   buttons and other already-bold contexts it inherits their weight. */
strong.glow { font-weight: var(--fw-bold, 700); }
h1 strong.glow, h2 strong.glow, h3 strong.glow, .btn strong.glow, .badge strong.glow, b strong.glow { font-weight: inherit; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

:where(a, button):focus-visible {
  outline: 3px solid var(--periwinkle-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--navy-900);
  font-weight: var(--fw-semibold);
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.page { position: relative; isolation: isolate; overflow-x: clip; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Full-bleed hero backdrop. Layered behind content via position/inset — it
   never inflates layout (no oversized sibling, no transform hacks). */
.hero-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(760px, 74vw, 1040px);
  z-index: -1;
  pointer-events: none;
  /* Colour anchors sampled off the mock: sky blue hugging the top-right
     corner, lavender down the right edge, warm cream sweeping bottom-left,
     amber glow under the jar. */
  background:
    radial-gradient(75% 60% at 100% 8%,
      rgba(47, 162, 253, 1) 0%,
      rgba(47, 162, 253, 1) 30%,
      rgba(90, 185, 254, 0.64) 48%,
      rgba(140, 205, 254, 0.42) 56%,
      rgba(186, 216, 253, 0.16) 76%,
      rgba(186, 216, 253, 0) 100%),
    radial-gradient(62% 56% at 104% 64%,
      rgba(168, 166, 242, 0.95) 0%,
      rgba(190, 186, 245, 0.66) 42%,
      rgba(208, 210, 250, 0.32) 70%,
      rgba(213, 214, 249, 0) 100%),
    radial-gradient(64% 50% at 54% 66%,
      rgba(253, 213, 118, 0.56) 0%,
      rgba(254, 231, 163, 0.3) 45%,
      rgba(254, 240, 198, 0) 78%),
    radial-gradient(76% 62% at 0% 74%,
      rgba(253, 243, 228, 1) 0%,
      rgba(253, 246, 236, 0.62) 44%,
      rgba(253, 249, 243, 0) 82%),
    linear-gradient(180deg, #fefefe 0%, #fdfbf8 48%, #fdf6ec 78%, #fbf5ef 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.6875rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-btn-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s var(--ease-out);
}
.btn--primary {
  color: var(--white);
  /* Kept dark enough that white label text clears 4.5:1 across the pill. */
  background: linear-gradient(135deg, var(--periwinkle-600) 0%, #4362f6 45%, #3a57ee 100%);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); filter: brightness(0.97); }
.btn--lg {
  min-height: 52px;
  padding: 0.8125rem 2.03125rem;
  font-size: var(--fs-btn);
}

/* ---------- Nav ---------- */
.nav-wrap { position: relative; z-index: 20; }
/* 3-column grid so the link group centres on the viewport, as in the mock. */
.nav {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: var(--space-4);
  padding-block: 1.125rem;
}
.nav__brand { display: block; border-radius: var(--radius-sm); }
.nav__brand img {
  width: clamp(136px, 12.5vw, 160px);
  height: auto;
  /* The mock's lockup hangs slightly below the link baseline. Optical nudge
     only — transform keeps it out of the layout. */
  transform: translateY(8px);
}

@media (min-width: 1001px) {
  /* Lift the links + actions out of the mobile wrapper into the nav grid. */
  .nav__menu { display: contents; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.7vw, 2.25rem);
  justify-self: center;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.25rem;
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  color: var(--navy-900);
  transition: color 0.18s var(--ease-out);
}
.nav__links a:hover { color: var(--periwinkle-600); }

/* The toggle is a direct child of the nav bar (not the collapsible menu) so
   it stays visible on mobile. Desktop: third grid column, flush end. */
.nav > .lang-toggle { justify-self: end; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 0.5rem;
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
  letter-spacing: 0.02em;
  transition: color 0.18s var(--ease-out);
}
.lang-toggle:hover { color: var(--periwinkle-600); }
.lang-toggle__sep { color: var(--navy-500); font-weight: var(--fw-regular); }

/* Hamburger — desktop-only mock, so mobile stays deliberately minimal. */
.nav__burger {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(6, 43, 91, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s var(--ease-out), opacity 0.15s linear;
}
.nav__burger span + span { margin-top: 5px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(1.75rem, 4.3vw, 3.4375rem) 0; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 2rem);
}

.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(1.5rem, 4vw, 3.5rem); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.1875rem 0.8125rem 0.1875rem 0.3125rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-badge);
  font-weight: var(--fw-medium);
  color: var(--navy-700);
}
/* The mock sets the gold sparkle on a warm tinted disc. */
.badge__icon {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #fde7c2;
}

.hero__title {
  margin-top: clamp(0.75rem, 1.25vw, 1rem);
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-hero);
  line-height: 0.963; /* 65.5px @1280 — the mock's measured line pitch */
  letter-spacing: 0;
  color: var(--navy-900);
}
.hero__title-accent { color: var(--periwinkle-500); }

.hero__body {
  margin-top: clamp(1rem, 1.4vw, 1.125rem);
  max-width: 23.125rem; /* line breaks land exactly where the mock's do */
  font-size: var(--fs-lead);
  line-height: 1.43;
  color: var(--navy-700);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3.6vw, 2.875rem);
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  font-size: var(--fs-btn);
  font-weight: var(--fw-semibold);
  color: var(--periwinkle-700); /* 5.0:1 on the hero backdrop */
}
.play-link__glyph { display: inline-flex; transition: transform 0.2s var(--ease-out); }
.play-link:hover .play-link__glyph { transform: translateX(2px); }

/* Art */
.hero__art {
  position: relative;
  justify-self: end;
  width: clamp(300px, 48.5vw, 621px);
  /* The art bleeds toward the viewport edge exactly as in the mock, and rides
     up beside the nav. Negative margins only — no oversized sibling. */
  margin-right: calc(var(--container-pad) * -0.1);
  margin-top: clamp(-3.5rem, -3.2vw, -1rem);
}
.hero__art-img { width: 100%; height: auto; }

.sparkle { position: absolute; z-index: 1; pointer-events: none; }
.sparkle--md { top: 4%;  left: -4%;  width: 22px; }
.sparkle--lg { top: 3%;  right: 4%;  width: 34px; }
.sparkle--sm { top: 36%; right: -1%; width: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__art-img { animation: float 7s var(--ease-out) infinite; }
  .sparkle--md { animation: twinkle 5.5s ease-in-out infinite; }
  .sparkle--lg { animation: twinkle 6.5s ease-in-out 0.8s infinite; }
  .sparkle--sm { animation: twinkle 5s ease-in-out 1.6s infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.12); }
}

/* ==========================================================================
   BELOW THE FOLD — #1324
   Geometry back-solved from the 1024×1536 mock (build @1280 = mock × 1.25):
     value strip   y 548–662  → 685–828      card 42–982   → 52–1228
     phones row    y 703–1045 → 879–1306     287–983       → 359–1229
     family photo  y 1088–1358→ 1360–1698    441–753       → 551–941
     quote card    y 1090–1345→ 1362–1681    770–981       → 962–1226
     CTA band      y 1384–…   → 1730–…       33–992        → 41–1240
   ========================================================================== */

/* Zero-height anchor for nav targets that have no section of their own yet
   (#about, #blog — nav is out of scope for this slice). */
.anchor { display: block; height: 0; scroll-margin-top: var(--nav-h); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The page wash under the fold. Starts transparent so the hero backdrop shows
   through behind the value strip exactly as the mock does, then settles on the
   neutral #f8f8fb and drifts cool toward the CTA band (13-point sample). */
.below {
  position: relative;
  background: linear-gradient(180deg,
    rgba(248, 248, 251, 0) 0%,
    rgba(248, 248, 251, 0.55) 6%,
    #f8f8fb 14%,
    #f8f8fb 42%,
    #f4f6fb 66%,
    #edf3fc 86%,
    #e9f1fc 100%);
}

/* Two containers in the mock run wider than the 1120px text column. Bleed is
   measured, not guessed: strip 1176px, CTA band 1200px at 1280. */
.bleed-strip { margin-inline: -20px; }
.bleed-band  { margin-inline: -31px; }

/* Shared section furniture */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  /* periwinkle-700, not -600: -600 lands at 4.06:1 on the wash, -700 at 4.69:1 */
  color: var(--periwinkle-700);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow__spark { flex: 0 0 auto; }

.section-title {
  margin-top: 0.9375rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.81vw, 2.25rem); /* 36px @1280 */
  font-weight: var(--fw-heading);
  line-height: 1.06;
  color: var(--navy-900);
}
.section-body {
  margin-top: 1.125rem;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--navy-700);
}

/* ---------- 1. Value strip ---------- */
.strip-section { position: relative; padding-block: 2px 0; }
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.9vw, 1.5rem);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  /* Translucent, as in the mock — the gradient tail reads through it. */
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}
@supports (backdrop-filter: blur(1px)) {
  .strip { backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.7); }
}
.strip__item { display: flex; align-items: flex-start; gap: 0.875rem; }
.strip__icon { flex: 0 0 auto; width: 42px; height: 42px; margin-top: 2px; }
.strip__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: var(--fw-heading);
  line-height: 1.25;
  color: var(--navy-900);
}
.strip__body {
  margin-top: 0.4375rem;
  max-width: 11.5rem;      /* widened from the mock's 164px for the long-form copy */
  font-size: 0.84375rem;   /* 13.5px — mock line pitch 20.3px */
  line-height: 1.5;
  color: var(--navy-700);
}
/* Hook sentence above the body — handwritten subtitle treatment so the card
   scans in two levels: title -> lead -> detail. EN loads "Playpen Sans",
   HE loads "Playpen Sans Hebrew"; each page picks up the one it ships. */
.strip__lead {
  margin-top: 0.4375rem;
  max-width: 11rem;
  font-family: "Playpen Sans", "Playpen Sans Hebrew", cursive;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy-900);
}
.strip__lead + .strip__body { margin-top: 0.3125rem; }

/* ---------- 2. How it works ---------- */
.hiw {
  position: relative;
  padding-block: clamp(2.25rem, 4.14vw, 3.3125rem) 0;
  scroll-margin-top: var(--nav-h);
}
.hiw__inner {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 3.25rem;
  align-items: start;
}
.hiw__copy { padding-top: 0; }

.checklist { margin-top: 1.875rem; display: grid; gap: 0.625rem; }
.checklist__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 30px;
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--navy-900);
}
.checklist__mark { display: inline-flex; flex: 0 0 auto; color: var(--periwinkle-600); }

/* ---------- Phone frames (HTML/CSS, not rasters) ----------
   196 × 419 at 1280 — the mock's frames are 160 × 342 mock px (1:2.14).
   Everything inside is sized off --ph-w so one variable rescales a frame. */
.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.ph {
  --ph-w: 196px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 196 / 419;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(140, 160, 250, 0.5);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(6, 43, 91, 0.13);
  font-size: 10px;
  line-height: 1.3;
  color: var(--navy-900);
  container-type: inline-size;
}
/* Faux status bar — two tiny glyph blocks, as drawn in the mock. */
.ph__status {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
  padding: 9px 0 0 12px;
}
.ph__status span {
  width: 9px; height: 5px;
  border-radius: 1.5px;
  background: rgba(6, 43, 91, 0.28);
}
.ph__status--light span { background: rgba(255, 255, 255, 0.5); }

.ph__tile {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
}
.ph__tile--blue  { background: #cfe0fb; }
.ph__tile--red   { background: #fbc2b6; }
.ph__tile--amber { background: #fbd39a; }
.ph__tile--teal  { background: #b8e2dc; }

.ph__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 9px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 7px rgba(6, 43, 91, 0.06);
}
.ph__rowtext { flex: 1 1 auto; min-width: 0; }
.ph__rowtext b {
  display: block;
  font-size: 9px;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph__rowtext i {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  font-style: normal;
  color: var(--navy-500);
}
.ph__chev { flex: 0 0 auto; font-size: 13px; color: var(--navy-500); }
.ph__check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #d6dcfd;
  color: var(--periwinkle-700);
}

/* ① Kid home */
.ph--home { background: #eeeff3; }
.ph--home .ph__status { position: absolute; inset: 0 auto auto 0; }
.ph__hero {
  flex: 0 0 auto;
  padding: 26px 12px 13px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(170deg, #9dc6f6 0%, #aec4f2 45%, #c6b6ee 100%);
}
.ph__greet { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ph__hi { font-size: 13px; font-weight: var(--fw-heading); color: var(--navy-900); }
.ph__avatar {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: #dbe7fb;
  font-size: 14px;
}
.ph__jar { position: relative; margin: 6px auto 0; width: 64%; }
/* mini-jar.webp is a standalone jar render (V2/JAR.png, supplied 2026-07-28) —
   square with a soft glow halo, no cropping needed. */
.ph__jar img { width: 100%; height: auto; }
.ph__jarnum {
  position: absolute;
  inset: 42% 0 auto 0;
  text-align: center;
  color: var(--navy-900);
  text-shadow: 0 1px 6px rgba(255, 244, 214, 0.95);
}
.ph__jarnum b { display: block; font-size: 22px; font-weight: var(--fw-heading); line-height: 1; }
.ph__jarnum span { display: block; font-size: 10px; font-weight: var(--fw-semibold); }
.ph__done {
  margin-top: -2px;
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-heading);
  color: var(--navy-900);
}
.ph__pill {
  margin-top: 9px;
  padding: 7px 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--periwinkle-600), #3f57ee);
  box-shadow: 0 5px 12px rgba(63, 87, 238, 0.35);
  text-align: center;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--white);
}
.ph__next { flex: 1 1 auto; padding: 11px 12px 0; }
.ph__nexth { font-size: 11px; font-weight: var(--fw-heading); color: var(--navy-900); }
.ph__next .ph__row { margin-top: 7px; }
.ph__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 0 0 auto;
  padding: 7px 0 9px;
  border-top: 1px solid rgba(6, 43, 91, 0.07);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.ph__tabs span { display: block; font-size: 12px; line-height: 1.15; filter: grayscale(1); opacity: 0.55; }
.ph__tabs span.is-active { filter: none; opacity: 1; }
.ph__tabs i {
  display: block;
  font-size: 7.5px;
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--navy-500);
}
.ph__tabs span.is-active i { color: var(--periwinkle-700); }

/* ② Tasks */
.ph--tasks { background: #faf9f7; padding: 0 11px 12px; }
.ph--tasks .ph__status { padding-inline: 1px; }
.ph__h1 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--fw-heading);
  color: var(--navy-900);
}
.ph__chips { display: flex; gap: 5px; margin-top: 14px; }
.ph__chips span {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 8px;
  font-weight: var(--fw-semibold);
  color: #5a6580;   /* 5.6:1 — navy-500 lands at 4.44:1 on the chip fill */
  background: rgba(255, 255, 255, 0.8);
}
.ph__chips span.is-active { background: var(--periwinkle-700); color: var(--white); } /* -600 gives white 4.41:1 */
.ph__list { display: grid; gap: 12px; margin-top: 15px; }

/* ③ Choose screen time — gradient ends are darkened a notch from the mock so
   white UI text clears 4.5:1 (mock's lavender tail lands at ~4.0:1). */
.ph--choose {
  padding: 0 13px 11px;
  color: var(--white);
  background: linear-gradient(160deg, #4f61f0 0%, #5a63ef 45%, #6f5fe8 100%);
}
.ph__title {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--fw-heading);
  color: var(--white);
}
.ph__dial {
  position: relative;
  display: grid;
  place-content: center;
  width: 120px; height: 120px;
  margin: 16px auto 0;
}
.ph__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #fcc23f 0deg 112deg,
    rgba(255, 255, 255, 0.26) 112deg 196deg,
    #d3e8fb 196deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 83%, #000 84%);
  mask: radial-gradient(closest-side, transparent 83%, #000 84%);
}
.ph__knob {
  position: absolute;
  top: -1px; left: 50%;
  width: 11px; height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(6, 43, 91, 0.3);
}
.ph__mins { text-align: center; }
.ph__mins b { display: block; font-size: 33px; font-weight: var(--fw-heading); line-height: 1; }
.ph__mins span { display: block; margin-top: 2px; font-size: 13px; font-weight: var(--fw-medium); }
.ph__cost { margin-top: 7px; text-align: center; font-size: 9px; font-weight: var(--fw-medium); }
.ph__cost em { font-style: normal; color: var(--gold-300); }
.ph__stepper { display: flex; align-items: center; gap: 9px; margin-top: 19px; }
.ph__step {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  line-height: 1;
}
.ph__track { flex: 1 1 auto; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.ph__rule { margin: 19px 0 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.ph__balance { margin-top: 17px; text-align: center; }
.ph__balance span { display: block; font-size: 10px; }
.ph__balance b { display: block; margin-top: 2px; font-size: 13px; font-weight: var(--fw-semibold); }
.ph__cta {
  margin-top: 18px;
  padding: 8px 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.24);
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-semibold);
}
.ph__foot { margin-top: auto; padding-top: 10px; text-align: center; font-size: 8px; color: var(--white); }

/* ④ Time is active */
.ph--active {
  padding: 0 13px 13px;
  color: var(--white);
  background: linear-gradient(180deg, #7060e0 0%, #5566e4 55%, #3f6ee0 100%);
}
.ph__timer { position: relative; display: grid; place-content: center; width: 132px; height: 132px; margin: 14px auto 0; }
.ph__timerring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.17);
}
.ph__count { font-size: 30px; font-weight: var(--fw-heading); line-height: 1; letter-spacing: -0.01em; }
.ph__pause {
  position: absolute;
  left: 50%; bottom: -14px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  width: 36px; height: 36px;
  margin-left: -18px;
  border-radius: 50%;
  background: #2f56e8;
  box-shadow: 0 5px 14px rgba(6, 43, 91, 0.28);
}
.ph__pause i { width: 3.5px; height: 13px; border-radius: 2px; background: var(--white); }
.ph__stop {
  margin-top: 40px;
  padding: 9px 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  text-align: center;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
}
.ph__foot--wide { margin-top: 14px; max-width: 21ch; margin-inline: auto; line-height: 1.45; }

/* ---------- 3. Our values ---------- */
.values {
  position: relative;
  padding-block: clamp(2rem, 2.66vw, 2.125rem) 0;
  scroll-margin-top: var(--nav-h);
}
.values__inner {
  display: grid;
  /* measured 448 : 390 from the mock; the mock's third track (264, the quote)
     is empty until a real testimonial exists, so the pair centres instead. */
  grid-template-columns: minmax(0, 448px) minmax(0, 390px);
  justify-content: center;
  gap: 26px;
  align-items: start;
}

/* Founder-story block (replaced the vgrid 2×2 cards, Roy 2026-07-28):
   title -> subtitle (semibold lead) -> body paragraph. */
.vstory__sub {
  margin-top: 1.75rem;
  font-size: 1.1875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: var(--navy-900);
  max-width: 30rem;
}
.vstory__body {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--navy-700);
  max-width: 30rem;
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.375rem;
  margin-top: 2rem;
}

/* Re-added values cards (2026-08-08): the original 2×2 grid restored as its
   own section, shown before the founder story. Width capped so the cards
   align with the story block's centred 448+390 rhythm below. */
.values-cards { padding-block: 2.5rem 0.5rem; scroll-margin-top: var(--nav-h); }
.values-cards__inner { max-width: 64rem; }
.values-cards__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-heading);
  text-align: center;
  color: var(--periwinkle-500);  /* accent, same as the hero headline's */
}
.vgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 1.75rem; }
/* 6-card variant (Hebrew values grid): 3×2 on desktop instead of one row of 4 */
.vgrid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .vgrid--row, .vgrid--3col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vgrid--row, .vgrid--3col { grid-template-columns: minmax(0, 1fr); } }
.vgrid__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 0.75rem; }
.vgrid__icon { grid-row: 1; width: 36px; height: 36px; margin-top: 1px; }
.vgrid__title {
  grid-column: 2;
  font-family: var(--font-display);
  max-width: 7.75rem;      /* mock wraps every title onto two lines */
  font-size: 0.9375rem;
  font-weight: var(--fw-heading);
  line-height: 1.25;
  color: var(--navy-900);
}
.vgrid__body {
  grid-column: 2;
  margin-top: 0.5rem;
  max-width: 9.75rem;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--navy-700);
}

.values__photo {
  margin: 0;
  aspect-ratio: 390 / 338;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.values__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Parked: no `figure.quote` is rendered on either page until there is a real
   testimonial to attribute. Kept so restoring one is markup-only. */
.quote {
  position: relative;
  margin: 0;
  padding: 1.5rem 1.75rem 4.75rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, #e9eef9 0%, #f2f6fc 55%, #eef3fb 100%);
  box-shadow: var(--shadow-sm);
}
.quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: var(--fw-heading);
  line-height: 0.6;
  color: #7aa6e8;
}
.quote__text {
  margin: 1.0625rem 0 0;
  max-width: 11.25rem;     /* mock sets the quote over six lines */
  font-size: 1.125rem;
  line-height: 1.48;
  color: var(--navy-900);
}
.quote__by { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--navy-500); }
.quote__jar {
  position: absolute;
  right: 0.625rem; bottom: 0.5rem;
  width: 82px; height: auto;
  clip-path: inset(0 11% 0 0);   /* drop the hand sliver the crop carries */
  pointer-events: none;
}

/* ---------- 4. Final CTA band ---------- */
.cta-section {
  position: relative;
  padding-block: 24px clamp(2rem, 3vw, 2.75rem);
  scroll-margin-top: var(--nav-h);
}
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 342px minmax(0, 1fr) 176px;
  align-items: center;
  gap: 2.5rem;
  min-height: 190px;
  padding: 1.75rem 2.25rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  /* Sampled off the band: #c2caf4 left → #bebffa centre → #c7c1f7 right. */
  background: linear-gradient(102deg, #c3cbf4 0%, #bec0fa 46%, #c1bcf8 74%, #cbc6f7 100%);
  box-shadow: 0 16px 40px rgba(6, 43, 91, 0.12);
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.03vw, 1.625rem); /* 26px @1280 */
  font-weight: var(--fw-heading);
  line-height: 1.16;
  color: var(--navy-900);
}
.cta__sub {
  margin-top: 0.75rem;
  max-width: 30ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy-700);
}

.cta__fields { display: flex; align-items: center; gap: 0.75rem; }
.cta__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 62px;
  padding-inline: 1.375rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(6, 43, 91, 0.08);
}
.cta__input::placeholder { color: #6b7385; } /* 4.6:1 on white */
.cta__input:focus-visible { outline: 3px solid var(--periwinkle-700); outline-offset: 2px; }
.cta__submit { flex: 0 0 auto; height: 62px; min-height: 62px; padding-inline: 2rem; font-size: 1.0625rem; }
.cta__micro {
  margin-top: 0.875rem;
  padding-inline: 0.25rem;
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--navy-700);
}
.cta__status {
  margin-top: 0.875rem;
  padding-inline: 0.25rem;
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
}
.cta__status--error {
  color: #7a1620; /* >= 4.5:1 on the lavender band */
}
.cta__input:disabled,
.cta__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Negative block margins let Beam overhang the band (as drawn) without the art
   dictating the band's height. */
.cta__beam { position: relative; justify-self: end; align-self: center; width: 176px; margin-block: -14px -22px; }
.cta__beam-img { width: 100%; height: auto; }
.cta__trail {
  position: absolute;
  left: -32%; bottom: -6%;
  width: 116%;
  opacity: 0.9;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cta__beam { animation: bob 6.5s var(--ease-out) infinite; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #e9f1fc;
  border-top: 1px solid rgba(6, 43, 91, 0.06);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.75rem;
}
.site-footer__brand { display: block; border-radius: var(--radius-sm); }
.site-footer__brand img { width: 120px; height: auto; }
.site-footer__copy { font-size: 0.875rem; color: var(--navy-700); }
.site-footer__links { display: flex; gap: 0.5rem; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--navy-700);
}
.site-footer__links a:hover { color: var(--periwinkle-700); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
    min-height: 0;
  }
  .nav__links { gap: 1rem; }
}

@media (max-width: 1000px) {
  :root { --nav-h: 5.5rem; }

  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
    padding-block: 1rem;
  }
  .nav__burger { display: block; }
  .hero__art { width: min(520px, 100%); margin-top: 0; }

  .nav__menu {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    display: none;
    padding: var(--space-4) 0 var(--space-5);
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin-inline: 0; }
  .nav__links a { min-height: 48px; padding-inline: 0.25rem; }
  /* Bar order: brand … toggle, burger. The menu wraps to its own row. */
  .nav > .lang-toggle { order: 1; margin-inline-start: auto; }
  .nav__burger { order: 2; }
  .nav__menu { order: 3; }

  .hero { padding-top: var(--space-4); }
  /* `start`, not `left` — the HE page must stay right-aligned on mobile. */
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); text-align: start; }
  .hero__copy { padding-bottom: 0; }
  .hero__body { max-width: 46ch; }
  .hero__art { margin-right: 0; justify-self: center; }
  .hero__art-img { max-width: 520px; margin-inline: auto; }
  .sparkle--md { left: 0; }
  .hero-backdrop { height: clamp(820px, 200vw, 1200px); }
}

@media (max-width: 480px) {
  .hero__actions { gap: var(--space-4); }
  .btn--lg { width: 100%; }
}

/* ==========================================================================
   Responsive — below the fold (#1324)
   The mock is desktop-only; every rule below is an invented adaptation and is
   flagged as such in the PR.
   ========================================================================== */

/* Phone frames: horizontal scroller rather than a vertical stack. Four stacked
   frames add ~1700px of page for no extra information, and a device mock reads
   as a device only at its designed size — so the row keeps its size and scrolls
   with snap points. The section still has zero horizontal page overflow. */
@media (max-width: 1120px) {
  .hiw__inner { grid-template-columns: 235px minmax(0, 1fr); }
  .phones {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    /* let shadows breathe without clipping */
    margin-inline: -8px;
    padding-inline: 8px;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
  }
  .ph { flex: 0 0 196px; scroll-snap-align: center; }
}

@media (max-width: 1000px) {
  .bleed-strip, .bleed-band { margin-inline: 0; }
  .strip-section { padding-top: 2rem; }
  .cta-section { padding-top: 2.75rem; }

  .hiw__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hiw__copy { max-width: 34rem; }
  .section-title br { display: none; }

  .values__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .values__media { display: contents; }
  .values__photo img { aspect-ratio: 16 / 10; }

  .cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }
  .cta__sub { max-width: 46ch; }
  .cta__beam { justify-self: end; width: 150px; margin-top: -0.5rem; }
}

@media (max-width: 900px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem 1.25rem; }
  /* The measured desktop line-wraps are mock fidelity, not a reading constraint —
     drop them once the columns stop matching the mock's. */
  .strip__body, .vgrid__title, .vgrid__body, .quote__text { max-width: none; }
}

@media (max-width: 760px) {
  .values__inner { gap: 1.75rem; }
  .quote { padding-bottom: 3rem; }
}

@media (max-width: 640px) {
  .cta__fields { flex-direction: column; align-items: stretch; }
  .cta__submit { width: 100%; }
  .cta__beam { width: 128px; }
  .site-footer__inner { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .strip { grid-template-columns: minmax(0, 1fr); }
  .vgrid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* ==========================================================================
   Prose pages (/privacy, /terms) — #1325
   Simple single-column legal/marketing prose, same tokens as the rest of the
   site. Own header (wordmark only, no nav links — these pages are leaves,
   not primary navigation) + the shared footer markup.
   ========================================================================== */
.prose-header {
  position: relative;
  z-index: 20;
  padding-block: 1.375rem;
  border-bottom: 1px solid rgba(6, 43, 91, 0.06);
}
.prose-header .container { display: flex; align-items: center; }
.prose-header__brand img { width: clamp(120px, 11vw, 148px); height: auto; }

.prose {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
}
.prose .container { max-width: 46rem; }

.prose__draft {
  margin-bottom: 2rem;
  padding: 0.875rem 1.25rem;
  background: #fef3e3;
  border: 1px solid rgba(252, 161, 10, 0.35);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  color: var(--navy-900);
}

.prose__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: var(--fw-heading);
  line-height: 1.15;
  color: var(--navy-900);
}
.prose__meta {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--navy-500);
}

.prose__body { margin-top: 2rem; }
.prose__body h2 {
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-heading);
  color: var(--navy-900);
}
.prose__body h2:first-child { margin-top: 0; }
.prose__body p {
  margin-top: 0.875rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy-700);
}
.prose__body ul {
  margin-top: 0.875rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.prose__body li {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-700);
}
.prose__body a { color: var(--periwinkle-700); text-decoration: underline; }
.prose__body strong { color: var(--navy-900); }

/* ==========================================================================
   HEBREW / RTL — #1326
   /he/ is the same markup and the same layout, mirrored. Everything above
   that already uses logical properties (padding-inline, margin-inline,
   justify-self: end, grid auto-flow) mirrors for free; the block below only
   fixes the places that were written physically (left/right offsets,
   directional art, the "›" chevron) plus the HE type pair.

   Scoped on [dir="rtl"] so not one EN declaration changes.
   ========================================================================== */
[dir="rtl"] {
  /* Varela Round is single-weight (400) by design — a rounded Hebrew display
     face. Heading weights below are pinned to 400 in RTL so the browser never
     synthesises a fake bold. One-line switch if Roy wants a heavier headline:
     set --font-display to "Heebo" and restore --fw-hero/--fw-heading to 800. */
  --font-display: "Varela Round", "Heebo", system-ui, sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Varela Round", var(--font-display);
  --fw-hero: 400;
  --fw-heading: 400;
}

/* Numerals, timers and clock strings stay LTR inside an RTL page. `isolate`
   (not `embed`) so a trailing "+" or ":" can never leak to the wrong edge of
   the surrounding Hebrew run. */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Hebrew x-height runs taller than Latin at the same px size; body copy needs
   a touch more leading to stay comfortable. */
[dir="rtl"] body { line-height: 1.7; }

[dir="rtl"] .skip-link {
  left: auto;
  right: -9999px;
  border-radius: 0 0 0 var(--radius-md);
}
[dir="rtl"] .skip-link:focus { right: 0; }

/* The backdrop's sky/lavender corner hugs the art, so the wash mirrors with
   it. Mirrored by flipping each radial-gradient's x-position, NOT by
   `transform: scaleX(-1)`: a transform turns this z-index:-1 layer into its
   own stacking context, which then composites ON TOP of the (unpositioned)
   hero art and hides it. Same colour stops, x mirrored (100%→0, 104%→-4%,
   54%→46%, 0%→100%); the vertical linear-gradient base is unchanged. */
[dir="rtl"] .hero-backdrop {
  background:
    radial-gradient(75% 60% at 0% 8%,
      rgba(47, 162, 253, 1) 0%,
      rgba(47, 162, 253, 1) 30%,
      rgba(90, 185, 254, 0.64) 48%,
      rgba(140, 205, 254, 0.42) 56%,
      rgba(186, 216, 253, 0.16) 76%,
      rgba(186, 216, 253, 0) 100%),
    radial-gradient(62% 56% at -4% 64%,
      rgba(168, 166, 242, 0.95) 0%,
      rgba(190, 186, 245, 0.66) 42%,
      rgba(208, 210, 250, 0.32) 70%,
      rgba(213, 214, 249, 0) 100%),
    radial-gradient(64% 50% at 46% 66%,
      rgba(253, 213, 118, 0.56) 0%,
      rgba(254, 231, 163, 0.3) 45%,
      rgba(254, 240, 198, 0) 78%),
    radial-gradient(76% 62% at 100% 74%,
      rgba(253, 243, 228, 1) 0%,
      rgba(253, 246, 236, 0.62) 44%,
      rgba(253, 249, 243, 0) 82%),
    linear-gradient(180deg, #fefefe 0%, #fdfbf8 48%, #fdf6ec 78%, #fbf5ef 100%);
}

/* Hero: copy right, art left (grid mirrors on its own — these fix the
   physical offsets and the direction-carrying art).
   NOTE on ordering: this block sits after the responsive rules above, and
   `[dir="rtl"] .x` outranks a bare `.x` inside a max-width query. So every
   override that only makes sense at the desktop layout is wrapped in a
   min-width query of its own — otherwise it would silently win on mobile and
   re-impose the desktop geometry. */
@media (min-width: 1001px) {
  [dir="rtl"] .hero__art {
    margin-right: 0;
    margin-left: calc(var(--container-pad) * -0.1);
  }
  [dir="rtl"] .hero__body { max-width: 25rem; }
  /* Hebrew sets shorter, but "צברו זוהר." needs a hair more room than EN. */
  [dir="rtl"] .hiw__inner { grid-template-columns: 250px minmax(0, 1fr); }
}
[dir="rtl"] .sparkle--md { left: auto; right: -4%; }
[dir="rtl"] .sparkle--lg { right: auto; left: 4%; }
[dir="rtl"] .sparkle--sm { right: auto; left: -1%; }
@media (max-width: 1000px) {
  [dir="rtl"] .sparkle--md { right: 0; }
}

/* Play triangle points into the reading direction. */
[dir="rtl"] .play-link__glyph { transform: scaleX(-1); }
[dir="rtl"] .play-link:hover .play-link__glyph { transform: scaleX(-1) translateX(2px); }

/* The EN hero has no subline; the HE mock does. Sits between the headline and
   the body paragraph, with the mock's amber underline accent. */
/* Founding-families offer — small muted line under the hero CTA. */
.hero__offer {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--navy-500);
}

.hero__sub {
  position: relative;
  margin-top: clamp(0.75rem, 1.1vw, 0.875rem);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.95vw, 1.5625rem);
  font-weight: var(--fw-heading);
  line-height: 1.25;
  color: var(--navy-900);
}
.hero__sub::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 3px;
  margin-top: 0.6875rem;
  margin-inline-end: auto;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(252, 161, 10, 0) 0%, var(--amber-500) 40%, var(--gold-300) 100%);
}
[dir="rtl"] .hero__sub::after {
  background: linear-gradient(270deg, rgba(252, 161, 10, 0) 0%, var(--amber-500) 40%, var(--gold-300) 100%);
}

/* Toggle: the EN/HE pair is forced LTR in the markup so it always reads in the
   same order; only the active half changes colour. */
.lang-toggle__lang { color: var(--navy-500); }
.lang-toggle__lang.is-active { color: var(--navy-900); }
.lang-toggle:hover .lang-toggle__lang { color: inherit; }

/* Measures back-solved from EN glyph widths don't transfer to Hebrew. Only
   above 900px, where the EN rules they replace are also still in force. */
@media (min-width: 901px) {
  [dir="rtl"] .strip__body { max-width: 11.5rem; }
  [dir="rtl"] .vgrid__title { max-width: 10rem; }
  [dir="rtl"] .vgrid__body { max-width: 11rem; }
  [dir="rtl"] .quote__text { max-width: 13rem; }
}

/* ---------- Beam definition band (between the story and the CTA) ----------
   Dictionary-entry look: Frank Ruhl Libre, a classic high-clarity serif that
   covers both Hebrew and Latin, so one face serves both pages. */
.beam-def { padding-block: 4.5rem 4rem; text-align: center; }
.beam-def__word {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}
/* Beam's own body blue, sampled from assets/beam/beam-flying.png. */
.beam-def__term { color: #4290e1; }
.beam-def__phon, .beam-def__sep {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.45em;
  color: var(--navy-500);
}
.beam-def__line {
  max-width: 38rem;
  margin-inline: auto;
  margin-top: 1.25rem;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy-900);
}

/* Yellow-marker highlight for a key sentence inside long copy. Authored in
   COPY.md as ==text== (see scripts/copy_sync.py). Gradient edges + clone so a
   highlight that wraps across lines still reads like one marker stroke. */
mark.hl {
  background: linear-gradient(100deg,
    rgba(255, 214, 90, 0) 0.5%,
    rgba(255, 214, 90, 0.55) 3.5%,
    rgba(255, 214, 90, 0.45) 96%,
    rgba(255, 214, 90, 0) 99%);
  color: inherit;
  padding: 0.1em 0.2em;
  margin-inline: -0.1em;
  border-radius: 0.35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Card titles (strip + values grid) need real weight to sit above the
   handwritten leads and the long-form bodies — Varela Round only has 400, so
   these two switch to bold Heebo. The hero/section headings stay Varela. */
[dir="rtl"] .strip__title,
[dir="rtl"] .vgrid__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
}
[dir="rtl"] .strip__title { font-size: 1.125rem; }

/* Phone frames — the row itself reverses via grid; these are the physically
   positioned bits inside a frame. */
[dir="rtl"] .ph__status { padding: 9px 12px 0 0; }
[dir="rtl"] .ph--home .ph__status { inset: 0 0 auto auto; }
[dir="rtl"] .ph--tasks .ph__status { padding-inline: 1px; }
[dir="rtl"] .ph__count { direction: ltr; }
/* A −/+ stepper is a numeric control, not prose: minus stays on the left and
   plus on the right in both languages (same rule the app applies to PIN and
   dialer grids). */
[dir="rtl"] .ph__stepper { direction: ltr; }
/* "120 זוהר" / "40 זוהר" are one atomic value — the bidi isolate around the
   numeral otherwise opens a line-break opportunity mid-value. */
[dir="rtl"] .ph__balance b,
[dir="rtl"] .ph__cost,
[dir="rtl"] .ph__rowtext i { white-space: nowrap; }

/* Quote card: the jar illustration sits in the far corner of the card. */
[dir="rtl"] .quote__jar { right: auto; left: 0.625rem; }
[dir="rtl"] .quote__mark { text-align: right; }

/* Beam flies toward the copy. Copy is on the right in RTL, so Beam and his
   sparkle trail both flip. */
[dir="rtl"] .cta__beam-img { transform: scaleX(-1); }
[dir="rtl"] .cta__trail { left: auto; right: -32%; transform: scaleX(-1); }

/* Prose pages (the HE-version notice lives on the EN legal pages). */
[dir="rtl"] .prose__body ul { padding-left: 0; padding-right: 1.25rem; }

.prose__he-note {
  margin-bottom: 1rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid rgba(6, 43, 91, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--navy-700);
}
