/* פריסה: השפה של GHG על רקעים בהירים. לבן-קרח ותכלת חלבי כקרקע, נייבי לכותרות, מג'נטה רק לנקודות ולפעולה, ופס נייבי אחד בתחתית. האתר מחולק לטאבים לפי hash, ועמוד אחד מוצג בכל פעם. */
:root {
  --bg: #f6f8fc;          /* לבן עם נטייה לתכלת */
  --surface: #ffffff;
  --tint: #eaf3fb;        /* תכלת חלבי לסקציות */
  --blush: #faf0f5;       /* ורוד בהיר מאוד, נוטה לאפור */
  --line: #dfe6f0;
  --ink: #1f2d52;         /* טקסט */
  --ink-soft: #55617a;
  --navy: #2e4a8c;        /* הנייבי של GHG */
  --mag: #cf5b92;         /* מג'נטה מרוככת (GHG היא #e0328b), לקישוט בלבד. רוכך אחרי 5.11 כדי שלא ייראה ביטוח או ביוטי */
  --mag-ink: #a83a6e;     /* מג'נטה כהה לטקסט, 6:1 על לבן */
  --btn: #b03f75;         /* כפתור ראשי עם טקסט לבן, 5.5:1 */
  --sky: #1da1dc;         /* התכלת של GHG, לקישוט בלבד */
  --sky-ink: #0b6e9e;
  --ok: #1a7f52;
  --deep: #2e4a8c;        /* הפס הכהה היחיד */
  --deep-fg: #ffffff;
  --deep-muted: #c9d3ea;
  --field: #ffffff;
  --shadow: 0 1px 2px rgba(37,60,117,.06), 0 12px 32px rgba(37,60,117,.10);
  --font-display: "Rubik", "Assistant", "Arial Hebrew", system-ui, sans-serif;
  --font-body: "Assistant", "Arial Hebrew", system-ui, sans-serif;
  --font-latin: "Josefin Sans", "Assistant", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22,1,.36,1);
  --header-h: 72px;
}
/* תצוגה כהה: רק כשבוחרים בכפתור. הבהירה היא ברירת המחדל לכולם. */
:root[data-site="dark"] {
  --bg: #0e1630; --surface: #16203e; --tint: #132145; --blush: #2a1631; --line: #2a3760;
  --ink: #e8edf7; --ink-soft: #a7b1c7; --navy: #c9d6f4; --mag: #e07aa8; --mag-ink: #ee9cc0; --btn: #b03f75;
  --sky: #4cb8e8; --sky-ink: #74c9ef; --ok: #5fcf97; --deep: #1a2b5c; --deep-fg: #ffffff; --deep-muted: #b9c5e2;
  --field: #101a36; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); color-scheme: dark;
}

/* Lenis, מוטמע במקום הקובץ החיצוני */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; direction: rtl; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--sky-ink); }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; letter-spacing: .12em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--mag-ink); }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* תווית "נתון זמני" ליד כל טענה שעוד לא שלנו */
.pend { display: inline-block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: 0; color: var(--mag-ink); background: var(--blush); border-radius: 99px; padding: 1px 9px; vertical-align: middle; white-space: nowrap; }

.draft { background: var(--blush); color: var(--ink); font-size: .85rem; text-align: center; }
.draft .wrap { padding-block: 7px; }

/* כותרת עליונה */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand svg { width: 34px; height: 41px; flex-shrink: 0; }
.brand .txt { display: grid; line-height: 1.05; }
.brand .word { font-family: var(--font-latin); font-weight: 400; font-size: 1.45rem; letter-spacing: .14em; direction: ltr; }
.brand .sub { font-size: .76rem; color: var(--ink-soft); letter-spacing: .01em; }
.brand .sub .latin { color: var(--mag-ink); letter-spacing: .14em; font-size: .72rem; }
nav.tabs { display: flex; align-items: center; gap: 4px; }
nav.tabs a { color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; position: relative; }
nav.tabs a:hover { background: var(--tint); }
nav.tabs a[aria-current="page"] { color: var(--navy); }
nav.tabs a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--mag); }
.head-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-btn { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; height: 40px; padding: 0 12px; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .88rem; font-weight: 600; }
.theme-btn:hover { border-color: var(--navy); }
.theme-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 13px 24px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s; }
.btn-main { background: var(--btn); color: #ffffff; box-shadow: 0 6px 18px rgba(200,40,122,.22); }
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200,40,122,.28); }
.btn-ghost { background: var(--surface); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }

/* עמודים */
main [data-page] { min-height: 60vh; }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.tint { background: var(--tint); }
.band.white { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 44em; display: grid; gap: 12px; margin-bottom: 40px; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); background: linear-gradient(180deg, var(--tint), var(--bg)); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 16px; position: relative; }
.page-hero .ghost-mark { position: absolute; inset-inline-start: -40px; top: -30px; width: 260px; opacity: .07; color: var(--navy); pointer-events: none; }

