/* =====================================================================
   סדנת אוטומציות מעשית — AI BOOTCAMP · INFINITY
   ===================================================================== */

/* ---------- Fonts (Heebo, self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-hebrew-wght-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #06070b;
  --ink-2: #0d0f17;
  --ink-3: #141828;
  --night: #050a1e;         /* רקע כהה עמוק (כחול־לילה) */
  --night-2: #0b1534;
  --paper: #f4f6fb;
  --paper-2: #e8ecf5;
  --white: #ffffff;

  --volt: #2b4bff;          /* כחול חשמלי */
  --volt-deep: #1a33d6;
  --volt-hi: #4a66ff;       /* לטקסט גדול על שחור */
  --volt-bright: #7a93ff;   /* לטקסט קטן על שחור */
  --volt-glow: rgba(43, 75, 255, 0.5);
  --mint: #2ef2b5;          /* מצב "בוצע" — לקוח מהגוון שבלוגו INFINITY */
  --aqua: #2ee6d6;          /* טורקיז — כמו הכיתוב שעל המשקפיים */
  --aqua-deep: #0fa89b;     /* טורקיז לקווים על רקע בהיר */

  --on-dark: #f5f7ff;
  --on-dark-muted: rgba(232, 237, 255, 0.8);
  --on-night-soft: #ccd6f8; /* טקסט משני על כהה — בהיר וקריא, לא אפור חלש */
  --line-dark: rgba(225, 232, 255, 0.14);
  --on-light: #06070b;
  --on-light-muted: #424a5e;
  --line-light: rgba(6, 7, 11, 0.14);

  --error: #b42318;
  --error-bg: #fdecea;

  --font: "Heebo", "Assistant", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: var(--volt-bright);
  --header-h: 100px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--night);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--volt); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nowrap { white-space: nowrap; }
.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Section themes ---------- */
.sec { padding-block: clamp(64px, 8.5vw, 116px); position: relative; }
.sec--dark  { background: var(--night); color: var(--on-dark); --focus: var(--aqua); }
.sec--light { background: var(--paper); color: var(--on-light); --focus: var(--volt-deep); }
.sec--light2 { background: var(--paper-2); color: var(--on-light); --focus: var(--volt-deep); }

/* ---------- Placeholders (פרטים להשלמה) ---------- */
.ph {
  display: inline-block;
  padding: 0 0.4em;
  border: 1.5px dashed currentColor;
  border-radius: 8px;
  color: var(--volt-bright);
  font-weight: 700;
}
.sec--light .ph, .sec--light2 .ph, .form-card .ph { color: var(--volt-deep); }
.ph--block { display: inline-block; padding: 0.3em 0.6em; }

