/* Version B: light and loud. Brand gray as the page, navy ink, gold only where you press.
   Display: Karantina (condensed Hebrew, poster scale). Text: Heebo. No glow, no glass, no scroll effects.
   The one bold thing is the hero: a huge question and Ofek breaking out of a navy stage panel. */
html[data-variant="b"], html.theme-b {
  --bg: #E5E5E5; --navy: #FFFFFF; --navy-2: #F1F1EF; --navy-3: #14213D;
  --ink: #14213D; --ink-2: #4A5570; --ink-3: #6B7487; --white: #14213D;
  --line: rgba(20, 33, 61, 0.12); --line-2: rgba(20, 33, 61, 0.24);
  --gold-soft: rgba(252, 163, 17, 0.20); --err: #B42318; --ok: #1E8E4E; --sk-1: #E2E2DF; --sk-2: #F1F1EE;
  --shadow: 0 1px 0 rgba(20, 33, 61, 0.10); --glow: none;
  --font: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Karantina", "Heebo", sans-serif;
  color-scheme: light;
}
html[data-variant="b"] body, html.theme-b body { background: var(--bg); color: var(--ink); font-weight: 400; }
html[data-variant="b"] .q__num, html.theme-b .q__num { color: var(--ink-2); }
html[data-variant="b"] .q__title { font-weight: 800; }
html[data-variant="b"] .quiz__nav { background: rgba(229, 229, 229, 0.97); }
html[data-variant="b"] .btn, html.theme-b .btn { border-radius: 10px; }

/* sticky bar: the CTA rides along the whole page */
.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-block-end: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar__in { inline-size: min(100% - 32px, 1120px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; block-size: 60px; }
.bar__logo { inline-size: 132px; }
.bar__cta {
  cursor: pointer; border: 0; border-radius: 10px; background: var(--gold); color: var(--navy-3);
  font: 800 1rem/1 var(--font); padding: 0.8rem 1.1rem; white-space: nowrap;
}
.bar__cta:active, .tile:active { transform: scale(0.97); }

.b-wrap { inline-size: min(100% - 32px, 1120px); margin-inline: auto; }
.b main h2 { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 2.2rem + 4vw, 5.4rem); line-height: 0.9; letter-spacing: 0; color: var(--ink); }

/* hero. Columns are set explicitly: with an auto column, Safari adds the stage's top margin to its width
   (through the aspect ratio), and the whole hero ends up 112px wider than the phone.
   On a phone the question fits one line and the man/woman tiles come before the photo,
   so the tiles show without scrolling (from an iPhone SE up) */
.b-hero { padding-block: 22px 56px; }
.b-hero__in { inline-size: min(100% - 32px, 1120px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.b-hero h1 {
  font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: 0;
  font-size: min(21.5vw - 7px, 11.5rem); line-height: 0.8; margin-block-start: 6px;
}
.b-hero__lead { font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); max-inline-size: 34ch; margin-block-start: 14px; }
.stage { position: relative; aspect-ratio: 721 / 450; background: var(--navy-3); border-radius: 14px; margin-block-start: 70px; }
.stage img { position: absolute; inset-inline: 0; bottom: 0; inline-size: 100%; height: auto; }
.stage figcaption { position: absolute; inset-inline-start: 12px; bottom: 10px; max-inline-size: 24%; font-size: 0.68rem; line-height: 1.3; color: #9AA4BA; }
.ask { margin-block-start: 18px; }
.ask__q { font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 2.6rem + 3vw, 4.6rem); line-height: 0.9; color: var(--ink); }
.ask__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block-start: 14px; }
.tile {
  cursor: pointer; display: grid; padding: 0; overflow: hidden; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--ink); color: #FFFFFF; transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.tile img { inline-size: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; }
.tile span { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; padding: 10px 0 8px; }
.tile:hover span, .tile:focus-visible span { color: var(--gold); }
.ask__note { margin-block-start: 10px; font-size: 0.92rem; color: var(--ink-2); }

