/* ═══════════════════════════════════════════════════════════════
   מיכללי — landing page
   The palette is the app's (theme/colors.ts): navy #123B8F drives
   actions and headings, cyan #12C7C5 and purple #6545E8 accent,
   off-white ground. Dark mode is the app's designed dark theme,
   not an inversion. Type is Rubik (the app's face) + Heebo.
   ═══════════════════════════════════════════════════════════════ */

/* ── tokens ──────────────────────────────────────────────────── */
:root {
  /* brand — fixed in both themes */
  --navy-900: #061F47;
  --navy-800: #082B61;
  --navy-700: #0E3577;
  --navy: #123B8F;
  --navy-600: #1A4CAE;
  --navy-500: #246BE8;
  --sky: #42BDF5;
  --cyan: #12C7C5;
  --purple: #6545E8;
  --green: #16A66A;
  --amber: #F4A825;
  --red: #E5484D;
  --teal: #0E9F9D;
  --rose: #E8447F;

  --grad-brand: linear-gradient(115deg, var(--navy) 0%, var(--navy-500) 38%, var(--cyan) 72%, var(--purple) 100%);
  --grad-navy: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  --grad-text: linear-gradient(100deg, var(--navy-500) 0%, var(--cyan) 55%, var(--purple) 100%);

  /* geometry */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 30px;
  --r-pill: 999px;
  --container: 1200px;
  --hdr-h: 70px;

  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Rubik", "Heebo", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* light (default) */
:root, [data-theme="light"] {
  --canvas: #F7F9FC;
  --canvas-2: #EEF3F9;
  --card: #FFFFFF;
  --card-2: #FBFCFE;
  --tint: #EEF3FB;
  --line: #DCE5F0;
  --line-2: #C3D1E3;
  --ink: #102A4C;
  --ink-2: #63758A;
  --ink-3: #94A3B8;
  --brand: var(--navy);
  --brand-ink: var(--navy-800);
  --soft: #DCE6F7;
  --soft-2: #EEF3FB;
  --glass: rgba(255, 255, 255, .78);
  --sh-1: 0 1px 2px rgba(16, 42, 76, .05), 0 4px 14px rgba(16, 42, 76, .05);
  --sh-2: 0 2px 6px rgba(16, 42, 76, .06), 0 14px 34px rgba(16, 42, 76, .09);
  --sh-3: 0 8px 20px rgba(16, 42, 76, .08), 0 34px 70px rgba(16, 42, 76, .16);
  --sh-brand: 0 10px 26px rgba(18, 59, 143, .30);
  --grid-line: rgba(18, 59, 143, .055);
  --orb-1: rgba(36, 107, 232, .30);
  --orb-2: rgba(18, 199, 197, .26);
  --orb-3: rgba(101, 69, 232, .22);
  color-scheme: light;
}

/* dark — mirrors darkColors in theme/colors.ts */
[data-theme="dark"] {
  --canvas: #0B1730;
  --canvas-2: #101E3B;
  --card: #12213F;
  --card-2: #16264A;
  --tint: #172B55;
  --line: #25375C;
  --line-2: #34497A;
  --ink: #EAF0F9;
  --ink-2: #A7B6CC;
  --ink-3: #6F809B;
  --brand: #4F86F0;
  --brand-ink: #C9D8F5;
  --soft: #1E3466;
  --soft-2: #172B55;
  --glass: rgba(11, 23, 48, .72);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .30), 0 4px 14px rgba(0, 0, 0, .26);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .34), 0 14px 34px rgba(0, 0, 0, .40);
  --sh-3: 0 8px 20px rgba(0, 0, 0, .40), 0 34px 70px rgba(0, 0, 0, .55);
  --sh-brand: 0 10px 26px rgba(36, 107, 232, .38);
  --grid-line: rgba(146, 180, 255, .06);
  --orb-1: rgba(36, 107, 232, .34);
  --orb-2: rgba(18, 199, 197, .20);
  --orb-3: rgba(101, 69, 232, .30);
  color-scheme: dark;
}

/* ── reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.14; letter-spacing: -.02em; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--navy-500); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); }
@media (max-width: 640px) { .wrap, .wrap-narrow { width: min(100% - 1.75rem, var(--container)); } }


.skip {
  position: fixed; inset-inline-start: 1rem; top: -5rem; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

/* scroll progress */
.progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad-brand); border-start-end-radius: 3px; border-end-end-radius: 3px; }