.review-bar {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 2px dashed var(--volt);
  font-size: 0.95rem;
  --focus: var(--volt-deep);
}
.review-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  padding-block: 10px;
}
.review-bar strong {
  background: var(--ink);
  color: var(--paper);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(1.9rem, 1rem + 3.3vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.line { display: block; }
.line--accent { color: var(--volt-hi); }
.sec--light .line--accent, .sec--light2 .line--accent { color: var(--volt); }
.mark {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0.02em 0.14em 0.06em;
  line-height: 1;
  background: var(--volt);
  color: var(--white);
  border-radius: 0.1em;
  transform: rotate(-2deg);
  transform-origin: 100% 50%;
  white-space: nowrap;
}
.body-lg {
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.sec--light .body-lg, .sec--light2 .body-lg { color: var(--on-light-muted); }
.muted { color: var(--on-dark-muted); }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--volt);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  flex: none;
}
.sec--dark .kicker { color: var(--aqua); }
.kicker--lg { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease), border-color 0.2s, color 0.2s;
}
.btn .ico--arrow { transition: transform 0.25s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(-5px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 1.2rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--volt);
  color: var(--white);
  box-shadow: 0 14px 34px -12px var(--volt-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.btn--primary:hover {
  background: #3a59ff;
  box-shadow: 0 18px 44px -10px rgba(43, 75, 255, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--volt-deep); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 2; background: transparent; --focus: var(--aqua); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  height: var(--header-h);
}
.logos { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); }
.logo--bootcamp { height: clamp(55px, 6vw, 70px); width: auto; }
.logo--infinity { height: clamp(24px, 2.64vw, 34px); width: auto; }
.logos__sep { width: 1px; height: 40px; background: var(--line-dark); }
.sec--light .logos__sep { background: var(--line-light); }

/* =====================================================================
   HERO — כחול־לילה עמוק, כחול חשמלי דומיננטי ונגיעות טורקיז
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background:
    radial-gradient(36% 56% at 23% 54%, rgba(43, 75, 255, 0.45), transparent 72%),
    radial-gradient(30% 42% at 100% 0%, rgba(46, 230, 214, 0.08), transparent 72%),
    var(--night);
  color: var(--on-dark);
  --focus: var(--aqua);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  column-gap: clamp(24px, 4vw, 64px);
}
.hero__text {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: clamp(16px, 2vw, 32px) clamp(40px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(2rem, 1rem + 3.1vw, 3.5rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero__accent { color: var(--aqua); }
.lead {
  max-width: 29em;
  margin-top: clamp(16px, 2vw, 22px);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--on-night-soft);
  text-wrap: pretty;
}
.lead strong { color: var(--white); font-weight: 800; }
/* מועד ומיקום */
.event-meta {
  display: grid;
  gap: 8px;
  margin-top: clamp(22px, 2.6vw, 30px);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}
.event-meta__item { display: flex; align-items: center; gap: 10px; }
.event-meta dt { display: flex; color: var(--aqua); }
.event-meta dd { margin: 0; }
.event-meta__sep { margin-inline: 0.6em; color: var(--aqua); font-weight: 400; }

/* כפתור ההרשמה */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(24px, 2.8vw, 32px);
}
/* הפסל: יושב על הפס הכחול, לצד הטקסט */
.hero__art {
  position: relative;
  justify-self: center;
  /* גובה הפסל מוגבל לגובה המסך, כדי שהפס הכחול ייראה כבר במסך הפתיחה */
  width: min(100%, 500px, calc((100vh - var(--header-h) - 76px) * 0.818));
  width: min(100%, 500px, calc((100svh - var(--header-h) - 76px) * 0.818));
  min-width: 300px;
}
.statue { position: relative; aspect-ratio: 503 / 615; isolation: isolate; }
.statue__img { width: 100%; height: 100%; }
/* מסך המשקפיים: הכיתוב זז רק בתוך גבולות העדשה (clip-path לפי צורת המסך) */
.visor {
  position: absolute;
  inset: 0;
  clip-path: polygon(37.08% 28.86%, 37.28% 27.24%, 37.67% 25.93%, 44.04% 22.85%, 45.63% 22.36%, 46.82% 22.03%, 49.6% 22.36%, 58.15% 23.66%, 76.24% 26.42%, 82.6% 27.4%, 87.18% 28.21%, 88.37% 28.54%, 89.56% 29.02%, 90.76% 29.67%, 91.35% 31.46%, 90.36% 44.47%, 90.16% 46.1%, 89.36% 47.56%, 87.18% 48.37%, 85.39% 48.37%, 41.45% 44.15%, 39.86% 43.98%, 38.07% 42.85%, 37.28% 41.38%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.visor__track {
  position: absolute;
  left: 42.744%;
  top: 27.967%;
  width: 49.105%;
  height: 13.496%;
}
.visor__track img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
/* העותק השני מחכה מימין למסך, על אותו קו נטוי של הכיתוב */
.visor__track img + img { transform: translate(107.69%, 43.3%); }
@keyframes visor-scroll {
  0%, 36% { transform: translate(0, 0); }
  100% { transform: translate(-107.69%, -43.3%); }
}

/* ---------- Ticker: פס נע ---------- */
.ticker {
  position: relative;
  background: var(--volt);
  color: var(--white);
  --focus: var(--white);
}
.ticker__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 84px, #000 calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 84px, #000 calc(100% - 32px), transparent 100%);
}
.ticker__track { display: flex; width: max-content; }
.ticker__group {
  list-style: none;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  padding-block: clamp(15px, 1.9vw, 24px);
  font-size: clamp(1.15rem, 0.8rem + 1.3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.ticker__group li { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); padding-inline-end: clamp(20px, 2.8vw, 40px); }
.ticker__group li::before {
  content: "";
  width: 0.3em;
  height: 0.3em;
  border-radius: 2px;
  background: var(--aqua);
  transform: rotate(45deg);
  flex: none;
}
@keyframes ticker { to { transform: translateX(50%); } }
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__toggle {
  position: absolute;
  inset-inline-end: clamp(8px, 1.4vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--night);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s;
}
.ticker__toggle[hidden] { display: none; }
.ticker__toggle:hover { background: var(--night-2); }
.ticker__toggle .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.ticker__toggle .ico--play { display: none; fill: currentColor; }
.ticker__toggle.is-paused .ico--pause { display: none; }
.ticker__toggle.is-paused .ico--play { display: block; }

/* תנועה: רק למי שלא ביקש להפחית תנועה, ואפשר לעצור אותה בכפתור שבפס */
@media (prefers-reduced-motion: no-preference) {
  .visor__track { animation: visor-scroll 9s cubic-bezier(0.45, 0, 0.3, 1) infinite; will-change: transform; }
  .ticker__track { animation: ticker 38s linear infinite; }
}
.motion-paused .visor__track { animation: none; }
.motion-paused .ticker__track { animation-play-state: paused; }

/* =====================================================================
   ב. USES — איפה אוטומציה יכולה לחסוך זמן
   ===================================================================== */
.sec--compact { padding-block: clamp(56px, 7vw, 96px); }
.uses__title,
.path__title { font-size: clamp(1.85rem, 1rem + 2.5vw, 3.1rem); line-height: 1.08; }
.uses__title { margin-bottom: clamp(32px, 4vw, 52px); }
.uses__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.use { padding-inline: clamp(20px, 3vw, 40px); }
.use:first-child { padding-inline-start: 0; }
.use:last-child { padding-inline-end: 0; }
.use + .use { border-inline-start: 1px solid var(--line-dark); }
.use__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(43, 75, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(122, 147, 255, 0.4);
  color: var(--aqua);
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.use__icon .ico { width: 28px; height: 28px; }
.use:hover .use__icon { transform: translateY(-3px); background: var(--volt); color: var(--white); }
.use__title {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.use__text {
  max-width: 24em;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  line-height: 1.6;
  color: var(--on-night-soft);
  text-wrap: pretty;
}

/* =====================================================================
   ג. PATH — מה נעשה בסדנה (מסלול של 3 שלבים, מימין לשמאל)
   ===================================================================== */
.path__title { margin-bottom: clamp(36px, 4.5vw, 60px); }
.steps {
  --node: 60px;
  --gap: clamp(28px, 4vw, 56px);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.step { position: relative; }
.step__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--volt);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(43, 75, 255, 0.7);
}
.step__node .ico { width: 28px; height: 28px; }
/* הקו שמחבר כל שלב לשלב הבא (משמאל לו) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  height: 2px;
  inset-inline-start: calc(var(--node) + 14px);
  inset-inline-end: calc(14px - var(--gap));
  border-radius: 2px;
  background: linear-gradient(to left, var(--volt), var(--aqua-deep));
  transform-origin: right center;
}
.step__num {
  display: block;
  margin-top: 22px;
  font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--volt);
}
.step__title {
  margin-top: 8px;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
}
.step__text {
  max-width: 22em;
  margin-top: 8px;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  line-height: 1.6;
  color: var(--on-light-muted);
  text-wrap: pretty;
}
/* כניסה קצרה בגלילה: הקו נמתח והשלבים מופיעים לפי הסדר */
.steps .step:nth-child(1) { --d: 0s; }
.steps .step:nth-child(2) { --d: 0.3s; }
.steps .step:nth-child(3) { --d: 0.6s; }
.js .steps.reveal { opacity: 1; transform: none; }
.js .steps.reveal .step__node,
.js .steps.reveal .step__num,
.js .steps.reveal .step__title,
.js .steps.reveal .step__text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease var(--d), transform 0.6s var(--ease) var(--d);
}
.js .steps.reveal .step::after {
  transform: scaleX(0);
  transition: transform 0.7s var(--ease) calc(var(--d) + 0.25s);
}
.js .steps.reveal.is-in .step__node,
.js .steps.reveal.is-in .step__num,
.js .steps.reveal.is-in .step__title,
.js .steps.reveal.is-in .step__text,
.js .steps.reveal.is-in .step::after { opacity: 1; transform: none; }

/* =====================================================================
   ה. LECTURER (compact)
   ===================================================================== */
.lecturer__band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "photo head" "photo body";
  align-items: start;
  gap: 12px clamp(20px, 3.4vw, 44px);
}
.lecturer__head { grid-area: head; }
.lecturer__body { grid-area: body; max-width: 46em; }
.lecturer__photo {
  grid-area: photo;
  align-self: center;
  position: relative;
  width: clamp(112px, 12vw, 168px);
  margin-bottom: 10px;
}
.lecturer__photo::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border-radius: 22px;
  background: var(--volt);
}
.lecturer__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 22px;
  background: #dcdcdc;
}
.lecturer__name {
  margin: 8px 0 4px;
  font-size: clamp(1.7rem, 1rem + 2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lecturer__role {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  font-weight: 700;
  color: var(--on-dark);
}
.lecturer__body p {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.lecturer__body p + p { margin-top: 6px; }
/* secondary link — quieter than the register buttons */
.inline-link {
  color: var(--volt-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--white); }

/* =====================================================================
   ו. PREP
   ===================================================================== */
/* משפט קצר ומזמין מתחת להוראות ההכנה */
.prep__intro {
  max-width: 44em;
  margin-top: clamp(28px, 3.5vw, 40px);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--on-light-muted);
  text-wrap: pretty;
}
.prep__intro strong {
  padding-inline: 2px;
  font-weight: 800;
  color: var(--on-light);
  background: linear-gradient(transparent 62%, rgba(46, 230, 214, 0.4) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.prep__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(36px, 5vw, 60px);
}
.prep__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--ink), 7px 7px 0 var(--ink);
}
.prep__box {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
}
.prep__box .ico { width: 30px; height: 30px; }
.prep__title {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 1rem + 1.1vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}
.prep__body p { font-size: 1.1rem; line-height: 1.6; color: var(--on-light-muted); }
.prep__body .btn { margin-top: 20px; }
.pill {
  display: inline-block;
  margin-inline-start: 6px;
  vertical-align: 0.2em;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.6;
}
.pill--must { background: var(--volt); color: var(--white); }

/* =====================================================================
   ז. REGISTER
   ===================================================================== */
.register { scroll-margin-top: 0; }
.register:focus { outline: none; }
.register::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 15% 30%, rgba(43, 75, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.register__center {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.register__title {
  font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.register__sub {
  margin: 12px 0 clamp(28px, 3.5vw, 40px);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--on-dark-muted);
}
.register .form-area { text-align: start; }
.form-area { display: grid; gap: 14px; }
.form-area[hidden] { display: none; }
.form-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--on-light);
  box-shadow: 0 40px 100px -50px rgba(43, 75, 255, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --focus: var(--volt-deep);
}
.form-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--on-light-muted);
  font-weight: 600;
}
.form-loading[hidden] { display: none; }
.spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(6, 7, 11, 0.12);
  border-top-color: var(--volt);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert,
