/* MorLex – דף הנחיתה. צבעי המותג מ-cloud/public/app/brand/README.md.
   התנועה נשענת על משתנה אחד לכל סצנה: --p (0 עד 1, כמה מהסצנה כבר נגלל). JS מעדכן אותו;
   בלי JS, או כשביקשו במערכת פחות תנועה, --p נשאר 1 והכול מוצג במצב הסופי, בלי גלילה דביקה. */

:root {
  --navy: #0D2B3A;
  --sand: #E4D3B0;
  --sand-bg: #F4ECDD;
  --gold: #F2C97A;
  --gold-deep: #9A6A16;
  --mist: #8FA7B3;

  --bg: #FBF8F2;
  --bg-alt: #F4ECDD;
  --surface: #FFFFFF;
  --text: #0D2B3A;
  --muted: #4E5F69;
  --line: #E2D8C5;
  --accent: #85590F;      /* טקסט בזהב: ניגודיות 5.7:1 על הרקע */
  --accent-soft: #F2C97A;
  --btn-bg: #0D2B3A;
  --btn-fg: #FFFFFF;
  --focus: #0B57D0;
  --shadow: 0 24px 60px -24px rgba(13, 43, 58, .28);
  --band-bg: #0D2B3A;
  --band-text: #F4ECDD;
  --band-muted: #B9C8CF;
  --ok: #1E6B3A;
  --err: #A11D1D;
  --wa: #1F7A47;

  --font: system-ui, -apple-system, "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --radius: 22px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #071319;
  --bg-alt: #0B1F29;
  --surface: #10303E;
  --text: #F4ECDD;
  --muted: #B5C3CA;
  --line: #23485A;
  --accent: #F2C97A;
  --accent-soft: #F2C97A;
  --btn-bg: #F2C97A;
  --btn-fg: #0D2B3A;
  --focus: #8AB4FF;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --band-bg: #000000;
  --band-text: #F4ECDD;
  --band-muted: #B5C3CA;
  --ok: #7FD69B;
  --err: #FF9C9C;
  --wa: #2E9E5E;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #071319;
    --bg-alt: #0B1F29;
    --surface: #10303E;
    --text: #F4ECDD;
    --muted: #B5C3CA;
    --line: #23485A;
    --accent: #F2C97A;
    --accent-soft: #F2C97A;
    --btn-bg: #F2C97A;
    --btn-fg: #0D2B3A;
    --focus: #8AB4FF;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
    --band-bg: #000000;
    --band-text: #F4ECDD;
    --band-muted: #B5C3CA;
    --ok: #7FD69B;
    --err: #FF9C9C;
    --wa: #2E9E5E;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
kbd { font-family: var(--font); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: 14px; }
h2 { font-size: clamp(2.1rem, 5.2vw, 4rem); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 40ch; }
.fine { color: var(--muted); font-size: .95rem; margin-top: 28px; }
.fine a { color: var(--accent); }

/* ───── כפתורים ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bg);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-full { width: 100%; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }

/* ───── סרגל עליון ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-in { width: min(1200px, 100% - 32px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; }
.logo { height: 32px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .logo-light { display: none; }
  :root[data-theme="system"] .logo-dark { display: block; }
}
.links { display: flex; gap: 22px; margin-inline-start: 18px; }
.links a { text-decoration: none; color: var(--muted); font-size: .97rem; padding: 6px 2px; }
.links a:hover { color: var(--text); }
.nav-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.theme { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme button {
  width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.theme button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme button[aria-checked="true"] { background: var(--btn-bg); color: var(--btn-fg); }
@media (max-width: 860px) { .links { display: none; } }
@media (max-width: 420px) { .nav-tools .btn-small { padding: 8px 12px; font-size: .88rem; } .logo { height: 26px; } }

/* ───── סצנות גלילה ───── */
.scene { --p: 1; position: relative; }
.scene {
  --a: clamp(0, calc(var(--p) * 3), 1);
  --b: clamp(0, calc((var(--p) - .3333) * 3), 1);
  --c: clamp(0, calc((var(--p) - .6666) * 3), 1);
}
.stage { position: relative; padding: 96px 0; }
.js-motion .scene { height: var(--len, 320vh); }
.js-motion .scene .stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }

