/* ============================================================
   styles.css - דף הרשמה לוובינר, אישאדמה
   מובייל-first. כל הצבעים/מידות מגיעים מ-design.tokens.css.
   הדף מחוייב לעולם חזותי אחד (בהיר, חם) - אין מצב כהה בכוונה.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
  font-weight: var(--fw-bold);
}

p { margin: 0; }

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

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

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: var(--sp-2);
  z-index: 100;
  background: var(--surface);
  color: var(--text-strong);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.skip-link:focus { inset-inline-start: var(--sp-4); }

/* אייקוני קו - ברירת מחדל אחידה, בלי לחזור על stroke בכל svg */
svg[aria-hidden="true"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- מעטפת ופריסה ---------- */

.site-header,
.layout,
.site-footer {
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.layout { display: block; }
.layout-main > .section,
.layout-main > .hero { padding-block: var(--sp-6); }

.site-header { padding-block: var(--sp-5) var(--sp-2); }

.logo { width: 132px; height: auto; }

/* ---------- HERO ---------- */

.hero { padding-block: var(--sp-4) var(--sp-6); }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: var(--sp-3);
}

.hero h1 {
  font-size: clamp(2rem, 8.5vw, var(--fs-3xl));
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text);
  max-width: 34rem;
}

/* מועד המפגש - העובדה התפעולית החשובה ביותר בדף */
.when {
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: var(--sp-2);
  margin-block: var(--sp-5) var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-sm);
}

.meta-row {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.meta-row li { display: flex; align-items: center; gap: var(--sp-2); }
.meta-row svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--brand-green-mid); }

.hero-cta { margin-top: var(--sp-1); }

/* ---------- מי מציג ---------- */

.presenter {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.presenter-photo {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 2px dashed var(--border-strong);
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.presenter-section img.presenter-photo {
  border-style: none;
  object-fit: cover;
}

.presenter-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
}

.presenter-role {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.presenter-line {
  margin-top: var(--sp-3);
  font-size: var(--fs-base);
}

.disclosure {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--surface-alt);
  border-inline-start: 3px solid var(--brand-green-mid);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.disclosure strong { color: var(--text-strong); }

/* ---------- מפריד טופוגרפי ---------- */
/* קווי גובה: המוטיב היחיד בדף שנובע מהנכס עצמו (מדרון תלול),
   ולא מקטלוג של אתרי נדל"ן. חוזר גם בתמונת השיתוף. */

.divider { margin-block: var(--sp-5); }
.divider svg {
  display: block;
  width: 100%;
  height: 46px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.5;
}

/* ---------- רצועת הנתונים (הרגע הכהה היחיד בדף) ---------- */

.facts {
  background: var(--brand-green-deep);
  color: var(--brand-cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  margin-block: var(--sp-4);
}

.facts-title {
  font-family: var(--font);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  color: var(--brand-green-light);
  margin-bottom: var(--sp-4);
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-top: 1px solid rgba(197, 148, 89, 0.35);
}
.fact:last-child { border-bottom: 1px solid rgba(197, 148, 89, 0.35); }

.fact dt {
  font-size: var(--fs-sm);
  color: var(--brand-green-light);
  margin: 0;
  flex: 0 0 auto;
}

.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--brand-cream);
  font-variant-numeric: tabular-nums;
  text-align: start;
}

.fact dd .unit {
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--brand-green-light);
  margin-inline-start: 0.25em;
}

.facts-source {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--brand-green-light);
  line-height: 1.5;
}

/* ---------- טקסט ---------- */

.section h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.section > p + p,
.section > p + ol { margin-top: var(--sp-4); }

/* ---------- ציר התכנון ---------- */

.timeline {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
}

.timeline li {
  position: relative;
  padding-inline-start: var(--sp-6);
}

/* נקודה + קו מחבר. הקו נעצר באחרון. */
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg);
}
.timeline li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 22px;
  bottom: calc(-1 * var(--sp-5));
  width: 1px;
  background: var(--border-strong);
}
.timeline li:last-child::after { display: none; }

.timeline li.is-done::before {
  background: var(--brand-green-mid);
  border-color: var(--brand-green-mid);
}

.timeline li.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 148, 89, 0.25);
}