.form-fail {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--error-bg);
  color: var(--error);
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.35);
  font-size: 1rem;
}
.form-fail { gap: 8px; color: var(--on-light); }
.form-fail strong { color: var(--error); }
.form-fail .btn { justify-self: start; margin-top: 4px; }
.form-alert[hidden], .form-fail[hidden] { display: none; }
.hs-host { min-height: 0; }
.hs-host iframe { width: 100% !important; border: 0; }
.consent {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: start;
  color: var(--on-light-muted);
}

/* =====================================================================
   ח. FAQ
   ===================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq__title { position: sticky; top: 32px; }
.faq__list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px) 0;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--volt-deep); }
.qa__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  flex: none;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.qa__icon .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--volt); color: var(--white); box-shadow: none; }
.qa p {
  max-width: 44em;
  padding-bottom: clamp(18px, 2.4vw, 26px);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--on-light-muted);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { --focus: var(--volt-bright); }
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 56px;
  align-items: end;
  padding-block: clamp(64px, 8vw, 104px) 48px;
}
.site-footer__line {
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.site-footer__sub { color: var(--aqua); }
.site-footer__brand { display: grid; gap: 14px; justify-items: end; }
.logo--peres { height: clamp(30px, 2.8vw, 36px); width: auto; }

/* =====================================================================
   THANK-YOU PAGE (/thank-you)
   ===================================================================== */
