/* גופנים מהשרת שלנו (Miriam Libre ו-Heebo, רישיון SIL Open Font License, קבצים ב-fonts/). קבצים משתנים (variable): קובץ אחד לכל משקל 400 עד 700. */
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/Heebo-400-hebrew.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: 400; font-display: swap; src: url(fonts/Heebo-400-latin.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; }
@font-face { font-family: 'Miriam Libre'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/MiriamLibre-400-hebrew.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: 'Miriam Libre'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/MiriamLibre-400-latin.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; }

/* ============================================================
   MasBack · "מים צלולים" · 17/10/2026
   עולם ויזואלי אחד: מים בהירים, דיו של ים עמוק, וצבע אחד שחוזר
   (ירוק-ים: accent על רקע בהיר, glow על רקע כהה).
   מערכת צורות: כפתורים גלולה, פאנלים 20px, שדות 12px.
   תנועה: ease-out חזק, רק transform ו-opacity, הכול כבוי ב-reduced-motion.
   ============================================================ */
:root {
  --water: #EDF5F3;
  --water-2: #E1EEEB;
  --foam: #FFFFFF;
  --ink: #072A33;
  --ink-2: #2B4C54;
  --mute: #46666D;
  --line: #CDDFDB;
  --line-2: #DDEAE7;
  --deep: #06202A;
  --deep-2: #0B3340;
  --deep-line: rgba(255, 255, 255, 0.12);
  --deep-text: rgba(237, 245, 243, 0.8);
  --accent: #0B7A60;
  --accent-2: #0A6650;
  --accent-tint: #DDF3EC;
  --glow: #2EE0B0;
  --sand: #FFF4DC;
  --sand-line: #EBD9A8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: 'Miriam Libre', 'Heebo', system-ui, sans-serif;
  --font-body: 'Heebo', system-ui, sans-serif;
  --r-panel: 20px;
  --r-field: 12px;
  --r-pill: 999px;
  --shadow: 0 24px 60px -24px rgba(7, 42, 51, 0.35), 0 6px 18px -8px rgba(7, 42, 51, 0.12);
  --topbar: 72px;
}