/* ── type helpers ────────────────────────────────────────────── */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  color: var(--brand-ink); background: var(--soft-2);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .38rem .9rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 22%, transparent); }
.eyebrow.light { color: #DCE6F7; background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .18); }

.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: none;
  color: var(--brand); background: var(--soft-2);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .34rem .85rem; margin-bottom: 1rem;
}
.kicker .ico { width: 1em; height: 1em; }

/* ── buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.3rem; border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.15;
  border: 1.5px solid transparent; white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(-3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; border-radius: var(--r-lg); }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-500), var(--navy) 55%, var(--navy-800));
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18, 59, 143, .38), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-soft { color: var(--brand-ink); background: var(--soft); }
.btn-soft:hover { background: color-mix(in srgb, var(--soft) 78%, var(--navy-500)); color: var(--brand-ink); transform: translateY(-2px); }
.btn-ghost { color: var(--brand-ink); background: var(--card); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); background: var(--soft-2); }
.btn-white { color: var(--navy-800); background: #fff; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--card);
  color: var(--ink-2); transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn .ico { width: 18px; height: 18px; }
[data-theme="light"] .ico-sun, [data-theme="dark"] .ico-moon { display: none; }

/* ── header ──────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .3s;
}
.hdr.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 42, 76, .07); }
[data-theme="dark"] .hdr.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.hdr-in { display: flex; align-items: center; gap: 1rem; min-height: var(--hdr-h); }

.brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: var(--font-head); font-size: 1.22rem; font-weight: 800; color: var(--brand-ink); letter-spacing: -.02em; }
.brand-txt i { font-style: normal; font-size: .70rem; color: var(--ink-3); font-weight: 500; letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav a {
  position: relative; padding: .5rem .8rem; border-radius: var(--r-sm);
  font-size: .94rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--soft-2); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; inset-inline: .8rem; bottom: .18rem; height: 2px;
  border-radius: 2px; background: var(--grad-brand);
}

.hdr-act { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.nav + .hdr-act { margin-inline-start: .5rem; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--card); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3.5px auto; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav {
    position: fixed; inset-block-start: var(--hdr-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: .5rem .9rem 1.1rem; box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .85rem .7rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .hdr-act { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand-txt i { display: none; }
  .brand img { width: 38px; height: 38px; }
}

/* ── hero ────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-bg { position: absolute; inset: -20% 0 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .9; }
.orb-a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--orb-1); inset-inline-end: -8vw; top: -6vw; animation: float 22s ease-in-out infinite; }
.orb-b { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: var(--orb-2); inset-inline-start: -6vw; top: 24vw; animation: float 26s ease-in-out infinite reverse; }
.orb-c { width: 28vw; height: 28vw; max-width: 380px; max-height: 380px; background: var(--orb-3); inset-inline-end: 26vw; top: 30vw; animation: float 30s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 5%, 0) scale(1.07); }
}
.mesh {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 35%, transparent 78%);
}

.hero-in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.hero h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4.35rem);
  font-weight: 800; letter-spacing: -.035em;
  color: var(--brand-ink);
}
[data-theme="dark"] .hero h1 { color: #F1F6FF; }
.lede { margin-top: 1.15rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 33rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof b { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-proof span { font-size: .82rem; color: var(--ink-3); font-weight: 500; }

/* app window mockup */
.hero-visual { position: relative; padding-block: 1.7rem; }
.app-win {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  transform: perspective(1600px) rotateY(4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .app-win { transform: perspective(1600px) rotateY(0) rotateX(0); }
[dir="rtl"] .app-win { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
[dir="rtl"] .hero-visual:hover .app-win { transform: perspective(1600px) rotateY(0) rotateX(0); }

.win-bar {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .85rem; background: var(--canvas-2); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dots i:first-child { background: #FF5F57; } .dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.url {
  display: inline-flex; align-items: center; gap: .32rem; margin-inline: auto;
  font-size: .72rem; color: var(--ink-3); background: var(--card); direction: ltr;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: .2rem .7rem;
}
.url .ico { width: 11px; height: 11px; }
.live { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 600; color: var(--green); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent); } 50% { opacity: .55; box-shadow: 0 0 0 5px transparent; } }

.win-body { display: flex; min-height: 340px; }
.win-side {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .8rem .55rem; background: var(--canvas-2);
  border-inline-end: 1px solid var(--line); flex: none;
}
.s-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-brand); margin-bottom: .4rem; }
.s-item { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink-3); }
.s-item .ico { width: 15px; height: 15px; }
.s-item.on { background: var(--soft); color: var(--brand); }

