/* MAZE - דף הנחיתה v3 (11/10/2026)
   השפה נעולה: נכסים/שפת-העיצוב-MAZE (כהה, מבטא ציאן יחיד, זוהר רק במבוך).
   תפירה: פלטה ומבוך מהלוגו · טיפוגרפיה גדולה ושקטה מ-Linear · סצנה נגררת-גלילה
   מעמוד AirPods Pro של אפל · הרגע המיוחד מדיאגרמת הרכבת התחתית של ויניילי (1972):
   עיר סבוכה שהופכת לקו אחד נקי עם תחנות - ובסוף, כרטיס. */

@font-face { font-family: "Plex Hebrew"; font-weight: 300; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-300-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 300; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }
@font-face { font-family: "Plex Hebrew"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }
@font-face { font-family: "Plex Hebrew"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }
@font-face { font-family: "Plex Hebrew"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }
@font-face { font-family: "Plex Hebrew"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-hebrew-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }

:root {
  --bg: #070b12;
  --bg-raise: #0b111c;
  --surface: rgba(15, 23, 36, 0.66);
  --surface-solid: #0e1622;
  --line: rgba(150, 180, 212, 0.13);
  --line-strong: rgba(150, 180, 212, 0.26);
  --text: #e8f0f6;
  --muted: #97a8ba;
  --faint: #8193a6;
  --accent: #6fe6de;
  --accent-soft: rgba(111, 230, 222, 0.12);
  --accent-ink: #032321;
  --blue: #4a86f0;
  --danger: #ff8a8a;
  --r-panel: 22px;
  --r-input: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font-family: "Plex Hebrew", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.arw::after { content: "\2190"; display: inline-block; transition: transform 200ms var(--ease-out); }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-200%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.12; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: clamp(1.04rem, 1.4vw, 1.2rem); max-width: 54ch; text-wrap: pretty; }
.accent { color: var(--accent); }
.center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #8ef0e9; }
  .btn:hover .arw::after { transform: translateX(-3px); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 12px; inset-inline: 0; z-index: 50;
  width: min(100% - 24px, 1240px); margin-inline: auto;
  height: var(--nav-h); padding-inline: 14px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.nav.is-solid {
  background: #070b12; border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem; direction: ltr; }
.brand img { width: 34px; height: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; transition: color 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); } }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; transition: opacity 250ms ease, transform 160ms var(--ease-out), background-color 200ms ease; }

