/* ==========================================================================
   ERA — Evolving Reasoning Architecture
   Design tokens come straight from the logo: deep indigo night, a cyan →
   violet → magenta "evolution" gradient, white signal dots.
   ========================================================================== */

@font-face { font-family: "Heebo"; src: url("/assets/fonts/heebo-hebrew-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; src: url("/assets/fonts/heebo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --night: #05071A;
  --night-2: #0A0D2C;
  --indigo: #1A1E5C;
  --ink: #EEF0FF;
  --ink-2: #C9CDF2;
  --muted: #9AA0D0;
  --dim: #646AA0;
  --cyan: #22D3EE;
  --blue: #4F8BFF;
  --violet: #7C5CFF;
  --magenta: #FF4FB8;
  --line: rgba(150, 160, 255, .14);
  --line-2: rgba(150, 160, 255, .26);
  --glass: rgba(18, 22, 66, .42);
  --glass-2: rgba(24, 28, 82, .62);
  --grad: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --grad-diag: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 122px;
  --bar-h: 70px;
  --font-he: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-en: "Space Grotesk", "Heebo", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.motion-paused { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(124, 92, 255, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(34, 211, 238, .08), transparent 60%),
    var(--night);
  color: var(--ink);
  font-family: var(--font-he);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(en) { font-family: var(--font-en); }
html[lang="en"] body { font-family: "Heebo", system-ui, sans-serif; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: rgba(124, 92, 255, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); }
.c-cyan { color: var(--cyan); font-weight: inherit; }
.c-pink { color: var(--magenta); font-weight: inherit; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .grad-text { background: linear-gradient(270deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%); -webkit-background-clip: text; background-clip: text; }

/* ---------------------------------------------------------------- overlays */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  position: fixed; z-index: 1; pointer-events: none; width: 520px; height: 520px; border-radius: 50%;
  inset-inline-start: 0; top: 0; left: 0; translate: -50% -50%;
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  background: radial-gradient(circle, rgba(124, 92, 255, .14), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
html.has-pointer .cursor-glow { opacity: 1; }
html.motion-paused .cursor-glow { display: none; }
.reading-line { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 80; pointer-events: none; }
.reading-line span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(124, 92, 255, .8); }
[dir="rtl"] .reading-line span { transform-origin: right; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--b);
  background: transparent; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
[dir="rtl"] .btn svg:has(use[href$="#arrow"]) { transform: scaleX(-1); }
.btn:hover svg { translate: 3px 0; }
[dir="rtl"] .btn:hover svg { translate: -3px 0; }
.btn--primary { border: 0; color: #fff; background: var(--grad-diag); background-size: 160% 160%; background-position: 0% 50%; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { background-position: 100% 50%; box-shadow: 0 16px 44px -12px rgba(255, 79, 184, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--ghost { background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { --b: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .06); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .04em; transition: border-color .3s, background .3s; }
.icon-btn:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- header */
.header { position: fixed; inset-inline: 0; top: 0; z-index: 60; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.header, .header.scrolled { background: rgba(5, 7, 26, .78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header__inner { height: var(--bar-h); width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand img { height: 40px; width: auto; }
.desktop-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.desktop-nav a { position: relative; padding: 8px 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15.5px; border-radius: 999px; transition: color .25s, background .25s; }
.desktop-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.desktop-nav a.active { color: #fff; }
.desktop-nav a.active::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.menu-btn { display: none; }
.mobile-menu { display: grid; gap: 4px; padding: 12px var(--gutter) 22px; background: rgba(5, 7, 26, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .header__actions { margin-inline-start: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .brand img { height: 32px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) var(--gutter) 120px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(5, 7, 26, .78) 0%, rgba(5, 7, 26, .35) 55%, transparent 80%),
    linear-gradient(to bottom, transparent 70%, var(--night) 100%); }
.hero__content { max-width: 980px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 13.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }
.eyebrow--spaced { letter-spacing: .42em; color: var(--ink-2); font-weight: 500; margin: 0; font-size: clamp(11px, 1.3vw, 14px); }
.eyebrow--spaced::before, .eyebrow--spaced::after { content: ""; width: 34px; height: 1px; background: var(--grad); }
.hero__title { font-family: var(--font-en); font-weight: 700; font-size: clamp(48px, 8.6vw, 122px); line-height: .98; letter-spacing: -.035em; display: grid; justify-items: center; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line:first-child { color: var(--ink); }
.era-word { position: relative; display: inline-block; background: linear-gradient(90deg, var(--cyan), var(--blue) 30%, var(--violet) 55%, var(--magenta) 85%, var(--cyan)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; isolation: isolate; }
.era-word::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; filter: blur(26px); opacity: .85; animation: inherit; pointer-events: none; }
.hero__dot { color: var(--magenta); text-shadow: 0 0 24px rgba(255, 79, 184, .9); }
@keyframes shimmer { to { background-position: -220% 0; } }
.hero__kicker { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; color: var(--ink); max-width: 760px; line-height: 1.4; }
.hero__lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); max-width: 760px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.hero__chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 13, 44, .55); backdrop-filter: blur(6px); color: var(--ink-2); font-size: 14px; }
.hero__chips svg { width: 16px; height: 16px; color: var(--cyan); }
.hero__scroll { position: absolute; bottom: 34px; inset-inline-start: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid var(--line-2); }
[dir="rtl"] .hero__scroll { translate: 50% 0; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero__slogan { position: absolute; bottom: 38px; inset-inline-end: var(--gutter); font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .hero__slogan, .hero__scroll { display: none; } }

/* hero entrance */
.js .hero__content > * { opacity: 0; transform: translateY(22px); }
.js.enhanced .hero__content > * { animation: rise 1.1s var(--ease) forwards; }
.js.enhanced .hero__content > *:nth-child(2) { animation-delay: .12s; }
.js.enhanced .hero__content > *:nth-child(3) { animation-delay: .45s; }
.js.enhanced .hero__content > *:nth-child(4) { animation-delay: .6s; }
.js.enhanced .hero__content > *:nth-child(5) { animation-delay: .75s; }
.js.enhanced .hero__content > *:nth-child(6) { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.display { font-size: clamp(34px, 5.2vw, 66px); font-weight: 800; letter-spacing: -.02em; max-width: 21ch; text-wrap: balance; }
:lang(en) .display, html[lang="en"] .display { font-family: var(--font-en); font-weight: 700; letter-spacing: -.03em; }
.section__lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* cards + spotlight */
.card {
  position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 30, 92, .45), rgba(10, 13, 44, .55));
  overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease);
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .22), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .9), rgba(255, 79, 184, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot:hover { transform: translateY(-4px); }
.card__num { display: block; font-size: 13px; letter-spacing: .2em; color: var(--dim); margin-bottom: 26px; }
.card__icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: #fff; margin-bottom: 22px; background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(124, 92, 255, .3)); border: 1px solid var(--line-2); }

/* why */
.pain-grid { margin-top: 64px; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- evolution */
.evo { padding-bottom: 60px; }
.evo__track { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); margin-top: 50px; }
.evo__stage { position: relative; }
.evo__visual { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 1; max-height: 70vh; width: 100%; border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(70% 70% at 30% 40%, rgba(26, 30, 92, .9), rgba(6, 9, 24, .95)); overflow: hidden; box-shadow: var(--shadow); }
.evo__layer { position: absolute; inset: 0; }
.evo__layer canvas { width: 100%; height: 100%; }
.evo__letters { position: absolute; bottom: 22px; inset-inline-start: 26px; display: flex; gap: 10px; font-family: var(--font-en); font-weight: 700; font-size: 22px; direction: ltr; }
.evo__letters span { width: 48px; height: 52px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 9, 24, .6); transition: all .5s var(--ease); }
.evo__letters img { width: 22px; height: auto; filter: grayscale(1) brightness(.7); opacity: .45; transition: all .5s var(--ease); }
.evo__letters span.on { border-color: rgba(124, 92, 255, .6); box-shadow: 0 0 30px rgba(124, 92, 255, .45); background: rgba(26, 30, 92, .8); }
.evo__letters span.on img { filter: none; opacity: 1; }
.evo__meter { position: absolute; top: 24px; inset-inline: 26px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.evo__meter span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .evo__meter span { transform-origin: right; }
.evo__steps { list-style: none; margin: 0; padding: 0; }
.evo__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.evo__step.on { opacity: 1; }
.evo__big { width: auto; height: clamp(96px, 11vw, 150px); margin-bottom: 22px; filter: drop-shadow(0 0 24px rgba(124, 92, 255, .45)); }
.evo__step h3 { font-size: clamp(28px, 3.2vw, 42px); display: grid; gap: 6px; margin-bottom: 18px; }
.evo__step h3 small { font-size: .5em; font-weight: 600; color: var(--cyan); letter-spacing: .02em; }
.evo__step p { color: var(--muted); font-size: 18px; max-width: 520px; }
@media (max-width: 900px) {
  .evo__track { grid-template-columns: 1fr; }
  .evo__stage { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
  .evo__visual { position: relative; top: 0; aspect-ratio: 16 / 10; max-height: 38vh; }
  .evo__step { min-height: 60vh; }
}

/* ---------------------------------------------------------------- platform */
.platform__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 960px) { .platform__grid { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 12px; perspective: 1400px; }
.stack__layer {
  --tilt: 0deg;
  position: relative; display: grid; grid-template-columns: 110px 120px 1fr; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(26, 30, 92, .7), rgba(10, 13, 44, .6));
  transform: rotateX(var(--tilt)) translateZ(0); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .4s;
}
.stack__layer:hover, .stack__layer.lit { border-color: rgba(34, 211, 238, .55); box-shadow: 0 0 0 1px rgba(34, 211, 238, .2), 0 20px 50px -20px rgba(34, 211, 238, .4); transform: translateX(-8px); }
[dir="rtl"] .stack__layer:hover, [dir="rtl"] .stack__layer.lit { transform: translateX(8px); }
.stack__layer--core { background: linear-gradient(90deg, rgba(124, 92, 255, .38), rgba(255, 79, 184, .18)); border-color: rgba(124, 92, 255, .5); }
.stack__tag { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.stack__layer b { font-size: 19px; }
.stack__layer > span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .stack__layer { grid-template-columns: 1fr; gap: 4px; } }
.cap-grid { margin-top: clamp(60px, 8vw, 110px); display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

.sources { margin-top: clamp(70px, 9vw, 120px); text-align: center; }
.sources__title { color: var(--dim); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; direction: ltr; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row li { white-space: nowrap; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: rgba(10, 13, 44, .5); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- demo console */
.demo__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.demo__grid .btn { margin-top: 30px; }
@media (max-width: 960px) { .demo__grid { grid-template-columns: 1fr; } }
.console { border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14, 18, 58, .9), rgba(6, 9, 24, .95)); box-shadow: var(--shadow), 0 0 80px -30px rgba(124, 92, 255, .6); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console__bar b { margin-inline-start: 10px; font-size: 14px; letter-spacing: .2em; }
.console__bar em { margin-inline-start: auto; font-style: normal; font-size: 12.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.console__body { padding: 24px; min-height: 430px; display: grid; align-content: start; gap: 18px; }
.msg--q { justify-self: end; max-width: 88%; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, rgba(34, 211, 238, .2), rgba(124, 92, 255, .25)); border: 1px solid var(--line-2); }
[dir="rtl"] .msg--q { justify-self: start; border-radius: 18px 18px 18px 4px; }
.msg--q p:empty { display: none; }
.msg--q:has(p:empty) { display: none; }
.trace { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
html[lang="he"] .trace { font-family: var(--font-he); }
.trace li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); }
.trace li.in { opacity: 1; transform: none; }
.trace li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--cyan); flex: none; }
.trace li.done::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.msg--a { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transition: opacity .5s; }
.msg--a.in { opacity: 1; }
.msg--a img { border-radius: 8px; flex: none; }
.msg--a p { color: var(--ink); }
.msg--a p.typing::after { content: ""; display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; margin-inline-start: 3px; background: var(--cyan); animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cites { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cites li { font-size: 13px; padding: 5px 11px; border-radius: 8px; border: 1px solid rgba(34, 211, 238, .35); color: var(--cyan); background: rgba(34, 211, 238, .06); opacity: 0; transform: scale(.9); transition: all .4s var(--ease); }
.cites li.in { opacity: 1; transform: none; }
.console__input { display: flex; align-items: center; justify-content: space-between; margin: 0 18px 18px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.console__input svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--grad-diag); color: #fff; }
[dir="rtl"] .console__input svg { transform: scaleX(-1); }

/* ---------------------------------------------------------------- deploy */
.deploy::before { content: ""; position: absolute; inset: 10% 0 auto; height: 70%; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, rgba(34, 211, 238, .07), transparent 70%); }
.deploy__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .deploy__grid { grid-template-columns: 1fr; } }
.card--tall { padding: 34px; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; }
.card__art { width: 76px; height: 76px; color: var(--violet); margin-bottom: auto; filter: drop-shadow(0 0 18px rgba(124, 92, 255, .6)); }
.server-art { display: grid; gap: 7px; width: 120px; margin-bottom: auto; }
.server-art i { position: relative; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(124, 92, 255, .3), rgba(34, 211, 238, .1)); }
.server-art i::after { content: ""; position: absolute; top: 7px; inset-inline-start: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: led 2.4s infinite; }
.server-art i:nth-child(2)::after { animation-delay: .5s; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.server-art i:nth-child(3)::after { animation-delay: 1.1s; }
.server-art i:nth-child(4)::after { animation-delay: 1.6s; background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.models { margin-top: 18px; display: flex; gap: 18px; align-items: center; padding: 24px 28px; border-radius: var(--radius); border: 1px solid rgba(124, 92, 255, .4); background: linear-gradient(90deg, rgba(124, 92, 255, .14), rgba(255, 79, 184, .06)); }
.models svg { width: 34px; height: 34px; flex: none; color: var(--magenta); }
.models p { color: var(--ink-2); }
.models b { color: #fff; }

/* ---------------------------------------------------------------- use cases */
.tabs { margin-top: 56px; }
.tabs__list { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 13, 44, .6); width: fit-content; max-width: 100%; }
.tabs__list button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15.5px; transition: color .3s; }
.tabs__list button[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); left: 0; width: 0; border-radius: 999px; background: var(--grad-diag); box-shadow: 0 8px 24px -8px rgba(124, 92, 255, .8); transition: transform .5s var(--ease), width .5s var(--ease); }
@media (max-width: 700px) { .tabs__list { border-radius: 20px; } .tabs__ink { display: none; } .tabs__list button[aria-selected="true"] { background: var(--grad-diag); } }
.tabs__panel { margin-top: 34px; animation: fadeUp .6s var(--ease); }
.tabs__panel:focus-visible { outline-offset: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tabs__desc { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; max-width: 760px; }
.qs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .qs { grid-template-columns: 1fr; } }
.qs li { position: relative; padding: 26px 26px 26px 26px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(14, 18, 58, .55); font-size: 17px; color: var(--ink-2); }
.qs li::before { content: "“"; display: block; font-family: var(--font-en); font-size: 52px; line-height: .6; margin-bottom: 10px; background: var(--grad-diag); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .qs li::before { content: "”"; }

/* ---------------------------------------------------------------- trust */
.trust__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.trust__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: 1fr; } .trust__grid > div:first-child { position: static; } }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; }
.trust__list li { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust__list li:first-child { padding-top: 0; }
.trust__list svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; flex: none; color: var(--cyan); border: 1px solid var(--line-2); background: rgba(34, 211, 238, .06); }
.trust__list h3 { font-size: 21px; margin-bottom: 6px; }
.trust__list p { color: var(--muted); }

/* ---------------------------------------------------------------- path */
.path { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.path::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta)); opacity: .6; }
.path__step { position: relative; }
.path__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 26px; background: var(--night); border: 1.5px solid var(--violet); font-weight: 700; box-shadow: 0 0 0 6px var(--night), 0 0 24px rgba(124, 92, 255, .6); }
.path__step:last-child .path__n { border-color: var(--magenta); background: var(--grad-diag); }
.path__step h3 { font-size: 22px; margin-bottom: 10px; }
.path__step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 34px; }
  .path::before { top: 0; bottom: 0; inset-inline-start: 27px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--violet), var(--magenta)); }
  .path__step { padding-inline-start: 84px; }
  .path__n { position: absolute; inset-inline-start: 0; top: -6px; }
}