.timeline h3 {
  font-size: var(--fs-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}

.timeline p {
  margin-top: var(--sp-2);
  color: var(--text);
}

.timeline li:not(.is-done):not(.is-current) h3 { color: var(--text-muted); }

.timeline-tag {
  font-family: var(--font);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- מסמכים לעיון ---------- */

.docs {
  margin-top: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.docs summary {
  cursor: pointer;
  padding: var(--sp-3) var(--sp-4);
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--brand-green-mid);
  list-style-position: inside;
}

.docs[open] summary { border-bottom: 1px solid var(--border); }

.docs-body {
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.docs-body a { color: var(--brand-green-mid); }
.docs-note { color: var(--text-muted); font-size: var(--fs-xs); }

/* ---------- סדר היום ---------- */

.agenda {
  list-style: none;
  counter-reset: agenda;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
}

.agenda li {
  counter-increment: agenda;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2) var(--sp-4);
  align-items: baseline;
}

.agenda li::before {
  content: counter(agenda, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.agenda h3 { font-size: var(--fs-lg); grid-column: 2; }
.agenda p { grid-column: 2; color: var(--text); }

/* ---------- סיכונים ---------- */
/* פרק הסיכונים הוא נכס אמון, לא אזהרה בשוליים - ולכן הוא מעוצב
   כמו סקשן מלא ולא כמו הערת שוליים. */

.risks {
  padding: var(--sp-5) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.risks h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }

.risks-intro {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}

.risk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.risk-list li {
  padding-inline-start: var(--sp-4);
  border-inline-start: 2px solid var(--border-strong);
}

.risk-list h3 { font-family: var(--font); font-size: var(--fs-base); }
.risk-list p { margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--text); }

.risks-close {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--text-strong);
}

.note-line {
  margin-block: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-lg);
  font-family: var(--font-display);
  color: var(--text-strong);
}

/* ---------- כפתורים ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap-min);
  padding: var(--sp-3) var(--sp-6);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.08s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

/* accent-ink הוא דיו כהה ולא לבן: לבן על הזהב נותן 2.7:1 ונופל בתקן. */
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }

.btn-wa {
  width: 100%;
  background: var(--brand-green-deep);
  color: #FFFFFF;
}
.btn-wa:hover { background: #0D1C16; }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  font-size: var(--fs-sm);
  padding-inline: var(--sp-4);
}
.btn-ghost:hover { background: var(--surface-alt); }

.btn-share {
  background: transparent;
  border: 1px solid var(--brand-green-mid);
  color: var(--brand-green-mid);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  padding-inline: var(--sp-5);
}
.btn-share:hover { background: var(--surface-alt); }

.btn-submit { width: 100%; margin-top: var(--sp-2); position: relative; }

.btn[disabled] { opacity: 0.75; cursor: progress; }

/* ---------- טופס ---------- */

.signup { scroll-margin-top: var(--sp-5); padding-block: var(--sp-6); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--gutter);
  box-shadow: var(--shadow);
}

.card h2 { font-size: var(--fs-xl); }

.card-facts {
  list-style: none;
  margin: var(--sp-4) 0 var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-alt);
  border-radius: var(--radius);
  display: grid;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-strong);
}
.card-facts li { display: flex; align-items: center; gap: var(--sp-2); }
.card-facts svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--brand-green-mid); }

.field { margin-bottom: var(--sp-4); }

.field label {
  display: block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
}

.hint {
  margin-top: calc(-1 * var(--sp-1));
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

.optional { font-weight: var(--fw-regular); color: var(--text-muted); }

.field input,
.field textarea,
.disclose-body textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--sp-3);
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem; /* 16px+ מונע זום אוטומטי ב-iOS */
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea,
.disclose-body textarea { resize: vertical; line-height: 1.6; }

/* טלפון ואימייל: dir=ltr בשדה, אבל היישור נשאר לימין כדי שהסמן
   יתחיל במקום שהעין מחפשת בדף עברי. */
#phone, #email { text-align: right; }

.field input::placeholder,
.field textarea::placeholder,
.disclose-body textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field textarea:focus,
.disclose-body textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--focus);
  box-shadow: var(--ring);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}

.err {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--error);
  font-weight: var(--fw-medium);
}

.form-error {
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-radius: var(--radius);
  color: var(--error);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.privacy {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}
.privacy a { color: var(--brand-green-mid); }

/* ---------- צ'יפים ---------- */

.chips-field { border: 0; padding: 0; margin: 0 0 var(--sp-4); min-width: 0; }

.chips-field legend {
  padding: 0;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
}

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.chip {
  flex: 1 1 auto;
  min-height: var(--tap-min);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-strong);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--surface-alt); }
.chip[aria-pressed="true"] {
  background: var(--brand-green-deep);
  border-color: var(--brand-green-deep);
  color: var(--brand-cream);
}

/* ---------- גילוי הדרגתי (שאלה פתוחה) ---------- */

.disclose { margin-bottom: var(--sp-4); }

.disclose-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--tap-min);
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--brand-green-mid);
  cursor: pointer;
  text-align: start;
}
.disclose-btn svg { width: 18px; height: 18px; stroke-width: 2.2; flex-shrink: 0; }
.disclose-btn[aria-expanded="true"] svg { display: none; }

.disclose-body { margin-top: var(--sp-2); }

/* ---------- הסכמה לדיוור ---------- */

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  margin-block: var(--sp-5) var(--sp-4);
  padding: var(--sp-3);
  background: var(--surface-alt);
  border-radius: var(--radius);
}

.consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand-green-mid);
  cursor: pointer;
  outline-offset: 3px;
}