/* בית: גיבור */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, var(--tint) 0%, var(--bg) 62%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding-block: clamp(40px, 7vw, 96px); align-items: center; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--mag-ink); }
.hero .lede { margin-top: 22px; }
.ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.goal { margin-top: 28px; display: grid; gap: 10px; max-width: 640px; }
.goal-lbl { font-weight: 700; color: var(--navy); font-size: .95rem; }
.goal-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.goal-opt { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--navy); text-decoration: none; transition: border-color .2s, transform .2s; min-width: 0; }
.goal-opt b { font-size: 1rem; }
.goal-opt span { font-size: .84rem; color: var(--ink-soft); line-height: 1.35; }
.goal-opt:hover, .goal-opt:focus-visible { border-color: var(--mag); transform: translateY(-2px); }
.goal-calc { font-size: .9rem; color: var(--sky-ink); justify-self: start; }
@media (max-width: 640px) { .goal-opts { grid-template-columns: 1fr; } }
.trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; color: var(--ink-soft); font-size: .93rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sky-ink); flex-shrink: 0; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.orb.a { width: 420px; height: 420px; background: radial-gradient(circle, color-mix(in srgb, var(--sky) 22%, transparent), transparent 70%); inset-inline-end: -120px; top: 30px; }
.orb.b { width: 300px; height: 300px; background: radial-gradient(circle, color-mix(in srgb, var(--mag) 14%, transparent), transparent 70%); inset-inline-start: 6%; bottom: -120px; }
.hero .big-mark { position: absolute; inset-inline-end: -60px; bottom: -80px; width: min(480px, 60vw); color: var(--navy); opacity: .05; pointer-events: none; }

.report { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 40px; box-shadow: var(--shadow); min-width: 0; position: relative; }
.report .cap { font-size: .8rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 8px; }
.report h3 { margin-top: 6px; }
.formula { display: flex; align-items: stretch; gap: 10px; margin-top: 18px; }
.formula .part { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; background: var(--bg); }
.formula .part.us { border-color: color-mix(in srgb, var(--mag) 55%, var(--line)); background: var(--blush); }
.formula .op { align-self: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--mag); font-weight: 800; }
.formula .k { font-size: .78rem; color: var(--ink-soft); }
.formula .v { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.report .note { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.tracks-wrap { overflow-x: auto; margin-top: 14px; }
.tracks { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 300px; }
.tracks th, .tracks td { text-align: right; padding: 8px 4px; border-top: 1px solid var(--line); }
.tracks th { font-weight: 600; color: var(--ink-soft); font-size: .8rem; }
.report .ex { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
.float-chip { position: absolute; inset-inline-start: -18px; bottom: -18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .88rem; display: flex; gap: 10px; align-items: center; }
.float-chip b { font-family: var(--font-display); color: var(--ok); font-size: 1.05rem; }

/* מרקיזה של בנקים */
.banks { border-block: 1px solid var(--line); background: var(--surface); padding-block: 22px; }
.banks .wrap { display: flex; align-items: center; gap: 20px; }
.banks .lbl { font-size: .88rem; color: var(--ink-soft); flex-shrink: 0; max-width: 11em; line-height: 1.35; }
.marquee { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 44px; padding: 0 22px; margin: 0; list-style: none; }
.marquee-track li { font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); white-space: nowrap; font-size: 1.05rem; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(50%); } }
.pause-btn { flex-shrink: 0; background: none; border: 1px solid var(--line); border-radius: 99px; width: 36px; height: 36px; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.pause-btn svg { width: 14px; height: 14px; }

/* עובדה ומספרים */
.fact { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.fact .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 11vw, 8rem); color: var(--mag-ink); line-height: .9; }
.fact p { font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--navy); font-family: var(--font-display); font-weight: 600; max-width: 26em; line-height: 1.45; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; min-width: 0; display: grid; gap: 4px; }
.stat .sv { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--navy); text-align: right; }
.stat .sk { color: var(--ink-soft); font-size: .93rem; }
.src-note { margin-top: 16px; font-size: .82rem; color: var(--ink-soft); }

/* ערכים: כרטיסים שנערמים */
.stack { display: grid; gap: 22px; }
.vcard { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; transform-origin: 50% 0; min-width: 0; }
.vcard:nth-child(2) { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 40px); }
.vcard:nth-child(3) { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 56px); }
.vcard:nth-child(4) { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 72px); }
.vcard .tag { font-size: .82rem; font-weight: 700; color: var(--mag-ink); letter-spacing: .06em; }
.vcard h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 8px; }
.vcard p { color: var(--ink-soft); font-size: 1.07rem; }
.vcard .vis { background: var(--tint); border-radius: 14px; padding: 20px; min-height: 160px; display: grid; align-content: center; gap: 10px; min-width: 0; }
.bar-row { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.bar { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--navy); transform-origin: 100% 50%; }
.bar i.m { background: var(--mag); }
.mini-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-steps span { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .88rem; }
.mini-steps span.done { border-color: var(--ok); color: var(--ok); font-weight: 600; }
.people { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sky); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--navy); flex-shrink: 0; }

/* האותיות הקטנות */
.fineprint { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.35; color: var(--navy); max-width: 22em; }
.fineprint em { font-style: normal; color: var(--mag-ink); }
/* המילים מתחילות באפור קריא (עובר 4.5:1) ומקבלות את הצבע הסופי לפי הגלילה */
.fineprint.dim .w { color: var(--ink-soft); transition: color .35s var(--ease-out); }
.fineprint.dim .w.lit { color: inherit; }

/* שלבים קצרים */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps3 li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.steps3 li::before { content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #ffffff; background: var(--navy); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
:root[data-site="dark"] .steps3 li::before { color: var(--bg); }
.steps3 p { color: var(--ink-soft); }

/* בדיקה שנתית */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.ycard { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--surface); box-shadow: var(--shadow); }
.ycard .row { display: grid; grid-template-columns: 3.5em 1fr auto; align-items: center; gap: 12px; padding-block: 13px; border-top: 1px solid var(--line); }
.ycard .row:first-of-type { border-top: 0; }
.chip { font-size: .8rem; font-weight: 700; padding: 3px 11px; border-radius: 99px; white-space: nowrap; }
.chip.ok { color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); }
.chip.act { color: var(--mag-ink); box-shadow: inset 0 0 0 1.5px var(--mag-ink); }