/* ---------------------------------------------------------------- faq */
.faq__list { margin-top: 50px; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(14, 18, 58, .5); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(124, 92, 255, .5); background: rgba(26, 30, 92, .5); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); max-width: 720px; }

/* ---------------------------------------------------------------- contact */
.contact { overflow: hidden; }
.contact__glow { position: absolute; inset: 20% -20% auto; height: 80%; z-index: -1; background: radial-gradient(40% 50% at 30% 50%, rgba(34, 211, 238, .12), transparent 70%), radial-gradient(40% 50% at 75% 50%, rgba(255, 79, 184, .12), transparent 70%); filter: blur(20px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__mail { margin-top: 28px; color: var(--muted); }
.contact__mail a { color: var(--cyan); text-underline-offset: 4px; }
.form-wrap { padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(26, 30, 92, .55), rgba(10, 13, 44, .75)); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.field input, .field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 7, 26, .6); transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.field input[aria-invalid="true"] { border-color: var(--magenta); }
.field textarea::placeholder { color: var(--dim); }
.field__error { color: #ff8fcf; font-weight: 500; }
.field--choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.field--choice legend { width: 100%; margin-bottom: 8px; padding: 0; }
.field--choice label { position: relative; cursor: pointer; }
.field--choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field--choice span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; transition: all .25s; }
.field--choice input:checked + span { color: #fff; border-color: transparent; background: var(--grad-diag); }
.field--choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 13.5px; color: var(--dim); }
.form__legal a { color: var(--ink-2); }
.form__status { min-height: 1.4em; font-size: 14.5px; color: var(--cyan); }
.form__status.is-error { color: #ff8fcf; }
.form__success { text-align: center; padding: 40px 10px; display: grid; justify-items: center; gap: 14px; }
.form__success svg { width: 64px; height: 64px; color: var(--cyan); filter: drop-shadow(0 0 20px rgba(34, 211, 238, .6)); }
.form__success h3 { font-size: 26px; }
.form__success p { color: var(--muted); }
.form__fallback { margin-top: 16px; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: linear-gradient(180deg, transparent, rgba(26, 30, 92, .25)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 56px; width: auto; }
.footer__tag { margin-top: 12px; letter-spacing: .32em; font-size: 11.5px; color: var(--muted); text-transform: uppercase; }
.footer__slogan { margin-top: 8px; color: var(--ink-2); }
.footer__nav, .footer__legal { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__nav a, .footer__legal a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__nav a:hover, .footer__legal a:hover { color: #fff; }
.footer__legal p { margin-top: 12px; color: var(--dim); font-size: 14px; }

/* ---------------------------------------------------------------- notice */
.notice { position: fixed; z-index: 70; bottom: 18px; inset-inline-start: 18px; max-width: 460px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10, 13, 44, .94); backdrop-filter: blur(14px); box-shadow: var(--shadow); display: grid; gap: 14px; font-size: 14.5px; color: var(--ink-2); transform: translateY(20px); opacity: 0; transition: all .5s var(--ease); }
.notice.is-open { transform: none; opacity: 1; }
.notice a { color: var(--cyan); }
.notice__actions { display: flex; gap: 10px; }
@media (max-width: 560px) { .notice { inset-inline: 12px; bottom: 12px; max-width: none; } }

/* ---------------------------------------------------------------- legal pages */
.page { padding: calc(var(--header-h) + 70px) 0 100px; }
.page h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 14px; }
.page .meta { color: var(--dim); margin-bottom: 40px; }
.page h2 { font-size: 24px; margin: 44px 0 12px; }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.page a { color: var(--cyan); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound .big { font-family: var(--font-en); font-size: clamp(110px, 22vw, 260px); font-weight: 700; line-height: .9; background: var(--grad-diag); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); margin: 18px 0 32px; font-size: 19px; }

/* ---------------------------------------------------------------- v2: hero badge + pipeline */
.dim { color: var(--muted); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid rgba(124, 92, 255, .45); background: rgba(26, 30, 92, .55); backdrop-filter: blur(8px); font-size: 14.5px; font-weight: 600; color: var(--ink-2); box-shadow: 0 0 40px -12px rgba(124, 92, 255, .8); }
[dir="rtl"] .hero__badge { padding: 6px 6px 6px 16px; }
.hero__badge-new { padding: 3px 10px; border-radius: 999px; background: var(--grad-diag); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.hero__content .eyebrow--spaced { margin-top: -6px; }
.hero__kicker { font-size: clamp(22px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.pipe { list-style: none; margin: 18px 0 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 0; width: min(100%, 860px); }
.pipe__node { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 4px; padding: 16px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(8, 11, 36, .72); backdrop-filter: blur(8px); text-align: center; }
.pipe__node svg { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 4px; }
.pipe__node b { font-size: 16px; }
.pipe__node small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pipe__node--core { flex-grow: 1.15; border-color: rgba(124, 92, 255, .6); background: linear-gradient(160deg, rgba(124, 92, 255, .32), rgba(255, 79, 184, .14)); box-shadow: 0 0 50px -14px rgba(124, 92, 255, .9); }
.pipe__node--core img { border-radius: 10px; margin-bottom: 2px; }
.pipe__node:last-child svg { color: var(--magenta); }
.pipe__link { position: relative; flex: 0 0 52px; height: 2px; background: linear-gradient(90deg, rgba(34, 211, 238, .2), rgba(124, 92, 255, .6)); }
.pipe__link i { position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff, 0 0 18px var(--violet); animation: flowLtr 2.1s linear infinite; }
.pipe__link i:nth-child(2) { animation-delay: .7s; } .pipe__link i:nth-child(3) { animation-delay: 1.4s; }
[dir="rtl"] .pipe__link { background: linear-gradient(270deg, rgba(34, 211, 238, .2), rgba(124, 92, 255, .6)); }
[dir="rtl"] .pipe__link i { animation-name: flowRtl; }
@keyframes flowLtr { from { left: -3px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 3px); opacity: 0; } }
@keyframes flowRtl { from { right: -3px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { right: calc(100% - 3px); opacity: 0; } }
.js .hero__content > * { opacity: 0; transform: translateY(22px); }
.js.enhanced .hero__content > *:nth-child(7) { animation-delay: 1.05s; }

/* ---------------------------------------------------------------- v2: RAG comparison */
.compare { margin-top: clamp(60px, 8vw, 100px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(26, 30, 92, .45), rgba(8, 11, 36, .7)); box-shadow: var(--shadow); }
.compare__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 30px; }
.compare__head h3 { font-size: clamp(28px, 3.4vw, 44px); }
.compare__head p { color: var(--muted); }
@media (max-width: 860px) { .compare__head { grid-template-columns: 1fr; gap: 12px; } }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.compare__table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare__table th, .compare__table td { padding: 16px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare__table thead th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; vertical-align: bottom; }
.compare__table tbody th { color: var(--ink); font-weight: 700; width: 20%; }
.compare__table td { color: var(--muted); width: 22%; }
.compare__table .is-era { width: 36%; color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(124, 92, 255, .2), rgba(255, 79, 184, .08)); border-inline: 1px solid rgba(124, 92, 255, .35); }
.compare__table thead .is-era { border-top: 1px solid rgba(124, 92, 255, .35); border-radius: 14px 14px 0 0; }
.compare__table tbody tr:last-child .is-era { border-radius: 0 0 14px 14px; border-bottom: 1px solid rgba(124, 92, 255, .35); }
.compare__table thead .is-era img { height: 26px; width: auto; }
.compare__table td.is-era::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); vertical-align: 2px; }
.compare__table tbody tr { transition: background .3s; }
.compare__table tbody tr:hover td:not(.is-era), .compare__table tbody tr:hover th { background: rgba(255, 255, 255, .02); }

/* ---------------------------------------------------------------- v2: ERA Brain diagram */
.brain { margin-top: 60px; display: grid; grid-template-columns: 1fr 70px 1.35fr 70px 1fr; align-items: center; }
.brain__side { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.brain__side li { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 13, 44, .65); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.brain__side--in li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); flex: none; }
.brain__side--out li { border-color: rgba(255, 79, 184, .28); }
.brain__side--out svg { width: 20px; height: 20px; color: var(--magenta); flex: none; }
.brain__wire { position: relative; height: 2px; background: linear-gradient(90deg, rgba(34, 211, 238, .25), rgba(124, 92, 255, .7)); }
.brain__wire--out { background: linear-gradient(90deg, rgba(124, 92, 255, .7), rgba(255, 79, 184, .4)); }
[dir="rtl"] .brain__wire { background: linear-gradient(270deg, rgba(34, 211, 238, .25), rgba(124, 92, 255, .7)); }
[dir="rtl"] .brain__wire--out { background: linear-gradient(270deg, rgba(124, 92, 255, .7), rgba(255, 79, 184, .4)); }
.brain__wire i { position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff, 0 0 16px var(--violet); animation: flowLtr 1.8s linear infinite; }
.brain__wire i:nth-child(2) { animation-delay: .6s; } .brain__wire i:nth-child(3) { animation-delay: 1.2s; }
[dir="rtl"] .brain__wire i { animation-name: flowRtl; }
.brain__core { position: relative; padding: 26px; border-radius: 26px; border: 1px solid rgba(124, 92, 255, .6); background: radial-gradient(120% 90% at 50% 0%, rgba(124, 92, 255, .35), rgba(8, 11, 36, .95) 70%); box-shadow: 0 0 0 6px rgba(124, 92, 255, .06), 0 0 90px -20px rgba(124, 92, 255, .9); isolation: isolate; }
.brain__core::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--cyan), var(--violet), var(--magenta), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; z-index: -1; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.brain__core-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.brain__core-head img { border-radius: 12px; }
.brain__core-head b { display: block; font-size: 22px; }
.brain__core-head span { font-size: 13.5px; color: var(--cyan); }
.brain__lock { width: 34px; height: 34px; padding: 7px; margin-inline-start: auto; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.brain__modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brain__modules li { padding: 14px; border-radius: 14px; background: rgba(5, 7, 26, .7); border: 1px solid var(--line); display: grid; gap: 4px; }
.brain__modules b { font-size: 15.5px; }
.brain__modules span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.brain__note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
@media (max-width: 1060px) {
  .brain { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin-inline: auto; }
  .brain__side { grid-template-columns: repeat(2, 1fr); }
  .brain__wire { width: 2px; height: 46px; justify-self: center; background: linear-gradient(180deg, rgba(34, 211, 238, .25), rgba(124, 92, 255, .7)) !important; }
  .brain__wire i { left: -2px; animation-name: flowDown !important; }
  @keyframes flowDown { from { top: -3px; opacity: 0; } 20% { opacity: 1; } to { top: calc(100% - 3px); opacity: 0; } }
}
@media (max-width: 520px) { .brain__modules { grid-template-columns: 1fr; } .brain__side { gap: 8px; } .brain__side li { padding: 10px 12px; font-size: 13.5px; } .brain__side--out svg { width: 16px; height: 16px; } .cap-grid { gap: 12px; } .card { padding: 22px; } }

/* ---------------------------------------------------------------- v2: add-ons */
.addons { margin-top: 0; }
.addons__head { max-width: 760px; }
.addons__title { font-size: clamp(30px, 4vw, 52px); }
:lang(en) .addons__title, html[lang="en"] .addons__title { font-family: var(--font-en); font-weight: 700; letter-spacing: -.03em; }
.addons__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
@media (max-width: 960px) { .addons__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .addons__grid { grid-template-columns: 1fr; } }
.addon { padding: 30px; background: var(--night-2); transition: background .4s; }
.addon:hover { background: #10143a; }
.addon__n { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cyan); margin-bottom: 18px; }
.addon h4 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.addon p { color: var(--muted); font-size: 15.5px; }
.addon--hot { background: linear-gradient(160deg, rgba(124, 92, 255, .28), rgba(255, 79, 184, .1)), var(--night-2); }
.addon--hot .addon__n { color: var(--magenta); }
.addons__note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- v3: main tabs */
.header { backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.tabbar { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; padding-bottom: 8px; }
.tabbar__track { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 4px; border-radius: 999px; background: rgba(10, 13, 44, .7); border: 1px solid var(--line); }
.tabbar__track::-webkit-scrollbar { display: none; }
.tabbar__tab { position: relative; z-index: 1; flex: 1 0 auto; scroll-snap-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: color .3s; }
.tabbar__tab:hover { color: #fff; }
.tabbar__tab.is-active { color: #fff; }
.tabbar__n { font-size: 11px; letter-spacing: .08em; color: var(--dim); transition: color .3s; }
.tabbar__tab.is-active .tabbar__n { color: rgba(255, 255, 255, .8); }
.tabbar__ink { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 999px; background: var(--grad-diag); box-shadow: 0 6px 22px -6px rgba(124, 92, 255, .9); transition: transform .5s var(--ease), width .5s var(--ease); }
@media (max-width: 1000px) { .tabbar__tab { flex: 0 0 auto; padding: 8px 14px; font-size: 14.5px; } }
@media (max-width: 560px) { .tabbar__n { display: none; } :root { --bar-h: 62px; --header-h: 112px; } }

.view[hidden] { display: none !important; }
.has-views .view { min-height: calc(100svh - var(--header-h)); touch-action: pan-y; }
.has-views .view > .section:first-child:not(.hero) { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.view.is-enter { animation: viewIn .6s var(--ease) both; }
.view.is-leave { animation: viewOut .21s ease-in both; }
@keyframes viewIn { from { opacity: 0; transform: translateX(calc(var(--from, 1) * 90px)); } to { opacity: 1; transform: none; } }
@keyframes viewOut { to { opacity: 0; transform: translateX(calc(var(--to, -1) * 70px)); } }
html.is-dragging, html.is-dragging * { cursor: grabbing !important; user-select: none !important; }

.swipe-hint { position: fixed; z-index: 75; top: 50%; translate: 0 -50%; display: grid; gap: 2px; padding: 14px 20px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10, 13, 44, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow); pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .15s, transform .15s, border-color .2s, background .2s; }
.swipe-hint.is-next, .swipe-hint.is-prev { opacity: calc(.35 + var(--p, 0) * .65); transform: scale(calc(.85 + var(--p, 0) * .15)); }
.swipe-hint.is-next { inset-inline-end: 18px; text-align: end; }
.swipe-hint.is-prev { inset-inline-start: 18px; }
.swipe-hint.is-ready { border-color: transparent; background: var(--grad-diag); }
.swipe-hint__dir { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.swipe-hint b { font-size: 18px; }

.pager { width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto; padding: 10px 0 clamp(50px, 7vw, 90px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.pager__btn { display: grid; gap: 2px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(14, 18, 58, .55); text-decoration: none; position: relative; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.pager__btn:hover { border-color: rgba(124, 92, 255, .6); background: rgba(26, 30, 92, .6); transform: translateY(-2px); }
.pager__btn small { color: var(--dim); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.pager__btn b { font-size: 19px; }
.pager__btn svg { position: absolute; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--cyan); }
.pager__btn--next { text-align: end; padding-inline-end: 58px; }
.pager__btn--next svg { inset-inline-end: 20px; }
.pager__btn--prev { padding-inline-start: 58px; }
.pager__btn--prev svg { inset-inline-start: 20px; transform: scaleX(-1); }
[dir="rtl"] .pager__btn--next svg { transform: scaleX(-1); }
[dir="rtl"] .pager__btn--prev svg { transform: none; }
.pager__dots { display: flex; gap: 6px; }
.pager__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .4s var(--ease); }
.pager__dots i.on { width: 22px; background: var(--grad); }
@media (max-width: 640px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__dots { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .pager__btn { padding: 14px 16px; }
  .pager__btn b { font-size: 16px; }
  .pager__btn--next { padding-inline-end: 44px; } .pager__btn--prev { padding-inline-start: 44px; }
  .pager__btn svg { width: 18px; height: 18px; }
  .pager__btn--next svg { inset-inline-end: 14px; } .pager__btn--prev svg { inset-inline-start: 14px; }
}

/* home: explore cards */
.explore { padding-top: clamp(40px, 6vw, 80px); }
.explore__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1200px) { .explore__grid { grid-template-columns: repeat(3, 1fr); } }
.xcard--cta { border-color: rgba(124, 92, 255, .55); background: linear-gradient(160deg, rgba(124, 92, 255, .3), rgba(255, 79, 184, .12)); }
@media (max-width: 960px) { .explore__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .explore__grid { grid-template-columns: 1fr; } }
.xcard { position: relative; display: grid; gap: 8px; padding: 26px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(26, 30, 92, .45), rgba(10, 13, 44, .55)); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.xcard__n { font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.xcard h3 { font-size: 22px; }
.xcard p { color: var(--muted); font-size: 15.5px; padding-inline-end: 34px; }
.xcard svg { position: absolute; bottom: 24px; inset-inline-end: 22px; width: 22px; height: 22px; color: var(--cyan); transition: translate .4s var(--ease); }
[dir="rtl"] .xcard svg { transform: scaleX(-1); }
.xcard:hover svg { translate: 4px 0; }
[dir="rtl"] .xcard:hover svg { translate: -4px 0; }

/* use-case panels slide in from the swipe direction */
.tabs__panel { animation: none; touch-action: pan-y; }
.tabs__panel.is-slide { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(calc(var(--from, 1) * 60px)); } to { opacity: 1; transform: none; } }
.tabs__list { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 700px) { .tabs__list { width: 100%; } }

/* hero spacing under the two-row header */
.hero { padding-top: calc(var(--header-h) + 34px); }
@media (max-width: 640px) {
  .hero { padding-bottom: 70px; min-height: auto; }
  .hero__badge { font-size: 13px; text-align: start; }
  .pipe { flex-direction: row; width: 100%; }
  .pipe__node { width: auto; padding: 12px 6px; }
  .pipe__node small { display: none; }
  .pipe__node b { font-size: 13.5px; }
  .pipe__node svg { width: 22px; height: 22px; }
  .pipe__node--core img { width: 28px; height: 28px; }
  .pipe__link { flex: 0 0 18px; width: auto; height: 2px; background: linear-gradient(90deg, rgba(34, 211, 238, .2), rgba(124, 92, 255, .6)) !important; }
  .pipe__link i { top: -2px !important; animation-name: flowLtr !important; }
  [dir="rtl"] .pipe__link i { animation-name: flowRtl !important; left: auto !important; }
}

/* ---------------------------------------------------------------- v4: ambient network + tilt */
.ambient { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.ambient.is-on { opacity: .55; }
.is-tilt { transition: transform .14s linear, border-color .4s !important; transition-delay: 0s !important; will-change: transform; }

/* ---------------------------------------------------------------- v4: in action — scenarios + console */
.demo__grid { margin-top: 52px; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.scn { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.scn__item { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; width: 100%; text-align: start; cursor: pointer; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(14, 18, 58, .45); color: var(--ink-2); overflow: hidden; transition: border-color .35s, background .35s, transform .35s var(--ease); }
.scn__item:hover { border-color: var(--line-2); transform: translateX(calc(var(--dir, 1) * 4px)); }
[dir="rtl"] .scn__item { --dir: -1; }
.scn__item::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--grad-diag); transform: scaleY(0); transition: transform .45s var(--ease); }
.scn__item[aria-selected="true"] { border-color: rgba(124, 92, 255, .6); background: linear-gradient(135deg, rgba(34, 211, 238, .1), rgba(124, 92, 255, .2)); color: #fff; box-shadow: 0 14px 40px -22px rgba(124, 92, 255, .9); }
.scn__item[aria-selected="true"]::before { transform: none; }
.scn__n { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .14em; color: var(--dim); }
.scn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(34, 211, 238, .08); color: var(--cyan); transition: background .35s, color .35s; }
.scn__icon svg { width: 19px; height: 19px; }
.scn__item[aria-selected="true"] .scn__icon { background: var(--grad-diag); color: #fff; border-color: transparent; }
.scn__text { display: grid; gap: 2px; min-width: 0; }
.scn__text b { font-size: 16px; font-weight: 700; }
.scn__text small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.scn__item.is-done .scn__n { color: var(--cyan); }
@media (max-width: 960px) {
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .scn { position: static; display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block: 4px; }
  .scn::-webkit-scrollbar { display: none; }
  .scn__item { flex: 0 0 auto; width: auto; max-width: 78vw; scroll-snap-align: center; grid-template-columns: auto 1fr; }
  .scn__n, .scn__text small { display: none; }
  .scn__text b { white-space: nowrap; }
}

.console__body { padding: 22px; height: clamp(440px, 62vh, 620px); min-height: 0; display: block; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
#demo-thread { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: start; }
.turn { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.turn > * { min-width: 0; }
.turn + .turn { padding-top: 22px; border-top: 1px dashed var(--line); }
.msg--q { position: relative; }
.msg__tag { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .08em; color: var(--cyan); }
.msg--q p.typing::after { content: ""; display: inline-block; width: 7px; height: 1em; vertical-align: -2px; margin-inline-start: 3px; background: var(--ink); animation: blink .9s steps(1) infinite; }
.msg--a > div { min-width: 0; flex: 1; }
.console__replay { margin-inline-start: 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: none; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; color: var(--muted); cursor: pointer; transition: color .3s, border-color .3s; }
.console__replay:hover { color: #fff; border-color: var(--line-2); }
.console__replay svg { width: 13px; height: 13px; }
.console__foot { position: relative; margin: 0 18px 18px; }
.console__foot .console__input { margin: 0; transition: opacity .4s; }
.console__next { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(124, 92, 255, .6); background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(124, 92, 255, .26)); color: #fff; cursor: pointer; text-align: start; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease), visibility .45s; }
.console__next small { font-size: 12.5px; color: var(--ink-2); }
.console__next b { font-size: 15.5px; margin-inline-end: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__next svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--grad-diag); }
[dir="rtl"] .console__next svg { transform: scaleX(-1); }
.console.is-finished .console__next { opacity: 1; visibility: visible; transform: none; }
.console.is-finished .console__input { opacity: 0; }

/* evidence visuals inside an answer */
.viz { margin-top: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 11, 36, .7); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.viz.in { opacity: 1; transform: none; }
.viz__title { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.viz__cap { margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.viz__verdict { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.viz__verdict--ok { color: #7CF0C4; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); }
.viz__verdict--bad { color: #FF9DB0; background: rgba(255, 79, 120, .12); border: 1px solid rgba(255, 79, 120, .45); }
.bar { display: grid; grid-template-columns: minmax(34px, auto) 1fr minmax(92px, auto); align-items: center; gap: 12px; font-size: 14px; }
.bar + .bar { margin-top: 10px; }
.bar__k { color: var(--ink-2); font-weight: 600; }
.bar__t { color: var(--ink); font-variant-numeric: tabular-nums; text-align: end; }
.bar__track { position: relative; height: 12px; border-radius: 999px; background: rgba(150, 160, 255, .08); overflow: hidden; }
.bar__ref, .bar__fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 999px; width: 0; transition: width 1s var(--ease); }
.viz.in .bar__ref, .viz.in .bar__fill { width: var(--w); }
.bar__ref { background: rgba(150, 160, 255, .26); }
.bar__fill { inset-block: 3px; background: linear-gradient(90deg, var(--cyan), #34D399); transition-delay: .15s; }
[dir="rtl"] .bar__fill { background: linear-gradient(270deg, var(--cyan), #34D399); }
.bar--bad .bar__fill { background: linear-gradient(90deg, #FF7A59, var(--magenta)); }
[dir="rtl"] .bar--bad .bar__fill { background: linear-gradient(270deg, #FF7A59, var(--magenta)); }
.bar--ref .bar__fill { inset-block: 0; background: rgba(150, 160, 255, .38); }
.bar--bad .bar__t { color: #FF9DB0; }
.impact { display: grid; grid-template-columns: 1fr 22px 1fr; align-items: center; gap: 8px 10px; padding: 10px 0; font-size: 14px; }
.impact + .impact { border-top: 1px solid var(--line); }
.impact__a, .impact__b { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(124, 92, 255, .1); }
.impact__arrow { height: 2px; background: var(--grad); position: relative; }
.impact__arrow::after { content: ""; position: absolute; inset-inline-end: -1px; top: -3px; width: 8px; height: 8px; border-block-start: 2px solid var(--magenta); border-inline-end: 2px solid var(--magenta); transform: rotate(45deg); }
[dir="rtl"] .impact__arrow { transform: scaleX(-1); }
.impact__s { grid-column: 1 / -1; font-style: normal; font-size: 13px; }
.impact--ok .impact__s { color: #7CF0C4; }
.impact--bad .impact__s { color: #FF9DB0; }
.cell-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cell-table th { text-align: start; padding: 6px 10px; color: var(--dim); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.cell-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: background .6s, color .6s; }
.viz.in .cell-table tr.is-hl td { background: rgba(34, 211, 238, .14); color: #fff; box-shadow: inset 0 1px 0 rgba(34, 211, 238, .5), inset 0 -1px 0 rgba(34, 211, 238, .5); }
.viz--flow { display: flex; align-items: stretch; gap: 10px; }
.flow__node { flex: 1; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(124, 92, 255, .08); }
.flow__node b { font-size: 14.5px; }
.flow__node span { font-size: 13.5px; color: var(--muted); }
.flow__node--ok { border-color: rgba(52, 211, 153, .45); } .flow__node--ok span { color: #7CF0C4; }
.flow__node--bad { border-color: rgba(255, 79, 120, .5); background: rgba(255, 79, 120, .08); } .flow__node--bad span { color: #FF9DB0; }
.flow__node--ref span { color: var(--cyan); }
.flow__arrow { flex: 0 0 22px; align-self: center; height: 2px; background: var(--grad); position: relative; }
.flow__arrow::after { content: ""; position: absolute; inset-inline-end: -1px; top: -3px; width: 8px; height: 8px; border-block-start: 2px solid var(--magenta); border-inline-end: 2px solid var(--magenta); transform: rotate(45deg); }
[dir="rtl"] .flow__arrow { transform: scaleX(-1); }
.frame { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; }
.frame + .frame { margin-top: 10px; }
.frame__k { font-family: var(--font-en); font-size: 13.5px; }
.frame__cells { display: flex; gap: 3px; font-family: var(--mono); font-size: 11.5px; }
.frame__cells span { flex: 1 1 0; min-width: 0; text-align: center; padding: 7px 2px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: rgba(150, 160, 255, .05); overflow: hidden; text-overflow: ellipsis; }
.viz.in .frame__cells span.is-hl { color: #fff; border-color: var(--magenta); background: rgba(255, 79, 184, .2); animation: hlPulse 1.8s ease-in-out infinite; }
@keyframes hlPulse { 50% { box-shadow: 0 0 16px rgba(255, 79, 184, .7); } }
@media (max-width: 520px) { .bar { grid-template-columns: minmax(28px, auto) 1fr; } .bar__t { grid-column: 1 / -1; text-align: start; margin-top: -4px; font-size: 13px; } .console__replay span { display: none; } .console__body { padding: 16px; } .console__next small { display: none; } .frame { grid-template-columns: 38px 1fr; } .frame__cells { font-size: 10px; } }

/* measured proof */
.proof { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line-2); background: radial-gradient(700px 300px at 50% -20%, rgba(124, 92, 255, .22), transparent 70%), linear-gradient(180deg, rgba(20, 24, 74, .6), rgba(8, 11, 36, .7)); }
.proof__head h3 { margin-top: 10px; font-size: clamp(24px, 2.8vw, 36px); }
.proof__grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .proof__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .proof__grid { grid-template-columns: 1fr; } }
.proof__item { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(10, 13, 44, .6); }
.proof__item b { display: block; font-family: var(--font-en); font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad-diag); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .proof__item b { text-align: right; }
.proof__item b i { font-style: normal; font-size: .46em; letter-spacing: 0; }
.proof__item p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.proof__note { margin-top: 22px; font-size: 13.5px; color: var(--dim); max-width: 900px; }

/* ---------------------------------------------------------------- v4: RAG vs ERA lanes */
.duel { margin-top: clamp(56px, 7vw, 90px); }
.duel__title { font-size: clamp(24px, 2.8vw, 36px); }
.duel__lanes { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .duel__lanes { grid-template-columns: 1fr; } }
.lane { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 15, 48, .6); overflow: hidden; }
.lane--era { border-color: rgba(124, 92, 255, .55); background: linear-gradient(160deg, rgba(34, 211, 238, .08), rgba(124, 92, 255, .16) 60%, rgba(255, 79, 184, .08)); box-shadow: 0 30px 70px -40px rgba(124, 92, 255, .9); }
.lane__name { font-family: var(--font-en); font-weight: 700; font-size: 17px; color: var(--muted); min-height: 26px; display: flex; align-items: center; }
.lane__art { height: 110px; margin: 18px 0; display: grid; place-items: center; border-radius: 14px; border: 1px dashed var(--line); background: rgba(5, 7, 26, .5); }
.lane__art--chunks { grid-template-columns: repeat(4, 34px); grid-auto-rows: 26px; gap: 10px; place-content: center; place-items: stretch; }
.lane__art--chunks span { border-radius: 5px; background: repeating-linear-gradient(180deg, rgba(150, 160, 255, .5) 0 2px, transparent 2px 7px), rgba(150, 160, 255, .1); border: 1px solid var(--line-2); animation: chunk 4.2s var(--ease) infinite; }
.lane__art--chunks span:nth-child(2n) { animation-delay: -.9s; --rx: -9px; --ry: 6px; --rr: -8deg; }
.lane__art--chunks span:nth-child(3n) { animation-delay: -2.1s; --rx: 7px; --ry: -8px; --rr: 11deg; }
.lane__art--chunks span:nth-child(5n) { animation-delay: -3s; --rx: -6px; --ry: -5px; --rr: 6deg; }
@keyframes chunk { 0%, 100% { transform: none; opacity: .9; } 45% { transform: translate(var(--rx, 8px), var(--ry, 7px)) rotate(var(--rr, 9deg)); opacity: .35; } 70% { transform: translate(calc(var(--rx, 8px) * -.6), calc(var(--ry, 7px) * .5)) rotate(calc(var(--rr, 9deg) * -.5)); opacity: .7; } }
.lane__graph { width: min(100%, 300px); height: 96px; overflow: visible; }
.lane__links path { fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.lane__nodes circle { fill: #060918; stroke: var(--cyan); stroke-width: 2; }
.lane__nodes circle:last-child { stroke: #34D399; fill: rgba(52, 211, 153, .18); animation: okPulse 2.4s ease-in-out infinite; transform-origin: 210px 48px; }
@keyframes okPulse { 50% { transform: scale(1.18); } }
.lane__tick { fill: none; stroke: #7CF0C4; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lane__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: lane; }
.lane__steps li { counter-increment: lane; display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--ink-2); }
.lane__steps li::before { content: counter(lane); font-family: var(--font-en); font-size: 12px; color: var(--dim); border: 1px solid var(--line-2); border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; flex: none; }
.lane__out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.lane__out b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; }
.lane__out--warn { color: #FFC978; } .lane__out--warn b { background: rgba(255, 180, 80, .16); border: 1px solid rgba(255, 180, 80, .5); }
.lane__out--ok { color: #7CF0C4; } .lane__out--ok b { background: rgba(52, 211, 153, .16); border: 1px solid rgba(52, 211, 153, .5); }
.lane__out em { font-style: normal; font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(34, 211, 238, .35); color: var(--cyan); background: rgba(34, 211, 238, .06); }

/* ---------------------------------------------------------------- motion off */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.motion-paused .js .reveal, html.motion-paused.js .reveal { opacity: 1; transform: none; }
html.motion-paused.js .hero__content > * { opacity: 1; transform: none; }
html.motion-paused .marquee__row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
html.motion-paused .marquee { -webkit-mask-image: none; mask-image: none; }
html.motion-paused .marquee__row li[aria-hidden="true"] { display: none; }
html.motion-paused .pipe__link i, html.motion-paused .brain__wire i { display: none; }
html.motion-paused .view.is-enter, html.motion-paused .tabs__panel.is-slide { animation: none; }
html.motion-paused .viz, html.motion-paused .console__next { transform: none; }
html.motion-paused .lane__art--chunks span, html.motion-paused .lane__links path, html.motion-paused .lane__nodes circle { animation: none; }
@media print { .ambient, .header, .hero__canvas, .grain, .cursor-glow, .notice, .reading-line { display: none !important; } body { background: #fff; color: #000; } }