/* ---------- 1 · scene ---------- */
.scene { position: relative; height: 250svh; }
.scene-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.scene-pin::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 55% at 32% 50%, rgba(74, 134, 240, 0.12), transparent 70%);
  opacity: var(--halo, 1);
}
.scene-grid {
  height: 100%; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 24px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.scene-copy { grid-column: 1; grid-row: 1; display: grid; }
.maze-stage { grid-column: 2; grid-row: 1; position: relative; width: 100%; max-width: min(600px, 78svh); justify-self: center; aspect-ratio: 460 / 446; }
.copy-a, .copy-c { grid-area: 1 / 1; }
.copy-b .big { margin-bottom: 14px; }
.copy-c { opacity: 0; transform: translateY(24px); pointer-events: none; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 26px; }
.copy-a .lede { margin-bottom: 36px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.copy-c .big { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.12; margin-bottom: 22px; text-wrap: balance; }

.maze-zoom { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.maze-svg { width: 100%; height: 100%; overflow: visible; }
.maze-walls { stroke: url(#mazeGrad); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.maze-frame { fill: none; stroke: url(#mazeGrad); stroke-width: 1.2; opacity: 0.28; }
.maze-path { fill: none; stroke: #c9fbf7; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(111, 230, 222, 0.9)); }
.maze-pulse { fill: none; stroke: #ffffff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.maze-core, .maze-ring, .maze-glow { transform-box: fill-box; transform-origin: center; }
.maze-core { fill: #f2fffe; filter: drop-shadow(0 0 6px rgba(111, 230, 222, 0.95)); }
.maze-rays line { stroke: #c9fbf7; stroke-width: 2.4; stroke-linecap: round; }
.maze-rays { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 600ms ease 300ms; }
.arrived .maze-rays { opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) { .arrived .maze-rays { animation: rays 3.2s ease-in-out infinite; } }
@keyframes rays { 50% { transform: scale(1.18) rotate(22.5deg); opacity: 0.45; } }
.goal-tag {
  position: absolute; z-index: 1; transform: translate(-50%, calc(-100% - 42px)); white-space: nowrap;
  padding: 5px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: clamp(0.8rem, 1.3vw, 0.95rem); font-weight: 700; opacity: 0; transition: opacity 500ms ease 450ms;
}
.arrived .goal-tag { opacity: 1; }
.maze-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.dead-ends circle { fill: var(--text); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pains { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.pains li {
  position: absolute; top: 0; left: 0; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; font-size: clamp(0.8rem, 1.3vw, 0.95rem); font-weight: 500;
  background: rgba(7, 11, 18, 0.86); border: 1px solid var(--line-strong); color: var(--text);
  opacity: 0; transform: translate(var(--x), var(--y)) translateY(8px);
}
.maze-regen {
  position: absolute; bottom: 4%; inset-inline-start: 2%; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); background: rgba(10, 16, 26, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out), opacity 200ms ease;
}
.maze-regen .icon { transition: transform 500ms var(--ease-out); }
.maze-regen:active { transform: scale(0.94); }
.maze-regen.spin .icon { transform: rotate(-180deg); }
@media (hover: hover) and (pointer: fine) { .maze-regen:hover { color: var(--accent); border-color: rgba(111, 230, 222, 0.4); } }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid var(--line-strong); border-radius: 999px; }
.scroll-cue i { position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i { animation: cue 1.8s var(--ease-out) infinite; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

.js .rise { opacity: 0; transform: translateY(14px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 100ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding-block: clamp(72px, 8vw, 112px); }
.kicker { display: inline-block; margin-bottom: 18px; color: var(--accent); font-size: 0.98rem; font-weight: 500; }
.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 64px); }
.head .lede { margin-top: 20px; }
.js .panel[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .panel[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 2 · builder ---------- */
.route-sec { padding-top: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, transparent, rgba(11, 17, 28, 0.85) 14%, rgba(11, 17, 28, 0.85) 86%, transparent); }
.builder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.quiz { display: grid; gap: 14px; }
.q { margin: 0; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--bg-raise); min-width: 0; transition: border-color 300ms ease, opacity 300ms ease; }
.q.is-locked { opacity: 0.42; }
.q.is-locked .opts { pointer-events: none; }
.q.is-current { border-color: rgba(111, 230, 222, 0.38); }
.q legend { float: right; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 1.12rem; font-weight: 600; margin-bottom: 16px; padding: 0; }
.q-n { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.88rem; border: 1px solid rgba(111, 230, 222, 0.45); color: var(--accent); font-variant-numeric: tabular-nums; transition: background-color 250ms ease, color 250ms ease; }
.q.is-done .q-n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 46px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.97rem; line-height: 1.3; cursor: pointer; user-select: none;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.opt span:active { transform: scale(0.97); }
.opt input:checked + span { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .opt input:not(:checked) + span:hover { color: var(--text); border-color: rgba(111, 230, 222, 0.45); } }

.board {
  scroll-margin-top: calc(var(--nav-h) + 24px);
  position: sticky; top: calc(var(--nav-h) + 28px);
  border-radius: calc(var(--r-panel) + 4px); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: clamp(22px, 3vw, 36px); min-height: 520px; display: flex; flex-direction: column;
}
.board-top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.line-badge { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem; direction: ltr; }
.line-badge.sm { width: 26px; height: 26px; font-size: 0.8rem; }
.board-title { font-weight: 600; font-size: 1.1rem; }
.board-dep { margin-inline-start: auto; color: var(--accent); font-size: 0.95rem; font-weight: 500; }
.board-empty { margin: auto 0; color: var(--faint); padding: 26px 0 0; }
.ghost { list-style: none; margin: 26px 0 0; padding: 0; position: relative; display: grid; gap: 26px; }
.ghost::before { content: ""; position: absolute; inset-inline-start: 17px; z-index: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.ghost li { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr; column-gap: 18px; align-items: center; }
.ghost li { color: var(--faint); font-size: 0.95rem; }
.ghost li::before { content: ""; width: 38px; height: 38px; border-radius: 50%; border: 3px dashed var(--line-strong); background: var(--surface-solid); box-sizing: border-box; }
.board.has-route .ghost { display: none; }
.board.has-route .board-empty { display: none; }

.line { position: relative; list-style: none; margin: 26px 0 0; padding: 0; display: none; }
.board.has-route .line { display: block; }
.line-rail { position: absolute; top: 18px; bottom: 18px; inset-inline-start: 17px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.line-rail i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), var(--blue)); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform 900ms var(--ease-io); }
.stn { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 18px; padding-bottom: 22px; }
.stn:last-child { padding-bottom: 0; }
.stn .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-solid); border: 3px solid var(--line-strong); transition: border-color 400ms ease, background-color 400ms ease; }
.stn .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); transition: background-color 400ms ease; }
.stn.lit .dot { border-color: var(--accent); }
.stn.lit .dot::after { background: var(--accent); }
.stn.here .dot { border-color: var(--text); border-style: dashed; }
.stn.here .dot::after { background: var(--text); }
.stn.end .dot { width: 38px; height: 38px; background: var(--accent); border-color: var(--accent); }
.stn.end .dot::after { background: var(--accent-ink); }
.stn b { display: block; font-size: 1.08rem; font-weight: 600; padding-top: 6px; line-height: 1.35; }
.stn span.sub { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.stn .tag { display: inline-block; font-size: 0.8rem; color: var(--faint); margin-bottom: 2px; }
.stn.here b { color: var(--text); }
.stn.end b { color: var(--accent); }
.js .stn { opacity: 0; transform: translateX(-10px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); transition-delay: calc(var(--i) * 130ms); }
.js .stn.in { opacity: 1; transform: none; }
.board-foot { display: none; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); gap: 12px 20px; align-items: center; flex-wrap: wrap; }
.board.has-route .board-foot { display: flex; }
.board-foot small { color: var(--faint); font-size: 0.88rem; }

.mini-line { display: none; }
@media (max-width: 900px) {
  .mini-line {
    display: flex; align-items: center; gap: 12px; position: fixed; z-index: 45; top: calc(var(--nav-h) + 14px); left: 50%;
    width: calc(100% - 16px); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: #070b12; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    font-size: 0.9rem; font-weight: 500; white-space: nowrap;
    transform: translate(-50%, -12px); opacity: 0; pointer-events: none; transition: transform 300ms var(--ease-out), opacity 250ms ease;
  }
  .mini-line.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
  .mini-line .mini-dots { margin-inline-start: auto; }
  .q { scroll-margin-top: calc(var(--nav-h) + 72px); }
}
.mini-dots { position: relative; display: flex; gap: 22px; }
.mini-dots::before { content: ""; position: absolute; inset-inline: 4px; top: 50%; height: 2px; margin-top: -1px; background: var(--line-strong); }
.mini-dots i { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: background-color 250ms ease, border-color 250ms ease; }
.mini-dots i.on { background: var(--accent); border-color: var(--accent); }

/* ---------- 3 · panels ---------- */
.panels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-panel);
  border: 1px solid var(--line); background: var(--bg-raise);
  display: flex; flex-direction: column; gap: 26px; min-height: 340px;
}
.panel h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.2; margin-bottom: 10px; }
.panel p { color: var(--muted); max-width: 46ch; }
.p-flow { grid-column: span 7; }
.p-plan { grid-column: span 5; }
.p-bot { grid-column: span 5; }
.p-site { grid-column: span 7; }

.flow { list-style: none; margin: auto 0 0; padding: 0; position: relative; display: grid; gap: 10px; }
.flow::before { content: ""; position: absolute; inset-inline-start: 15px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.flow li { position: relative; display: grid; gap: 2px; padding: 12px 16px 12px 16px; padding-inline-start: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(4, 8, 14, 0.5); transition: border-color 400ms ease, background-color 400ms ease; }
.flow li::before { content: ""; position: absolute; inset-inline-start: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg-raise); border: 2px solid var(--line-strong); transition: background-color 300ms ease, border-color 300ms ease; }
.flow li b { font-weight: 600; font-size: 1rem; }
.flow li span { color: var(--faint); font-size: 0.9rem; }
.flow li.on { border-color: rgba(111, 230, 222, 0.35); background: rgba(111, 230, 222, 0.05); }
.flow li.on::before { background: var(--accent); border-color: var(--accent); }

.plan { margin-top: auto; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; height: 22px; }
.months span { height: 100%; border-radius: 4px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); transform-origin: bottom; }
.months span.on { background: linear-gradient(180deg, rgba(111, 230, 222, 0.6), rgba(74, 134, 240, 0.38)); border-color: transparent; }
.js .p-plan.is-in .months span { animation: grow 700ms var(--ease-out) both; animation-delay: calc(var(--t) * 45ms + 250ms); }
@keyframes grow { from { transform: scaleX(0.2); opacity: 0; } }
.months-key { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; margin-top: 8px; color: var(--faint); font-size: 0.82rem; text-align: center; font-variant-numeric: tabular-nums; }
.months-key span:nth-child(1) { grid-column: 3; }
.months-key span:nth-child(2) { grid-column: 6; }
.months-key span:nth-child(3) { grid-column: 12; }
.plan-legend { display: flex; gap: 18px; margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.plan-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; border: 1px solid var(--line-strong); }
.plan-legend i.on { border: 0; background: linear-gradient(180deg, rgba(111, 230, 222, 0.85), rgba(74, 134, 240, 0.6)); }

.chat { margin-top: auto; display: flex; flex-direction: column; gap: 8px; min-height: 200px; justify-content: flex-end; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 0.95rem; line-height: 1.4; color: var(--text) !important; }
.msg.in { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border-end-start-radius: 6px; }
.msg.out { align-self: flex-end; background: rgba(111, 230, 222, 0.14); border: 1px solid rgba(111, 230, 222, 0.22); border-end-end-radius: 6px; }
.typing { align-self: flex-end; display: inline-flex; visibility: hidden; order: 9; gap: 4px; padding: 13px 14px; border-radius: 18px; background: rgba(111, 230, 222, 0.08); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.4; }
.typing.on { visibility: visible; }
@media (prefers-reduced-motion: no-preference) { .typing i { animation: blink 1.1s infinite; } .typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; } }
@keyframes blink { 50% { opacity: 1; } }
.js .chat .msg { opacity: 0; transform: translateY(8px); transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.js .chat .msg.show { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

.minimap { position: relative; margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(4, 8, 14, 0.5); }
.mm-page { position: relative; display: grid; gap: 6px; }
.mm-page { gap: 4px; }
.mm-page::before { content: ""; position: absolute; inset-inline-start: 6px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--blue)); opacity: 0.5; }
.mm-page div { position: relative; display: flex; align-items: center; gap: 14px; height: 24px; color: var(--faint); font-size: 0.86rem; transition: color 250ms ease; }
.mm-page div i { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--bg-raise); border: 2px solid var(--line-strong); transition: border-color 250ms ease, background-color 250ms ease; }
.mm-page div.cur { color: var(--text); font-weight: 600; }
.mm-page div.cur i { background: var(--accent); border-color: var(--accent); }
.mm-you { display: none; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.76rem; font-weight: 600; }
.mm-page div.cur .mm-you { display: inline-block; }