/* פס נייבי */
.deep { background: var(--deep); color: var(--deep-fg); position: relative; overflow: hidden; }
.deep h2, .deep h3 { color: var(--deep-fg); }
.deep .muted, .deep .lede { color: var(--deep-muted); }
.deep .ghost-mark { position: absolute; inset-inline-start: -30px; bottom: -60px; width: 320px; color: #ffffff; opacity: .06; pointer-events: none; }
.deep .btn-ghost { background: transparent; color: var(--deep-fg); box-shadow: inset 0 0 0 1.5px var(--deep-muted); }

/* איך זה עובד: מסלול אופקי מוצמד */
.htrack-wrap { overflow: hidden; }
.htrack { display: flex; gap: 22px; width: max-content; padding-block: 8px 24px; }
.hstep { width: min(420px, 82vw); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; flex-shrink: 0; }
.hstep .n { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--mag); }
.hstep .who { font-size: .82rem; font-weight: 700; color: var(--sky-ink); }
.hstep p { color: var(--ink-soft); }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; background: var(--mag); transform: scaleX(0); transform-origin: 100% 50%; }
.no-h .htrack { width: auto; flex-direction: column; }
.no-h .hstep { width: auto; }
.no-h .progress { display: none; }

.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.docs li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.docs svg { width: 20px; height: 20px; color: var(--sky-ink); flex-shrink: 0; margin-top: 3px; }
.docs b { display: block; color: var(--navy); }
.docs span { color: var(--ink-soft); font-size: .93rem; }

/* שירותים */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.svc .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--navy); }
.svc .ic svg { width: 26px; height: 26px; }
.svc ul { margin: 0; padding-inline-start: 1.1em; color: var(--ink-soft); display: grid; gap: 6px; }
.svc dl { margin: 0; display: grid; gap: 4px; font-size: .93rem; }
.svc dt { font-weight: 700; color: var(--navy); }
.svc dd { margin: 0 0 8px; color: var(--ink-soft); }

/* מחשבון */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.calc > * { min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--navy); font-size: .95rem; display: flex; justify-content: space-between; gap: 8px; }
.field output { font-family: var(--font-display); color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--btn); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbox { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.rbox .k { font-size: .85rem; color: var(--ink-soft); }
.rbox .v { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--navy); text-align: right; }
.rbox.win { background: var(--blush); border-color: color-mix(in srgb, var(--mag) 45%, var(--line)); grid-column: 1 / -1; }
.rbox.win .v { color: var(--mag-ink); font-size: 2.2rem; }
.cmp { display: grid; gap: 10px; }
.cmp .bar-row { grid-template-columns: 8em 1fr 7em; }
.cmp .bar { height: 18px; }
.cmp .bar i { transition: transform .6s var(--ease-out); }

/* שאלות */
.faq-group { display: grid; gap: 8px; margin-bottom: 36px; }
.faq-group h3 { font-size: 1rem; color: var(--sky-ink); letter-spacing: .02em; margin-bottom: 4px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--navy); padding-block: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--mag); transition: transform .3s var(--ease-out); flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-bottom: 18px; max-width: 46em; }