.ty { background: var(--white); color: var(--on-light); }
.ty .site-header__inner { justify-content: center; }
.ty-main { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.ty-card { max-width: 640px; margin-inline: auto; text-align: center; }
.ty-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--white);
}
.ty-check .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.ty-title {
  font-size: clamp(2rem, 1rem + 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.ty-details {
  display: inline-grid;
  gap: 10px;
  margin-top: 28px;
  text-align: start;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 700;
}
.ty-details div { display: flex; align-items: center; gap: 10px; }
.ty-details dt { display: flex; color: var(--volt); }
.ty-details dd { margin: 0; }
.ty-text { margin-top: 28px; font-size: 1.1rem; line-height: 1.6; color: var(--on-light-muted); }
.ty-strong { margin-top: 8px; font-size: 1.1rem; line-height: 1.6; font-weight: 800; text-wrap: balance; }
.cal { display: inline-block; margin-top: 32px; }
.cal > summary { list-style: none; }
.cal > summary::-webkit-details-marker { display: none; }
.cal__menu { display: grid; gap: 10px; margin-top: 12px; }
.cal__opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line-light);
  font-weight: 700;
  color: var(--on-light);
  text-decoration: none;
}
.cal__opt:hover { box-shadow: inset 0 0 0 1.5px var(--volt); color: var(--volt-deep); }
.ty-back { display: inline-block; margin-top: 36px; color: var(--volt-deep); font-weight: 700; text-underline-offset: 4px; }