/* levels: on a phone a plain list 1, 2, 3 (full width); on a wide screen a staircase rising to the left */
.b-levels { background: #000000; padding-block: 52px 58px; }
.b main .b-levels h2 { color: #FFFFFF; }
.stairs { list-style: none; padding: 0; margin-block-start: 26px; display: flex; flex-direction: column; gap: 8px; }
.stair { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--navy-3); color: #C9CFDC; border-radius: 10px; padding: 12px 16px; }
.stair b { grid-row: 1 / 3; font-family: var(--display); font-weight: 700; font-size: 5.4rem; line-height: 0.8; color: var(--gold); }
.stair__t { font-weight: 800; color: #FFFFFF; font-size: 1.1rem; }
.b-levels__goal { margin-block-start: 22px; color: #C9CFDC; max-inline-size: 46ch; }

/* the trap: said, not carded. Lines run the full width on a phone, so each one breaks into two, not four. */
.b-trap { padding-block: 52px; }
.say { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 0.98; color: var(--ink); max-inline-size: 22ch; margin-block-start: 20px; }
.b-trap h2 + .say { margin-block-start: 30px; }
.say--end { color: var(--ink-2); }

/* proof: a wall of results that keeps moving, so you feel how many there are (the page's one ambient motion) */
.b-proof { background: #FFFFFF; padding-block: 60px 64px; overflow: hidden; }
.wall { display: grid; gap: 6px; margin-block-start: 26px; }
.wall__row { overflow: hidden; direction: ltr; } /* LTR row: the track starts at the left edge, so moving it never opens a gap */
.wall__track { display: flex; gap: 6px; padding-right: 6px; inline-size: max-content; direction: ltr; animation: wall-left 150s linear infinite; }
.wall__row--rev .wall__track { animation-name: wall-right; animation-duration: 170s; }
.wall__track img { flex: none; inline-size: 116px; block-size: 116px; object-fit: cover; border-radius: 8px; background: #EDEDEB; }
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (min-width: 900px) { .wall__track img { inline-size: 168px; block-size: 168px; } }
@media (prefers-reduced-motion: reduce) { .wall__row { overflow-x: auto; } .wall__track { animation: none; } }

/* who: Ofek with the men and with the women, then the two lines. Stacked on a phone (columns set explicitly, see the hero) */
.b-who { padding-block: 52px; }
.b-who__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.b-who__pics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.b-who__pics img { display: block; inline-size: 100%; height: auto; border-radius: 14px; background: var(--navy-3); }
.b-who__in p { max-inline-size: 52ch; font-size: 1.1rem; color: var(--ink-2); margin-block-start: 12px; }
.b-who__in h2 + p { margin-block-start: 18px; }

/* faq: everything visible, no accordions */
.b-faq { background: #FFFFFF; padding-block: 60px; }
.b-faq dl { display: grid; gap: 22px 40px; margin-block-start: 26px; }
.b-faq dt { font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.b-faq dd { margin: 4px 0 0; color: var(--ink-2); max-inline-size: 46ch; }

/* final ask on navy */
.b-final { background: var(--navy-3); padding-block: 64px 72px; }
.b main .b-final h2 { color: #FFFFFF; }
.b-final .ask__q { color: #FFFFFF; margin-block-start: 26px; }
.b-final .tile { border-color: #FFFFFF; }
.b-final .ask__pick { max-inline-size: 520px; }

.b-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 22px 16px 30px; font-size: 0.88rem; color: var(--ink-2); }
.b-foot a { color: var(--ink-2); }

@media (min-width: 900px) {
  .b-hero { padding-block: 34px 80px; }
  .b-hero h1 { font-size: clamp(5.4rem, 3.2rem + 13vw, 11.5rem); }
  .b-hero__in { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 56px; }
  .b-hero__copy { grid-column: 1; grid-row: 1; }
  .ask { grid-column: 1; grid-row: 2; max-inline-size: 520px; margin-block-start: 26px; }
  .stage { grid-column: 2; grid-row: 1 / 3; margin-block-start: 110px; align-self: start; }
  .stairs { flex-direction: row; align-items: flex-end; gap: 12px; }
  .stair { inline-size: auto; flex: 1; grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: start; padding: 18px 20px; }
  .stair b { grid-row: auto; font-size: 7rem; }
  .stair--1 { min-block-size: 230px; }
  .stair--2 { min-block-size: 300px; }
  .stair--3 { min-block-size: 370px; }
  .b-levels, .b-trap, .b-who { padding-block: 64px 70px; }
  .b-who__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .b-who__pics { display: flex; align-items: flex-start; }
  .b-who__pics img { flex: 3 1 0; min-inline-size: 0; }
  .b-who__pics img[data-g="m"] { flex-grow: 4; } /* 4:3 beside 1:1 at 4 to 3 widths: the same height */
  .b-faq dl { grid-template-columns: 1fr 1fr; }
}

/* video page in version B */
html.theme-b .orb { display: none; }
html.theme-b .lead { color: var(--ink-2); font-weight: 500; }
html.theme-b h1 { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 2.6rem + 5vw, 6rem); line-height: 0.9; letter-spacing: 0; }
html.theme-b h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 0.95; letter-spacing: 0; }
html.theme-b .section--alt { background: #FFFFFF; }
html.theme-b .badge { background: var(--navy-3); color: var(--gold); border-radius: 8px; }
html.theme-b .cover { background: var(--navy-3); color: #FFFFFF; }
html.theme-b .cover b { color: #FFFFFF; font-family: var(--display); font-size: 2.6rem; }
html.theme-b .cover span { color: #B9C1D3; }
html.theme-b .offer { background: #FFFFFF; border: 2px solid var(--navy-3); box-shadow: none; }
html.theme-b .player { box-shadow: none; }
html.theme-b .about__pics img { box-shadow: none; }
