/* ביוס: דף שיווקי סטטי. CSS ידני, בלי build ובלי JavaScript.

   למה אין JS: ה-CSP של האתר (default-src 'none') חוסם סקריפטים. כל התנועה כאן היא CSS:
   keyframes בטעינה, ו-scroll-driven animations (animation-timeline) בתוך @supports.
   דפדפן שלא תומך מציג את אותו תוכן, סטטי ומלא. אין style="" ואין <style> בדף (style-src 'self').

   מערכת עיצוב: צבע מותג יחיד (--brand), פונט יחיד (Heebo), ושני רדיוסים מתועדים:
   כפתורים ותגיות הם "גלולה" (999px), משטחים גדולים (--r-tile). בלי קונטרסט נמוך: כל טקסט עובר AA.
   הגיאומטריה של הקישוט (מסלולים, תנועה אופקית) פיזית בכוונה: הדף RTL קבוע. */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-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: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-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;
}

/* ---------- טוקנים ---------- */

:root {
  color-scheme: light dark;

  --bg: #fbfbfd;
  --surface: #f1f2f6;
  --ink: #14161a;
  --muted: #565d6b;
  --line: #dde0e7;
  --line-strong: #c3c8d6;
  --brand: #1736c4;
  --on-brand: #ffffff;
  --brand-soft: #e9edfc;
  --tile-dark: #14161a;
  --on-tile-dark: #f3f4f8;
  --glass: rgb(251 251 253 / 0.74);

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --r-tile: clamp(22px, 2.6vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: #141821;
    --ink: #eef0f5;
    --muted: #a3abbb;
    --line: #272d3b;
    --line-strong: #3a4359;
    --brand: #8da2ff;
    --on-brand: #0b0d12;
    --brand-soft: #171d36;
    --tile-dark: #1d2332;
    --on-tile-dark: #eef0f5;
    --glass: rgb(11 13 18 / 0.72);
  }
}

/* ---------- בסיס ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-block-start: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

main { flex: 1 0 auto; }

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

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

.skip {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-220%);
}
.skip:focus { transform: none; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 11vw, 144px) 0; }

.section-title {
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.08;
  margin-block-end: clamp(32px, 5vw, 60px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 1.9em;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-inverse { background: var(--on-brand); color: var(--brand); }
.btn-sm { min-height: 44px; padding-inline: 1.4em; font-size: 0.9375rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--line);
  text-underline-offset: 7px;
}
.text-link:hover { text-decoration-color: var(--brand); }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
  .btn:active { transform: scale(0.97); transition-duration: 0.1s; }
  .text-link { transition: text-decoration-color 0.25s ease; }
}

/* ---------- כותרת עליונה (זכוכית) ---------- */

/* z-index: הכותרת העליונה היא השכבה היחידה בדף (20). skip-link מעליה (30). */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-block-end: 1px solid var(--line);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
.brand img { display: block; flex: none; border-radius: 9px; }
.brand-name { font-size: 1.375rem; font-weight: 800; line-height: 1; }

.nav-links { display: none; }

@media (min-width: 820px) {
  .nav-links { display: flex; gap: clamp(20px, 3vw, 36px); }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
  }
  .nav-links a:hover { color: var(--ink); }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) 0;
  display: grid;
  gap: clamp(36px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    min-height: min(calc(100dvh - 64px), 680px);
    padding-block: 24px 40px;
  }
}

/* שלוש שורות בכוונה: שורת מותג קטנה ושתי שורות גדולות. nowrap מונע שבירה לא מתוכננת;
   הגודל נבחר כך ש"מערכת שעובדת." (הרחבה בשורות, ~7.3em) נכנסת גם ב-360px. */
.hero-title {
  font-size: clamp(2.35rem, 11.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
}
.hero-title .line > span { white-space: nowrap; }
@media (min-width: 960px) {
  .hero-title { font-size: clamp(3.6rem, 7.2vw, 5.2rem); }
}

/* כל שורה חתוכה ב-overflow כדי שאפשר "להעלות" אותה; הריפוד מונע חיתוך של ק ך ן ף ץ */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-block: 0.06em 0.14em;
  margin-block: -0.06em -0.14em;
}
.hero-title .line > span { display: block; }
.hero-title .brand-line {
  font-size: 0.46em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--brand);
  margin-block-end: 0.5em;
}