.tabs { display: none; }
@media (max-width: 900px) {
  .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .tabs button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.95rem; transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
  .tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
  .panel:not(.is-active) { display: none; }
}

/* צילום מהעולם האמיתי בראש כל כרטיס: איפה זה עובד (Higgsfield, 11/2026) */
.p-shot { position: relative; margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) -6px; height: clamp(180px, 15vw, 220px); overflow: hidden; background: var(--surface-solid); }
.p-flow .p-shot > * { object-position: 50% 82%; } .p-bot .p-shot > * { object-position: 50% 72%; } .p-site .p-shot > * { object-position: 50% 62%; } .p-plan .p-shot > * { object-position: 50% 55%; }
.p-shot img, .p-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) brightness(0.86); }
.p-shot video { opacity: 0; transition: opacity 1s ease; }
.p-shot video.on { opacity: 1; }
.p-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 28, 0) 30%, var(--bg-raise) 100%); }
/* צילומי היום כהים יותר, כדי שהציאן יישאר האור היחיד בסקשן */
.p-plan .p-shot > *, .p-site .p-shot > *, .p-flow .p-shot > * { filter: saturate(0.68) brightness(0.7); }

/* ---------- 4 · approach ---------- */
.approach { text-align: center; }
.approach .head { margin-inline: auto; }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.2em 0.45em; margin-block: 12px 40px; font-size: clamp(2rem, 3.9vw, 3.9rem); font-weight: 600; line-height: 1.15; white-space: nowrap; }
.chain .w { position: relative; }
.chain .note { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.chain .first, .chain .first .note { color: var(--accent); }
.chain .sep { color: var(--faint); font-weight: 400; font-size: 0.55em; }
.approach .lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 60ch; color: #b7c5d3; }
.principles { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; text-align: start; }
.principles li { padding-block: 20px; border-top: 1px solid var(--line); font-size: clamp(1.35rem, 2.8vw, 2.3rem); font-weight: 500; line-height: 1.3; text-wrap: balance; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chain .w { animation: lightUp linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
    @keyframes lightUp { from { opacity: 0.16; } to { opacity: 1; } }
  }
}

/* ---------- 5 · process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.process-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.process-head .lede { margin-top: 18px; }
.stops { position: relative; list-style: none; margin: 0; padding: 0; }
.stops-rail { position: absolute; top: 12px; bottom: 12px; inset-inline-start: 21px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stops-rail i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), var(--blue)); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.stop { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding-bottom: clamp(40px, 6vw, 64px); }
.stop:last-child { padding-bottom: 0; }
.node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-solid); border: 1px solid var(--line-strong); color: var(--faint); font-size: 0.95rem; font-variant-numeric: tabular-nums; transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease, outline-color 300ms ease; outline: 6px solid transparent; }
.stop.on .node { border-color: rgba(111, 230, 222, 0.6); color: var(--accent); }
.stop:last-child.on .node { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); outline-color: var(--accent-soft); }
.no-js .node, html:not(.js) .node { border-color: rgba(111, 230, 222, 0.45); color: var(--accent); }
.stop h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 8px; line-height: 1.25; padding-top: 6px; }
.stop p { color: var(--muted); max-width: 46ch; }

/* ---------- 6 · team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--bg-raise); display: flex; flex-direction: column; }
.person .role { color: var(--accent); font-size: 0.95rem; }
.person h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 10px; line-height: 1.15; }
.person p { color: var(--muted); margin-top: 10px; }
.who { margin-top: 28px; color: var(--muted); max-width: 70ch; }
.who b { color: var(--text); font-weight: 500; }

/* ---------- 7 · faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); transition: transform 250ms var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 26px; max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] p { animation: pop 360ms var(--ease-out); } }

/* ---------- 8 · contact + ticket ---------- */
.contact { padding-top: 0; }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px);
  padding: clamp(24px, 5vw, 64px); border-radius: calc(var(--r-panel) + 6px);
  border: 1px solid rgba(111, 230, 222, 0.22);
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(111, 230, 222, 0.08), transparent 60%),
    radial-gradient(60% 80% at 0% 0%, rgba(74, 134, 240, 0.14), transparent 60%),
    var(--bg-raise);
}
.contact-panel h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.contact-copy .lede { margin-top: 18px; }

