/* Eddie public site. One stylesheet, no framework. Logical properties throughout, so the Hebrew
   pages mirror without a second set of rules. */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/rubik-latin-wght-normal.691cd1d9b4.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: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/rubik-latin-ext-wght-normal.09472f217a.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/rubik-hebrew-wght-normal.197b6dbe5c.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: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/rubik-cyrillic-wght-normal.bdb2b33ab9.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  color-scheme: light;
  --ink: #101525;          /* the logo's navy-black */
  --ink-2: #33405a;
  --muted: #5b6b82;
  --navy: #0a2647;         /* the app's primary */
  --blue: #2c74b3;
  --cyan: #66e0ea;         /* the mascot's outline */
  --cyan-soft: #e3f8fa;
  --yellow: #ffde59;       /* the "DI" in the wordmark */
  --bg: #ffffff;
  --pale: #f3f7fa;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --good: #059669;
  --danger: #c81e1e;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 37, .06), 0 2px 8px rgba(16, 21, 37, .05);
  --shadow: 0 2px 4px rgba(16, 21, 37, .04), 0 12px 32px rgba(16, 21, 37, .10);
  --shadow-lg: 0 4px 10px rgba(16, 21, 37, .05), 0 30px 70px rgba(16, 21, 37, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.defs { position: absolute; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .dir { transform: scaleX(-1); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { letter-spacing: 0; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.nw { white-space: nowrap; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 36em; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-block-end: 14px; }
:lang(he) .eyebrow { letter-spacing: .02em; font-size: .92rem; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; margin-block-start: 14px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-lg { padding: 15px 26px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(16, 21, 37, .22); }
.btn-primary:hover { background: #1b2542; box-shadow: 0 10px 26px rgba(16, 21, 37, .28); }
.btn-accent { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 222, 89, .45); }
.btn-accent:hover { background: #ffe57a; }
.btn-accent[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { border-color: rgba(16, 21, 37, .18); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(16, 21, 37, .05); border-color: rgba(16, 21, 37, .32); }
.btn .dir { transition: translate .2s var(--ease); }
.btn:hover .dir { translate: 3px 0; }
[dir="rtl"] .btn:hover .dir { translate: -3px 0; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16, 21, 37, .06); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; }
.logo-word { width: 82px; height: auto; direction: ltr; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav-links a:hover { background: var(--pale); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-signin { font-weight: 600; text-decoration: none; padding: 8px 6px; }
.nav-signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--pale); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; cursor: pointer; list-style: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--pale); }
.lang .chev { width: 1em; height: 1em; transition: rotate .2s; }
.lang[open] .chev { rotate: 180deg; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 5; }
.lang li a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; }
.lang li a:hover { background: var(--pale); }
.lang li a[aria-current] { font-weight: 600; background: var(--cyan-soft); }
.lang-off { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; color: #9aa5b8; cursor: default; }
.lang-off small { font-size: .72rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--pale); color: #8793a8; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(40px, 7vw, 92px) clamp(64px, 9vw, 120px); }
.hero-bg { position: absolute; inset: calc(var(--header-h) * -1) 0 0 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(48% 56% at 86% 22%, rgba(102, 224, 234, .30), transparent 70%),
    radial-gradient(40% 46% at 8% 96%, rgba(255, 222, 89, .30), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f6fafc 100%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(16, 21, 37, .13) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 78%); mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy > * + * { margin-block-start: 22px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink-2); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
.mark { background-image: linear-gradient(var(--yellow), var(--yellow)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% .34em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em; margin-inline: -.06em; }
[dir="rtl"] .mark { background-position: 100% 88%; }
.js .mark { background-size: 0 .34em; transition: background-size .9s var(--ease) .5s; }
.js .is-in .mark { background-size: 100% .34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.hero-signin { font-size: .95rem; color: var(--muted); }
.hero-signin a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

.hero-visual { position: relative; padding: 26px 12px 40px; }
.chart-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 18px 20px 16px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline-start: 56px; min-height: 34px; }
.chart-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.chart-title .icon { color: var(--blue); }
.chart-tag { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--pale); border-radius: 999px; padding: 4px 10px; }
.chart-stage { position: relative; margin-block: 12px 10px; padding: 10px 8px; border-radius: 16px; background: linear-gradient(180deg, #fbfdfe, #f5f9fb); border: 1px solid #edf2f6; overflow: hidden; }
.chart { width: 100%; height: auto; direction: ltr; overflow: visible; }
.tooth { --t-c: #059669; --t-bg: #f0fdf4; }
.tooth.m-attention { --t-c: #dc2626; --t-bg: #fef2f2; }
.tooth.m-watch { --t-c: #d97706; --t-bg: #fffbeb; }
.tooth.m-implant { --t-c: #2563eb; --t-bg: #eff6ff; }
.tooth.m-missing { --t-c: #cbd5e1; --t-bg: transparent; }
.tooth path { fill: var(--t-bg); stroke: var(--t-c); stroke-width: 1.35; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .5s, stroke .5s, stroke-width .15s; }
.tooth.m-missing path { stroke-dasharray: 3 3; }
.tooth-n { font-size: 11px; fill: #94a3b8; font-weight: 500; transition: fill .2s; }
.tooth-hit { fill: transparent; cursor: pointer; }
.tooth:hover path, .tooth.is-hot path { stroke-width: 2.4; }
.tooth:hover .tooth-n, .tooth.is-hot .tooth-n { fill: var(--ink); }
.chart-mid { stroke: #e2e8f0; stroke-width: 1; stroke-dasharray: 2 4; fill: none; }
.chart-scan { fill: rgba(102, 224, 234, .28); opacity: 0; pointer-events: none; }
/* Before the chart is "read", every tooth is uncharted grey; the reading sweeps left to right. */
.js .chart-card:not(.is-read) .tooth { --t-c: #cbd5e1; --t-bg: #f8fafc; }
.chart-card.is-read .tooth path { transition-delay: calc(var(--x, 0) * 1.5s + .15s); }
.chart-card.is-read .tooth:hover path { transition-delay: 0s; }
.chart-card.is-read .chart-scan { animation: scan 1.9s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes scan { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(720px); opacity: 0; } }
.chart-tip { position: absolute; z-index: 3; transform: translate(-50%, -100%); padding: 6px 10px; background: var(--ink); color: #fff; border-radius: 9px; font-size: .82rem; font-weight: 500; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.chart-legend li { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chart-legend .m-attention { --c: #dc2626; } .chart-legend .m-watch { --c: #d97706; } .chart-legend .m-good { --c: #059669; }
.chart-legend .m-implant { --c: #2563eb; } .chart-legend .m-missing i { background: none; border: 1.5px dashed #94a3b8; }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip .icon { color: var(--blue); }
.chip-a { top: 2px; inset-inline-end: -6px; animation-delay: -1s; }
.chip-b { bottom: 6px; inset-inline-start: -14px; animation-delay: -3s; }
.chip-c { bottom: 14px; inset-inline-end: -4px; background: var(--ink); color: #fff; border-color: var(--ink); animation-delay: -4.5s; }
.chip .tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.chip .tick .icon { width: 13px; height: 13px; color: inherit; stroke-width: 3; }
.js .chip { opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .is-in .chip { opacity: 1; transform: none; }
.js .is-in .chip-a { transition-delay: .5s; } .js .is-in .chip-b { transition-delay: 1.5s; } .js .is-in .chip-c { transition-delay: 2.3s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.hero-mascot { position: absolute; z-index: 2; top: -10px; inset-inline-start: -8px; width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-head { max-width: 46em; margin-block-end: clamp(32px, 5vw, 56px); }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── How it works ─────────────────────────────────────────────────────── */
.steps { position: relative; display: grid; gap: 10px; }
.step-btn { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; width: 100%; padding: 18px 20px 20px; text-align: start; background: transparent; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; overflow: hidden; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pale); color: var(--ink-2); font-weight: 700; transition: background-color .3s, color .3s; }
.step-body { display: grid; gap: 6px; }
.step-title { font-size: 1.16rem; font-weight: 600; line-height: 1.3; }
.step-text { color: var(--muted); font-size: 1rem; }
.step-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: transparent; }
.step-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
[dir="rtl"] .step-progress i { background: linear-gradient(270deg, var(--cyan), var(--blue)); }
.step-scene { margin-block: 6px 18px; }
.scene-frame { position: relative; min-height: 340px; border-radius: 24px; background: radial-gradient(90% 80% at 80% 0%, rgba(102, 224, 234, .22), transparent 60%), var(--pale); border: 1px solid #e8eef3; display: grid; place-items: center; padding: 28px 20px; overflow: hidden; }

@media (min-width: 960px) {
  .steps { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; min-height: 500px; align-content: start; }
  .step { grid-column: 1; }
  .step-scene { position: absolute; inset-block: 0; inset-inline-end: 0; width: calc((100% - 56px) * 6 / 11); margin: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
  .step.is-active .step-scene { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
  .scene-frame { position: sticky; top: calc(var(--header-h) + 24px); height: min(500px, calc(100vh - var(--header-h) - 48px)); min-height: 420px; }
  .step:not(.is-active) .step-text { opacity: .78; }
  .step.is-active .step-btn { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
  .step.is-active .step-n { background: var(--ink); color: #fff; }
  .step-btn:hover { background: var(--pale); }
  .step.is-active .step-btn:hover { background: #fff; }
  .steps.is-auto .step.is-active .step-progress i { animation: progress 7s linear forwards; }
  .steps.is-auto:hover .step-progress i, .steps.is-auto:focus-within .step-progress i { animation-play-state: paused; }
  .no-js .step-scene { display: none; }
  .no-js .step:first-child .step-scene { display: block; opacity: 1; visibility: visible; }
}
@media (max-width: 959.98px) {
  .step-btn { cursor: default; padding-inline: 4px; }
  .step-n { background: var(--ink); color: #fff; }
}
@keyframes progress { to { width: 100%; } }

/* Scene parts. Final state by default; under .js the scene waits for .is-on, then plays. */
.panel { width: min(100%, 380px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-block-end: 14px; }
.panel-sub { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-block: 16px 10px; }
:lang(he) .panel-sub { letter-spacing: 0; font-size: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 4px #fef2f2; }

.src-list { display: grid; gap: 8px; }
.src-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.src-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--cyan-soft); color: var(--navy); }
.src-ico .icon { width: 18px; height: 18px; }
.src-name { font-weight: 500; font-size: .97rem; }
.src-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--good); color: #fff; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.src-check .icon { width: 13px; height: 13px; stroke-width: 3; }
.src-list .is-off { background: transparent; border-style: dashed; }
.src-list .is-off .src-name { color: var(--muted); }
.src-list .is-off .src-ico { background: var(--pale); color: var(--muted); }
.src-list .is-off .src-check { background: none; border: 1.5px solid var(--line-2); }
.src-list .is-off .src-check .icon { display: none; }
.js .step-scene:not(.is-on) .src-list li { opacity: 0; transform: translateY(10px); }
.js .step-scene:not(.is-on) .src-check { transform: scale(0); opacity: 0; }
.is-on .src-list li:nth-child(1) { transition-delay: .10s; } .is-on .src-list li:nth-child(2) { transition-delay: .22s; }
.is-on .src-list li:nth-child(3) { transition-delay: .34s; } .is-on .src-list li:nth-child(4) { transition-delay: .46s; }
.is-on .src-list li:nth-child(5) { transition-delay: .58s; }
.is-on .src-list li:nth-child(1) .src-check { transition-delay: .75s; } .is-on .src-list li:nth-child(2) .src-check { transition-delay: .90s; }
.is-on .src-list li:nth-child(3) .src-check { transition-delay: 1.05s; } .is-on .src-list li:nth-child(4) .src-check { transition-delay: 1.20s; }
.is-on .src-list li:nth-child(5) .src-check { transition-delay: 1.35s; }

.scene-read { display: grid; gap: 16px; width: min(100%, 400px); }
.film { position: relative; padding: 16px 14px; border-radius: 18px; background: linear-gradient(160deg, #0b1220, #16233c); box-shadow: var(--shadow); overflow: hidden; }
.chart-film .tooth { --t-c: rgba(190, 240, 246, .9); --t-bg: rgba(255, 255, 255, .08); }
.chart-film .tooth path { stroke-width: 1; }
.chart-film .chart-scan { display: none; }
.film-scan { position: absolute; inset-block: 0; inset-inline-start: -20%; width: 20%; background: linear-gradient(90deg, transparent, rgba(102, 224, 234, .55), transparent); }
.is-on .film-scan { animation: film 2.6s cubic-bezier(.4, 0, .6, 1) .2s infinite; }
@keyframes film { from { inset-inline-start: -20%; } to { inset-inline-start: 100%; } }
.read-list { display: grid; gap: 8px; }
.read-list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; transition: opacity .4s, transform .4s var(--ease); }
.read-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--good); color: #fff; stroke-width: 3; transition: background-color .3s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.js .step-scene:not(.is-on) .read-list li { opacity: .35; transform: translateY(6px); }
.js .step-scene:not(.is-on) .read-list .icon { background: var(--line-2); transform: scale(.7); }
.is-on .read-list li:nth-child(1), .is-on .read-list li:nth-child(1) .icon { transition-delay: .7s; }
.is-on .read-list li:nth-child(2), .is-on .read-list li:nth-child(2) .icon { transition-delay: 1.6s; }
.is-on .read-list li:nth-child(3), .is-on .read-list li:nth-child(3) .icon { transition-delay: 2.5s; }

.facts { display: grid; gap: 9px; }
.facts > div { display: grid; grid-template-columns: 6.5em 1fr; align-items: center; gap: 10px; }
.facts dt { font-size: .86rem; color: var(--muted); }
.facts dd { display: flex; flex-wrap: wrap; gap: 6px; }
.sk { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, #e2e8f0, #eef2f6); }
.sk-70 { width: 70%; } .sk-55 { width: 55%; } .sk-45 { width: 45%; }
.sk-pill { width: 54px; height: 20px; border-radius: 10px; background: var(--cyan-soft); border: 1px solid #c8eef2; }
.path-bars { display: grid; gap: 8px; }
.path-bars li { display: grid; grid-template-columns: 7.2em 1fr; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.bar { display: block; height: 10px; border-radius: 5px; background: var(--pale); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 5px; background: #b9c6d6; transform-origin: 0 50%; transition: transform .9s var(--ease); }
[dir="rtl"] .bar b { transform-origin: 100% 50%; }
.bar-1 b { width: 58%; } .bar-2 b { width: 84%; } .bar-3 b { width: 68%; }
.path-bars .is-best { font-weight: 600; color: var(--ink); }
.path-bars .is-best b { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.js .step-scene:not(.is-on) .bar b { transform: scaleX(0); }
.is-on .bar-1 b { transition-delay: .5s; } .is-on .bar-2 b { transition-delay: .7s; } .is-on .bar-3 b { transition-delay: .9s; }
.approve { position: relative; margin-block-start: 18px; height: 44px; }
.approve span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; transition: opacity .4s, transform .4s var(--ease); }
.approve-a { background: var(--ink); color: #fff; opacity: 0; transform: scale(.96); }
.approve-b { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.approve-b .icon { stroke-width: 2.6; }
.js .step-scene:not(.is-on) .approve-a { opacity: 1; transform: none; }
.js .step-scene:not(.is-on) .approve-b { opacity: 0; transform: scale(.96); }
.is-on .approve span { transition-delay: 2.4s; }

.scene-hand { display: grid; justify-items: center; gap: 18px; width: min(100%, 400px); }
.docs { display: flex; justify-content: center; padding-block-start: 6px; }
.docu { width: 112px; padding: 14px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 7px; transition: transform .6s var(--ease), opacity .5s; }
.docu .icon { color: var(--blue); width: 22px; height: 22px; }
.docu span { font-size: .8rem; font-weight: 600; line-height: 1.25; min-height: 2.5em; }
.docu i { height: 6px; border-radius: 3px; background: #e8edf3; }
.docu i:last-child { width: 60%; }
.docu-1 { transform: rotate(-6deg) translate(4px, 8px); } .docu-2 { z-index: 1; transform: translateY(-4px); } .docu-3 { transform: rotate(6deg) translate(-4px, 8px); }
[dir="rtl"] .docu-1 { transform: rotate(6deg) translate(-4px, 8px); } [dir="rtl"] .docu-3 { transform: rotate(-6deg) translate(4px, 8px); }
.js .step-scene:not(.is-on) .docu { transform: translateY(26px); opacity: 0; }
.is-on .docu-1 { transition-delay: .25s; } .is-on .docu-2 { transition-delay: .1s; } .is-on .docu-3 { transition-delay: .4s; }
.formats { display: flex; gap: 8px; }
.formats span { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.formats .icon { width: 15px; height: 15px; }
.signature { position: relative; width: 100%; padding: 12px 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.sig-label { font-size: .8rem; color: var(--muted); }
.signature svg { width: 100%; height: 56px; direction: ltr; }
.sig-line { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 4; fill: none; }
.sig-ink { stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(.5, 0, .3, 1); }
.js .step-scene:not(.is-on) .sig-ink { stroke-dashoffset: 420; transition: none; }
.is-on .sig-ink { transition-delay: .9s; }
.sig-done { position: absolute; top: 10px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; font-size: .8rem; font-weight: 600; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.sig-done .icon { width: 14px; height: 14px; stroke-width: 2.8; }
.js .step-scene:not(.is-on) .sig-done { opacity: 0; transform: scale(.6); }
.is-on .sig-done { transition-delay: 2.7s; }

/* ── Features ─────────────────────────────────────────────────────────── */
.features { background: var(--pale); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card, .who-card { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s), box-shadow .25s, border-color .25s; }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(102, 224, 234, .20), transparent 70%); }
.card:hover { box-shadow: var(--shadow); border-color: #bfeaf0; }
.card:hover::before { opacity: 1; }
.js .card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; transition-duration: .25s; }
.card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cyan-soft); color: var(--navy); margin-block-end: 16px; transition: background-color .25s, color .25s, rotate .3s var(--ease); }
.card-ico .icon { width: 24px; height: 24px; }
.card:hover .card-ico { background: var(--ink); color: var(--cyan); rotate: -6deg; }
.card h3, .who-card h3 { margin-block-end: 8px; }
.card p, .who-card p { color: var(--muted); font-size: 1rem; }

/* ── Why ──────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.why-list li { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding-block: 28px; border-block-start: 1px solid var(--line); }
.why-list li:last-child { border-block-end: 1px solid var(--line); }
.why-n { position: relative; z-index: 0; font-size: 1.9rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; min-width: 1.6em; padding-block-start: 2px; }
.why-n::before { content: ""; position: absolute; z-index: -1; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); top: -4px; inset-inline-start: -8px; }
.why-list h3 { font-size: 1.3rem; margin-block-end: 8px; }
.why-list p { color: var(--muted); }

/* ── Who ──────────────────────────────────────────────────────────────── */
.who { background: var(--pale); }
.who-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.who-card { padding: 28px; }
.who-card .card-ico { background: var(--ink); color: var(--cyan); }

/* ── Pilot ────────────────────────────────────────────────────────────── */
.pilot { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.pilot::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 55% at 12% 20%, rgba(102, 224, 234, .16), transparent 70%), radial-gradient(36% 46% at 96% 96%, rgba(255, 222, 89, .12), transparent 70%); }
.pilot-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pilot-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.pilot .eyebrow { color: var(--cyan); }
.pilot .section-lead { color: #c3cde0; }
.pilot-mascot { width: 112px; height: 112px; border-radius: 50%; margin-block-end: 18px; margin-inline-start: -10px; -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%); mask-image: radial-gradient(circle, #000 62%, transparent 72%); animation: float 5s ease-in-out infinite; }
.pilot-points { display: grid; gap: 12px; margin-block: 26px 22px; }
.pilot-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.pilot-points .icon { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(102, 224, 234, .16); color: var(--cyan); stroke-width: 3; margin-block-start: 1px; }
.pilot-note { color: #9aa7bf; font-size: .95rem; }
.form-card { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

.form { display: grid; gap: 16px; }
.form h3 { font-size: 1.35rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pilot-only { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-label, .seg legend { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.field-label small { font-weight: 400; color: var(--muted); font-size: .86em; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(44, 116, 179, .16); }
.field.is-bad input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(200, 30, 30, .10); }
.seg { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--pale); border-radius: 14px; }
.seg legend { float: inline-start; width: 100%; grid-column: 1 / -1; padding: 6px 8px 2px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 12px; border-radius: 11px; font-weight: 600; font-size: .97rem; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { color: var(--blue); text-underline-offset: 3px; }
.check.is-bad span { color: var(--danger); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.challenge:empty { display: none; }
.form-error { padding: 10px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: .95rem; }
.form-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding-block: 36px; outline: none; }
.done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ecfdf5; color: var(--good); animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.done-ico .icon { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-done p { color: var(--muted); margin-block-end: 8px; }

/* ── Questions ────────────────────────────────────────────────────────── */
.qa { border-block-start: 1px solid var(--line); }
.qa:last-child { border-block-end: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; cursor: pointer; list-style: none; font-size: 1.16rem; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa .chev { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--pale); transition: rotate .25s var(--ease), background-color .2s; }
.qa[open] .chev { rotate: 180deg; background: var(--yellow); color: var(--ink); }
.qa p { color: var(--ink-2); padding-block-end: 22px; max-width: 44em; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #c3cde0; padding-block: 56px 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer .logo { color: #fff; }
.footer-brand p { margin-block-start: 14px; max-width: 24em; }
.footer-col h2 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #8e9bb5; margin-block-end: 14px; font-weight: 600; }
:lang(he) .footer-col h2 { letter-spacing: 0; font-size: .92rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-block-start: 44px; display: grid; gap: 10px; font-size: .88rem; color: #8e9bb5; }
.footer-base::before { content: ""; height: 1px; background: rgba(255, 255, 255, .12); margin-block-end: 12px; }
.disclaimer { max-width: 60em; }

/* ── Small pages ──────────────────────────────────────────────────────── */
.doc { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.doc h1 { margin-block-end: 10px; }
.doc-meta { color: var(--muted); margin-block-end: 36px; }
.doc section { margin-block-end: 30px; }
.doc h2 { font-size: 1.4rem; margin-block-end: 10px; }
.doc section p + p { margin-block-start: 12px; }
.doc section p { color: var(--ink-2); }
.doc section a { color: var(--blue); }
.doc-back { margin-block-start: 40px; }
.notice { padding-block: clamp(64px, 12vw, 150px); text-align: center; }
.notice .wrap { display: grid; justify-items: center; gap: 18px; }
.notice-mascot { border-radius: 50%; }

/* ── Smaller screens ──────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav-links a { padding-inline: 10px; }
  .header-row { gap: 16px; }
}
@media (max-width: 899.98px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px clamp(20px, 4vw, 40px) 22px; background: #fff; border-block-end: 1px solid var(--line); box-shadow: 0 24px 40px rgba(16, 21, 37, .12); }
  .nav.is-open { display: flex; }
  .no-js .nav { display: flex; position: static; box-shadow: none; }
  .no-js .site-header { height: auto; }
  .no-js .header-row { flex-wrap: wrap; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a { padding: 12px 10px; font-size: 1.08rem; border-radius: 12px; }
  .nav-actions { flex-wrap: wrap; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
  .nav-actions .btn { margin-inline-start: auto; }
  .lang ul { inset-inline: 0 auto; }
  .hero-grid, .why-grid, .pilot-grid { grid-template-columns: minmax(0, 1fr); }
  .why-head, .pilot-copy { position: static; }
  .hero-visual { margin-block-start: 18px; padding-inline: 0; }
  .chip-a { inset-inline-end: 0; } .chip-b { inset-inline-start: 0; } .chip-c { inset-inline-end: 0; }
  .hero-mascot { inset-inline-start: 4px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { padding: 14px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .chip { font-size: .8rem; padding: 7px 11px; }
  .chip-a, .chip-b { display: none; }
  .hero-visual { padding-block-start: 14px; }
  .chart-card { padding: 14px 12px 12px; border-radius: 20px; }
  .chart-head { padding-inline-start: 80px; }
  .tooth-n { font-size: 13px; }
  .chart-legend { gap: 4px 12px; font-size: .78rem; }
  .why-list li { gap: 14px; }
  .docu { width: 98px; }
  .scene-frame { min-height: 300px; padding: 22px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