.hero-sub {
  margin-block-start: clamp(20px, 3vw, 32px);
  max-width: 26em;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.hero-actions {
  margin-block-start: clamp(24px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 28px);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { animation: rise 1s var(--ease) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 0.08s; }
  .hero-title .line:nth-child(3) > span { animation-delay: 0.16s; }
  .hero-sub { animation: fade-up 0.9s var(--ease) 0.3s both; }
  .hero-actions { animation: fade-up 0.9s var(--ease) 0.42s both; }
  .orbit { animation: orbit-in 1.5s var(--ease) 0.1s both; }
}

@keyframes rise { from { transform: translateY(112%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes orbit-in { from { opacity: 0; transform: scale(0.88); } }

/* ---------- מפת מסלולים (קישוט ה-hero) ---------- */

/* overflow: clip חותך את גלישת הקופסאות המסובבות (ריבוע מסובב גדול עד פי 1.41) כדי שלא ייווצר
   גלילה אופקית. הריפוד בגודל ה-gutter משאיר מקום לתגיות שחורגות מעט מהמסלול החיצוני. */
.orbit-wrap {
  isolation: isolate;
  overflow: clip;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.orbit {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
}

/* הילה עדינה בצבע המותג, בלי "זוהר ניאון" */
.orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 13%, transparent), transparent);
}

.ring {
  position: absolute;
  inset: var(--inset);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
/* שני המסלולים עם התגיות מסתובבים יחד (אותו קצב ואותו כיוון), כך שהתגיות שומרות מרחק קבוע
   ולא מתנגשות לעולם. הזוויות שלהן שונות זו מזו ב-60° לפחות. המסלול הפנימי (נקודות בלבד) הפוך. */
.ring-3 { --inset: 8%; --dur: 80s; }
.ring-2 { --inset: 20%; --dur: 80s; }
.ring-1 { --inset: 31%; --dur: 48s; --dir: reverse; }

/* זרוע: מסובבת בזווית קבועה; ה"חריץ" יושב על קו המסלול בראש הזרוע */
.arm { position: absolute; inset: 0; rotate: var(--a); }
.slot { position: absolute; inset-block-start: 0; left: 50%; translate: -50% -50%; }
.a1 { --a: 20deg; }  .a2 { --a: 140deg; } .a3 { --a: 260deg; } .a9 { --a: 80deg; }
.a4 { --a: 80deg; }  .a5 { --a: 200deg; } .a6 { --a: 320deg; }
.a7 { --a: 30deg; }  .a8 { --a: 210deg; }

.tag {
  display: block;
  padding: 0.38em 0.95em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.8125rem;
  font-size: clamp(0.75rem, 2.7cqi, 0.9rem);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  rotate: calc(var(--a) * -1);
}

.pip {
  display: block;
  width: clamp(8px, 2.2cqi, 12px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
  rotate: calc(var(--a) * -1);
}

.core {
  position: absolute;
  inset: 40%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: clamp(1.7rem, 10cqi, 3.6rem);
  font-weight: 800;
  line-height: 1;
}
.core span { display: block; padding-block-end: 0.06em; }

@media (prefers-reduced-motion: no-preference) {
  .ring { animation: spin var(--dur) linear infinite var(--dir, normal); }
  /* הקשר נגדי: התגיות מסתובבות הפוך באותו קצב, כך שהטקסט נשאר קריא ואופקי */
  .tag, .pip {
    animation: unspin var(--dur) linear infinite var(--dir, normal);
  }

  .core::before, .core::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--brand);
    animation: pulse 3.4s ease-out infinite;
  }
  .core::after { animation-delay: 1.7s; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes unspin { to { transform: rotate(-360deg); } }
@keyframes pulse {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(2.3); opacity: 0; }
}

/* ---------- מה אנחנו מפתחים (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

.tile {
  --tile-bg: var(--surface);
  --tile-fg: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(290px, 74vw, 320px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-tile);
  background: var(--tile-bg);
  color: var(--tile-fg);
}

.tile h3 {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.tile p {
  margin-block-start: 0.55em;
  max-width: 30em;
  color: color-mix(in srgb, var(--tile-fg) 76%, transparent);
}

.tile-a { --tile-bg: var(--brand); --tile-fg: var(--on-brand); min-height: clamp(340px, 78vw, 440px); }
.tile-a h3 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 10em; }
.tile-d { --tile-bg: var(--tile-dark); --tile-fg: var(--on-tile-dark); }
.tile-e { --tile-bg: var(--brand-soft); }

@media (min-width: 680px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-a { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile-a { grid-column: span 7; grid-row: span 2; min-height: 0; }
  .tile-b, .tile-c, .tile-d { grid-column: span 5; }
  .tile-e { grid-column: span 7; }
}

/* עיטורי הכרטיסים: גיאומטריה מופשטת ב-CSS. בלי צילומי מסך מדומים ובלי איקונים מצוירים */
.art { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* A: רשת נקודות עם "סריקה" */
.tile-a .art {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--tile-fg) 34%, transparent) 1.6px, transparent 1.8px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
}
.tile-a .sweep {
  position: absolute;
  inset-block: 0;
  inset-inline-start: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tile-fg) 22%, transparent), transparent);
}