/* טפסים */
.form-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); min-width: 0; }
.form-card label.f { font-size: .93rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
.form-card input:not([type="checkbox"]):not([type="radio"]), .form-card select, .form-card textarea { font: inherit; font-size: max(16px, 1rem); padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--field); color: var(--ink); width: 100%; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 30%, transparent); }
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card .muted { color: var(--ink-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--btn); flex-shrink: 0; }
.notice { font-size: .84rem; color: var(--ink-soft); line-height: 1.55; background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.formmsg { font-size: .95rem; color: var(--mag-ink); font-weight: 600; }
.after { display: grid; gap: 18px; padding: 0; margin: 28px 0 0; list-style: none; }
.after li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.after .dot { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, #ffffff 12%, transparent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.contact-lines { margin-top: 26px; display: grid; gap: 6px; }
.contact-lines a, .foot-phone a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.copy { background: none; border: 1px solid var(--deep-muted); color: var(--deep-fg); border-radius: 6px; font: inherit; font-size: .8rem; padding: 2px 10px; cursor: pointer; margin-inline-start: 8px; }

/* עמודי חוק */
.legal { max-width: 46em; }
.legal .updated { font-size: .88rem; color: var(--ink-soft); }
.legal section { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.legal section:first-of-type { border-top: 0; }
.legal h2 { font-size: 1.3rem; }
.legal ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.legal li, .legal p { color: var(--ink); }
.legal .box { background: var(--tint); border-radius: 12px; padding: 14px 16px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.tbl th, .tbl td { text-align: right; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--ink-soft); font-weight: 600; font-size: .85rem; }
.hub { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.hub a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); align-items: center; }
.hub a:first-child { border-top: 0; }
.hub a:hover { background: var(--tint); }
.hub b { color: var(--navy); font-family: var(--font-display); }
.hub span { color: var(--ink-soft); font-size: .93rem; display: block; }
.hub svg { width: 18px; height: 18px; color: var(--ink-soft); }

/* מי אנחנו */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.about-grid p { color: var(--ink-soft); }
.logo-story { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.logo-story svg { width: 160px; height: 192px; color: var(--navy); }
.logo-story ol { margin: 14px 0 0; padding-inline-start: 1.2em; display: grid; gap: 6px; color: var(--ink-soft); }

/* פוטר */
footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .93rem; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fgrid > * { min-width: 0; }
.fgrid h4 { font-size: .88rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fgrid a, .linkbtn { color: var(--ink); text-decoration: none; }
.fgrid a:hover, .linkbtn:hover { color: var(--mag-ink); text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: right; }
.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-soft); font-size: .84rem; }

/* באנר עוגיות */

/* תפריט נייד */
.mnav { display: none; }
@media (max-width: 980px) {
  nav.tabs, header .cta-top { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mnav { display: block; background: var(--surface); border-bottom: 1px solid var(--line); }
  .mnav[hidden] { display: none !important; }
  .mnav .wrap { display: grid; gap: 2px; padding-block: 10px 16px; }
  .mnav a { padding: 12px 6px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mnav a[aria-current="page"] { color: var(--mag-ink); }
  .mnav .btn { margin-top: 10px; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .calc, .logo-story { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .vcard { grid-template-columns: 1fr; position: relative; top: auto !important; }
  .steps3, .svc, .about-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 14px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; }
  .float-chip { inset-inline-start: 12px; }
  .banks .lbl { display: none; }
}
@media (max-width: 480px) {
  .theme-btn { width: 40px; padding: 0; justify-content: center; }
  .theme-btn span { display: none; }
  .stats, .fgrid, .result-grid { grid-template-columns: 1fr; }
  .brand .sub { display: none; }
  .cmp .bar-row { grid-template-columns: 6em 1fr 5.5em; font-size: .82rem; }
}

/* הפחתת תנועה: גם לפי מערכת ההפעלה וגם לפי המתג באתר */
html.rm .marquee-track { animation: none; }
html.rm *, html.rm *::before, html.rm *::after { transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===================== עיצוב קיפר =====================
   פריסה: הצורה של הלוגו מובילה. ריבועים מעוגלים ושטוחים, נקודה מג'נטה אחת כחתימה,
   פתיחה בפס נייבי מלא כמו הלוגו על נייבי, ומתחת לבן נקי ואפור GHG לסירוגין. */
:root {
  --bg: #ffffff;
  --tint: #f1f1f1;          /* האפור של GHG, גם הרקע של הלוגו */
  --blush: #faf0f5;
  --line: #e2e4ea;
  --tile: 22px;             /* הרדיוס של הריבוע בלוגו, ביחס לגודל כרטיס */
  --tile-sm: 14px;
  --shadow: none;
  --on-deep-accent: #f4a6cb; /* מג'נטה בהירה על נייבי, 5.6:1 */
  --on-deep-link: #9fd8f3;
  --header-h: 76px;
}
:root[data-site="dark"] { --tint: #121b36; --line: #26325a; --blush: #2a1631; --shadow: none; }

h1 { font-weight: 700; letter-spacing: -.02em; }
h2 { font-weight: 700; letter-spacing: -.015em; }
h3 { font-weight: 600; }

/* כותרת משנה עם הנקודה */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .82rem; letter-spacing: .06em; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mag); flex-shrink: 0; }
.vcard .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.vcard .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mag); }

/* כותרת עליונה ולוגו */
header.top { background: color-mix(in srgb, var(--surface) 94%, transparent); }
.brand { gap: 14px; }
.brand svg { width: 44px; height: 44px; border-radius: 10px; }
.brand .word { font-weight: 300; font-size: 1.7rem; letter-spacing: .1em; line-height: 1; color: var(--navy); }
.brand .sub { color: var(--mag-ink); font-weight: 700; font-size: .74rem; margin-top: 3px; }
.brand .sub .latin { color: inherit; }
nav.tabs a { border-radius: 10px; }
nav.tabs a[aria-current="page"]::after { inset-inline: auto; left: 50%; width: 6px; height: 6px; margin-left: -3px; bottom: 0; border-radius: 50%; }

/* כפתורים בצורת אריח */
.btn { border-radius: var(--tile-sm); }
.btn-main { box-shadow: none; }
.btn-main:hover { box-shadow: 0 8px 20px rgba(200,40,122,.25); }

/* פתיחה: פס נייבי מלא */
.hero { background: var(--deep); color: var(--deep-fg); }
.hero .orb { display: none; }
.hero .big-mark { color: #ffffff; opacity: .07; width: min(560px, 70vw); bottom: -120px; inset-inline-end: -90px; }
.hero h1 { color: #ffffff; }
.hero h1 em { color: var(--on-deep-accent); }
.hero .eyebrow { color: var(--deep-muted); }
.hero .lede { color: var(--deep-muted); }
.hero .goal-lbl { color: #ffffff; }
.hero .goal-opt { background: #ffffff; border-color: transparent; color: #2e4a8c; border-radius: var(--tile-sm); }
.hero .goal-opt span { color: #55617a; }
.hero .goal-opt:hover, .hero .goal-opt:focus-visible { border-color: var(--mag); box-shadow: 0 0 0 3px var(--on-deep-accent); }
.hero .goal-calc { color: var(--on-deep-link); }
.hero .trust { color: var(--deep-muted); }
.hero .trust svg { color: var(--on-deep-accent); }
.hero :focus-visible { outline-color: var(--on-deep-accent); }
.report { border: 0; border-radius: var(--tile); }
.formula .part { background: var(--tint); border-color: transparent; border-radius: var(--tile-sm); }
.formula .part.us { background: var(--blush); }

/* כותרות עמוד */
.page-hero { background: var(--tint); }
.page-hero .ghost-mark { width: 300px; opacity: .08; top: -20px; }

/* כרטיסים: אריחים שטוחים */
.vcard, .stat, .steps3 li, .svc article, .about-grid > div, .hstep, .panel, .ycard, .form-card, .hub { border-radius: var(--tile); box-shadow: none; }
.docs li, details, .rbox, .notice, .legal .box, .vcard .vis { border-radius: var(--tile-sm); }
.band.tint .vcard, .band.tint .stat, .band.tint .steps3 li, .band.tint .about-grid > div, .band.tint .docs li, .band.tint .ycard { border-color: transparent; }
.band:not(.tint):not(.deep) .stat, .band:not(.tint):not(.deep) .steps3 li, .band:not(.tint):not(.deep) .about-grid > div, .band:not(.tint):not(.deep) .svc article { background: var(--tint); border-color: transparent; }
.band.white { background: var(--bg); border-block: 0; }
.stat .sv { color: var(--navy); font-weight: 700; }
.fact .big { font-weight: 700; }
.vcard { box-shadow: 0 1px 0 var(--line); }

/* מספרי שלבים: אריח נייבי קטן, כמו הלוגו */
.steps3 li::before { border-radius: 10px; width: 40px; height: 40px; font-weight: 700; }
.hstep .n { color: var(--navy); font-weight: 700; display: inline-flex; align-items: flex-end; gap: 6px; }
.hstep .n::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mag); margin-bottom: 8px; }
.svc .ic { background: var(--deep); color: #ffffff; border-radius: 13px; }
.svc article .ic { background: #2e4a8c; }
.after .dot { border-radius: 10px; }
.avatar { border-radius: var(--tile-sm); border-color: var(--mag); }

/* פס נייבי ופוטר */
.deep .ghost-mark { opacity: .07; }
footer { background: var(--tint); border-top: 0; }
.fine { border-top-color: var(--line); }
.banks { background: var(--bg); }

/* הסיפור של הלוגו */
.logo-story svg { width: 168px; height: 168px; border-radius: 38px; }

/* ===================== עמוד הבית: שאלון, מסרים, מכרז ===================== */
.hero .wrap { grid-template-columns: 1.1fr .9fr; }
/* הגיבור מיושר למעלה: כשהשאלון משנה גובה, רק הוא גדל כלפי מטה, והטקסט לידו לא זז */
.hero .wrap { align-items: start; }
.quiz { background: var(--surface); color: var(--ink); border-radius: var(--tile); padding: 26px; display: grid; gap: 14px; min-width: 0; align-self: start; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quiz-title { font-size: 1.25rem; color: var(--navy); }
.quiz-count { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.quiz-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: -4px; }
.quiz-bar i { display: block; height: 100%; background: var(--mag); transform-origin: 100% 50%; transform: scaleX(var(--p, .2)); transition: transform .45s var(--ease-out); }
/* הגובה עובר בהחלקה בין שאלה לשאלה, והשוליים השליליים משאירים מקום למסגרת הפוקוס */
.quiz-body { overflow: hidden; padding: 4px; margin: -4px; transition: height .4s var(--ease-out); }
.qstep.enter, .quiz-done.enter { animation: qin .4s var(--ease-out) both; }
@keyframes qin { from { opacity: 0; transform: translateX(var(--qx, -22px)); } }
.qopts-1 { grid-template-columns: 1fr; }
.qpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qpair > * { min-width: 0; }
@media (max-width: 380px) { .qpair { grid-template-columns: 1fr; } }
html.rm .qstep.enter, html.rm .quiz-done.enter { animation: none; }
html.rm .quiz-body { transition: none; }
@media (prefers-reduced-motion: reduce) { .qstep.enter, .quiz-done.enter { animation: none; } .quiz-body { transition: none; } }
.quiz [hidden] { display: none !important; }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.qstep legend { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 0; margin-bottom: 12px; }
.qopts { display: grid; gap: 10px; }
.qopts-2 { grid-template-columns: 1fr 1fr; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qopt { position: relative; display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--tile-sm); background: var(--tint); border: 1.5px solid transparent; cursor: pointer; transition: border-color .2s, background .2s; min-width: 0; }
.qchips .qopt { padding: 10px 14px; }
.qopt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qopt b { color: var(--navy); font-size: .98rem; line-height: 1.3; }
.qopt span { color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.qopt:hover { border-color: color-mix(in srgb, var(--navy) 35%, transparent); }
.qopt:has(input:checked) { border-color: var(--mag); background: var(--blush); }
.qopt:has(input:focus-visible) { outline: 3px solid var(--mag); outline-offset: 2px; }
.qfields { display: grid; gap: 12px; }
.qfields label.f { font-size: .93rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
.qfields input:not([type="checkbox"]) { font: inherit; font-size: max(16px, 1rem); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); color: var(--ink); width: 100%; }
.qfields input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 30%, transparent); }
.qfields .btn { width: 100%; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.quiz-nav .btn { margin-inline-start: auto; }
.quiz-nav .btn:disabled { opacity: .45; cursor: default; }
.quiz-back { color: var(--sky-ink); font-weight: 600; }
.quiz-done { display: grid; gap: 10px; justify-items: start; }
.quiz-done svg { width: 44px; height: 44px; border-radius: 10px; }
.quiz-done h3 { font-size: 1.3rem; }
.draft-note { font-size: .8rem; color: var(--mag-ink); }

.mini-steps span.act { border-color: var(--mag); color: var(--mag-ink); font-weight: 600; }
.vcard .vis { gap: 14px; }
.tender-wrap { overflow-x: auto; }
.tender { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: .92rem; min-width: 300px; }
.tender th { font-size: .78rem; color: var(--ink-soft); font-weight: 600; text-align: right; padding: 0 10px; }
.tender td { background: var(--surface); padding: 10px; text-align: right; }
.tender td:first-child { border-radius: 0 10px 10px 0; font-weight: 600; color: var(--navy); }
.tender td:last-child { border-radius: 10px 0 0 10px; }
.tender tr.win td { background: var(--blush); }
.tender tr.win td:last-child { color: var(--mag-ink); font-weight: 700; }
.tender .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mag); margin-inline-end: 6px; vertical-align: middle; }
.tender .out { color: var(--ink-soft); font-size: .84rem; }
.lanes { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; }
.lane-who { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.lane { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.seg { border-radius: 8px; padding: 7px 4px; font-size: .78rem; text-align: center; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg.you { background: var(--mag); color: #ffffff; }
.seg.us { background: #2e4a8c; color: #ffffff; }
.outcome { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; border-radius: var(--tile); background: var(--tint); }
.outcome-k { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.outcome ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.outcome li { background: var(--surface); border-radius: 99px; padding: 6px 14px 6px 12px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.outcome li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mag); }

.rounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.rounds li { background: var(--surface); border-radius: var(--tile); padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; position: relative; }
.rounds .rk { font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); font-size: .9rem; }
.rounds p { color: var(--ink-soft); }
.rounds li.win { background: var(--deep); }
.rounds li.win h3 { color: #ffffff; }
.rounds li.win p, .rounds li.win .rk { color: var(--deep-muted); }
.rounds li.win::after { content: ""; position: absolute; top: 24px; inset-inline-end: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--mag); }

.who { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.who > * { min-width: 0; }
.who-line { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: #ffffff; margin-top: 12px; }
.on-deep { color: var(--on-deep-link); font-weight: 600; }
.facts { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 5.5em 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--tile-sm); background: color-mix(in srgb, #ffffff 8%, transparent); }
.facts b { font-family: var(--font-display); font-size: 1.6rem; color: #ffffff; font-weight: 700; text-align: center; }
.facts b.latin { font-family: var(--font-latin); font-weight: 400; font-size: 1.1rem; }
.facts span { color: var(--deep-muted); }
/* ===================== כותרות גדולות ומסרים ויזואליים ===================== */
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.mega { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.head .lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.vcard { grid-template-columns: 1fr 1.15fr; }
.vcard h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.vcard h3::after { content: ""; display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--mag); margin-inline-start: .08em; }
.vsub { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--mag-ink); margin-top: 12px; }
.vtxt { margin-top: 12px; }

/* מרוץ הבנקים: כל שורה ממוקמת לפי הדירוג שלה עם transform בלבד */
.race { display: grid; gap: 8px; --row: 50px; --gap: 6px; }
.race-head, .race-row { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 8px; align-items: center; padding: 0 14px; }
.race-head { font-size: .76rem; color: var(--ink-soft); font-weight: 600; }
.race-head span:not(:first-child), .race-row .r, .race-row .pay { text-align: left; }
.race-list { position: relative; list-style: none; margin: 0; padding: 0; height: calc(5 * (var(--row) + var(--gap)) - var(--gap)); }
.race-row { position: absolute; inset-inline: 0; top: 0; height: var(--row); background: var(--surface); border-radius: 12px; transition: transform 1.1s var(--ease-out), background-color .5s, opacity .5s; }
.race-row b { color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.race-row .bl { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #ffffff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; font-style: normal; flex-shrink: 0; }
.race-list { transition: opacity .5s var(--ease-out); }
.race-list.fade { opacity: 0; }
.race-row .r { font-weight: 600; color: var(--ink-soft); }
.race-row .pay { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.race-row .drop { font-size: .7rem; font-weight: 700; color: var(--ok); opacity: 0; transition: opacity .3s; }
.race-row.hit { background: var(--blush); }
.race-row.hit .drop { opacity: 1; }
.race-row.lead { background: var(--deep); }
.race-row.lead b, .race-row.lead .pay { color: #ffffff; }
.race-row.lead .r { color: var(--deep-muted); }
.race-row.lead.hit .drop { color: #8ee6b8; }
.race-row.lead b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mag); flex-shrink: 0; }
.race-row.out { opacity: .5; }
.race-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; min-height: 30px; }
.race-foot b { color: var(--navy); }
.race-btn { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--navy); cursor: pointer; flex-shrink: 0; }
.race-btn:hover { border-color: var(--navy); }

/* אתה מול אנחנו: העמודה שלנו גבוהה, שלך קצרה. הגובה הוא המסר. */
.effort { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; align-items: end; }
.eff-col { border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.eff-col.you { background: var(--surface); }
.eff-col.us { background: var(--deep); }
.eff-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.us .eff-h { color: #ffffff; }
.eff-t { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: var(--mag-ink); }
.us .eff-t { color: var(--on-deep-accent); }
.eff-t svg { width: 14px; height: 14px; }
.eff-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eff-col li { display: flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; padding: 7px 10px; border-radius: 10px; background: var(--tint); color: var(--navy); min-width: 0; }
.us li { background: rgba(255,255,255,.09); color: #ffffff; }
.eff-col li svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--mag); }
.us li svg { color: var(--on-deep-accent); }

/* היועץ על ציר השנים */
.adv { position: relative; padding-top: 64px; }
.adv-track { position: absolute; top: 75px; inset-inline: 10%; height: 4px; border-radius: 4px; background: var(--line); }
.adv-track i { display: block; height: 100%; border-radius: 4px; background: var(--mag); transform-origin: 100% 50%; transform: scaleX(var(--p, 1)); transition: transform .7s var(--ease-out); }
.adv-line { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.adv-node { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.adv-dot { width: 26px; height: 26px; border-radius: 9px; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease-out); }
.adv-dot svg { width: 14px; height: 14px; }
.adv-y { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.adv-node.done .adv-dot { background: var(--ok); border-color: var(--ok); color: #ffffff; }
.adv-node.act .adv-dot { background: var(--mag); border-color: var(--mag); color: #ffffff; transform: scale(1.18); }
.adv-node.act .adv-y { color: var(--mag-ink); }
.adv-me { position: absolute; top: 4px; inset-inline-start: calc(10% - 24px); width: 48px; height: 48px; border-radius: 14px; background: #2e4a8c; color: #ffffff; display: grid; place-items: center; transition: transform .7s var(--ease-out); }
.adv-me svg { width: 26px; height: 26px; }
.adv-me::after { content: ""; position: absolute; top: -4px; inset-inline-end: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--mag); border: 2px solid var(--tint); }
.adv-foot { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.adv-status { transition: opacity .45s var(--ease-out); min-height: 3.2em; padding: 10px 14px; border-radius: 12px; background: var(--surface); font-size: .95rem; color: var(--navy); font-weight: 600; line-height: 1.45; }
.adv-status b { color: var(--mag-ink); }
.adv-status.swap { opacity: 0; }

/* המכרז: עמודות הצעה בכל סבב */
.tprog { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--navy) 12%, transparent); overflow: hidden; margin-bottom: 22px; }
.tprog i { display: block; height: 100%; background: var(--mag); transform-origin: 100% 50%; transform: scaleX(1); }
.rounds li { gap: 10px; }
.tbars { height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 0; border-radius: var(--tile-sm); background: var(--tint); margin-bottom: 8px; }
.tbars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 7px 7px 2px 2px; background: #2e4a8c; transform-origin: 50% 100%; position: relative; }
.tbars i.out { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink-soft) 45%, transparent); }
.tbars i.best { background: var(--mag); }
.tbars i.best b { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px); font-family: var(--font-display); font-size: .9rem; color: var(--mag-ink); direction: ltr; white-space: nowrap; }
.rounds li.win .tbars { background: rgba(255,255,255,.08); }
.rounds li.win .tbars i.out { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.rounds li.win .tbars i.best b { color: var(--on-deep-accent); }
.rounds li.win::after { top: auto; bottom: 24px; }

/* החלק שלך: מספרים גדולים על קו אחד */
.mine { --mn: clamp(4.2rem, 8vw, 6.5rem); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; }
/* קו בין כל מספר לבא אחריו. מתחיל אחרי הספרה ונמשך עד העמודה הבאה, כך שלא צריך רקע מאחורי המספר. */
.mine li:not(:last-child)::before, .mine li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--mn) * .45); inset-inline-start: calc(var(--mn) * .95); inset-inline-end: -28px; height: 3px; border-radius: 3px; background: var(--line); }
.mine li:not(:last-child)::after { background: var(--mag); transform-origin: 100% 50%; transform: scaleX(var(--p, 1)); }
.mine li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.mine .mn { font-family: var(--font-display); font-weight: 800; font-size: var(--mn); line-height: .9; color: var(--navy); justify-self: start; position: relative; z-index: 1; display: inline-flex; align-items: flex-end; gap: 6px; }
.mine .mn::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--mag); margin-bottom: .1em; }
.mine .mt { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: .85rem; font-weight: 700; color: var(--mag-ink); background: var(--blush); border-radius: 99px; padding: 4px 12px; margin-top: 6px; }
.mine .mt svg { width: 15px; height: 15px; }
.mine h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.mine p { color: var(--ink-soft); }
.mine-sum { margin-top: 36px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; color: var(--navy); }
.mine-sum b { color: var(--mag-ink); }

/* רקע חי: שני כתמי אור רכים שנודדים לאט מאחורי התוכן, כדי שהחלקים לא ייראו כמו עמודים מודפסים.
   overflow: clip ולא hidden, כי hidden היה שובר את הכרטיסים הנערמים (sticky). */
.fx { position: relative; overflow: clip; isolation: isolate; --orb1: color-mix(in srgb, var(--sky) 20%, transparent); --orb2: color-mix(in srgb, var(--mag) 13%, transparent); }
.fx-alt { --orb1: color-mix(in srgb, var(--mag) 12%, transparent); --orb2: color-mix(in srgb, var(--sky) 18%, transparent); }
.deep.fx, .hero.fx { --orb1: color-mix(in srgb, var(--sky) 30%, transparent); --orb2: color-mix(in srgb, var(--mag) 26%, transparent); }
.fx::before, .fx::after { content: ""; position: absolute; z-index: -1; width: max(420px, 48vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--orb1) 0%, transparent 66%); animation: drift 24s ease-in-out infinite alternate; }
.fx::before { top: -18%; inset-inline-start: -14%; }
.fx::after { bottom: -22%; inset-inline-end: -12%; background: radial-gradient(circle, var(--orb2) 0%, transparent 66%); animation-duration: 31s; animation-delay: -11s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(9vw, 7vh) scale(1.18); }
  100% { transform: translate(-5vw, 12vh) scale(.92); }
}
.hero.fx > .wrap, .fx > .wrap { position: relative; z-index: 1; }
/* כרטיסים שקופים למחצה, כך שהאור שמאחור עובר דרכם */
.fx .vcard, .fx .rounds li:not(.win) { background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: color-mix(in srgb, var(--line) 60%, transparent); box-shadow: 0 24px 60px -36px rgba(37,60,117,.45); }
.fx .vcard .vis { background: color-mix(in srgb, var(--tint) 75%, transparent); }
.fx .rounds li { transition: transform .4s var(--ease-out); }
.fx .rounds li:hover { transform: translateY(-4px); }
html.rm .fx::before, html.rm .fx::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .fx::before, .fx::after { animation: none; } }

/* בכהה הנייבי כמעט נבלע ברקע, ולכן המוביל והעמודות מקבלים גוון בהיר יותר */
:root[data-site="dark"] .race-row.lead { background: #34529e; }
:root[data-site="dark"] .tbars i:not(.out):not(.best) { background: #5674c4; }

/* טאבלט לאורך: יש מקום לשלוש עמודות במכרז ובחלק שלך, ולכן לא מורידים לעמודה אחת */
@media (min-width: 641px) and (max-width: 900px) {
  ol.rounds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .rounds li { padding: 18px; }
  .tbars { height: 96px; gap: 6px; padding-inline: 10px; }
  ol.mine { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .mine li:not(:last-child)::before, .mine li:not(:last-child)::after { display: block !important; }
}

/* מי אנחנו: שלוש עובדות גדולות */
.facts li { grid-template-columns: 6.2em 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--tile); background: color-mix(in srgb, #ffffff 9%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.facts b { font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 800; }
.facts b small { font-size: .45em; font-weight: 700; margin-inline-start: .15em; }
.facts b.latin { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; line-height: 1.2; }
.facts span { font-size: 1.08rem; color: #ffffff; font-weight: 600; line-height: 1.45; }

@media (max-width: 900px) {
  /* הכללים של הגיבור והכרטיסים נכתבו אחרי בלוק הנייד הכללי, ולכן מחזירים כאן עמודה אחת */
  .hero .wrap, .vcard { grid-template-columns: 1fr; }
  .hero .wrap { gap: 32px; }
  .mine { grid-template-columns: 1fr; }
  .mine li::before, .mine li::after { display: none !important; }
  .mine { gap: 30px; }
}
@media (max-width: 420px) {
  .race-head, .race-row { padding: 0 10px; grid-template-columns: 1.15fr .75fr 1fr; }
  .race-row .pay { font-size: .95rem; }
  .vcard { padding: 20px 16px; }
  .vcard .vis { padding: 12px; }
  /* בטלפון העמודות זו מעל זו: "אתה" קצרה למעלה, "אנחנו" ארוכה מתחת, והאורך עדיין מספר את הסיפור */
  .effort { grid-template-columns: 1fr; gap: 10px; }
  .eff-col.you ul { grid-template-columns: 1fr 1fr; }
  .race-row .r { display: grid; line-height: 1.15; }
  .race-row .drop { font-size: .66rem; }
  .eff-col { padding: 10px; }
  .eff-col li { font-size: .8rem; padding: 6px 8px; }
  .adv-y { font-size: .72rem; }
}

.final-cta { display: grid; justify-items: center; text-align: center; gap: 10px; }
.final-cta .btn { margin-top: 8px; }

.sticky-cta { display: none; }
@media (max-width: 900px) {
  .rounds, .who { grid-template-columns: 1fr; }
  .sticky-cta { display: block; position: fixed; z-index: 45; inset-inline: 0; bottom: 0; border: 0; font: inherit; font-weight: 700; font-size: 1.05rem; color: #ffffff; background: var(--btn); padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); cursor: pointer; }
  body { padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .qopts-2 { grid-template-columns: 1fr; }
  .quiz { padding: 20px; }
}

/* מי אנחנו: בלי הכותרת הקטנה, ועולה קצת למעלה */
.about-hero { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding-block: 24px 14vh; }
.about-hero .wrap { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 32px; }
.about-text { display: grid; gap: 16px; }
.about-text .about-statement { font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-weight: 500; line-height: 1.5; letter-spacing: 0; text-align: justify; text-wrap: wrap; }
.about-statement b { font-weight: 800; }
.about-statement .nobr { white-space: nowrap; }
.trio { margin: 0; }
.trio svg { width: 100%; max-width: 350px; display: block; margin-inline: auto 0; }
.trio-tri { fill: none; stroke: var(--navy); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 5 6; }
.trio-node text { fill: #fff; font: 700 21px var(--font-display); text-anchor: middle; }
.trio-label { fill: var(--ink); font: 700 21px var(--font-display); text-anchor: middle; }
@media (max-width: 900px) { .about-hero .wrap { grid-template-columns: 1fr; } .trio svg { max-width: 300px; margin-inline: auto; } .about-hero { min-height: 0; padding-block: 28px 40px; } }
.about-statement .paren { font-weight: 400; font-size: .8em; position: relative; top: -.06em; }
.about-statement .dash { font-weight: 400; }
header .cta-top { background: transparent; color: var(--mag-ink); border: 1.5px solid var(--mag); box-shadow: none; }
header .cta-top:hover { background: var(--blush); box-shadow: none; }
/* ניסיון: הרקעים מוחלפים, כותרת אפורה ופתיח לבן */
header.top { background: color-mix(in srgb, var(--tint) 94%, transparent); }
.page-hero { background: var(--surface); }
.page-hero .ghost-mark { display: none; }
/* מתג כהה/בהיר: ירח קטן וצף בפינה השמאלית התחתונה */
.theme-float { position: fixed; z-index: 46; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; padding: 0; justify-content: center; box-shadow: 0 2px 10px rgba(37,60,117,.14); }
.theme-float span { display: none; }
@media (max-width: 900px) { .theme-float { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); } }
/* התפריט צמוד ללוגו מימין, והכפתור נשאר בשמאל */
nav.tabs { margin-inline-start: 60px; margin-inline-end: auto; }
p.about-statement { font-family: var(--font-display); color: var(--navy); margin: 0; }