/* ---------- בסיס ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); }
body { margin: 0; background: var(--water); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--glow); color: var(--deep); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
img { display: block; max-width: 100%; }
input, select, button { font-family: inherit; font-size: inherit; }
.wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; }
.small { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
[hidden] { display: none !important; }

/* ---------- פס עליון ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--topbar);
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  background: rgba(237, 245, 243, 0.78);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(7, 42, 51, 0.07);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--deep); display: inline-flex; align-items: center; justify-content: center; }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--ink-2); text-decoration: none; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out); }
.nav a:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #FFFFFF; box-shadow: 0 12px 26px -12px rgba(11, 122, 96, 0.75); }
.btn-primary:hover { background: var(--accent-2); color: #FFFFFF; }
.btn-secondary { background: var(--foam); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-2); }
.btn-outline { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.38); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; border-color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--accent); border: 0; min-height: 44px; font-size: 15px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }

/* ---------- חשיפה בגלילה (index.html) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="group"] > * { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-reveal="group"].in > * { opacity: 1; transform: none; }
.js [data-reveal="group"] > :nth-child(2) { transition-delay: 60ms; }
.js [data-reveal="group"] > :nth-child(3) { transition-delay: 120ms; }
.js [data-reveal="group"] > :nth-child(4) { transition-delay: 180ms; }
.js [data-reveal="group"] > :nth-child(5) { transition-delay: 240ms; }
.js [data-reveal="group"] > :nth-child(6) { transition-delay: 300ms; }

/* ---------- גיבור ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--topbar)); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: hero-zoom 1.8s var(--ease-out) both, hero-drift 28s ease-in-out 1.8s infinite alternate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0; transition: opacity 1.4s ease; }
.hero-video.on { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(237, 245, 243, 0.96) 0%, rgba(237, 245, 243, 0.8) 34%, rgba(237, 245, 243, 0.1) 62%, rgba(237, 245, 243, 0) 80%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 24px 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 660px; }
.hero-copy h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.1; }
.hero-copy h1 .l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-copy h1 .l > span { display: inline-block; animation: rise 1s var(--ease-out) both; }
.hero-copy h1 .l:nth-child(2) > span { animation-delay: 120ms; }
.hero-copy .lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 32em; animation: rise 1s var(--ease-out) 260ms both; }
.hero-copy .how { font-weight: 500; animation: rise 1s var(--ease-out) 360ms both; }
.hero-panel {
  width: 100%; max-width: 440px; justify-self: end;
  display: flex; flex-direction: column; gap: 16px; padding: 28px;
  border-radius: var(--r-panel);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: rise 1s var(--ease-out) 420ms both;
}
.hero-panel h2 { font-size: 22px; }
.hero-panel .q { color: var(--ink-2); font-size: 16px; }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.year {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: var(--r-field); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.85);
  font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.year input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.year:active { transform: scale(0.96); }
.year:has(input:checked) { background: var(--deep); color: var(--glow); border-color: var(--deep); }
.year:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .year:hover { border-color: var(--ink-2); } .year:has(input:checked):hover { border-color: var(--deep); } }
.motion-toggle { position: absolute; bottom: 14px; inset-inline-start: 16px; z-index: 1; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.still .hero-media img, .still .hero-lines path { animation-play-state: paused; }
.hero-lines { position: absolute; inset-inline: 0; bottom: -2px; z-index: 0; width: 100%; height: 160px; pointer-events: none; }
.hero-lines path { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease-out) 500ms both; }
.hero-lines path:nth-child(2) { opacity: 0.3; animation-delay: 700ms; }
.hero-lines path:nth-child(3) { opacity: 0.18; animation-delay: 900ms; }

/* ---------- מקטעים ---------- */
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-head p { font-size: 18px; color: var(--ink-2); line-height: 1.6; }
.section-head.row { flex-direction: row; max-width: none; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
.more { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more:hover { text-decoration: underline; }

/* ---------- מסילת מצבי חיים ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 72vw); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 6px 24px 28px; margin: 0 -24px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); border-radius: var(--r-panel); overflow: hidden; background: var(--foam); border: 1px solid var(--line-2); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 200ms ease; }
.tile:hover { color: var(--ink); }
.tile .ph { aspect-ratio: 1; width: 100%; overflow: hidden; background: var(--water-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile h3 { font-size: 19px; padding: 8px 18px 0; }
.tile p { padding: 0 18px 18px; color: var(--mute); font-size: 15px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .tile:hover img { transform: scale(1.05); }
}

/* ---------- שלושה צעדים: ערימה דביקה ---------- */
.steps-wrap { position: relative; }
.steps-path { position: absolute; inset-inline: 0; top: 0; height: 100%; width: 100%; z-index: 0; pointer-events: none; }
.steps-path path { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.35; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step { position: relative; z-index: 1; min-height: 100svh; display: grid; align-items: start; }
.step-card {
  position: sticky; top: calc(var(--topbar) + 24px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--foam); border: 1px solid var(--line-2); border-radius: 28px; padding: 44px;
  box-shadow: var(--shadow); transform-origin: 50% 0%;
}
.step-copy { display: flex; flex-direction: column; gap: 14px; }
.step-card .num { font-family: var(--font-display); font-size: clamp(64px, 8vw, 112px); line-height: 0.9; color: var(--accent); }
.step-card h3 { font-size: clamp(26px, 2.6vw, 36px); }
.step-card p { color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 30em; }
.step-card .ph { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 58vh; background: var(--water-2); }
.step-card img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  .step { view-timeline: --step block; }
  .step-card { animation: step-shrink linear both; animation-timeline: --step; animation-range: exit 0% exit 75%; }
  .step:last-child .step-card { animation: none; }
  .steps-path path { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% exit 60%; }
}

/* ---------- בנטו מדריכים ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.b { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-panel); text-decoration: none; color: var(--ink); background: var(--foam); border: 1px solid var(--line-2); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.b:hover { color: var(--ink); }
.b h3 { font-size: 21px; }
.b p { color: var(--mute); font-size: 15.5px; line-height: 1.55; }
.b.tint { background: var(--accent-tint); border-color: transparent; }
.b.tint p { color: var(--ink-2); }
.b.deep { background: var(--deep); color: var(--water); border-color: transparent; }
.b.deep:hover { color: var(--water); }
.b.deep p { color: var(--deep-text); }
.b.img { grid-row: span 2; position: relative; padding: 0; overflow: hidden; min-height: 440px; justify-content: end; color: #FFFFFF; border: 0; }
.b.img:hover { color: #FFFFFF; }
.b.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.b.img .b-copy { position: relative; padding: 32px 28px 28px; background: linear-gradient(to top, rgba(6, 32, 42, 0.88), rgba(6, 32, 42, 0.35) 60%, rgba(6, 32, 42, 0)); display: flex; flex-direction: column; gap: 8px; }
.b.img p { color: rgba(255, 255, 255, 0.85); }
@media (hover: hover) and (pointer: fine) {
  .b:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .b.img:hover img { transform: scale(1.04); }
}

/* ---------- הצלילה: מי זה מתאים ---------- */
.dive { position: relative; background: var(--deep); color: var(--water); overflow: hidden; isolation: isolate; }
.dive-media { position: absolute; inset: -14% 0; z-index: -1; }
.dive-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.dive-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--water) 0, rgba(237, 245, 243, 0) 16%, rgba(6, 32, 42, 0.25) 45%, rgba(6, 32, 42, 0.92) 100%); }
.dive .section { padding-top: 160px; padding-bottom: 96px; }
.dive h2 { color: #FFFFFF; }
.dive .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.dive .two > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 32px; border-radius: var(--r-panel); background: rgba(6, 32, 42, 0.55); border: 1px solid var(--deep-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dive p { color: var(--deep-text); font-size: 17px; line-height: 1.7; }
@supports (animation-timeline: view()) {
  .dive-media img { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}

/* ---------- שאלות ---------- */
.faq-sec { background: var(--deep-2); color: var(--water); }
.faq-sec .section { padding-block: 80px; }
.faq-sec h2 { color: #FFFFFF; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--deep-line); }
.faq details:last-child { border-bottom: 1px solid var(--deep-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #FFFFFF; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-inline-end: 4px; border-inline-end: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(45deg); transition: transform 260ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--deep-text); font-size: 17px; line-height: 1.7; max-width: 70ch; animation: fade-up 380ms var(--ease-out) both; }

/* ---------- כהה / פוטר ---------- */
.dark { background: var(--deep); color: var(--water); }
footer.dark { background: var(--deep); color: var(--deep-text); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 44px 24px; font-size: 14px; line-height: 1.6; border-top: 1px solid var(--deep-line); }
footer p { max-width: 640px; }
footer nav { display: flex; gap: 22px; }
footer nav a { color: var(--water); text-decoration: none; }
footer nav a:hover { color: var(--glow); }

/* ---------- סימולטור (Operate) ---------- */
.sim, .guide { max-width: 580px; margin: 0 auto; padding: 20px 20px 56px; display: flex; flex-direction: column; gap: 18px; }
.lede { color: var(--ink-2); line-height: 1.6; }
.stack.tight { gap: 8px; }
.brand-sm { font-size: 18px; }
.brand-sm .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.sim-top { display: flex; align-items: center; justify-content: space-between; }
.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden; }
.steps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 480ms var(--ease-out); }
.steps span.on::after { transform: scaleX(1); }
.panel { display: flex; flex-direction: column; gap: 22px; background: var(--foam); border: 1px solid var(--line-2); border-radius: var(--r-panel); padding: 28px; box-shadow: var(--shadow); animation: panel-in 380ms var(--ease-out) both; }
.panel h1 { font-size: 27px; }
.panel h2 { font-size: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 15.5px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.field .code { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.field input, .field select { min-height: 50px; border: 1px solid var(--line); border-radius: var(--r-field); padding: 0 14px; font-size: 18px; color: var(--ink); background: var(--foam); width: 100%; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input::placeholder { color: #7F959A; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 122, 96, 0.14); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice, .chip { cursor: pointer; border: 1px solid var(--line); background: var(--foam); color: var(--ink); font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.choice { min-height: 50px; border-radius: var(--r-field); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; border-radius: var(--r-pill); padding: 0 16px; font-size: 15px; }
.choice:active, .chip:active { transform: scale(0.97); }
.choice[aria-pressed="true"], .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.actions { display: flex; gap: 10px; }
.actions .grow { flex: 1; }
.notice { display: flex; flex-direction: column; gap: 10px; background: var(--sand); border: 1px solid var(--sand-line); border-radius: 16px; padding: 18px 20px; }
.notice h2 { font-size: 18px; }
.notice ul { margin: 0; padding-inline-start: 20px; line-height: 1.7; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; color: var(--ink-2); font-size: 16px; }
.row strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--deep); color: var(--water); border-radius: 16px; padding: 20px 22px; }
.total .amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--glow); font-variant-numeric: tabular-nums; line-height: 1; }
.result-kicker { font-weight: 700; color: var(--accent); font-size: 14px; }

/* ---------- מדריך (Read) ---------- */
.guide h1 { font-size: 30px; line-height: 1.2; }
.guide .intro { color: var(--ink-2); line-height: 1.65; font-size: 18px; }
.guide .box { display: flex; flex-direction: column; gap: 6px; background: var(--foam); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; animation: panel-in 380ms var(--ease-out) both; }
.guide .box:nth-of-type(3) { animation-delay: 60ms; } .guide .box:nth-of-type(4) { animation-delay: 120ms; } .guide .box:nth-of-type(5) { animation-delay: 180ms; } .guide .box:nth-of-type(6) { animation-delay: 240ms; }
.guide .box h2 { font-size: 15px; color: var(--accent); }
.guide .box p { color: var(--ink-2); line-height: 1.6; }
.guide .tip { display: flex; gap: 10px; background: var(--sand); border: 1px solid var(--sand-line); border-radius: 16px; padding: 14px 16px; }
.guide .tip p { line-height: 1.6; }
.guide .box ol, .guide .box ul { padding-inline-start: 20px; color: var(--ink-2); line-height: 1.6; display: grid; gap: 6px; margin: 2px 0 0; }
.guide .box a, .guide .intro a, .guide .tip a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.guide .group { font-weight: 700; color: var(--accent); font-size: 14px; margin-top: 6px; }
.guide .glist { display: grid; gap: 10px; }
.guide .glist a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; background: var(--foam); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.guide .glist a:hover { border-color: var(--accent); transform: translateY(-1px); }
.guide .glist a:active { transform: scale(0.98); }
.guide .glist h3 { font-size: 17px; }
.guide .glist p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.guide .next { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 15px; }
.guide .next a { color: var(--accent); font-weight: 600; }
.back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--foam); border: 1px solid var(--line); transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.back:active { transform: scale(0.95); }

/* ---------- דפים משפטיים ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 24px 24px 72px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; }
.legal h2 { font-size: 22px; padding-top: 16px; }
.legal h3 { font-size: 17px; padding-top: 4px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul, .legal ol { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal .meta { font-size: 14px; color: var(--mute); }
.legal li.placeholder { list-style: none; }
.draft { background: var(--sand); border: 1px solid var(--sand-line); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--ink); }
.placeholder { background: var(--accent-tint); border: 1px dashed var(--accent); border-radius: 12px; padding: 12px 16px; font-weight: 600; color: var(--accent-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }

/* ---------- באנר עוגיות (cookie.js) ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); z-index: 30; animation: rise 500ms var(--ease-out) both; }
.cookie p { flex: 1 1 260px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn { min-height: 40px; padding: 8px 14px; font-size: 15px; }

/* ---------- קיפריימים ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.05) translate3d(-1.5%, 1%, 0); } }
@keyframes step-shrink { to { transform: scale(0.92) translateY(-12px); opacity: 0.3; filter: blur(2px); } }
@keyframes parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }

/* ---------- מסכים צרים ---------- */
@media (max-width: 900px) {
  :root { --topbar: 64px; }
  .nav { display: none; }
  .hero { min-height: auto; }
  .hero-media { position: relative; inset: auto; height: 38vh; min-height: 240px; }
  .hero-media::after { background: linear-gradient(to bottom, rgba(237, 245, 243, 0) 55%, var(--water) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 8px 24px 48px; }
  .hero-copy h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-copy .lead { font-size: 18px; }
  .hero-panel { max-width: none; justify-self: stretch; padding: 22px; background: var(--foam); }
  .hero-lines { display: none; }
  .section { padding-block: 56px; gap: 24px; }
  .step { min-height: auto; margin-bottom: 16px; }
  .step-card { position: static; grid-template-columns: 1fr; gap: 20px; padding: 22px; border-radius: 20px; animation: none !important; }
  .step-card .ph { aspect-ratio: 16 / 10; max-height: none; order: -1; }
  .step-card .num { font-size: 56px; }
  .step-card p { font-size: 17px; }
  .steps-path { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b.img { grid-row: auto; min-height: 320px; }
  .dive .section { padding-top: 96px; padding-bottom: 64px; }
  .dive .two { grid-template-columns: 1fr; gap: 16px; }
  .dive .two > div { padding: 24px; }
  .total .amount { font-size: 32px; }
  footer .wrap { padding: 32px 24px; }
}

/* ---------- הפחתת תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="group"] > * { opacity: 1; transform: none; }
  .hero-media img, .dive-media img, .step-card { animation: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
  .hero-lines path, .steps-path path { stroke-dashoffset: 0; animation: none !important; }
}