.win-main { flex: 1; padding: .95rem 1rem 1.1rem; min-width: 0; }
.win-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; }
.wh-k { display: block; font-size: .66rem; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; }
.wh-t { font-family: var(--font-head); font-size: .96rem; font-weight: 700; color: var(--ink); }
.wh-date { font-size: .68rem; color: var(--ink-3); background: var(--canvas-2); border-radius: var(--r-pill); padding: .2rem .6rem; white-space: nowrap; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .8rem; }
.kpi { position: relative; padding: .55rem .6rem; border-radius: var(--r-md); background: var(--canvas-2); border: 1px solid var(--line); overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--navy-500); }
.kpi.g::before { background: var(--green); } .kpi.c::before { background: var(--cyan); } .kpi.p::before { background: var(--purple); }
.kpi span { display: block; font-size: .6rem; color: var(--ink-3); line-height: 1.4; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.14rem; font-weight: 800; color: var(--navy-500); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi.g b { color: var(--green); } .kpi.c b { color: var(--teal); } .kpi.p b { color: var(--purple); }
.kpi i { font-style: normal; font-size: .58rem; color: var(--ink-3); }
.kpi i.up { color: var(--green); font-weight: 600; }

.win-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: .6rem; }
.panel { padding: .7rem .75rem; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); }
.p-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .55rem; }
.p-head b { font-family: var(--font-head); font-size: .76rem; font-weight: 700; }
.p-head span { font-size: .62rem; color: var(--ink-3); }