/* B: אדוות של "נתון חי" */
.tile-b .art i {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-end: 30px;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0.55;
}
.tile-b .art i:nth-child(1) { width: 14px; background: var(--brand); opacity: 1; inset-block-start: 65px; inset-inline-end: 69px; }

/* C: פסי "קו ייצור" שזורמים */
.tile-c .art i {
  position: absolute;
  inset-inline-end: 0;
  height: 2px;
  inset-block-start: calc(26px + var(--n, 0) * 18px);
  background: repeating-linear-gradient(90deg, var(--brand) 0 16px, transparent 16px 40px);
  opacity: 0.55;
  width: calc(100% + 40px);
}
.tile-c .art i:nth-child(1) { --n: 0; }
.tile-c .art i:nth-child(2) { --n: 1; opacity: 0.35; }
.tile-c .art i:nth-child(3) { --n: 2; opacity: 0.2; }

/* D: שתי מערכות מחוברות */
.tile-d .node {
  position: absolute;
  inset-block-start: 30px;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--tile-fg) 80%, transparent);
}
.tile-d .n-1 { inset-inline-end: 34px; }
.tile-d .n-2 { inset-inline-end: 170px; background: color-mix(in srgb, var(--tile-fg) 90%, transparent); }
.tile-d .link {
  position: absolute;
  inset-block-start: 52px;
  inset-inline-end: 80px;
  width: 90px;
  height: 2px;
  background: color-mix(in srgb, var(--tile-fg) 45%, transparent);
}
.tile-d .link::after {
  content: "";
  position: absolute;
  inset-block-start: -4px;
  left: 0;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tile-fg);
}

/* E: שכבות (אפליקציה בנויה בשכבות) */
.tile-e .art i {
  position: absolute;
  inset-inline-end: calc(34px + var(--n, 0) * 18px);
  inset-block-start: calc(26px + var(--n, 0) * 14px);
  width: 120px;
  height: 78px;
  border-radius: 16px;
  border: 2px solid var(--brand);
  background: var(--tile-bg);
}
.tile-e .art i:nth-child(1) { --n: 2; opacity: 0.4; }
.tile-e .art i:nth-child(2) { --n: 1; opacity: 0.7; }
.tile-e .art i:nth-child(3) { --n: 0; }

@media (prefers-reduced-motion: no-preference) {
  .tile { transition: transform 0.6s var(--ease); }
  .tile:hover { transform: translateY(-4px); }

  .tile-a .sweep { animation: sweep 7s ease-in-out infinite; }
  .tile-b .art i:nth-child(n+2) { animation: ripple 4.2s ease-out infinite; }
  .tile-b .art i:nth-child(3) { animation-delay: 2.1s; }
  .tile-c .art i { animation: flow 2.4s linear infinite; }
  .tile-c .art i:nth-child(2) { animation-duration: 3.4s; }
  .tile-c .art i:nth-child(3) { animation-duration: 4.6s; }
  .tile-d .link::after { animation: travel 2.8s var(--ease) infinite; }
  .tile-e .art i { animation: float 6s ease-in-out infinite alternate; }
  .tile-e .art i:nth-child(2) { animation-delay: -2s; }
  .tile-e .art i:nth-child(1) { animation-delay: -4s; }
}

@keyframes sweep { to { transform: translateX(-350%); } }
@keyframes ripple {
  from { transform: scale(0.35); opacity: 0.7; }
  to { transform: scale(1.5); opacity: 0; }
}
@keyframes flow { to { transform: translateX(40px); } }
@keyframes travel { to { transform: translateX(80px); } }
@keyframes float { to { transform: translateY(-9px); } }