.ticket {
  position: relative; margin-top: 36px; max-width: 440px; padding: 20px 22px 18px;
  border-radius: 18px; background: linear-gradient(180deg, rgba(111, 230, 222, 0.08), rgba(111, 230, 222, 0.03)), #0c1420; border: 1px solid rgba(111, 230, 222, 0.28);
  -webkit-mask: radial-gradient(circle 11px at 0 64px, transparent 98%, #000) , radial-gradient(circle 11px at 100% 64px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask: radial-gradient(circle 11px at 0 64px, transparent 98%, #000), radial-gradient(circle 11px at 100% 64px, transparent 98%, #000);
}
.t-head { display: flex; align-items: center; gap: 10px; font-weight: 600; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line-strong); }
.t-no { margin-inline-start: auto; color: var(--faint); font-weight: 400; font-size: 0.85rem; direction: ltr; font-variant-numeric: tabular-nums; }
.t-line { position: relative; display: flex; justify-content: space-between; margin: 16px 2px 4px; }
.t-line::before { content: ""; position: absolute; inset-inline: 6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(270deg, var(--accent), var(--blue)); }
.t-line i { position: relative; width: 13px; height: 13px; border-radius: 50%; background: #0c1420; border: 2.5px solid var(--accent); }
.t-line i.here { border-style: dashed; border-color: var(--text); }
.t-line i.end { background: var(--accent); }
.ticket:not(.has-route) .t-line { display: none; }
.t-body { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.97rem; }
.t-body dt { color: var(--faint); }
.t-body dd { margin: 0; font-weight: 500; }
.t-body dd.to { color: var(--accent); }
.t-empty { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.t-empty a { color: var(--accent); border-bottom: 1px solid rgba(111, 230, 222, 0.4); }
.ticket.has-route .t-empty { display: none; }
.ticket:not(.has-route) .t-body, .ticket:not(.has-route) .t-edit { display: none; }
.t-edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 0.88rem; padding: 6px 0; }
.t-edit .icon { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .t-edit:hover { color: var(--accent); } }
.stamp {
  position: absolute; inset-inline-end: 18px; bottom: 16px; padding: 6px 14px; border-radius: 10px;
  border: 2.5px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 1.15rem;
  transform: rotate(-9deg) scale(1.6); opacity: 0; pointer-events: none;
}
.contact-panel.is-sent .t-edit { display: none; }
.contact-panel.is-sent .ticket { padding-bottom: 70px; }
.contact-panel.is-sent .stamp { opacity: 1; transform: rotate(-9deg) scale(1); transition: opacity 200ms ease, transform 420ms cubic-bezier(0.34, 1.5, 0.64, 1); transition-delay: 250ms; }

form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.95rem; color: #c3d0dc; }
.field label .opt { color: var(--faint); }
.control { position: relative; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-input);
  border: 1px solid var(--line-strong); background: rgba(4, 8, 14, 0.55); color: var(--text); outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease; font-size: 1rem;
}
.field input[type="tel"] { direction: rtl; text-align: right; }
.field textarea { min-height: 96px; resize: none; }
.field input::placeholder { color: #6f8093; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input { border-color: var(--danger); }
.field .ok { position: absolute; inset-inline-end: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--accent); opacity: 0; transform: scale(0.8); transition: opacity 200ms ease, transform 200ms var(--ease-out); pointer-events: none; }
.field.valid .ok { opacity: 1; transform: none; }
.field .err { color: var(--danger); font-size: 0.9rem; }
.field .err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; color: var(--muted) !important; font-size: 0.93rem !important; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--accent); background: rgba(4, 8, 14, 0.55); display: grid; place-items: center; cursor: pointer; transition: background-color 150ms ease; }
.check input::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 160ms var(--ease-out); }
.check input:checked { background: var(--accent); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.field.consent.invalid .check input { border-color: var(--danger); }
.nowrap { white-space: nowrap; }
.check a { color: var(--accent); border-bottom: 1px solid rgba(111, 230, 222, 0.4); }
.field.consent.invalid .check { color: var(--text) !important; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit { justify-self: start; min-width: 160px; }
.submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form-fail { color: var(--text); font-size: 0.95rem; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 138, 138, 0.45); background: rgba(255, 138, 138, 0.06); }
.form-fail a { color: var(--accent); border-bottom: 1px solid rgba(111, 230, 222, 0.4); }
.sent { display: none; align-content: center; gap: 12px; outline: none; }
.sent .icon { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.sent h3 { font-size: 1.8rem; }
.sent p { color: var(--muted); max-width: 40ch; }
.contact-panel.is-sent form { display: none; }
.contact-panel.is-sent .sent { display: grid; animation: pop 500ms var(--ease-out); }

/* ---------- footer ---------- */
footer { padding-block: 56px 40px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { display: inline-block; padding-block: 10px; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--text); } }
.foot small { color: var(--faint); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .nav-links { display: none; } }
@media (max-width: 900px) {
  .scene { height: 230svh; }
  .scene-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: end; gap: 6px; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 64px; }
  .maze-stage { grid-column: 1; grid-row: 1; align-self: center; max-width: min(100%, 46svh); }
  .scene-copy { grid-row: 2; }
  .scene-pin::before { background: radial-gradient(70% 45% at 50% 32%, rgba(74, 134, 240, 0.14), transparent 70%); }
  h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); margin-bottom: 14px; }
  .copy-a .lede { margin-bottom: 22px; font-size: 1rem; }
  .copy-c .big { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 14px; }
  .copy-c .lede { font-size: 1rem; }
  .contact-panel h2 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .builder { grid-template-columns: 1fr; }
  .board { position: relative; top: 0; min-height: 0; }
  .board-empty { padding: 18px 0 6px; }
  .ghost { display: none; }
  .section { padding-block: 56px; }
  .panels { grid-template-columns: 1fr; }
  .p-flow, .p-plan, .p-bot, .p-site { grid-column: auto; }
  .panel { min-height: 0; }
  .p-shot { height: 128px; }
  .process-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { top: 8px; width: calc(100% - 16px); }
  .nav .btn { min-height: 42px; padding: 0 16px; font-size: 0.92rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .q { padding: 18px 16px 16px; }
  .opt span { min-height: 44px; padding: 8px 14px; font-size: 0.94rem; }
  .chain { flex-direction: column; align-items: center; gap: 0.1em; margin-bottom: 64px; font-size: 2.5rem; }
  .chain .sep::after { content: "\2193"; }
  .chain .note { position: static; display: block; transform: none; margin-top: 2px; text-align: center; }
  .minimap { padding: 12px 14px; }
  .submit { justify-self: stretch; }
  .board-foot .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene { height: auto; }
  .scene-pin { position: relative; height: auto; min-height: 100svh; }
  .copy-c { opacity: 1; transform: none; grid-area: auto; margin-top: 48px; }
  .copy-b { display: none; }
  .scene-copy { grid-template-rows: auto auto; }
  .js .rise, .js [data-reveal], .js .stn { opacity: 1; transform: none; animation: none; transition: none; }
  .js .p-plan.is-in .months span { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