.consent label {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  padding-block: 2px;
}

/* honeypot - מוסתר מבני אדם ומקוראי מסך, נגיש לבוטים */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- ספינר ---------- */

.spinner {
  display: none;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.is-loading .spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- כרטיס אישור ---------- */

.card-success .check {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-4);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green-deep);
}

.card-success h2 { font-size: var(--fs-xl); text-align: center; }

.success-when {
  margin-top: var(--sp-3);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.next-steps {
  list-style: none;
  counter-reset: step;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.next-steps > li {
  counter-increment: step;
  padding: var(--sp-4);
  background: var(--surface-alt);
  border-radius: var(--radius);
  display: grid;
  gap: var(--sp-3);
}

/* display:grid למעלה גובר על [hidden] של הדפדפן - צריך להחזיר אותו
   במפורש, אחרת צעד שהוסתר ב-JS ימשיך להופיע. */
.next-steps > li[hidden] { display: none; }

.step-head { display: flex; align-items: flex-start; gap: var(--sp-3); }

/* המספר מגיע מ-counter ולא מה-HTML: אם צעד מוסתר, המספור מתקן את עצמו. */
.step-num::before { content: counter(step); }

.step-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-green-deep);
  color: var(--brand-cream);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  display: grid;
  place-items: center;
}

.step-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--text-strong); }
.step-sub { margin-top: 2px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }

.cal-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }

.share-row {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text);
}
.share-done { font-size: var(--fs-xs); color: var(--brand-green-mid); font-weight: var(--fw-bold); }

/* ---------- סרגל CTA דביק (מובייל) ---------- */

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  padding: var(--sp-3) var(--gutter);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(252, 251, 247, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.22s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; max-width: var(--content-width); margin-inline: auto; display: flex; }

/* ---------- פוטר ---------- */

.site-footer {
  padding-block: var(--sp-6) var(--sp-8);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: grid;
  gap: var(--sp-2);
}

.footer-links { display: flex; justify-content: center; gap: var(--sp-2); }
.footer-links a { color: var(--brand-green-mid); }

.footer-disclaimer {
  max-width: 38rem;
  margin-inline: auto;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- טאבלט ומעלה ---------- */

@media (min-width: 40rem) {
  :root { --gutter: 2rem; }

  .site-header { padding-block: var(--sp-6) var(--sp-3); }
  .logo { width: 156px; }

  .hero { padding-block: var(--sp-5) var(--sp-7); }
  .layout-main > .section { padding-block: var(--sp-7); }

  .facts { padding: var(--sp-6); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--sp-6); }
  .fact:nth-child(2) { border-top: 1px solid rgba(197, 148, 89, 0.35); }
  .fact:nth-last-child(2) { border-bottom: 1px solid rgba(197, 148, 89, 0.35); }

  .card { padding: var(--sp-6); }
  .risks { padding: var(--sp-6); }

  .sticky-cta { display: none; }
}

/* ---------- דסקטופ: טופס קבוע לצד התוכן ---------- */
/* במובייל הטופס בסוף הדף והסרגל הדביק מחזיר אליו. בדסקטופ אין סרגל
   דביק, ולכן הטופס חייב להיות נראה כל הזמן - אחרת הוא נעלם מתחת
   לארבעה סקשנים של תוכן. */

@media (min-width: 64rem) {
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 23rem;
    gap: var(--sp-8);
    align-items: start;
  }

  .layout-aside { position: sticky; top: var(--sp-4); }
  .signup { padding-block: var(--sp-4) 0; }

  .hero { padding-top: 0; }
  .hero h1 { font-size: var(--fs-3xl); }
}

/* מסך נמוך: הכרטיס לא נכנס בגובה החלון. הצמדה במצב כזה מקפיאה את ראש
   הטופס ומסתירה את כפתור השליחה עד סוף הדף - ולכן מוותרים עליה. */
@media (min-width: 64rem) and (max-height: 47rem) {
  .layout-aside { position: static; }
}

/* ---------- כרטיס האישור: שאלת הפילוח ---------- */

.success-lead {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
}

.card-success .post-q {
  margin: var(--sp-5) 0 0;
  padding: var(--sp-4);
  background: var(--surface-alt);
  border-radius: var(--radius);
}

.card-success .post-q legend { margin-bottom: var(--sp-3); line-height: 1.5; }

.post-q-done {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--brand-green-deep);
}

/* ---------- הבהוב הכרטיס בלחיצה על ה-CTA בדסקטופ ---------- */

@keyframes card-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(197, 148, 89, 0.5); }
  100% { box-shadow: 0 0 0 14px rgba(197, 148, 89, 0); }
}

.card.is-pulsing { animation: card-pulse 0.9s ease-out 2; }

/* ---------- העדפות נגישות ---------- */

@media (prefers-reduced-motion: reduce) {
  .card.is-pulsing { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sticky-cta { transition: none; }
}
