/* Contento · design partners (#1251, version 3 in #1269). Page-local styles on
   top of the scroll-craft engine (never edited). Design: canvas page
   "שותפות פיתוח · גרסה 3 · מבנה חדש לפי המסמך", artboard א. RTL throughout, logical
   properties only. Motion states are classes partners.js toggles; under
   prefers-reduced-motion every one of them renders in its final state. */

:root {
  --sc-canvas: #ffffff;
  --sc-surface: #ffffff;
  --sc-ink: #1a1a1a;
  --sc-ink-soft: #484b58;
  --sc-accent: #8c2c54;
  --sc-accent-ink: #ffffff;
  --sc-font-display: "IBM Plex Sans Hebrew", "Heebo", system-ui, sans-serif;
  --sc-font-text: "Heebo", system-ui, sans-serif;

  --wine: #8c2c54;
  --wine-2: #7a2247;
  --plum: #5d2a55;
  --rose: #a8385f;
  --rose-lift: #e8a0bf;
  --peri: #6279bf;
  --peri-ink: #4c66b6;
  --peri-wash: #dfe5f8;
  --wine-wash: #f6eef2;
  --muted: #707070;
  --line: #dddddd;
  --g900: #1a1a1a;
  --g800: #212121;
  --g700: #333333;
  --g-soft: #a0a0a0;
  --ok: #2f7d5b;
  --bad: #c0533a;
  --cta: linear-gradient(160deg, #6DD4EE 0%, #477DC3 63%, #8275BA 100%);
  --brand-ground: radial-gradient(120% 90% at 85% 20%, #a8385f 0%, rgba(168,56,95,0) 55%), radial-gradient(120% 110% at 5% 95%, #6279bf 0%, rgba(98,121,191,0) 45%), linear-gradient(135deg, #8c2c54 0%, #7a2247 55%, #5d2a55 100%);
  --e: 0 1px 4px -1px rgba(12,12,13,.06), 0 24px 48px -16px rgba(12,12,13,.24);
  --bar-h: 72px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-padding-top: calc(var(--bar-h) + 16px); }
body { background: #ffffff; color: var(--sc-ink); font-family: var(--sc-font-text); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 100; background: var(--g900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); box-sizing: border-box; }
.nb { white-space: nowrap; }
.line { display: block; }

/* ---------------------------------------------------------------- bar -- */
.bar { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60; height: var(--bar-h); color: #fff; transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease), color 260ms var(--ease); }
.bar__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.bar__mark { position: relative; display: block; width: 140px; height: 24px; }
.bar__logo { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity 260ms var(--ease); }
.bar__logo--color { opacity: 0; }
.bar__label { margin-inline-start: auto; font-size: 14px; font-weight: 600; opacity: .88; }
.bar__cta { display: none; }
.bar.is-solid { background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--sc-ink); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bar.is-solid .bar__logo--light { opacity: 0; }
.bar.is-solid .bar__logo--color { opacity: 1; }
.bar.is-dark { background: rgba(26,26,26,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; box-shadow: none; }
.bar.is-dark .bar__logo--light { opacity: 1; }
.bar.is-dark .bar__logo--color { opacity: 0; }
.bar.has-cta .bar__label { display: none; }
.bar.has-cta .bar__cta {
  display: inline-flex; margin-inline-start: auto; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--cta); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  animation: barIn 320ms var(--ease);
}
@keyframes barIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- shared -- */
.kicker { display: block; font-size: 14px; font-weight: 700; color: var(--wine); }
.kicker--lift { color: var(--rose-lift); }
.kicker--soft { color: var(--peri-wash); }
.h2 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(36px, 2.2rem + 1.8vw, 60px); line-height: 1.1; color: var(--sc-ink); text-wrap: balance; }
.h2--md { font-size: clamp(32px, 1.9rem + 1.6vw, 54px); }
.h2--light { color: #fff; }
.h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 30px; }
.lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sc-ink-soft); max-width: 62ch; }
.lede--light { color: rgba(255,255,255,.84); font-weight: 300; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cta); color: #fff; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 120ms var(--ease), filter 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(1.06); } }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--sc-ink); border: 1px solid var(--line); }
.linkbtn { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* --------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; overflow: hidden; background: var(--plum); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1.06)); transform-origin: 30% 50%; will-change: transform; }
/* Hero A/B test: each hero's loop shows only under its own data-hero (set in the head). */
[data-hero="a"] .hero__video--b, [data-hero="b"] .hero__video--a { display: none; }
[data-hero="b"] .hero__video--b { object-position: 0% 50%; left: -12%; width: 112%; }
[data-hero="b"] .hero { background: var(--wine-2); }
[data-hero="b"] .hero__shade { background: linear-gradient(to left, #7a2247 0%, rgba(122,34,71,.9) 30%, rgba(122,34,71,.45) 52%, rgba(122,34,71,0) 72%); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to left, #7a2247 0%, rgba(122,34,71,.92) 30%, rgba(93,42,85,.55) 55%, rgba(93,42,85,.05) 80%); }
.hero__bloom { position: absolute; inset: 0; background: radial-gradient(60% 70% at 95% 10%, rgba(168,56,95,.55) 0%, rgba(168,56,95,0) 60%), radial-gradient(50% 60% at 60% 110%, rgba(98,121,191,.45) 0%, rgba(98,121,191,0) 60%); }
.hero__in { position: relative; padding-block: calc(var(--bar-h) + 48px) 88px; }
.hero__copy { max-width: 800px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__h { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(42px, 1.6rem + 4.2vw, 78px); line-height: 1.08; }
.hero__h-soft { font-weight: 300; }
.hero__sub { margin: 0; max-width: 580px; font-weight: 300; font-size: clamp(18px, 1rem + .4vw, 21px); line-height: 1.55; color: rgba(255,255,255,.92); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
/* The seats tag: read at a glance, with a soft live pulse. */
.seats { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 18px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); font-size: 17px; font-weight: 700; color: #fff; }
.seats i { width: 9px; height: 9px; border-radius: 9px; background: #6dd4ee; box-shadow: 0 0 0 4px rgba(109,212,238,.28); }
.motion .seats i { animation: seatPulse 2.4s ease-in-out infinite; }
@keyframes seatPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(109,212,238,.28); } 50% { box-shadow: 0 0 0 9px rgba(109,212,238,0); } }
.btn--lg { height: 56px; padding: 0 34px; font-size: 17px; }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
@media (hover: hover) and (pointer: fine) { .btn--outline:hover { background: rgba(255,255,255,.1); filter: none; } }

/* ------------------------------------------------------------ problem -- */
.prob { background: #efefed; padding-block: clamp(72px, 10vw, 160px) clamp(96px, 12vw, 180px); }
.prob__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.h2--lg { font-size: clamp(38px, 2.2rem + 2vw, 64px); }
.prob__cards { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pcard { display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid #d6d6d4; box-shadow: 0 2px 4px rgba(12,12,13,.04), 0 28px 50px -26px rgba(12,12,13,.32); overflow: hidden; }
/* One height for all three visuals, so the titles under them line up. */
.pcard__vis { position: relative; height: 300px; padding: 22px; box-sizing: border-box; background: #f6f5f3; border-bottom: 1px solid #e6e5e2; }
.pcard__txt { padding: 28px 30px 34px; display: flex; flex-direction: column; gap: 12px; }
.pcard h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(24px, 1.2rem + .8vw, 30px); line-height: 1.2; }
.pcard p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sc-ink-soft); }
.motion [data-drop] .pcard { transition: opacity 500ms var(--ease), transform 900ms cubic-bezier(.34, 1.4, .64, 1); transition-delay: calc(var(--k) * 260ms); }
.motion [data-drop] .pcard:not(.is-in) { opacity: 0; transform: translateY(-110px) rotate(7deg); }
/* card visuals */
.file { position: absolute; inset-inline-start: var(--x); top: calc(22px + var(--y)); transform: rotate(var(--r)); display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -12px rgba(12,12,13,.35); font-size: 14px; font-weight: 500; white-space: nowrap; }
.file b { width: 30px; height: 30px; border-radius: 8px; background: var(--c); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; direction: ltr; }
.wa { position: absolute; inset-inline-end: 6%; bottom: 24px; transform: rotate(2deg); padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #dcf8c6; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(12,12,13,.35); }
.pcard__vis .mini { height: 100%; }
.mini { box-sizing: border-box; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #e6e5e2; display: flex; flex-direction: column; }
.mini__cap { font-size: 12px; font-weight: 600; color: #6b6b6b; }
.chat { gap: 9px; }
.bub { align-self: flex-end; max-width: 80%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #efefef; font-size: 14px; line-height: 1.4; }
.bub--me { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: var(--wine); color: #fff; }
.bub small { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.ooo { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff4e0; color: #8a5a00; font-size: 12px; font-weight: 600; }
.ooo i { width: 7px; height: 7px; border-radius: 7px; background: #e0a030; }
.dash { gap: 16px; }
.dash__row { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 13px; font-weight: 600; }
.dash__row b { color: var(--ok); }
.dash__row i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: linear-gradient(#2f9d6b, #2f9d6b) right / var(--w) 100% no-repeat, #efefef; }
.dash__row--q b { width: 22px; height: 22px; border-radius: 22px; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.dash__row--q i { background: none; border: 1.5px dashed #c8c8c8; box-sizing: border-box; }

/* ---------------------------------------------------- what is Contento -- */
.what { padding-block: clamp(110px, 14vw, 200px) 0; }
.what__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.what__copy { display: flex; flex-direction: column; gap: 18px; }
.what__copy .h2 { font-size: clamp(34px, 2rem + 1.6vw, 50px); line-height: 1.12; }
.what__copy .nb { white-space: normal; }
.numlist { list-style: none; margin: 14px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.numlist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.numlist h3 { margin: 0 0 6px; font-weight: 600; font-size: 20px; }
.numlist p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sc-ink-soft); }
.num { width: 32px; height: 32px; border-radius: 999px; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--sc-font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.what__media { position: relative; height: 720px; }
/* The product window alone, on a soft stage of the brand's two washes. */
.what__stage { height: auto; min-height: 620px; display: flex; align-items: center; justify-content: center; border-radius: 32px; background: radial-gradient(70% 80% at 85% 15%, #f6e6ee 0%, rgba(246,230,238,0) 70%), radial-gradient(70% 80% at 10% 90%, #e3e8f8 0%, rgba(227,232,248,0) 70%), #faf8fa; }
.what__stage .reel { position: relative; inset: auto; width: min(560px, 86%); }
.photo { position: relative; overflow: hidden; border-radius: 32px; background: var(--peri-wash); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--wipe { clip-path: inset(0 0 0 100% round 32px); transition: clip-path 1100ms var(--ease); }
.photo--wipe.is-in { clip-path: inset(0 0 0 0 round 32px); }
[data-pop] { transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.motion [data-pop]:not(.is-in) { opacity: 0; transform: translateY(18px); }
/* Rise groups: the kicker, each headline line, the lede and the list come up in turn. */
.motion [data-rise] .nb { display: inline-block; }
.motion [data-rise] .nb.line { display: block; }
.motion [data-rise-item] { transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: var(--rd, 0ms); }
.motion [data-rise-item]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* The product reel: a light program window that loops through four screens,
   14s a turn, and only while it is on screen (partners.js sets .is-play). */
.reel { --T: 14s; position: absolute; inset-inline-start: -48px; bottom: 0; width: 520px; border-radius: 24px; background: #fff; border: 1px solid #e6e3ea; box-shadow: 0 1px 4px -1px rgba(12,12,13,.06), 0 30px 60px -20px rgba(12,12,13,.3); overflow: hidden; }
.reel__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; font-size: 12px; color: var(--muted); }
.reel__head b { font-size: 13px; font-weight: 600; color: var(--sc-ink); }
.reel__dots { display: flex; gap: 6px; margin-inline-end: 4px; }
.reel__dots i { width: 9px; height: 9px; border-radius: 9px; background: #e4e1e7; }
.reel__prog { display: flex; gap: 6px; padding: 0 18px 4px; }
.reel__prog span { flex: 1; height: 4px; border-radius: 4px; background: #efedf2; overflow: hidden; }
.reel__prog i { display: block; height: 100%; background: var(--wine); transform-origin: right center; }
.reel__screens { position: relative; height: 330px; }
.scr { position: absolute; inset: 0; padding: 22px 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; }
.scr--center { justify-content: center; gap: 18px; }
.scr__cap { font-size: 12px; font-weight: 700; color: var(--wine); }
.scr__t { font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 26px; line-height: 1.15; }
.lesson { display: flex; gap: 14px; }
.lesson img { width: 150px; height: 96px; object-fit: cover; border-radius: 12px; }
.lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.lines i { display: block; height: 8px; border-radius: 4px; background: #e9e7ee; }
.lines i.dim, .lines--para i { background: #f0eef3; }
.lines--para { flex: none; padding: 0; }
.scr__btn { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--g900); color: #fff; font-size: 13px; font-weight: 600; }
.pod { display: flex; align-items: center; gap: 14px; }
.pod__btn { width: 44px; height: 44px; border-radius: 999px; background: var(--wine); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pod__wave { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 52px; }
.pod__wave i { width: 3px; border-radius: 3px; background: #c98aa6; }
.pod__time { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.flip { flex: 1; perspective: 900px; }
.flip__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.flip__f { position: absolute; inset: 0; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; box-sizing: border-box; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #f6f4f8; border: 1px solid #ebe8ef; }
.flip__f span { font-size: 12px; font-weight: 700; color: var(--wine); }
.flip__f b { font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 22px; line-height: 1.25; }
.flip__f small { font-size: 12px; color: var(--muted); }
.flip__f--back { background: var(--wine); border-color: var(--wine); color: #fff; transform: rotateY(180deg); }
.flip__f--back span { color: #f6d4e3; }
.conti { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.conti b { font-size: 15px; color: var(--sc-ink); }
.conti__mark { width: 30px; height: 30px; border-radius: 999px; border: 1px solid #e6e3ea; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.conti__q { align-self: flex-end; max-width: 78%; border-radius: 14px 14px 4px 14px; }
.conti__a { position: relative; min-height: 120px; }
.conti__think { position: absolute; inset-inline-start: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--peri-ink); }
.conti__think img { width: 40px; height: 40px; }
.conti__ans { display: flex; flex-direction: column; align-self: auto; max-width: 86%; background: #f3f2f5; line-height: 1.5; border-radius: 14px 14px 14px 4px; }
.conti__ans em { align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #eef1fa; color: var(--peri); font-size: 12px; font-weight: 600; font-style: normal; }
.reel__tabs { display: flex; gap: 6px; justify-content: center; padding: 12px 18px 16px; border-top: 1px solid #efedf2; }
.reel__tabs span { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #6b6b6b; }
/* Without motion the window rests on its first screen. */
.scr:not(.scr--0) { visibility: hidden; }
.reel__tabs span:first-child { color: #fff; background: var(--wine); }
.reel__prog span:first-child i { transform: scaleX(1); }
.reel__prog span:not(:first-child) i { transform: scaleX(0); }
.pod__wave i { transform: scaleY(.6); }
/* With motion every piece runs on one 14s clock, paused off screen. */
.motion .scr, .motion .reel__tabs span, .motion .reel__prog i, .motion .flip__in, .motion .conti__q, .motion .conti__think, .motion .conti__ans, .motion .pod__wave i { animation-duration: var(--T); animation-iteration-count: infinite; animation-play-state: paused; }
.motion .reel.is-play * { animation-play-state: running; }
.motion .scr { visibility: visible; animation-timing-function: ease-in-out; }
.motion .scr--0 { animation-name: r_scr0; } .motion .scr--1 { animation-name: r_scr1; } .motion .scr--2 { animation-name: r_scr2; } .motion .scr--3 { animation-name: r_scr3; }
.motion .reel__tabs span { animation-timing-function: linear; background: transparent; color: #6b6b6b; }
.motion .reel__tabs span:nth-child(1) { animation-name: r_tab0; } .motion .reel__tabs span:nth-child(2) { animation-name: r_tab1; }
.motion .reel__tabs span:nth-child(3) { animation-name: r_tab2; } .motion .reel__tabs span:nth-child(4) { animation-name: r_tab3; }
.motion .reel__prog i { animation-timing-function: linear; transform: scaleX(0); }
.motion .reel__prog span:nth-child(1) i { animation-name: r_pg0; } .motion .reel__prog span:nth-child(2) i { animation-name: r_pg1; }
.motion .reel__prog span:nth-child(3) i { animation-name: r_pg2; } .motion .reel__prog span:nth-child(4) i { animation-name: r_pg3; }
.motion .flip__in { animation-name: r_flip; animation-timing-function: ease-in-out; }
.motion .conti__q { animation-name: r_q; animation-timing-function: linear; }
.motion .conti__think { animation-name: r_s; animation-timing-function: linear; }
.motion .conti__ans { animation-name: r_a; animation-timing-function: linear; }
.motion .pod__wave i { animation: r_wave .8s ease-in-out infinite alternate paused; animation-delay: var(--wd); }
@keyframes r_wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
/* Lesson, podcast and flashcards get 3s each; Conti gets 5s (of 14s). */
@keyframes r_flip { 0%, 52% { transform: rotateY(0); } 55.5%, 100% { transform: rotateY(180deg); } }
@keyframes r_q { 0%, 66% { opacity: 0; transform: translateY(10px); } 68%, 99% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes r_s { 0%, 69% { opacity: 0; } 70%, 76% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes r_a { 0%, 77% { opacity: 0; transform: translateY(10px); } 79%, 99% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes r_pg0 { 0% { transform: scaleX(0); } 21.4%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes r_pg1 { 0%, 21.4% { transform: scaleX(0); } 42.9%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes r_pg2 { 0%, 42.9% { transform: scaleX(0); } 64.3%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes r_pg3 { 0%, 64.3% { transform: scaleX(0); } 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes r_scr0 { 0%, 19.6% { opacity: 1; transform: none; } 21.4%, 98% { opacity: 0; transform: translateX(-24px); } 100% { opacity: 1; transform: none; } }
@keyframes r_scr1 { 0%, 21.4% { opacity: 0; transform: translateX(24px); } 23.2%, 41.1% { opacity: 1; transform: none; } 42.9%, 100% { opacity: 0; transform: translateX(-24px); } }
@keyframes r_scr2 { 0%, 42.9% { opacity: 0; transform: translateX(24px); } 44.7%, 62.5% { opacity: 1; transform: none; } 64.3%, 100% { opacity: 0; transform: translateX(-24px); } }
@keyframes r_scr3 { 0%, 64.3% { opacity: 0; transform: translateX(24px); } 66.1%, 98% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-24px); } }
@keyframes r_tab0 { 0%, 21% { color: #fff; background: #8c2c54; } 21.4%, 100% { color: #6b6b6b; background: transparent; } }
@keyframes r_tab1 { 0%, 21.4% { color: #6b6b6b; background: transparent; } 21.8%, 42.5% { color: #fff; background: #8c2c54; } 42.9%, 100% { color: #6b6b6b; background: transparent; } }
@keyframes r_tab2 { 0%, 42.9% { color: #6b6b6b; background: transparent; } 43.3%, 63.9% { color: #fff; background: #8c2c54; } 64.3%, 100% { color: #6b6b6b; background: transparent; } }
@keyframes r_tab3 { 0%, 64.3% { color: #6b6b6b; background: transparent; } 64.7%, 99% { color: #fff; background: #8c2c54; } 100% { color: #6b6b6b; background: transparent; } }

/* ----------------------------------------------------- evidence (dark) -- */
.dark { margin-top: clamp(96px, 12vw, 160px); background: var(--g900); color: #fff; padding-block: clamp(64px, 8vw, 110px); }
.ev { position: relative; height: 680px; border-radius: 28px; overflow: hidden; background: #111; border: 1px solid var(--g700); }
.ev__media, .ev__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ev__media img { object-fit: cover; object-position: 92% 40%; transform: scale(var(--es, 1)); transform-origin: 70% 45%; will-change: transform; }
.ev__shade { position: absolute; inset: 0; background: linear-gradient(to right, #111 0%, rgba(17,17,17,.95) 40%, rgba(17,17,17,.35) 64%, rgba(17,17,17,0) 84%); }
.ev__copy { position: absolute; inset-inline-end: 56px; inset-block: 0; width: min(620px, 48%); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ev__copy .kicker { font-size: 15px; }
.h2--xl { font-size: clamp(40px, 2rem + 2.6vw, 68px); line-height: 1.04; }
.ev__copy .lede { font-size: 19px; }
.metric-ex { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.metric-ex__lbl { padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); font-size: 13px; font-weight: 700; color: #fff; }
.metric { align-self: stretch; padding: 30px 32px; border-radius: 20px; background: #fff; color: var(--sc-ink); display: flex; flex-direction: column; gap: 18px; }
.metric__t { font-size: 21px; font-weight: 700; line-height: 1.35; }
.metric__row { display: flex; align-items: center; gap: 14px; }
.metric__row span { width: 96px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--sc-ink-soft); }
.metric__bar { display: block; height: 26px; width: var(--w); border-radius: 999px; background: #cfcfcf; }
.metric__row--now .metric__bar { background: linear-gradient(to left, #8c2c54, #6279bf); }
.metric__note { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--wine); }
.motion .metric__bar { transition: width 1100ms var(--ease); }
.motion .metric__row--now .metric__bar { transition-delay: 380ms; }
.motion .metric__note { transition: opacity 600ms var(--ease) 1100ms, transform 600ms var(--ease) 1100ms; }
.motion .metric-ex:not(.is-in) .metric__bar { width: 0; }
.motion .metric-ex:not(.is-in) .metric__note { opacity: 0; transform: translateY(8px); }

/* --------------------------------------------------------- partnership -- */
.part { padding-block: clamp(96px, 12vw, 180px) 0; }
.part__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 920px; margin-inline: auto; }
.tl { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: flex; gap: 12px; align-items: flex-start; }
.tl li { flex: var(--u) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tl__top { display: flex; align-items: baseline; gap: 10px; }
.tl__n { font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 44px; line-height: 1; }
.tl li:nth-child(1) .tl__n { color: #a8385f; } .tl li:nth-child(2) .tl__n { color: #8c2c54; }
.tl li:nth-child(3) .tl__n { color: #6b4a8f; } .tl li:nth-child(4) .tl__n { color: #6279bf; }
.tl h3 { margin: 0; font-weight: 600; font-size: 22px; }
.tl__bar { display: block; height: 14px; border-radius: 999px; background: #eeedf1; overflow: hidden; }
.tl__bar i { display: block; height: 100%; border-radius: inherit; transform-origin: right center; transform: scaleX(var(--f, 1)); }
.tl li:nth-child(1) .tl__bar i { background: #a8385f; } .tl li:nth-child(2) .tl__bar i { background: #8c2c54; }
.tl li:nth-child(3) .tl__bar i { background: #6b4a8f; } .tl li:nth-child(4) .tl__bar i { background: #6279bf; }
.tl__when { font-size: 13px; font-weight: 700; color: var(--peri); }
.tl p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sc-ink-soft); }
.gg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
.gg__col { display: flex; flex-direction: column; gap: 14px; }
.ruled { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.ruled li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.ruled b { font-weight: 600; }

/* --------------------------------------------------------------- apply -- */
.apply { margin-top: clamp(96px, 12vw, 180px); background: var(--brand-ground); }
.fit { padding-block: clamp(80px, 9vw, 120px) clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1fr 3fr; align-items: start; border-bottom: 1px solid rgba(255,255,255,.22); }
.fit__h { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(34px, 1.6rem + 1.4vw, 44px); line-height: 1.1; color: #fff; }
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fit__list li { padding: 4px 28px 0; border-inline-start: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; gap: 14px; }
.fit__n { font-family: var(--sc-font-display); font-weight: 700; font-size: 40px; line-height: 1; color: rgba(255,255,255,.35); }
.fit__list li > div { display: flex; flex-direction: column; gap: 8px; }
.fit__t { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 26px; line-height: 1.2; color: #fff; }
.fit__list p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.88); }
.apply__grid { padding-block: clamp(56px, 6vw, 72px) clamp(72px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.apply__copy { display: flex; flex-direction: column; gap: 20px; color: #fff; }
.trust { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: rgba(255,255,255,.88); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfe5f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.form { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; box-shadow: 0 1px 4px -1px rgba(12,12,13,.05), 0 24px 48px -12px rgba(12,12,13,.25); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; box-sizing: border-box; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(140,44,84,.16); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field--check { flex-direction: row; align-items: center; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--wine); }
.field--check label { font-weight: 400; color: var(--sc-ink-soft); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The button sits at the end of the row, which in Hebrew is the left. */
.form__end { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__end .btn { margin-inline-start: auto; }
.form__status { margin: 0; font-size: 14px; }
.form__status[data-kind="error"] { color: #9e3a24; }
.form.is-sent { display: block; }
.sent h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 30px; color: var(--wine); }
.sent p { margin: 10px 0 0; color: var(--sc-ink-soft); }

.foot__in { padding-block: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot img { width: 130px; height: auto; }
.foot nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover, .linkbtn:hover { color: var(--wine); } }

/* ------------------------------------------------------------- consent -- */
.consent { position: fixed; inset-inline-start: 20px; inset-block-end: 20px; z-index: 80; width: min(420px, calc(100% - 40px)); padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 24px 60px -16px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 10px; }
.consent[hidden] { display: none; }
.consent__t { margin: 0; font-weight: 700; font-size: 15px; }
.consent__d { margin: 0; font-size: 14px; line-height: 1.55; color: var(--sc-ink-soft); }
.consent__d a { color: var(--wine); }
.consent__btns { display: flex; gap: 10px; margin-top: 4px; }

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .prob__cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  /* Stacked, each card drops as it arrives: no stagger to wait out. */
  .motion [data-drop] .pcard { transition-delay: 0ms; }
  .fit { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 960px) {
  .what__grid, .apply__grid { grid-template-columns: 1fr; }
  .what__media { height: auto; display: flex; flex-direction: column; }
  .what__stage { min-height: 0; padding: 40px 16px; }
  .what__stage .reel { width: 100%; max-width: 520px; }
  .ev { height: auto; display: flex; flex-direction: column; }
  .ev__media { position: relative; height: 300px; }
  .ev__shade { display: none; }
  .ev__copy { position: relative; inset: auto; width: auto; padding: 28px 22px 30px; }
}
@media (max-width: 760px) {
  :root { --bar-h: 60px; }
  .bar__mark { width: 116px; height: 20px; }
  .bar__label { font-size: 12px; }
  .hero { min-height: max(600px, 100svh); align-items: flex-end; }
  .hero__img { object-position: 50% 30%; }
  /* On a phone hero B's loop is a square crop around the rings: it holds the
     top of the screen and fades into the wine ground above the copy. */
  [data-hero="b"] .hero__video--b { left: 0; width: 100%; height: 62%; object-position: 50% 50%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .hero__shade { background: linear-gradient(to top, #7a2247 0%, rgba(122,34,71,.9) 50%, rgba(93,42,85,.35) 78%, rgba(93,42,85,.1) 100%); }
  .hero__in { padding-block: 0 48px; }
  .seats { font-size: 15px; padding: 8px 16px 8px 14px; }
  .nb.line { white-space: normal; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; padding: 0 16px; }
  .prob__cards { gap: 32px; }
  .what { padding-block-start: 80px; }
  .dark { margin-top: 80px; }
  .pcard__vis { height: auto; }
  .pcard__vis .mini { height: auto; }
  .pcard__vis--files { height: 250px; }
  .reel { margin-inline: 0; }
  .reel__head span:not(.reel__dots) { display: none; }
  .reel__screens { height: 320px; }
  .fit__list { grid-template-columns: 1fr; }
  .fit__list li { padding: 18px 0; border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.22); flex-direction: row; align-items: baseline; gap: 16px; }
  .fit__n { font-size: 28px; }
  .fit__t { font-size: 22px; }
  .fit__list p { font-size: 17px; }
  .tl { flex-direction: column; gap: 22px; }
  .tl li { flex: none; width: 100%; }
  .gg { grid-template-columns: 1fr; gap: 36px; }
  .form { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .bar__label { display: none; }
  .file { font-size: 13px; }
  .wa { font-size: 13px; inset-inline-end: 4%; }
}

/* --------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .hero__img { transform: none; }
  .photo--wipe { clip-path: none; transition: none; }
  .ev__media img { transform: none; transition: none; }
  [data-pop], [data-rise-item], .pcard, .metric__bar, .metric__note { transition: none; }
}