.chart { display: flex; align-items: flex-end; gap: .34rem; height: 92px; }
.chart i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--navy-500) 70%, var(--navy));
  transform-origin: bottom; animation: grow .9s var(--ease) backwards;
}
.chart i:nth-child(1) { animation-delay: .05s } .chart i:nth-child(2) { animation-delay: .12s }
.chart i:nth-child(3) { animation-delay: .19s } .chart i:nth-child(4) { animation-delay: .26s }
.chart i:nth-child(5) { animation-delay: .33s } .chart i:nth-child(6) { animation-delay: .40s }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.alerts { display: flex; flex-direction: column; gap: .32rem; }
.alerts li {
  display: flex; align-items: center; gap: .38rem;
  font-size: .66rem; font-weight: 500; padding: .34rem .45rem; border-radius: 8px;
}
.alerts .ico { width: 12px; height: 12px; }
.a-red { color: #B4262B; background: #FBDCDD; } .a-amber { color: #8A5C05; background: #FDEFD1; }
.a-purple { color: #4A32B0; background: #E4DDFB; } .a-blue { color: #1A62B8; background: #DAEAFB; }
[data-theme="dark"] .a-red { color: #F0666B; background: #4A1F22; }
[data-theme="dark"] .a-amber { color: #F5B547; background: #42300F; }
[data-theme="dark"] .a-purple { color: #9B85F2; background: #2A2560; }
[data-theme="dark"] .a-blue { color: #5A9DF3; background: #1B3358; }

/* floating chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: .55rem; max-width: min(16rem, 72%);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .55rem .7rem; box-shadow: var(--sh-2); z-index: 2;
  animation: bob 6s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--font-head); font-size: .76rem; font-weight: 700; line-height: 1.3; }
.chip i { font-style: normal; display: block; font-size: .64rem; color: var(--ink-3); line-height: 1.3; }
.ch-ico { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; flex: none; }
.ch-ico .ico { width: 14px; height: 14px; }
.ch-ico.ok { background: #D9F3E7; color: #0F7A4D; }
.ch-ico.pay { background: #DAEAFB; color: #1A62B8; }
.ch-ico.zap { background: #E4DDFB; color: #4A32B0; }
[data-theme="dark"] .ch-ico.ok { background: #14402F; color: #2FC282; }
[data-theme="dark"] .ch-ico.pay { background: #1B3358; color: #5A9DF3; }
[data-theme="dark"] .ch-ico.zap { background: #2A2560; color: #9B85F2; }
.chip-1 { inset-inline-end: 1rem; top: 0; animation-delay: 0s; }
.chip-2 { inset-inline-start: 1rem; bottom: 0; animation-delay: 1.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: .5rem; }
  .app-win, [dir="rtl"] .app-win { transform: none; }
  .lede { max-width: 46rem; }
}
@media (max-width: 720px) {
  .hero-visual { padding-block: 1.4rem; }
  .chip-1, .chip-2 { inset-inline: auto; }
  .chip-1 { inset-inline-end: .5rem; }
  .chip-2 { inset-inline-start: .5rem; }
  .win-body { min-height: 0; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .win-cols { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.1rem 1.6rem; }
  .hero-proof b { font-size: 1.4rem; }
}
@media (max-width: 460px) {
  .chip { padding: .45rem .55rem; max-width: 82%; }
  .chip b { font-size: .72rem; }
  .chip i { font-size: .6rem; }
}

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
}

/* ── marquee strip ───────────────────────────────────────────── */
.strip { padding: 1rem 0 3rem; }
.strip-title { text-align: center; font-size: .86rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 1.1rem; }
.marquee {
  overflow: hidden; padding: .35rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.mq-track { display: flex; gap: .65rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span {
  flex: none; padding: .5rem 1.05rem; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: .86rem; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--sh-1);
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ── sections ────────────────────────────────────────────────── */
.sec { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.sec-tint { background: var(--canvas-2); }
.sec-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); }
.sec-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-ink); }
[data-theme="dark"] .sec-head h2 { color: #F1F6FF; }
.sec-head p { margin-top: .9rem; color: var(--ink-2); font-size: 1.04rem; }

/* ── bento grid ──────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.b-card {
  position: relative; overflow: hidden;
  padding: 1.5rem 1.4rem; border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.b-card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity .3s;
}
.b-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.b-card:hover::after { opacity: 1; }
.b-wide { grid-column: span 2; }
.b-card h3 { font-size: 1.22rem; font-weight: 700; margin: .9rem 0 .5rem; color: var(--brand-ink); }
[data-theme="dark"] .b-card h3 { color: #E6EEFC; }
.b-card p { color: var(--ink-2); font-size: .96rem; line-height: 1.65; }
.b-card p b { color: var(--ink); font-weight: 600; }

.b-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md);
  color: #fff; box-shadow: 0 6px 16px rgba(16, 42, 76, .14);
}
.b-ico .ico { width: 21px; height: 21px; }
.b-ico.navy { background: linear-gradient(135deg, var(--navy-500), var(--navy-800)); }
.b-ico.cyan { background: linear-gradient(135deg, #2ADAD8, var(--teal)); }
.b-ico.purple { background: linear-gradient(135deg, #8B74F0, var(--purple)); }
.b-ico.green { background: linear-gradient(135deg, #2FC282, #0F7A4D); }
.b-ico.amber { background: linear-gradient(135deg, #F8C46A, #D98E06); }
.b-ico.rose { background: linear-gradient(135deg, #F2739F, #C7215F); }
.b-ico.blue { background: linear-gradient(135deg, #5EC5FA, #1A62B8); }
.b-ico.violet { background: linear-gradient(135deg, #A08BF5, #4A32B0); }
.b-ico.teal { background: linear-gradient(135deg, #3ED9CE, #0B7C7A); }

.b-list { display: grid; gap: .38rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.b-list li { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-2); }
.b-list .ico { width: 14px; height: 14px; color: var(--green); stroke-width: 3; }

@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: span 1; } }

/* ── tabs / portals ──────────────────────────────────────────── */
.tabs {
  display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center;
  padding: .35rem; margin: 0 auto 2rem; width: fit-content; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
}
.tab {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .62rem 1.15rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .93rem; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background .25s var(--ease), box-shadow .25s;
}
.tab .ico { width: 16px; height: 16px; }
.tab:hover { color: var(--brand); }
.tab.is-on { color: #fff; background: linear-gradient(135deg, var(--navy-500), var(--navy-800)); box-shadow: var(--sh-brand); }

@media (max-width: 680px) {
  .tabs {
    width: 100%; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    border-radius: var(--r-lg);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: center; padding: .6rem 1rem; font-size: .89rem; }
}

.pane {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
  animation: fadeUp .45s var(--ease);
}
.pane[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pane-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin: .7rem 0 .8rem; color: var(--brand-ink); }
[data-theme="dark"] .pane-copy h3 { color: #F1F6FF; }
.pane-copy p { color: var(--ink-2); font-size: 1.03rem; }

.tag {
  display: inline-block; padding: .25rem .8rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
}
.tag.navy { background: var(--soft); color: var(--brand-ink); }
.tag.cyan { background: #D6F6F5; color: #0B7C7A; }
.tag.purple { background: #E6E0FB; color: #4A32B0; }
.tag.teal { background: #D9F3E7; color: #0F7A4D; }
[data-theme="dark"] .tag.cyan { background: #0F3C47; color: #3ED9CE; }
[data-theme="dark"] .tag.purple { background: #2A2560; color: #9B85F2; }
[data-theme="dark"] .tag.teal { background: #14402F; color: #2FC282; }

.ticks { display: grid; gap: .55rem; margin-top: 1.4rem; }
.ticks li { display: flex; align-items: flex-start; gap: .55rem; font-size: .96rem; color: var(--ink-2); }
.ticks .ico { width: 16px; height: 16px; color: var(--green); stroke-width: 3; margin-top: .32em; flex: none; }

@media (max-width: 900px) { .pane { grid-template-columns: 1fr; } .pane-vis { order: -1; } }

/* ── generic mock card ───────────────────────────────────────── */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); padding: 1.1rem 1.15rem 1rem; overflow: hidden;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .95rem; }
.mock-top b { font-family: var(--font-head); font-size: .98rem; font-weight: 700; }
.pill { font-size: .72rem; font-weight: 600; color: var(--ink-2); background: var(--canvas-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .18rem .7rem; white-space: nowrap; }
.pill.up { color: var(--green); background: #D9F3E7; border-color: transparent; }
[data-theme="dark"] .pill.up { background: #14402F; color: #2FC282; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--ink-3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; flex: none; }

/* management task list */
.task-list { display: grid; gap: .5rem; }
.task-list li {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .7rem; border-radius: var(--r-md);
  background: var(--canvas-2); border: 1px solid var(--line);
  transition: transform .2s var(--ease), border-color .2s;
}
.task-list li:hover { transform: translateX(-4px); border-color: var(--line-2); }
.task-list div { flex: 1; min-width: 0; }
.task-list b { display: block; font-family: var(--font-head); font-size: .89rem; font-weight: 600; }
.task-list i { font-style: normal; display: block; font-size: .74rem; color: var(--ink-3); }
.t-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.t-dot.red { background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.t-dot.amber { background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent); }
.t-dot.purple { background: var(--purple); box-shadow: 0 0 0 4px color-mix(in srgb, var(--purple) 18%, transparent); }
.t-dot.blue { background: var(--navy-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--navy-500) 18%, transparent); }
.t-go { font-size: .74rem; font-weight: 600; color: var(--brand); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .2rem .7rem; white-space: nowrap; }

/* phone mock */
.phone-mock {
  position: relative; width: min(100%, 300px); margin-inline: auto;
  background: var(--card); border: 9px solid var(--brand-ink); border-radius: 36px;
  box-shadow: var(--sh-3); padding: .55rem;
}
[data-theme="dark"] .phone-mock { border-color: #1E3466; }
.ph-notch { width: 92px; height: 20px; border-radius: 0 0 12px 12px; background: var(--brand-ink); margin: -.55rem auto .5rem; }
[data-theme="dark"] .ph-notch { background: #1E3466; }
.ph-screen { border-radius: 24px; overflow: hidden; }
.ph-head { padding: .3rem .3rem .7rem; }
.ph-head span { font-size: .72rem; color: var(--ink-3); }
.ph-head b { display: block; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; }
.ph-next {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .65rem .75rem; border-radius: var(--r-md); margin-bottom: .6rem;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-800)); color: #fff;
}
.ph-next b { font-family: var(--font-head); font-size: .88rem; font-weight: 700; display: block; }
.ph-next i { font-style: normal; font-size: .7rem; opacity: .8; }
.ph-in { font-size: .68rem; font-weight: 600; background: rgba(255, 255, 255, .18); border-radius: var(--r-pill); padding: .2rem .55rem; white-space: nowrap; }
.ph-att { border: 1px solid var(--line); border-radius: var(--r-md); padding: .55rem .6rem; }
.ph-att-h { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.ph-att-h b { font-family: var(--font-head); font-size: .82rem; }
.ph-att-h span { font-size: .72rem; color: var(--ink-3); }
.ph-row { display: flex; align-items: center; gap: .45rem; padding: .32rem 0; border-top: 1px solid var(--line); }
.ph-row b { flex: 1; font-family: var(--font-body); font-size: .8rem; font-weight: 500; }
.av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--brand); font-size: .66rem; font-weight: 700; flex: none; }
.st { font-size: .66rem; font-weight: 600; border-radius: var(--r-pill); padding: .1rem .5rem; }
.st.ok { background: #D9F3E7; color: #0F7A4D; }
.st.late { background: #FDEFD1; color: #8A5C05; }
.st.off { background: #FBDCDD; color: #B4262B; }
[data-theme="dark"] .st.ok { background: #14402F; color: #2FC282; }
[data-theme="dark"] .st.late { background: #42300F; color: #F5B547; }
[data-theme="dark"] .st.off { background: #4A1F22; color: #F0666B; }
.ph-cta { margin-top: .6rem; text-align: center; padding: .6rem; border-radius: var(--r-md); background: var(--grad-navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .86rem; }

/* student mock */
.stud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.sg { padding: .55rem .6rem; border-radius: var(--r-md); background: var(--canvas-2); border: 1px solid var(--line); }
.sg span { display: block; font-size: .64rem; color: var(--ink-3); }
.sg b { font-family: var(--font-head); font-size: 1.02rem; font-weight: 800; color: var(--navy-500); font-variant-numeric: tabular-nums; }
.sg.g b { color: var(--green); } .sg.a b { color: #B0740A; } .sg.p b { color: var(--purple); }
.course-list { display: grid; gap: .5rem; }
.course-list li { display: flex; align-items: center; gap: .6rem; font-size: .84rem; }
.course-list b { font-weight: 500; flex: none; width: 8.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.course-list i { font-style: normal; font-size: .74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 7px; border-radius: 4px; background: var(--canvas-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--navy-500)); }
@media (max-width: 480px) { .stud-grid { grid-template-columns: 1fr 1fr; } .course-list b { width: 6.5rem; } }

/* org list */
.org-list { display: grid; gap: .5rem; }
.org-list li { display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border-radius: var(--r-md); background: var(--canvas-2); border: 1px solid var(--line); }
.org-list div { flex: 1; min-width: 0; }
.org-list b { display: block; font-family: var(--font-head); font-size: .88rem; font-weight: 600; }
.org-list i { font-style: normal; display: block; font-size: .73rem; color: var(--ink-3); }
.og-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; flex: none; }
.og-av.n1 { background: linear-gradient(135deg, var(--navy-500), var(--navy-800)); }
.og-av.n2 { background: linear-gradient(135deg, #2ADAD8, var(--teal)); }
.og-av.n3 { background: linear-gradient(135deg, #8B74F0, var(--purple)); }
.og-av.n4 { background: linear-gradient(135deg, #2FC282, #0F7A4D); }
.og-go { font-size: .74rem; font-weight: 600; color: var(--brand); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .2rem .7rem; }

/* ── split rows ──────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 4vw, 4rem); align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.split:last-child { margin-bottom: 0; }
.split.flip .split-copy { order: 2; }
.split-copy h3 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; margin-bottom: .8rem; color: var(--brand-ink); }
[data-theme="dark"] .split-copy h3 { color: #F1F6FF; }
.split-copy > p { color: var(--ink-2); font-size: 1.03rem; }
.num {
  display: inline-block; font-family: var(--font-head); font-size: .82rem; font-weight: 800;
  letter-spacing: .1em; color: var(--cyan); margin-bottom: .5rem;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-copy { order: 0; }
  .split-vis { order: 0; margin-top: .4rem; }
}

/* calendar mock */
.cal { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cal-h { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--canvas-2); border-bottom: 1px solid var(--line); }
.cal-h span { padding: .35rem; text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.cal-b { display: grid; grid-template-columns: repeat(5, 1fr); min-height: 130px; }
.cal-col { display: flex; flex-direction: column; gap: .25rem; padding: .35rem .28rem; border-inline-start: 1px solid var(--line); }
.cal-col:first-child { border-inline-start: 0; }
.ev { font-style: normal; font-size: .6rem; font-weight: 600; padding: .28rem .35rem; border-radius: 6px; line-height: 1.3; }
.ev.navy { background: var(--soft); color: var(--brand-ink); }
.ev.cyan { background: #D6F6F5; color: #0B7C7A; }
.ev.purple { background: #E6E0FB; color: #4A32B0; }
.ev.green { background: #D9F3E7; color: #0F7A4D; }
.ev.warn { background: #FBDCDD; color: #B4262B; }
.ev.muted { background: var(--canvas-2); color: var(--ink-3); }
[data-theme="dark"] .ev.cyan { background: #0F3C47; color: #3ED9CE; }
[data-theme="dark"] .ev.purple { background: #2A2560; color: #9B85F2; }
[data-theme="dark"] .ev.green { background: #14402F; color: #2FC282; }
[data-theme="dark"] .ev.warn { background: #4A1F22; color: #F0666B; }
.conflict {
  display: flex; align-items: center; gap: .5rem; margin-top: .8rem;
  padding: .6rem .7rem; border-radius: var(--r-md);
  background: #FEF0F0; border: 1px solid #FBDCDD; color: #B4262B; font-size: .8rem;
}
.conflict b { font-weight: 700; }
.conflict .ico { width: 16px; height: 16px; flex: none; }
[data-theme="dark"] .conflict { background: #36181A; border-color: #4A1F22; color: #F0666B; }

/* finance mock */
.fin-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .9rem; }
.fin { padding: .6rem .65rem; border-radius: var(--r-md); background: var(--canvas-2); border: 1px solid var(--line); }
.fin span { display: block; font-size: .68rem; color: var(--ink-3); }
.fin b { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fin.g b { color: var(--green); } .fin.r b { color: var(--red); }
.donut-row { display: flex; align-items: center; gap: 1.1rem; }
.donut {
  position: relative; width: 104px; height: 104px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--canvas-2) 0);
  display: grid; place-items: center;
}
.donut::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--card); }
.donut span { position: relative; z-index: 1; font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; color: var(--green); }
.legend { display: grid; gap: .38rem; font-size: .82rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: .45rem; }
.legend b { margin-inline-start: auto; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.lg { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lg.g { background: var(--green); } .lg.a { background: var(--amber); } .lg.r { background: var(--red); }

/* kanban + flow */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-bottom: .9rem; }
.kb { padding: .5rem .45rem; border-radius: var(--r-md); background: var(--canvas-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.kb.on { border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, var(--canvas-2)); }
.kb-h { display: flex; align-items: center; justify-content: space-between; font-size: .68rem; color: var(--ink-3); font-weight: 500; }
.kb-h b { font-family: var(--font-head); font-size: .78rem; color: var(--ink); }
.kb-c { display: block; height: 26px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.kb-c.sm { height: 18px; }
.kb-c.ok { background: color-mix(in srgb, var(--green) 16%, var(--card)); border-color: color-mix(in srgb, var(--green) 34%, transparent); }
.flow { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; padding-top: .85rem; border-top: 1px solid var(--line); }
.fl { font-size: .7rem; font-weight: 600; padding: .3rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.fl.trigger { background: #FDEFD1; color: #8A5C05; }
.fl.cond { background: var(--soft); color: var(--brand-ink); }
.fl.act { background: #E4DDFB; color: #4A32B0; }
[data-theme="dark"] .fl.trigger { background: #42300F; color: #F5B547; }
[data-theme="dark"] .fl.act { background: #2A2560; color: #9B85F2; }
.fl-ar { width: 14px; height: 14px; color: var(--ink-3); }

/* ── stats band ──────────────────────────────────────────────── */
.band { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--grad-navy); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 80% 0%, rgba(18, 199, 197, .30), transparent 62%),
              radial-gradient(50% 110% at 12% 100%, rgba(101, 69, 232, .34), transparent 60%);
}
.band-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.band-item b {
  display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.band-item > span { display: block; margin-top: .25rem; font-size: .88rem; color: #B9CDEF; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.band-item b span { font: inherit; color: inherit; }
@media (max-width: 760px) { .band-in { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; } }

/* ── feature row (hebrew section) ────────────────────────────── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.8rem; }
.feat { padding: 1.05rem 1rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.feat .b-ico { width: 38px; height: 38px; border-radius: 11px; margin-bottom: .65rem; }
.feat .b-ico .ico { width: 18px; height: 18px; }
.feat b { display: block; font-family: var(--font-head); font-size: .98rem; font-weight: 700; margin-bottom: .25rem; }
.feat i { font-style: normal; font-size: .86rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 560px) { .feat-row { grid-template-columns: 1fr; } }

/* hebrew calendar mock */
.hcal { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.hc-h { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--canvas-2); border-bottom: 1px solid var(--line); }
.hc-h span { padding: .32rem; text-align: center; font-size: .7rem; font-weight: 600; color: var(--ink-2); }
.hc-b { display: grid; grid-template-columns: repeat(7, 1fr); }
.hc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  padding: .5rem .2rem; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line);
  min-height: 52px;
}
.hc:nth-child(7n+1) { border-inline-start: 0; }
.hc b { font-family: var(--font-head); font-size: .72rem; font-weight: 700; color: var(--ink); }
.hc i { font-style: normal; font-size: .62rem; color: var(--ink-3); }
.hc.has { background: var(--soft-2); }
.hc.has b { color: var(--brand); }
.hc.off { background: var(--canvas-2); }
.hc.off b, .hc.off i { color: var(--ink-3); }
.hc.hol { background: #E6E0FB; }
.hc.hol b { color: #4A32B0; font-size: .62rem; }
.hc.hol i { color: #6E5AC0; }
[data-theme="dark"] .hc.hol { background: #2A2560; }
[data-theme="dark"] .hc.hol b { color: #9B85F2; }
[data-theme="dark"] .hc.hol i { color: #8272D8; }
.hcal-key { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .85rem; font-size: .76rem; color: var(--ink-2); }
.hcal-key li { display: flex; align-items: center; gap: .35rem; }
.k { width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--line); flex: none; }
.k.has { background: var(--soft-2); } .k.off { background: var(--canvas-2); } .k.hol { background: #E6E0FB; }
[data-theme="dark"] .k.hol { background: #2A2560; }

/* ── trust grid ──────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.t-card {
  padding: 1.4rem 1.3rem; border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.t-card b { display: block; font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; margin: .85rem 0 .4rem; color: var(--brand-ink); }
[data-theme="dark"] .t-card b { color: #E6EEFC; }
.t-card p { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .trust { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--sh-2); }
.faq summary {
  display: flex; align-items: center; gap: .8rem; cursor: pointer; list-style: none;
  padding: 1.1rem 1.3rem; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
  color: var(--ink); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.fq-i { position: relative; width: 20px; height: 20px; margin-inline-start: auto; flex: none; }
.fq-i::before, .fq-i::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  width: 12px; height: 2px; border-radius: 2px; background: var(--brand);
  transform: translate(50%, -50%); transition: transform .3s var(--ease), opacity .2s;
}
.fq-i::after { transform: translate(50%, -50%) rotate(90deg); }
.faq details[open] .fq-i::after { transform: translate(50%, -50%) rotate(0); opacity: 0; }
.fq-a { padding: 0 1.3rem 1.2rem; }
.fq-a p { color: var(--ink-2); font-size: .97rem; }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--navy-900); color: #fff; }
.cta-bg { position: absolute; inset: 0; }
.orb-d { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; background: rgba(36, 107, 232, .55); inset-inline-start: -8vw; top: -12vw; animation: float 24s ease-in-out infinite; }
.orb-e { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: rgba(18, 199, 197, .32); inset-inline-end: -6vw; bottom: -14vw; animation: float 28s ease-in-out infinite reverse; }
.cta-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.cta-copy h2 { margin: 1.1rem 0 1rem; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.cta-copy > p { color: #B9CDEF; font-size: 1.05rem; max-width: 30rem; }
.cta-ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; }
.cta-ticks li { display: flex; align-items: center; gap: .45rem; font-size: .92rem; color: #DCE6F7; }
.cta-ticks .ico { width: 15px; height: 15px; color: var(--cyan); stroke-width: 3; }

.cta-form {
  background: var(--card); color: var(--ink);
  border-radius: var(--r-2xl); padding: 1.75rem 1.7rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.cta-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.1rem; color: var(--brand-ink); }
[data-theme="dark"] .cta-form h3 { color: #E6EEFC; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-3); font-size: .76rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .85rem; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--canvas); color: var(--ink);
  font-size: .95rem; font-family: inherit; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 3.4rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); background: var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--navy-500) 15%, transparent);
}
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-note { margin-top: .9rem; font-size: .76rem; color: var(--ink-3); text-align: center; }
.form-err { margin-top: .7rem; font-size: .85rem; color: var(--red); font-weight: 500; text-align: center; }
#submitBtn.loading { opacity: .75; pointer-events: none; }

.form-done { text-align: center; padding: 1.5rem .5rem; }
.done-ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; background: #D9F3E7; color: #0F7A4D; }
.done-ico .ico { width: 28px; height: 28px; stroke-width: 3; }
[data-theme="dark"] .done-ico { background: #14402F; color: #2FC282; }
.form-done h3 { margin-bottom: .5rem; }
.form-done p { color: var(--ink-2); font-size: .95rem; }
.form-done a { color: var(--brand); font-weight: 600; }

@media (max-width: 900px) { .cta-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } .cta-form { padding: 1.4rem 1.2rem; } }

/* ── footer ──────────────────────────────────────────────────── */
.ftr { background: var(--canvas-2); border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.ftr-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.ftr-brand p { margin-top: .9rem; font-size: .9rem; color: var(--ink-2); max-width: 24rem; }
.ftr-brand .brand-txt i { font-size: .72rem; letter-spacing: .12em; }
.ftr-social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.ftr-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  transition: color .2s, border-color .2s, transform .2s;
}
.ftr-social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.ftr-col { display: flex; flex-direction: column; gap: .55rem; }
.ftr-col b { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.ftr-col a, .ftr-col span { font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.ftr-col a:hover { color: var(--brand); }
.ftr-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3);
}
@media (max-width: 860px) { .ftr-in { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 520px) { .ftr-in { grid-template-columns: 1fr; } .ftr-bot { justify-content: center; text-align: center; } }

/* ── reveal on scroll ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── print ───────────────────────────────────────────────────── */
@media print {
  .hdr, .progress, .cta-form, .marquee, .hero-bg, .cta-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