/* ---------- Sticky CTA (mobile only) ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 10, 30, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line-dark);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__title { position: static; }
  .hero {
    background:
      radial-gradient(60% 34% at 50% 20%, rgba(43, 75, 255, 0.45), transparent 72%),
      var(--night);
  }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  /* הפסל קודם, קטן יותר וחתוך מתחת לפנים, כדי שהכפתור יישאר קרוב */
  .hero__art {
    order: -1;
    width: min(74vw, 320px);
    min-width: 0;
    aspect-ratio: 503 / 352;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent);
    mask-image: linear-gradient(to bottom, #000 74%, transparent);
  }
  .hero__art .statue { margin-top: -7%; }
  .hero__text { padding-block: 4px 44px; }
  .uses__list { grid-template-columns: minmax(0, 1fr); }
  .use {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px 0;
  }
  .use:first-child { padding-top: 0; }
  .use:last-child { padding-bottom: 0; }
  .use + .use { border-inline-start: 0; border-top: 1px solid var(--line-dark); }
  .use__icon { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
  .use__icon .ico { width: 26px; height: 26px; }
  .lecturer__band {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "photo head" "body body";
    align-items: center;
  }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__brand { justify-items: start; }
  .sticky-cta { display: block; }
  .site-footer { padding-bottom: 88px; }
}

@media (max-width: 760px) {
  /* full-width button */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta > .btn { width: 100%; }
  .prep__list { grid-template-columns: minmax(0, 1fr); }

  /* המסלול הופך לאנכי: 01, 02, 03 מלמעלה למטה */
  .steps { --node: 52px; --gap: 30px; grid-template-columns: minmax(0, 1fr); }
  .step {
    display: grid;
    grid-template-columns: var(--node) minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .step__node { grid-row: 1 / span 3; }
  .step__node .ico { width: 24px; height: 24px; }
  .step__num { margin-top: 2px; font-size: 2.1rem; }
  .step__title { margin-top: 4px; }
  .step:not(:last-child)::after {
    top: calc(var(--node) + 10px);
    bottom: calc(10px - var(--gap));
    height: auto;
    width: 2px;
    inset-inline-start: calc(var(--node) / 2 - 1px);
    inset-inline-end: auto;
    background: linear-gradient(to bottom, var(--volt), var(--aqua-deep));
    transform-origin: center top;
  }
  .js .steps.reveal .step::after { transform: scaleY(0); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --header-h: 84px; }
  .logos__sep { height: 30px; }
  .btn--lg { width: 100%; }
  .lecturer__photo { width: 96px; }
  .prep__item { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 18px; }
  .prep__box { width: 48px; height: 48px; border-radius: 14px; }
  .prep__box .ico { width: 24px; height: 24px; }
  .prep__body .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .steps.reveal .step__node,
  .js .steps.reveal .step__num,
  .js .steps.reveal .step__title,
  .js .steps.reveal .step__text,
  .js .steps.reveal .step::after { opacity: 1; transform: none; }
  /* פס סטטי: עותק אחד, בלי כפתור עצירה */
  .ticker__viewport { -webkit-mask-image: none; mask-image: none; }
  .ticker__track { width: auto; }
  .ticker__group[aria-hidden="true"] { display: none; }
  /* סידור קבוע 2×2, ולכל פריט אותו סימון (בלי מפריד שנופל לתחילת שורה) */
  .ticker__group {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 8px clamp(36px, 5vw, 72px);
    min-width: 0;
    width: 100%;
    padding-inline: var(--gutter);
    white-space: normal;
  }
  .ticker__group li { padding: 0; gap: 14px; }
  .ticker__toggle { display: none; }
  .spinner { animation: none; border-top-color: rgba(6, 7, 11, 0.12); border-right-color: var(--volt); }
}

/* פס סטטי בטלפון: רשימה קצרה ומיושרת, פריט בכל שורה */
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .ticker__group { grid-template-columns: minmax(0, auto); gap: 4px; font-size: 1.1rem; }
  .ticker__group li { gap: 10px; }
}