/* ---------- איך אנחנו עובדים ---------- */

.steps {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 40px);
}

/* מובייל: ציר אנכי */
.steps::before, .steps::after {
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 6px;
  width: 2px;
}
.steps::before { background: var(--line); }
.steps::after { background: var(--brand); transform-origin: top; }

.step { position: relative; padding-inline-start: 46px; }
.step::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.6em;
  width: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line);
}
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.25; }
.step p { margin-block-start: 0.4em; color: var(--muted); max-width: 18em; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
  .steps::before, .steps::after {
    inset-block: 6px auto;
    inset-inline: 0;
    width: auto;
    height: 2px;
  }
  .steps::after { transform-origin: right; }
  .step { padding-inline-start: 0; padding-block-start: 48px; }
  .step::before { inset-block-start: 0; }
}

/* ---------- למה ביוס ---------- */

.why-grid { display: grid; gap: clamp(24px, 4vw, 40px); }
.why .section-title { margin-block-end: 0; }

.statements { display: grid; gap: clamp(20px, 3.4vw, 44px); }
.statement {
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

@media (min-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .why .section-title { position: sticky; inset-block-start: 110px; }
}

/* ---------- יצירת קשר ---------- */

.contact {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(64px, 11vw, 144px) var(--gutter) clamp(48px, 7vw, 80px);
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  justify-items: start;
  padding: clamp(40px, 8vw, 104px) clamp(24px, 5vw, 88px);
  border-radius: var(--r-tile);
  background: var(--brand);
  color: var(--on-brand);
}

.contact-panel h2 {
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}
/* כל משפט בשורה משלו כשיש מקום; במובייל הם נשברים בטבעיות */
.contact-panel h2 span { display: block; }

.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 3vw, 36px); }

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-decoration-color: color-mix(in srgb, var(--on-brand) 50%, transparent);
}
.mail:hover { text-decoration-color: currentColor; }
.contact-panel :focus-visible { outline-color: var(--on-brand); }

/* עיטור: מסלולים, הד של ה-hero */
.contact-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-art i {
  position: absolute;
  inset-block-start: 50%;
  left: -6%;
  width: calc(var(--s) * 1%);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--on-brand) 24%, transparent);
}
.contact-art i:nth-child(1) { --s: 30; }
.contact-art i:nth-child(2) { --s: 48; }
.contact-art i:nth-child(3) { --s: 68; }

/* ---------- תחתית ---------- */

.site-footer {
  flex: none;
  max-width: var(--maxw);
  width: 100%;
  margin-inline: auto;
  padding: 8px var(--gutter) 40px;
  font-size: 0.9375rem;
  color: var(--muted);
}
/* בנייד השבירה נופלת על הנקודה האמצעית, ולא באמצע "בבעלות רונן משולם" */
.site-footer span { white-space: nowrap; }

/* ---------- תנועת גלילה (scroll-driven, CSS בלבד) ---------- */

/* ברירת מחדל: הכול גלוי. התנועה נוספת רק בדפדפן שתומך, ורק בלי prefers-reduced-motion */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal both var(--ease);
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    /* נקודת העצירה של הציר: נמתח עם הגלילה */
    .steps::after {
      animation: grow-y both linear;
      animation-timeline: view();
      animation-range: entry 30% cover 55%;
    }

    /* "הדלקה" של משפטים: צבע מעמעום לטקסט מלא (בלי opacity, כדי לשמור על קונטרסט) */
    .statement {
      color: var(--muted);
      animation: light-up both linear;
      animation-timeline: view();
      animation-range: entry 25% cover 42%;
    }

    /* פרלקסה קלה: מפת המסלולים נסחפת כלפי מעלה כשהיא יוצאת מהמסך */
    .orbit-wrap {
      animation: drift both linear;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }

  /* קו עדין מתחת לכותרת העליונה: מופיע רק אחרי שהתחילו לגלול */
  .site-header {
    border-block-end-color: transparent;
    animation: header-edge both linear;
    animation-timeline: scroll(root block);
    animation-range: 0 90px;
  }
}

@media (min-width: 900px) {
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .steps::after { animation-name: grow-x; }
    }
  }
}

@keyframes reveal { from { opacity: 0; translate: 0 38px; } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes light-up { to { color: var(--ink); } }
@keyframes drift { to { transform: translateY(-64px); } }
@keyframes header-edge { to { border-block-end-color: var(--line); } }