/* ───── פתיחה ───── */
.hero { --len: 330vh; --a: clamp(0, calc(var(--p) * 5.5), 1); }
.hero .stage { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; }
.js-motion .hero .stage { display: block; padding: 0; }
.hero-copy { position: relative; z-index: 2; padding: 0 16px; display: flex; flex-direction: column; align-items: center;
  opacity: calc(1 - var(--a) * 1.6); transform: translateY(calc(var(--a) * -60px)); }
.js-motion .hero-copy { position: absolute; inset-inline: 0; top: clamp(70px, 11vh, 130px); }
.js-motion .hero:not([data-step="0"]) .hero-copy { visibility: hidden; }
.hero h1 { font-size: clamp(2.9rem, 8.6vw, 6.4rem); margin-bottom: 18px; }
.hero .lead { margin-inline: auto; }

.laptop {
  --w: min(980px, 92vw);
  width: var(--w); margin-top: 48px; perspective: 1800px; position: relative; z-index: 3;
}
.js-motion .laptop {
  --w: min(980px, 92vw, calc((100svh - 210px) * 1.5));
  position: absolute; top: 72svh; left: 50%; margin: 0 0 0 calc(var(--w) / -2);
  transform: translateY(calc(var(--a) * -60svh)) scale(calc(.9 + var(--a) * .1));
  transform-origin: 50% 0;
}
.lid {
  border-radius: 18px 18px 6px 6px; background: #121417; padding: 1.4%;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
  transform: rotateX(calc((1 - var(--a)) * 24deg)); transform-origin: 50% 100%;
}
.screen { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #F4ECDD; }
.base { height: 14px; margin-inline: -4%; border-radius: 0 0 22px 22px; background: linear-gradient(#c9ccd1, #9a9ea5); }

.app { height: 100%; display: flex; flex-direction: column; font-size: clamp(7px, 1.15vw, 12px); color: #0D2B3A; }
.app-top { display: flex; align-items: center; gap: 2%; padding: 1.4% 2%; background: #0D2B3A; color: #E4D3B0; }
.mk { width: 1.9em; height: 1.9em; border-radius: .45em; background: #F2C97A; flex: none; }
.tabs { display: flex; gap: 1%; flex: 1; overflow: hidden; }
.tabs i { font-style: normal; padding: .45em .9em; border-radius: 99px; white-space: nowrap; transition: background-color .3s, color .3s; }
.clock { display: flex; gap: .5em; }
.clock b { width: 3.2em; height: .7em; border-radius: 99px; background: rgba(228, 211, 176, .35); }
.app-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; }
.side { background: #FFFDF8; border-inline-end: 1px solid #E2D8C5; padding: 6% 8%; display: flex; flex-direction: column; gap: 7%; }
.side b { height: .75em; border-radius: 99px; background: #E4D3B0; }
.side b:nth-child(2n) { width: 70%; }
.pane { position: relative; }
.pv { position: absolute; inset: 3.5%; display: grid; gap: 4%; align-content: start; transition: opacity .45s ease, transform .45s ease; }
.pv1 { grid-template-rows: 1fr auto; align-content: stretch; }
.js-motion .pv { opacity: 0; transform: translateY(1.2em); }
html:not(.js-motion) .pv:not(.pv1) { display: none; }
.js-motion .hero[data-step="0"] .pv1, .js-motion .hero[data-step="1"] .pv1,
.js-motion .hero[data-step="2"] .pv2, .js-motion .hero[data-step="3"] .pv3,
.js-motion .hero[data-step="4"] .pv4, .js-motion .hero[data-step="5"] .pv5 { opacity: 1; transform: none; }
.pv2 { grid-template-columns: 1fr auto; align-content: stretch; }
.epage { position: relative; background: #fff; border: 1px solid #E2D8C5; border-radius: .6em; padding: 6% 8%; display: grid; gap: 1.1em; align-content: start; width: 62%; justify-self: center; box-shadow: 0 1em 2em -1.4em rgba(13,43,58,.4); }
.epage i { height: .8em; border-radius: 99px; background: #E8DFCC; }
.epage i.short { width: 55%; }
.epage i.hl { background: linear-gradient(90deg, #F7E08A 0 70%, #E8DFCC 70%); }
.epage i.rd { background: linear-gradient(90deg, #E8DFCC 0 30%, #111 30% 75%, #E8DFCC 75%); }
.epage svg { width: 40%; margin-top: .6em; }
.epage path { fill: none; stroke: #0D2B3A; stroke-width: 3; stroke-linecap: round; }
.etools { display: grid; gap: .8em; align-content: start; padding: .6em; background: #fff; border: 1px solid #E2D8C5; border-radius: .6em; }
.etools b { width: 2.2em; height: 2.2em; border-radius: .5em; background: #F4ECDD; }
.etools b.on { background: #F2C97A; }
.srow, .frow, .crow { display: flex; align-items: center; gap: 1em; background: #fff; border: 1px solid #E2D8C5; border-radius: .7em; padding: .9em 1.2em; margin: 0; }
.srow .nm { font-weight: 700; flex: 1; }
.chip { padding: .3em .9em; border-radius: 99px; font-weight: 700; }
.chip.ok { background: #DDF1E3; color: #1E6B3A; }
.chip.wait { background: #FBEFD3; color: #7A5410; }
.chip.sent { background: #E3ECF5; color: #23507A; }
.fsearch { display: flex; justify-content: space-between; background: #fff; border: 2px solid #0D2B3A; border-radius: 99px; padding: .8em 1.4em; font-weight: 700; margin: 0; }
.fsearch span { color: #6B5A35; font-weight: 400; }
.fold { width: 1.6em; height: 1.2em; border-radius: .2em; background: #F2C97A; flex: none; }
.fn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn mark { background: #F7E08A; color: inherit; border-radius: .2em; padding: 0 .15em; }
.crow { display: grid; grid-template-columns: 7em 1fr 1fr; }
.crow.ch { background: transparent; border: 0; font-weight: 700; color: #6B5A35; padding-block: .2em; }
.crow span:first-child { direction: ltr; text-align: right; font-weight: 700; color: #85590F; }
.crow b { height: .75em; border-radius: 99px; background: #E8DFCC; }
.crow b + b { width: 70%; }
.drop { border: 2px dashed #C9B68C; border-radius: 1em; display: grid; place-items: center; align-content: center; gap: .6em; color: #6B5A35; background: #FFFDF8; }
.drop-ico { width: 2.6em; height: 2.6em; border-radius: .6em; border: 2px solid #C9B68C; position: relative; }
.drop-ico::after { content: ""; position: absolute; inset: 30% 45%; background: #C9B68C; box-shadow: -0.55em .55em 0 -.0em transparent; }
.drop-t { font-weight: 700; font-size: 1.15em; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; }
.tiles b { aspect-ratio: 4 / 3; border-radius: .7em; background: #fff; border: 1px solid #E2D8C5; position: relative; }
.tiles b::before { content: ""; position: absolute; inset-inline-start: 10%; top: 12%; width: 30%; height: 18%; border-radius: .3em; }
.t-doc::before { background: #2B579A; } .t-pdf::before { background: #C62828; } .t-img::before { background: #2E7D32; } .t-eml::before { background: #6A3FA0; }

.hero-caps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 4; }
.hero-caps li { color: var(--muted); }
.hero-caps b { color: var(--text); }
/* בלי תנועה: רשימה רגילה מתחת למחשב */
html:not(.js-motion) .hero-caps { display: grid; gap: 8px; margin-top: 40px; font-size: 1.1rem; }
/* עם תנועה: כיתוב אחד בכל פעם, מתחת למחשב, והלשונית המתאימה מוארת */
.js-motion .hero-caps { position: absolute; bottom: clamp(18px, 6vh, 64px); inset-inline: 16px; height: 2.4em; font-size: clamp(1.1rem, 2.3vw, 1.6rem); }
.js-motion .hero-caps li { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.js-motion .hero[data-step="1"] .hero-caps li:nth-child(1),
.js-motion .hero[data-step="2"] .hero-caps li:nth-child(2),
.js-motion .hero[data-step="3"] .hero-caps li:nth-child(3),
.js-motion .hero[data-step="4"] .hero-caps li:nth-child(4),
.js-motion .hero[data-step="5"] .hero-caps li:nth-child(5) { opacity: 1; transform: none; }
.hero[data-step="1"] .tabs i:nth-child(1),
.hero[data-step="2"] .tabs i:nth-child(2),
.hero[data-step="3"] .tabs i:nth-child(3),
.hero[data-step="4"] .tabs i:nth-child(4),
.hero[data-step="5"] .tabs i:nth-child(5) { background: #F2C97A; color: #0D2B3A; }

/* ───── סצנות סיפור (טקסט + הדמיה) ───── */
.story .stage {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px;
}
.story.flip .stage { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.story.flip .story-text { order: 2; }
.story-text h2 { margin-bottom: 34px; }
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.cap { border-inline-start: 3px solid var(--line); padding-inline-start: 18px; transition: opacity .45s ease, border-color .45s ease; }
.cap h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cap p { color: var(--muted); }
.js-motion .story .cap { opacity: .28; }
.js-motion .story[data-step="0"] .cap:nth-child(1),
.js-motion .story[data-step="1"] .cap:nth-child(2),
.js-motion .story[data-step="2"] .cap:nth-child(3) { opacity: 1; border-color: var(--accent-soft); }
.story-visual { position: relative; height: min(560px, 70vh); display: grid; place-items: center; }

@media (max-width: 860px) {
  .story .stage, .story.flip .stage { grid-template-columns: 1fr; gap: 20px; }
  .story.flip .story-text { order: 0; }
  .story-visual { height: 380px; }
  .js-motion .story .stage { align-content: start; padding-top: 80px; }
  .js-motion .story-text h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 14px; }
  .js-motion .story .caps { position: relative; height: 7.5em; }
  .js-motion .story .cap { position: absolute; inset: 0; opacity: 0; }
  .js-motion .story-visual { height: min(360px, 46svh); }
}

/* ───── 01 אוגדן ───── */
.binder-vis { --sc: 1.22; }
.f1 { --x: -250px; --y: -150px; --r: -14deg; --i: 0; }
.f2 { --x: 230px; --y: -170px; --r: 10deg; --i: 1; }
.f3 { --x: -270px; --y: 130px; --r: 8deg; --i: 2; }
.f4 { --x: 250px; --y: 150px; --r: -9deg; --i: 3; }
.f5 { --x: -30px; --y: -240px; --r: 5deg; --i: 4; }
.file {
  position: absolute; width: 150px; height: 196px; border-radius: 12px; background: #fff; border: 1px solid #E2D8C5;
  box-shadow: 0 18px 40px -18px rgba(13, 43, 58, .45);
  display: flex; flex-direction: column; gap: 12px; padding: 16px; color: #0D2B3A;
  transform:
    translate(calc(var(--x) * var(--sc) * (1 - var(--a))), calc(var(--y) * var(--sc) * (1 - var(--a))))
    translate(calc(var(--i) * -10px * var(--b)), calc(var(--i) * 12px * var(--b) - 24px * var(--b)))
    rotate(calc(var(--r) * (1 - var(--a))))
    scale(var(--sc));
  opacity: calc(1 - var(--c) * .65);
}
.ft { align-self: flex-start; font-size: 12px; font-weight: 800; color: #fff; padding: 3px 9px; border-radius: 6px; direction: ltr; }
.ft-doc { background: #2B579A; } .ft-pdf { background: #C62828; } .ft-img { background: #2E7D32; } .ft-eml { background: #6A3FA0; } .ft-tif { background: #B35C00; }
.file .lines { flex: 1; background: repeating-linear-gradient(to bottom, #E8DFCC 0 7px, transparent 7px 17px); border-radius: 4px; }
.file .pic { flex: 1; border-radius: 6px; background: linear-gradient(160deg, #F2C97A, #8FA7B3); }
.tab {
  position: absolute; inset-inline-end: -46px; top: calc(16px + var(--i) * 30px); width: 54px;
  font-size: 11px; font-weight: 800; padding: 4px 6px; border-radius: 0 8px 8px 0;
  background: #F2C97A; color: #0D2B3A; text-align: center;
  opacity: var(--b); transform: translateX(calc((1 - var(--b)) * -20px));
}
.toc {
  position: absolute; width: 290px; border-radius: 16px; background: #fff; color: #0D2B3A; padding: 24px 24px 18px;
  box-shadow: 0 30px 70px -24px rgba(13, 43, 58, .55); border: 1px solid #E2D8C5;
  opacity: var(--c); transform: translate(-10px, calc((1 - var(--c)) * 60px - 30px)) scale(calc(.92 + var(--c) * .08));
}
.toc-h { font-weight: 800; font-size: 18px; margin-bottom: 10px; border-bottom: 2px solid #F2C97A; padding-bottom: 6px; }
.toc p:not(.toc-h) { display: flex; align-items: baseline; gap: 6px; font-size: 14.5px; line-height: 2; }
.toc i { flex: 1; border-bottom: 1px dotted #9A8B6A; }
.badge-done {
  position: absolute; bottom: 4%; font-weight: 800; background: var(--btn-bg); color: var(--btn-fg);
  padding: 10px 20px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 20px));
}
@media (max-width: 860px) { .binder-vis { --sc: .62; } .binder-vis .file { width: 120px; height: 158px; } .toc { width: 200px; } }

/* ───── 02 חתימה ───── */
.phone {
  width: 260px; height: 530px; border-radius: 44px; background: #121417; padding: 12px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  transform: rotate(calc((1 - var(--a)) * -6deg)) translateY(calc((1 - var(--a)) * 40px));
}
.notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 99px; background: #121417; z-index: 3; }
.ph-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #EFE7D8; color: #0D2B3A; font-size: 13px; }
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: calc(1 - var(--b) * 1.5); }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 50px 16px 12px; background: #0D2B3A; color: #F4ECDD; font-weight: 700; }
.av { width: 30px; height: 30px; border-radius: 50%; background: #F2C97A; }
.bubble {
  margin: auto 14px 26px auto; max-width: 82%; background: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 14px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3); display: grid; gap: 10px; line-height: 1.45;
  opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 30px));
}
.pill { display: inline-block; justify-self: start; background: #1F7A47; color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.doc {
  position: absolute; inset: 44px 14px 14px; background: #fff; border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px;
  opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 40px - var(--c) * 30px)) scale(calc(1 - var(--c) * .12));
}
.doc-h { font-weight: 800; font-size: 15px; }
.doc .lines { height: 56px; background: repeating-linear-gradient(to bottom, #E8DFCC 0 6px, transparent 6px 14px); }
.doc .lines.short { height: 28px; width: 70%; }
.sig-box { margin-top: auto; border: 2px dashed #C9B68C; border-radius: 12px; padding: 6px 8px 8px; background: #FFFCF4; }
.sig-box svg { width: 100%; height: 70px; }
.sig { fill: none; stroke: #0D2B3A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: calc(420 * (1 - clamp(0, calc(var(--b) * 1.4), 1))); }
.sig-l { font-size: 11px; color: #6B5A35; }
.signed {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: #1E6B3A; color: #fff; font-weight: 800; font-size: 18px;
  padding: 12px 22px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  opacity: var(--c); transform: scale(calc(.6 + var(--c) * .4));
}
.inbox {
  position: absolute; bottom: 6%; inset-inline-end: 0; display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  opacity: var(--c); transform: translateX(calc((1 - var(--c)) * -40px));
}
.in-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--btn-bg); position: relative; flex: none; }
.in-ico::after { content: ""; position: absolute; inset: 11px 9px; border: 2px solid var(--btn-fg); border-top: 0; border-radius: 0 0 4px 4px; }
.in-t { display: grid; line-height: 1.35; }
.in-t small { color: var(--muted); }
@media (max-width: 860px) {
  .phone { width: 200px; height: 410px; border-radius: 36px; padding: 10px; }
  .ph-screen { border-radius: 28px; font-size: 11.5px; }
  .chat-top { padding-top: 40px; }
  .inbox { inset-inline-end: auto; inset-inline-start: 0; bottom: 2%; padding: 10px 12px; font-size: .9rem; }
}

/* ───── יכולות (רשת) ───── */
.features, .simple, .guide, .security, .pricing, .contact { padding: clamp(80px, 12vw, 150px) 0; }
.features { background: var(--bg-alt); }
.features h2 { margin-bottom: 48px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 8px; min-height: 300px;
}
.c-wide { grid-column: span 2; }
.card .num { color: var(--accent); font-weight: 800; font-size: .9rem; margin-top: auto; }
.card h3 { font-size: 1.35rem; }
.card p:not(.num) { color: var(--muted); }
.card-vis { height: 120px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .c-wide { grid-column: auto; } .card { min-height: 0; } }

/* הדמיות קטנות בכרטיסים: נכנסות לפעולה כשהכרטיס נראה (.in) */
.vis-edit .pg { width: 120px; height: 110px; border-radius: 10px; background: #fff; border: 1px solid #E2D8C5; padding: 12px; display: grid; gap: 8px; align-content: start; position: relative; }
.vis-edit .pg i { height: 7px; border-radius: 9px; background: #E8DFCC; }
.vis-edit .pg2 { transform: rotate(6deg); opacity: .7; }
.vis-edit svg { position: absolute; bottom: 8px; inset-inline: 10px; width: calc(100% - 20px); }
.vis-edit path { fill: none; stroke: #0D2B3A; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 0; }
.vis-redact { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.vis-redact span { display: flex; gap: 8px; }
.vis-redact i, .vis-redact b { height: 12px; border-radius: 4px; flex: 1; }
.vis-redact i { background: #E8DFCC; }
.vis-redact b { background: #111; transform-origin: right; }
.vis-search { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.sbox { border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; display: flex; }
.typing { display: inline-block; overflow: hidden; white-space: nowrap; border-inline-end: 2px solid var(--accent); }
.hit { height: 14px; border-radius: 6px; background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.hit + .hit { width: 70%; }
.vis-local { justify-content: center; gap: 30px; }
.pc { width: 90px; height: 64px; border-radius: 8px; border: 3px solid var(--text); position: relative; display: grid; place-items: center; }
.pc::after { content: ""; position: absolute; bottom: -14px; width: 40px; height: 6px; border-radius: 4px; background: var(--text); }
.pc i { width: 30px; height: 22px; border-radius: 4px; background: var(--accent-soft); }
.cloud-x { width: 64px; height: 38px; border-radius: 30px; border: 3px dashed var(--muted); position: relative; opacity: .6; }
.cloud-x::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 800; }
.vis-zip { justify-content: center; gap: 14px; font-weight: 800; direction: ltr; }
.vis-zip .big { font-size: 2.1rem; color: var(--muted); }
.vis-zip .small { font-size: 1.4rem; color: var(--accent); }
.vis-zip .arr { color: var(--muted); transform: scaleX(-1); }
.vis-clients { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.vis-clients .row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.vis-clients b { font-size: .85rem; color: var(--accent); direction: ltr; }
.vis-clients i { height: 9px; flex: 1; border-radius: 9px; background: color-mix(in srgb, var(--muted) 30%, transparent); }
.vis-team { gap: 0; }
.vis-team .u { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); border: 4px solid var(--surface); margin-inline-end: -14px; }
.vis-team .u:nth-child(2) { background: var(--mist); } .vis-team .u:nth-child(3) { background: var(--sand); }
.vis-team .log { margin-inline-start: 40px; flex: 1; max-width: 300px; display: grid; gap: 9px; }
.vis-team .log i { height: 10px; border-radius: 9px; background: color-mix(in srgb, var(--muted) 28%, transparent); }
.vis-team .log i:nth-child(2) { width: 80%; } .vis-team .log i:nth-child(3) { width: 60%; }
.vis-he { justify-content: center; gap: 12px; }
.vis-he span { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; background: var(--bg-alt); border: 1px solid var(--line); }

.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-motion [data-reveal].in { opacity: 1; transform: none; }
.js-motion .vis-edit path { stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s ease .3s; }
.js-motion .in .vis-edit path, .js-motion .in.vis-edit path { stroke-dashoffset: 0; }
.js-motion .vis-redact b { transform: scaleX(0); transition: transform .8s ease .5s; }
.js-motion .in .vis-redact b { transform: scaleX(1); }
.js-motion .vis-redact span:nth-child(2) b { transition-delay: .8s; }
.js-motion .vis-redact span:nth-child(3) b { transition-delay: 1.1s; }
.js-motion .typing { width: 0; }
.js-motion .in .typing { animation: type 1.4s steps(11) .4s forwards, caret .8s step-end infinite; }
@keyframes type { to { width: 11ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.js-motion .vis-zip .big { transition: font-size 1s ease .4s, opacity 1s ease .4s; }
.js-motion .in .vis-zip .big { opacity: .55; }

/* ───── 10 נגישות (רצועה כהה) ───── */
.dark-band { background: var(--band-bg); color: var(--band-text); }
.dark-band .eyebrow { color: #F2C97A; }
.dark-band .cap p { color: var(--band-muted); }
.dark-band .cap { border-color: rgba(228, 211, 176, .25); }
.js-motion .dark-band[data-step="0"] .cap:nth-child(1),
.js-motion .dark-band[data-step="1"] .cap:nth-child(2),
.js-motion .dark-band[data-step="2"] .cap:nth-child(3) { border-color: #F2C97A; }
.dark-band :focus-visible { outline-color: #8AB4FF; }
.a11y-vis { align-content: center; gap: 34px; }
.mock {
  --mbg: #FBF8F2; --mfg: #0D2B3A; --mline: #E2D8C5; --mbtn: #fff;
  width: min(460px, 86vw); border-radius: 20px; background: var(--mbg); color: var(--mfg); padding: 0 0 26px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transition: background-color .6s ease, color .6s ease;
}
.a11y-vis[data-dark], .dark-band[data-step="2"] .mock { --mbg: #10303E; --mfg: #F4ECDD; --mline: #23485A; --mbtn: #0B1F29; }
.mock-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--mline); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mline); }
.mock-btns { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 22px 18px 18px; }
.mock-btns span { text-align: center; padding: 12px 4px; border-radius: 12px; background: var(--mbtn); border: 1px solid var(--mline); font-weight: 700; font-size: .95rem; transition: background-color .6s; }
.ring {
  --k: 0; position: absolute; top: 16px; inset-inline-start: 12px; width: calc((100% - 36px - 30px) / 4 + 12px); height: calc(100% - 28px);
  border: 3px solid #0B57D0; border-radius: 15px; pointer-events: none;
  transform: translateX(calc(var(--k) * -1 * (100% - 2px))); transition: transform .35s cubic-bezier(.3, .7, .2, 1);
}
.dark-band[data-focus="1"] .ring { --k: 1; } .dark-band[data-focus="2"] .ring { --k: 2; } .dark-band[data-focus="3"] .ring { --k: 3; }
.dark-band[data-step="2"] .ring { border-color: #8AB4FF; }
.mock-lines { display: grid; gap: 10px; padding: 0 18px; }
.mock-lines i { height: 10px; border-radius: 9px; background: var(--mline); }
.mock-lines i:nth-child(2) { width: 80%; } .mock-lines i:nth-child(3) { width: 55%; }
.sr-bubble {
  position: absolute; bottom: -22px; inset-inline-end: -10px; background: #F2C97A; color: #0D2B3A; font-weight: 800; font-size: .95rem;
  padding: 10px 16px; border-radius: 16px 16px 16px 4px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  opacity: 1; transition: opacity .4s ease, transform .4s ease;
}
.js-motion .dark-band:not([data-step="1"]) .sr-bubble { opacity: 0; transform: translateY(10px); }
.keys { display: flex; gap: 12px; justify-content: center; }
.keys kbd {
  min-width: 64px; padding: 10px 14px; border-radius: 12px; text-align: center; font-weight: 700; direction: ltr;
  background: #1B3C4C; color: #F4ECDD; border: 1px solid #2D566A; box-shadow: 0 5px 0 #071319; transition: transform .12s, box-shadow .12s, background-color .12s;
}
.keys kbd.press { transform: translateY(4px); box-shadow: 0 1px 0 #071319; background: #F2C97A; color: #0D2B3A; }

/* ───── 11 פשטות ───── */
.simple h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.js-motion .steps li:nth-child(2) { transition-delay: .15s; } .js-motion .steps li:nth-child(3) { transition-delay: .3s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ───── 12 הנחיות ───── */
.guide { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.guide h2 { margin-bottom: 30px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230D2B3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.help-vis { position: relative; min-height: 340px; display: grid; place-items: center; }
.help-btn {
  position: absolute; top: 0; inset-inline-start: 8%; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 1.7rem; font-weight: 800; box-shadow: var(--shadow);
}
.help-panel {
  width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  display: grid; gap: 12px; margin-top: 50px;
}
.hp-h { font-weight: 800; font-size: 1.2rem; }
.hp-search { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--muted); }
.hp-row { display: flex; align-items: center; gap: 6px; }
.hp-row span { margin-inline-start: auto; color: var(--muted); }
.hp-row kbd { padding: 3px 9px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg-alt); font-size: .85rem; direction: ltr; }
.hp-code { display: grid; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent-soft) 30%, transparent); }
.hp-code span { color: var(--muted); }
.js-motion .help-vis .help-panel { transform: scale(.9) translateY(20px); opacity: 0; transition: transform .7s ease .35s, opacity .7s ease .35s; transform-origin: 85% 0; }
.js-motion .help-vis.in .help-panel { transform: none; opacity: 1; }
.js-motion .help-vis.in .help-btn { animation: pulse 1.6s ease 2; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent-soft) 40%, transparent); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ───── 13 אבטחה ───── */
.security h2 { margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { border-top: 3px solid var(--accent-soft); padding-top: 20px; }
.stat-big { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.stat p:not(.stat-big) { color: var(--muted); }
.js-motion .stat:nth-child(2) { transition-delay: .12s; } .js-motion .stat:nth-child(3) { transition-delay: .24s; } .js-motion .stat:nth-child(4) { transition-delay: .36s; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ───── מחירים ───── */
.pricing { background: var(--bg-alt); text-align: center; }
.pricing h2 { margin-bottom: 52px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; text-align: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 1.35rem; }
.plan .ticks { flex: 1; font-size: .98rem; }
.plan .btn { align-self: stretch; }
.plan-hl { border: 2px solid var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-8px); }
.js-motion .plan-hl.in { transform: translateY(-8px); }
.plan-tag { position: absolute; top: -15px; inset-inline-start: 24px; background: var(--accent-soft); color: #0D2B3A; font-weight: 800; font-size: .85rem; padding: 4px 14px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .cur { font-size: 1.6rem; font-weight: 700; }
.price .amt { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.price .per { color: var(--muted); }
.price-text { font-size: 2.2rem; font-weight: 800; line-height: 1.6; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan-hl, .js-motion .plan-hl.in { transform: none; } }

/* ───── יצירת קשר ───── */
.contact .split { align-items: start; }
.contact h2 { margin-bottom: 16px; }
.direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 700; font-size: .97rem; }
.req { color: var(--muted); font-weight: 400; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 48px;
}
.field input[dir="ltr"] { text-align: right; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-deep); flex: none; }
.privacy-note { color: var(--muted); font-size: .88rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 700; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* ───── תחתית ───── */
.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ───── מי שביקש פחות תנועה: הכול סטטי ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ───── עמוד משני (הצהרת נגישות) ───── */
.doc-page { padding: 70px 0 100px; }
.doc-page .wrap { max-width: 760px; }
.doc-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 24px; }
.doc-page h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.doc-page p, .doc-page li { color: var(--muted); }
.doc-page ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.contact .fine[dir="ltr"] { text-align: right; }

/* ───── תיקוני טלפון ───── */
.nav .btn-small { white-space: nowrap; }
@media (max-width: 860px) {
  .js-motion .laptop { --w: 94vw; transform: translateY(calc(var(--a) * -50svh)) scale(calc(.9 + var(--a) * .1)); }
  .js-motion .hero-caps { bottom: auto; top: calc(22svh + 58.75vw + 64px); height: auto; }
  .binder-vis { --sc: .55; }
}
@media (max-width: 420px) {
  .nav-in { gap: 10px; }
  .theme button { width: 30px; height: 30px; }
}
.signed { white-space: nowrap; }
html:not(.js-motion) .hero-copy { opacity: 1; transform: none; }
