/* Eolipa - אתר שיווקי. קובץ סגנון משותף לכל העמודים. סטטי, בלי שלב בנייה. */

:root {
  color-scheme: dark;
  --bg: #06070d;
  --bg-2: #0a0c17;
  --panel: #0e1020;
  --panel-2: #131629;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #f2f3f8;
  --muted: #a9afc6;
  --dim: #8a91ab;
  --violet: #6d5cff;
  --violet-txt: #b3a9ff;
  --teal: #19d3c5;
  --teal-txt: #5fe6db;
  --ok: #45dd9c;
  --warn: #f6c55a;
  --bad: #ff8a8a;
  --grad: linear-gradient(120deg, #6d5cff 0%, #19d3c5 100%);
  --grad-soft: linear-gradient(135deg, rgba(109, 92, 255, .18), rgba(25, 211, 197, .1));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .05);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Rubik", "Heebo", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.7 var(--font); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
b, strong { font-weight: 600; color: var(--fg); }
code, .mono { font-family: var(--mono); font-size: .88em; direction: ltr; unicode-bidi: isolate; }
::selection { background: rgba(109, 92, 255, .45); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal-txt); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #06070d; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-soft { background: linear-gradient(100deg, #fff 10%, #d6d1ff 45%, #7cefe5 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- רקע כללי ---------- */
.bg-fx { position: absolute; inset: 0 0 auto 0; height: 1100px; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 75%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora.a1 { width: 720px; height: 520px; inset-inline-end: -160px; top: -260px; background: radial-gradient(closest-side, rgba(109, 92, 255, .9), transparent); animation: drift 22s ease-in-out infinite alternate; }
.aurora.a2 { width: 620px; height: 460px; inset-inline-start: -200px; top: 120px; background: radial-gradient(closest-side, rgba(25, 211, 197, .55), transparent); animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }

/* ---------- כותרת עליונה ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.scrolled, .site-header.open { background: rgba(6, 7, 13, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: .01em; direction: ltr; flex-shrink: 0; padding: 6px 0; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 6px 20px -6px rgba(109, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--fg); }
.header-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-cta .btn { display: none; }
  .site-header.open .mobile-nav { display: block; }
  .mobile-nav { position: absolute; top: var(--header-h); inset-inline: 0; background: #06070d; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .mobile-nav a { display: block; padding: 14px 4px; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--fg); }
  .mobile-nav .btn { display: flex; margin-top: 16px; width: 100%; justify-content: center; border-bottom: 0; color: #090a12; }
}

/* ---------- כפתורים ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .24); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: #fff; color: #090a12; border-color: #fff; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(109, 92, 255, .9), 0 0 0 4px rgba(109, 92, 255, .12); }
.btn.primary:hover { background: #eceafe; }
.btn.sm { --h: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn.lg { --h: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(-3px); }

/* ---------- כותרות אזור ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--teal-txt); margin-bottom: 16px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; max-width: 18em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40em; margin: 18px 0 0; line-height: 1.65; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .h2, .section-head.center .lede { margin-inline: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: 720px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 14px; color: var(--muted); text-decoration: none; }
.pill .tag { padding: 3px 10px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(109, 92, 255, .4); color: var(--fg); font-size: 12.5px; font-weight: 600; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 0; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--dim); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal-txt); flex-shrink: 0; }

/* ---------- חלון ההדגמה ---------- */
.demo { margin: 0; position: relative; }
.demo::before { content: ""; position: absolute; inset: 8% 2% -6% 2%; background: radial-gradient(60% 60% at 50% 50%, rgba(109, 92, 255, .35), transparent 70%); filter: blur(30px); z-index: -1; }
.demo-win { position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, #11132a, #0b0d1c); box-shadow: var(--shadow), 0 0 0 1px rgba(109, 92, 255, .18) inset; overflow: hidden; }
.demo-win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(109, 92, 255, .8), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .02) 65%, rgba(25, 211, 197, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.demo-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13px; color: var(--dim); }
.demo-bar .dots { display: flex; gap: 6px; direction: ltr; }
.demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.demo-bar .title { flex: 1; text-align: center; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); height: 540px; }
@media (max-width: 640px) { .demo-body { grid-template-columns: 1fr; height: 520px; } .demo-app { display: none !important; } }

.demo-app { border-inline-end: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; background: rgba(0, 0, 0, .12); }
.app-crumb { font-size: 12px; color: var(--dim); }
.app-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 16px var(--display); }
.app-title .count { font: 500 12px var(--font); color: var(--dim); padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.app-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.app-filters span { font-size: 11.5px; padding: 3px 9px; border-radius: 7px; background: var(--surface-2); color: var(--muted); }
.app-table { font-size: 12.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.app-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 58px 54px; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); align-items: center; white-space: nowrap; }
.app-row > span { overflow: hidden; text-overflow: ellipsis; }
.app-row:last-child { border-bottom: 0; }
.app-row.head { color: var(--dim); font-size: 11.5px; background: rgba(255, 255, 255, .025); }
.app-row .num { font-family: var(--mono); font-size: 11.5px; color: var(--muted); direction: ltr; text-align: end; }
.app-row .sum { direction: ltr; text-align: end; font-variant-numeric: tabular-nums; }
.st { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; border: 1px solid; }
.st.open { color: var(--teal-txt); border-color: rgba(25, 211, 197, .35); background: rgba(25, 211, 197, .08); }
.st.draft { color: var(--violet-txt); border-color: rgba(109, 92, 255, .4); background: rgba(109, 92, 255, .1); }
.st.done { color: var(--muted); border-color: var(--line-2); }
.st.lock { color: var(--warn); border-color: rgba(246, 197, 90, .35); background: rgba(246, 197, 90, .07); }
.app-row.new { animation: rowIn .9s cubic-bezier(.2, .8, .2, 1) both; background: rgba(25, 211, 197, .08); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: rgba(25, 211, 197, .3); } }
.app-toast { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(69, 221, 156, .3); background: rgba(69, 221, 156, .07); font-size: 12.5px; color: var(--fg); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.app-toast.show { opacity: 1; transform: none; }
.app-toast i { color: var(--ok); font-style: normal; }
.app-schema { display: none; flex-direction: column; gap: 8px; }
.app-field { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; align-items: center; font-size: 12.5px; }
.app-field label { color: var(--dim); }
.app-field .inp { height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); padding: 0 10px; display: flex; align-items: center; color: var(--muted); font-size: 12px; overflow: hidden; white-space: nowrap; }
.app-field.new { animation: rowIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.app-field.new .inp { border-color: rgba(25, 211, 197, .55); box-shadow: 0 0 0 3px rgba(25, 211, 197, .12); }

/* פאנל הסוכן בהדגמה - נאמן לממשק האמיתי (AgentPanel) */
.demo-agent { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ag-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ag-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.ag-mark svg { width: 19px; height: 19px; }
.ag-title { display: flex; flex-direction: column; line-height: 1.25; }
.ag-title b { font-size: 14px; }
.ag-status { font-size: 11.5px; color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.ag-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.ag-status.busy::before { background: var(--violet-txt); box-shadow: 0 0 8px var(--violet); animation: blink 1s infinite; }
.ag-body { flex: 1; min-height: 0; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 9px; scroll-behavior: smooth; }
.ag-body > * { flex-shrink: 0; }
.demo .ag-body { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px); mask-image: linear-gradient(180deg, transparent 0, #000 28px); }
.ag-msg { max-width: 92%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; animation: rise .35s ease-out both; }
.ag-msg.user { align-self: flex-start; background: rgba(109, 92, 255, .2); border: 1px solid rgba(109, 92, 255, .38); border-start-start-radius: 4px; }
.ag-msg.bot { align-self: flex-end; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); border-start-end-radius: 4px; }
.ag-msg.bot p { margin: 0; }
.ag-msg.bot p + p { margin-top: 6px; }
.ag-tool { align-self: stretch; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 2px 4px; animation: rise .3s ease-out both; }
.ag-tool .ico { width: 18px; height: 18px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-size: 11px; }
.ag-tool.done .ico { color: var(--ok); background: rgba(69, 221, 156, .12); }
.ag-tool.blocked .ico { color: var(--warn); background: rgba(246, 197, 90, .12); }
.ag-tool .meta { margin-inline-start: auto; font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--teal); animation: spin .7s linear infinite; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-end; justify-content: flex-end; animation: rise .3s ease-out both; }
.ag-chips span { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); transition: background .2s, border-color .2s, transform .15s; }
.ag-chips span.picked { background: rgba(109, 92, 255, .3); border-color: rgba(109, 92, 255, .7); transform: scale(.97); }
.ag-card { align-self: stretch; border-radius: 14px; border: 1px solid rgba(109, 92, 255, .45); background: linear-gradient(180deg, rgba(109, 92, 255, .12), rgba(109, 92, 255, .04)); padding: 12px 14px; font-size: 13px; animation: rise .4s ease-out both; box-shadow: 0 10px 30px -14px rgba(109, 92, 255, .7); }
.ag-card.done { border-color: rgba(69, 221, 156, .4); background: linear-gradient(180deg, rgba(69, 221, 156, .08), rgba(69, 221, 156, .02)); box-shadow: none; }
.ag-card-title { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.ag-card-title::before { content: "אישור נדרש"; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: rgba(109, 92, 255, .3); color: #ddd8ff; }
.ag-card.done .ag-card-title::before { content: "בוצע"; background: rgba(69, 221, 156, .18); color: var(--ok); }
.ag-card ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; color: var(--muted); }
.ag-card li { display: flex; gap: 8px; }
.ag-card li::before { content: "•"; color: var(--violet-txt); }
.ag-card li.add::before { content: "+"; color: var(--ok); font-weight: 700; }
.ag-card-warn { margin-top: 8px; font-size: 12px; color: var(--warn); }
.ag-actions { display: flex; align-items: center; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.ag-btn { font-size: 12.5px; padding: 5px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); transition: transform .12s, box-shadow .2s, background .2s; }
.ag-btn.primary { background: #fff; border-color: #fff; color: #0a0b14; font-weight: 600; }
.ag-btn.primary.press { transform: scale(.94); box-shadow: 0 0 0 5px rgba(255, 255, 255, .18); }
.ag-link { font-size: 12px; color: var(--violet-txt); }
.ag-state { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ag-state.ok { color: var(--ok); }
.ag-thinking { align-self: flex-end; display: flex; gap: 4px; padding: 10px 12px; }
.ag-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.ag-thinking i:nth-child(2) { animation-delay: .15s; } .ag-thinking i:nth-child(3) { animation-delay: .3s; }
.ag-compose { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.ag-input { flex: 1; min-height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); padding: 8px 12px; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-input.typing { color: var(--fg); border-color: rgba(109, 92, 255, .6); }
.ag-input.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--fg); vertical-align: -2px; margin-inline-start: 1px; animation: blink .9s steps(1) infinite; }
.ag-send { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex-shrink: 0; }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; z-index: 5; opacity: 0; transition: transform .7s cubic-bezier(.5, 0, .2, 1), opacity .3s; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.cursor.show { opacity: 1; }

.demo-controls { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.scene-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 14px var(--font); cursor: pointer; position: relative; overflow: hidden; transition: color .2s, border-color .2s, background .2s; }
.scene-tab:hover { color: var(--fg); border-color: var(--line-2); }
.scene-tab[aria-pressed="true"] { color: var(--fg); border-color: rgba(109, 92, 255, .6); background: rgba(109, 92, 255, .12); }
.scene-tab .n { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.scene-tab .prog { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.demo-pause { margin-inline-start: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.demo-pause:hover { color: var(--fg); border-color: var(--line-2); }
.demo-pause svg { width: 14px; height: 14px; }
.demo-note { font-size: 13px; color: var(--dim); margin-top: 10px; }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- רצועת "מנוע, לא מערכת" ---------- */
.statement { font: 700 clamp(28px, 4.4vw, 54px)/1.15 var(--display); letter-spacing: -.02em; text-align: center; max-width: 20em; margin: 0 auto; color: var(--dim); }
.statement b { color: var(--fg); font-weight: 700; }
.not-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.not-list span { font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.not-list span s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 138, 138, .7); }
.not-list span.yes { color: var(--fg); border-color: rgba(109, 92, 255, .55); background: var(--grad-soft); font-weight: 600; }

/* ---------- Bento: שלושת העקרונות ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); padding: 28px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--line-2); }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; }
.tile .num { font: 600 13px var(--mono); color: var(--violet-txt); margin-bottom: 14px; direction: ltr; text-align: end; }
.tile h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.tile .art { margin-top: auto; padding-top: 24px; }
.tile .more { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--teal-txt); text-decoration: none; display: inline-flex; gap: 6px; }
.tile .more:hover { text-decoration: underline; }
@media (max-width: 980px) { .tile, .tile.wide { grid-column: span 6; } }

.mini-ui { border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); padding: 14px; font-size: 13px; }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--muted); }
.mini-row + .mini-row { border-top: 1px dashed var(--line); }
.mini-row .k { color: var(--fg); }
.mini-row .r { margin-inline-start: auto; }
.lock-ico { color: var(--warn); }
.badge { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: rgba(69, 221, 156, .35); }
.badge.lock { color: var(--warn); border-color: rgba(246, 197, 90, .35); }
.badge.v { color: var(--violet-txt); border-color: rgba(109, 92, 255, .45); }

/* ---------- הבסיס ---------- */
.base-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .base-grid { grid-template-columns: 1fr; } }
.rings { width: 100%; max-width: 520px; margin-inline: auto; display: block; aspect-ratio: 1; }
.rings text { font-family: var(--font); fill: var(--muted); font-size: 15px; }
.rings .core-t { fill: #fff; font-weight: 600; font-size: 17px; }
.ring { fill: none; stroke: rgba(255, 255, 255, .1); }
.ring-orbit { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
.ring-orbit.r2 { animation-duration: 90s; animation-direction: reverse; }
.invariants { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.invariants li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.invariants li:last-child { border-bottom: 0; }
.invariants .i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(246, 197, 90, .08); border: 1px solid rgba(246, 197, 90, .25); color: var(--warn); }
.invariants .i svg { width: 18px; height: 18px; }
.invariants h3 { font: 600 17px/1.4 var(--font); margin: 4px 0 2px; }
.invariants p { margin: 0; font-size: 15px; color: var(--muted); }

.breaker { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .breaker { grid-template-columns: 1fr; } }
.breaker-side { padding: 28px; border-inline-end: 1px solid var(--line); }
@media (max-width: 860px) { .breaker-side { border-inline-end: 0; border-bottom: 1px solid var(--line); } }
.breaker-side h3 { font-size: 22px; margin-bottom: 8px; }
.breaker-side p { color: var(--muted); font-size: 15px; }
.attempts { display: grid; gap: 8px; margin-top: 18px; }
.attempt { text-align: start; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 500 15px/1.4 var(--font); cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color .2s, background .2s; }
.attempt:hover { border-color: var(--line-2); background: var(--surface-2); }
.attempt[aria-pressed="true"] { border-color: rgba(246, 197, 90, .5); background: rgba(246, 197, 90, .06); }
.attempt .x { margin-inline-start: auto; color: var(--dim); font-size: 13px; }
.console { padding: 24px 28px; font-family: var(--font); font-size: 15px; line-height: 1.7; min-height: 300px; background: radial-gradient(80% 60% at 100% 0%, rgba(109, 92, 255, .08), transparent), #080915; direction: rtl; }
.console .c-line { display: flex; gap: 10px; animation: rise .35s ease-out both; }
.console .c-line + .c-line { margin-top: 6px; }
.console .p { color: var(--dim); flex-shrink: 0; font-family: var(--mono); width: 1em; text-align: center; }
@media (max-width: 860px) { .console { min-height: 220px; padding: 20px; } }
.console .c-user { color: var(--fg); font-family: var(--font); font-size: 15px; }
.console .c-check { color: var(--muted); }
.console .c-block { color: var(--warn); }
.console .c-ok { color: var(--ok); }
.console .c-text { color: var(--fg); font-family: var(--font); font-size: 15px; }
.console .hint { color: var(--dim); font-family: var(--font); font-size: 15px; }

/* ---------- זרימת הסוכן ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: f; position: relative; }
@media (max-width: 980px) { .flow { grid-template-columns: 1fr; } }
.flow li { position: relative; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); counter-increment: f; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 14px var(--mono); background: var(--grad-soft); border: 1px solid rgba(109, 92, 255, .45); color: var(--fg); margin-bottom: 12px; }
.flow li.key { border-color: rgba(109, 92, 255, .55); background: linear-gradient(180deg, rgba(109, 92, 255, .14), rgba(109, 92, 255, .04)); }
.flow h3 { font: 600 17px/1.35 var(--font); margin-bottom: 6px; }
.flow p { margin: 0; color: var(--muted); font-size: 14.5px; }

.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cap .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(109, 92, 255, .35); color: var(--fg); }
.cap .ic svg { width: 21px; height: 21px; }
.cap h3 { font: 600 19px/1.3 var(--font); }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }
.cap .say { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--violet-txt); }
.cap .say::before { content: "”"; }
.cap .say::after { content: "“"; }

/* ---------- מחוללים ---------- */
.gen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .gen-grid { grid-template-columns: 1fr; } }
.gen { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.gen-art { height: 210px; position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(90% 80% at 50% 0%, rgba(109, 92, 255, .14), transparent 70%), #0a0b17; padding: 20px; overflow: hidden; }
.gen-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 56px; background: linear-gradient(180deg, transparent, #0a0b17); pointer-events: none; }
.gen-copy { padding: 22px 24px 26px; }
.gen-copy h3 { font: 600 20px var(--display); margin-bottom: 6px; }
.gen-copy p { margin: 0; font-size: 15px; color: var(--muted); }
.gen-prompt { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.gen-prompt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: rgba(255, 255, 255, .02); }
.kpi small { display: block; font-size: 10.5px; color: var(--dim); }
.kpi b { font: 600 15px var(--display); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; direction: ltr; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--violet), rgba(109, 92, 255, .3)); transform-origin: bottom; }
.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--teal), rgba(25, 211, 197, .25)); }
.in .bars i { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(.05); } }
.rep { font-size: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rep div { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 7px 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.rep div:first-child { color: var(--dim); background: rgba(255, 255, 255, .03); font-size: 11px; }
.rep div:last-child { border-bottom: 0; color: var(--fg); font-weight: 600; }
.rep span:not(:first-child) { text-align: end; direction: ltr; font-variant-numeric: tabular-nums; }
.portal { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 280px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; background: rgba(255, 255, 255, .03); }
.portal .ph { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.portal .ph i { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.portal .pl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.gen-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; justify-content: center; }
.gen-list span { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ---------- ישראל ---------- */
.il-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .il-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font-size: 14.5px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.invoice { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, #121429, #0c0d1b); box-shadow: var(--shadow); padding: 24px; position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.inv-head h3 { font-size: 18px; }
.inv-head small { color: var(--dim); font-size: 13px; }
.inv-lines { display: grid; gap: 6px; padding: 14px 0; font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--line-2); }
.inv-lines div { display: flex; justify-content: space-between; gap: 12px; }
.inv-lines .tot { color: var(--fg); font-weight: 600; }
.inv-lines span:last-child { direction: ltr; font-variant-numeric: tabular-nums; }
.inv-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.inv-checks li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.inv-checks li .ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(69, 221, 156, .12); color: var(--ok); font-size: 12px; flex-shrink: 0; }
.inv-checks li b { margin-inline-start: auto; font-family: var(--mono); font-size: 13px; color: var(--teal-txt); direction: ltr; }
.stamp { position: absolute; top: 22px; inset-inline-end: 22px; transform: rotate(-8deg); border: 2px solid rgba(69, 221, 156, .6); color: var(--ok); border-radius: 10px; padding: 2px 10px; font: 700 13px var(--display); letter-spacing: .04em; }

/* ---------- איך זה עובד ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .how-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 30px; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 23px; top: 50px; bottom: 4px; width: 1px; background: linear-gradient(180deg, var(--line-2), transparent); }
.steps .sn { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 600 16px var(--mono); border: 1px solid var(--line-2); background: var(--surface); }
.steps li:first-child .sn { background: var(--grad); border: 0; color: #fff; }
.steps h3 { font: 600 19px/1.4 var(--font); margin: 10px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.setup { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); padding: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.setup .q { font-size: 15px; line-height: 1.65; padding: 14px 16px; border-radius: 14px; border-start-start-radius: 4px; background: rgba(109, 92, 255, .16); border: 1px solid rgba(109, 92, 255, .35); }
.setup .lbl { font-size: 13px; color: var(--dim); margin: 18px 0 10px; }
.found { display: flex; flex-wrap: wrap; gap: 6px; }
.found span { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(25, 211, 197, .35); background: rgba(25, 211, 197, .07); color: var(--teal-txt); }
.follow { display: grid; gap: 6px; }
.follow div { font-size: 14px; padding: 9px 13px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: var(--fg); }
.setup .result { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(69, 221, 156, .3); background: rgba(69, 221, 156, .06); font-size: 14px; }
.setup .result i { color: var(--ok); font-style: normal; }
.js .stagger > * { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.js .stagger.in > * { opacity: 1; transform: none; }

/* ---------- סיפור השם ---------- */
.story { border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(70% 90% at 15% 50%, rgba(25, 211, 197, .1), transparent 60%), radial-gradient(70% 90% at 85% 50%, rgba(109, 92, 255, .16), transparent 60%), var(--bg-2); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; overflow: hidden; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story .aeo-wrap { order: -1; } }
.story h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 16px; }
.story p { color: var(--muted); font-size: 17px; max-width: 34em; }
.aeo-wrap { display: grid; place-items: center; }
.aeo { width: min(340px, 80%); height: auto; color: #fff; overflow: visible; }
.aeo .spinner { transform-origin: 32px 32px; animation: spin 9s linear infinite; }
.aeo .puff { animation: puff 1.6s ease-out infinite; }
.aeo .puff.d2 { animation-delay: .53s; } .aeo .puff.d3 { animation-delay: 1.06s; }
@keyframes puff { 0% { opacity: .9; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.6); } }

/* ---------- שאלות ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; gap: 16px; font: 600 18px/1.4 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-inline-start: auto; width: 12px; height: 12px; flex-shrink: 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq .a { padding: 0 4px 24px; color: var(--muted); max-width: 46em; }
.faq .a p:last-child { margin: 0; }

/* ---------- גישה מוקדמת ---------- */
.cta-box { position: relative; border-radius: 32px; padding: clamp(36px, 6vw, 80px); overflow: hidden; border: 1px solid rgba(109, 92, 255, .35); background: radial-gradient(60% 120% at 100% 0%, rgba(109, 92, 255, .35), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(25, 211, 197, .2), transparent 60%), #0b0c1b; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }
.cta-box h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.02em; margin-bottom: 14px; }
.cta-box p { color: var(--muted); }
.form { display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: rgba(6, 7, 13, .6); border: 1px solid var(--line-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg); font: 400 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d849e; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25, 211, 197, .2); }
.field select option { background: #0e1020; }
.form-note { font-size: 13px; color: var(--dim); margin: 0; }
.form-thanks { display: none; text-align: center; padding: 18px 8px; }
.form-thanks .ok { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(69, 221, 156, .14); color: var(--ok); font-size: 24px; }
.form-thanks h3 { font-size: 22px; margin-bottom: 8px; }
.form.sent .form-fields { display: none; }
.form.sent .form-thanks { display: block; }

/* ---------- כותרת עמוד פנימי ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; max-width: 14em; margin: 18px auto 20px; }
.page-hero .lede { margin-inline: auto; }
.page-hero .hero-cta { justify-content: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.02em; margin-bottom: 14px; }
.split p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: rgba(25, 211, 197, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%235fe6db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.ticks li b { color: var(--fg); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }
.tier { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.tier header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tier h3 { font: 600 20px var(--display); }
.tier p { color: var(--muted); font-size: 15px; }
.tier ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tier li { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.member { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.member h3 { font: 600 18px var(--display); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.member .for { font-size: 13px; color: var(--teal-txt); margin-bottom: 8px; }
.member p { margin: 0; font-size: 14.5px; color: var(--muted); }

.anatomy { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.anatomy .ag-card { font-size: 14.5px; padding: 18px 20px; animation: none; }
.anatomy .ag-card-title { font-size: 16px; }
.anatomy .ag-btn { font-size: 14px; padding: 7px 16px; }
.anatomy .ag-link { font-size: 14px; }
.notes { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.notes li { counter-increment: n; display: flex; gap: 12px; font-size: 15px; color: var(--muted); }
.notes li::before { content: counter(n); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--violet); color: #fff; }
.pin { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 600 11px var(--mono); background: var(--violet); color: #fff; vertical-align: middle; margin-inline-start: 6px; flex-shrink: 0; }

.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.module { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.module h3 { font: 600 18px var(--display); margin-bottom: 8px; }
.module p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.timeline li { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.timeline li:last-child { border-color: rgba(25, 211, 197, .45); background: rgba(25, 211, 197, .06); }
.timeline .d { font-size: 13px; color: var(--dim); }
.timeline .v { font: 700 clamp(22px, 2.6vw, 30px) var(--display); direction: ltr; text-align: end; margin: 4px 0; }
.timeline .t { font-size: 13.5px; color: var(--muted); }

.conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: c; }
@media (max-width: 860px) { .conds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .conds { grid-template-columns: 1fr; } }
.conds li { counter-increment: c; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: 15px; color: var(--muted); }
.conds li::before { content: counter(c); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-soft); border: 1px solid rgba(109, 92, 255, .4); font: 600 13px var(--mono); color: var(--fg); margin-bottom: 10px; }
.conds b { display: block; margin-bottom: 2px; }

.disclaimer { font-size: 14px; color: var(--dim); border-inline-start: 3px solid var(--line-2); padding: 4px 16px; margin-top: 32px; max-width: 52em; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.principle { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.principle h3 { font: 600 19px var(--display); margin-bottom: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

.quote { font: 600 clamp(24px, 3.2vw, 38px)/1.3 var(--display); letter-spacing: -.01em; text-align: center; max-width: 22em; margin: 0 auto; }
.quote cite { display: block; margin-top: 18px; font: 400 15px var(--font); color: var(--dim); font-style: normal; }

/* ---------- כותרת תחתונה ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(109, 92, 255, .04)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-grid p { color: var(--dim); font-size: 15px; max-width: 26em; margin-top: 14px; }
.foot-grid h2 { font: 600 14px var(--font); color: var(--fg); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid ul a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-grid ul a:hover { color: var(--fg); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; color: var(--dim); }

/* ---------- הופעה בגלילה ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .aeo .puff { opacity: 0; }
}

/* ---------- מטרות מגע בנייד (44px לפחות) ---------- */
@media (max-width: 480px) {
  .pill, .scene-tab, .attempt, .tile .more, .foot-grid ul a, .faq summary { min-height: 44px; }
  .pill, .tile .more, .foot-grid ul a { display: inline-flex; align-items: center; }
  .foot-grid ul a { min-width: 44px; }
  .demo-pause { width: 44px; height: 44px; }
  .scene-tab { padding: 0 12px; font-size: 13.5px; }
}
.demo-pause[hidden] { display: none; }
