/* ============================================================================
   Optima AI website. Brand: the Canva identity ("optima ai" logo board), tokens from the brand guide:
   navy is the ground, teal is the signal; one sans family, heavy headlines (800); flat surfaces;
   rounded but not soft; round nodes as the motif.
   Fonts: Manrope (Latin, brand guide) + Noto Kufi Arabic (owner decision, 2026-10-17).
   Motion: GSAP + ScrollTrigger + Lenis (motion.js); everything is visible without JS or with
   reduced motion.
   ============================================================================ */
:root {
  --navy-deep: #0b1f33;   /* brand-navy-deep: page ground */
  --navy: #02355a;        /* brand-navy: panels, bands */
  --navy-ink: #004369;    /* brand-navy-ink: secondary dark fill */
  --teal: #1cabb0;        /* brand-teal: the signal (on navy only) */
  --ink: #ffffff;
  --ink-muted: #a9bccb;
  --tint: #163a57;        /* accent-tint (dark) */
  --hairline: #163a57;
  --control: #5a86a6;     /* control-border (dark) */
  --on-accent: #0b1f33;
  --warn: #f3802b;
  --crit: #e0587f;

  --r-md: 8px;
  --r-lg: 16px;
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[dir="rtl"] { --font: 'Noto Kufi Arabic', 'Manrope', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--navy-deep); overflow-x: clip }
html.lenis, html.lenis body { height: auto }
.lenis.lenis-smooth { scroll-behavior: auto !important }
body { font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--navy-deep); -webkit-font-smoothing: antialiased; overflow-x: clip }
html[dir="rtl"] body { line-height: 1.75 }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
img { display: block; max-width: 100% }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px }
::selection { background: var(--teal); color: var(--navy-deep) }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 32px }
.teal { color: var(--teal) }
.muted { color: var(--ink-muted) }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate }
.skip { position: absolute; top: -48px; inset-inline-start: 16px; z-index: 100; background: var(--teal); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-md); font-weight: 700 }
.skip:focus { top: 12px }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none }
.ico-sm { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none }
html[dir="rtl"] .flip { transform: scaleX(-1) }
.node { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none }
.node.pulse { box-shadow: 0 0 0 0 rgba(28, 171, 176, .6); animation: pulse 2.2s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(28, 171, 176, 0) } 100% { box-shadow: 0 0 0 0 rgba(28, 171, 176, 0) } }

/* ── Type scale (brand guide) ── */
.display { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; max-width: 1100px }
.display .line { display: block; overflow: hidden; padding-bottom: .06em }
.display .line-in { display: inline-block }
.display-sm { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em }
.h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin-bottom: 16px }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; font-weight: 800; margin-bottom: 10px }
.h3 { font-size: 1.2rem; line-height: 1.4; font-weight: 700; margin-bottom: 8px }
html[dir="rtl"] :is(.display, .display-sm, .h1, .h2) { letter-spacing: 0; line-height: 1.5 }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-muted); max-width: 720px }
.sublead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-muted); max-width: 600px; margin-bottom: 28px }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); background: var(--tint); border: 1px solid rgba(28, 171, 176, .25); border-radius: 999px; padding: 8px 16px; margin-bottom: 28px }
html[dir="rtl"] :is(.eyebrow, .eyebrow-pill) { letter-spacing: 0; text-transform: none; font-size: .95rem }
.note { font-size: .85rem; color: var(--ink-muted); margin-top: 20px }
.grid + .note { margin-top: 32px }
.center { text-align: center }

/* ── Buttons ── */
/* Hover lifts use the `translate` property, never `transform`: GSAP owns `transform` on
   animated elements, and a CSS transform transition corrupts the end values it records. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: var(--r-md); font-weight: 700; font-size: 1rem; transition: background .2s, border-color .2s, color .2s, translate .2s var(--ease) }
.btn:hover { translate: 0 -2px }
.btn-primary { background: var(--teal); color: var(--on-accent) }
.btn-primary:hover { background: #24bfc4 }
.btn-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s 2s infinite }
@keyframes shine { 0%, 70% { transform: translateX(-120%) } 100% { transform: translateX(120%) } }
.btn-ghost { border: 1.5px solid var(--control); color: var(--ink) }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal) }
.btn-ghost:hover .ico-sm { transform: translateX(3px) }
html[dir="rtl"] .btn-ghost:hover .ico-sm { transform: scaleX(-1) translateX(3px) }
.btn-ghost .ico-sm { transition: transform .2s var(--ease) }
.btn-dark { background: var(--navy-deep); color: #fff }
.btn-dark:hover { background: var(--navy) }
.btn-sm { padding: 10px 18px; font-size: .9rem }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 51, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline) }
.nav-inner { height: 72px; display: flex; align-items: center; gap: 40px }
.logo img { height: 28px; width: auto }
.nav-links { display: flex; gap: 32px }
.nav-links a { position: relative; font-size: .95rem; font-weight: 600; color: var(--ink-muted); transition: color .15s }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .25s var(--ease) }
.nav-links a:hover { color: var(--ink) }
.nav-links a:hover::after { transform: scaleX(1) }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--hairline); border-radius: var(--r-md); font-size: .9rem; font-weight: 600; color: var(--ink-muted); font-family: 'Noto Kufi Arabic', 'Manrope', sans-serif }
.lang:hover { border-color: var(--control); color: var(--ink) }
.menu { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px }
.menu span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg) }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg) }
.progress { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left }
html[dir="rtl"] .progress { transform-origin: right }

/* ── Hero ── */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--tint) 1px, transparent 1px), linear-gradient(90deg, var(--tint) 1px, transparent 1px); background-size: 64px 64px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center }
.hero .lead { margin-bottom: 40px }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center }

.system { width: 100%; max-width: 1080px; margin-top: 64px }
.core-ring { transform-origin: 0 0; animation: spin 24s linear infinite }
.core-ring2 { transform-origin: 0 0; animation: spin 40s linear infinite reverse }
@keyframes spin { to { transform: rotate(360deg) } }
.particle { fill: var(--teal) }
/* System diagram: SVG for lanes, dots, particles and core; HTML boxes on top (see motion.js) */
.flow { position: relative; container-type: inline-size; width: 100% }
.flow svg { display: block; width: 100%; height: auto; overflow: visible }
.flow .dot { fill: var(--teal) }
.flow-nodes { position: absolute; inset: 0; pointer-events: none }
.flow-node { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: .15em; padding-inline: 2cqw; background: var(--navy); border: 1.5px solid var(--navy-ink); border-radius: 1.4cqw; text-align: start; overflow: hidden }
.flow-node.out { background: var(--navy-deep); border-color: rgba(28, 171, 176, .6) }
.flow-node b, .flow-node span { display: block; white-space: nowrap; overflow: hidden; line-height: 1.25 }
.flow-node b { font-size: 1.5cqw; font-weight: 700; color: #fff }
.flow-node span { font-size: 1.15cqw; font-weight: 500; color: var(--ink-muted) }
.flow-compact { display: none; max-width: 460px; margin-inline: auto }
.flow-compact .flow-node { padding-inline: 2.6cqw; border-radius: 3cqw; border-width: 1px }
.flow-compact .flow-node b { font-size: 3.5cqw }
@media (max-width: 760px) { .flow-wide { display: none } .flow-compact { display: block } }
.sys-caption { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; color: var(--ink-muted); font-weight: 600 }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: blink 1.6s infinite }
@keyframes blink { 50% { opacity: .25 } }

/* ── Marquee strip ── */
.strip { background: var(--navy); border-block: 1px solid var(--navy-ink); overflow: hidden }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding-block: 26px; font-weight: 700; font-size: 1.1rem; white-space: nowrap }
.strip-label { color: var(--teal); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase }
html[dir="rtl"] .strip-label { letter-spacing: 0; font-size: .95rem }
.strip .node { width: 6px; height: 6px; opacity: .7 }

/* ── Sections ── */
.section { padding: 120px 0 }
.band { background: var(--navy) }
.band .card, .band .decision { background: var(--navy-deep) }

.frag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px }
.frag-item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px dashed var(--control); border-radius: var(--r-lg); color: var(--ink-muted); font-size: .95rem; background: var(--navy-deep); will-change: transform }
.frag-item .ico { color: var(--ink-muted); margin-bottom: 8px }
.frag-item b { color: var(--ink); font-size: 1.1rem }
.frag.merged .frag-item { border-style: solid; border-color: var(--teal); color: var(--ink) }
.frag.merged .frag-item .ico { color: var(--teal) }
.answer { margin-top: 44px; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.3; max-width: 920px }

/* ── Pinned story ── */
.story { padding: 120px 0 }
.story-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center }
.story-steps { display: grid; gap: 28px; margin-top: 12px }
.story-step { position: relative; padding-inline-start: 28px; transition: opacity .4s var(--ease) }
.motion .story-step { opacity: .35 }
.story-step::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--tint) }
.story-step::after { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 3px; height: 0; border-radius: 3px; background: var(--teal); transition: height .5s var(--ease) }
.motion .story-step.is-active { opacity: 1 }
.story-step::after { height: calc(100% - 8px) }
.motion .story-step::after { height: 0 }
.motion .story-step.is-active::after { height: calc(100% - 8px) }
.story-step p { color: var(--ink-muted); line-height: 1.65; max-width: 480px }
.step-n { display: inline-block; font-family: var(--mono); color: var(--teal); font-size: .9rem; margin-bottom: 6px }

.story-stage { position: relative; display: grid; gap: 16px }
.motion .story-stage { display: block; height: 440px }
@media (min-width: 1001px) { .motion .story { min-height: 100vh; display: flex; align-items: center } .motion .story > .wrap { width: 100% } }
.panel { position: relative; min-height: 360px; background: var(--navy-deep); border: 1px solid var(--tint); border-radius: 20px; padding: 28px; transition: opacity .5s var(--ease), transform .5s var(--ease); display: flex; flex-direction: column; gap: 14px }
.panel { opacity: 1; transform: none }
.motion .panel { position: absolute; inset: 0; min-height: 0; opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none }
.motion .panel.is-active { opacity: 1; transform: none; pointer-events: auto }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05rem; margin-bottom: 6px }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--tint); padding: 3px 10px; border-radius: 999px }
html[dir="rtl"] .tag { letter-spacing: 0 }
.pic-row { display: grid; grid-template-columns: 130px 1fr 64px 84px; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--navy) }
.pic-k { font-weight: 600; font-size: .92rem }
.pic-bar { height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden }
.pic-bar i { display: block; height: 100%; width: var(--w); background: var(--teal); border-radius: 8px; transform-origin: left; transition: transform 1s var(--ease) .2s }
html[dir="rtl"] .pic-bar i { transform-origin: right; margin-inline-start: 0 }
.motion .panel:not(.is-active) .pic-bar i { transform: scaleX(0) }
.pic-bar.empty { background: repeating-linear-gradient(90deg, var(--tint) 0 6px, transparent 6px 12px) }
.sources { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto }
.sources span { font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-muted) }
.sources span:last-child { color: var(--teal) }

.chart { position: relative; flex: 1; display: flex; align-items: flex-end; padding: 10px 6px 0 }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; width: 100%; height: 100%; align-items: end }
.bar { position: relative; height: var(--h); background: var(--navy); border: 1px solid var(--navy-ink); border-radius: 10px 10px 4px 4px; transform-origin: bottom; transition: transform .9s var(--ease) }
.motion .panel:not(.is-active) .bar { transform: scaleY(0) }
.bar:nth-child(2) { transition-delay: .06s } .bar:nth-child(3) { transition-delay: .12s } .bar:nth-child(4) { transition-delay: .18s } .bar:nth-child(5) { transition-delay: .24s } .bar:nth-child(6) { transition-delay: .3s }
.bar.over { background: color-mix(in srgb, var(--warn) 55%, var(--navy)); border-color: var(--warn) }
.bar span { position: absolute; bottom: -26px; inset-inline: 0; text-align: center; font-family: var(--mono); font-size: .78rem; color: var(--ink-muted) }
.cap-line { position: absolute; inset-inline: 0; bottom: 78%; border-top: 2px dashed var(--teal); z-index: 1 }
.cap-line span { position: absolute; inset-inline-end: 0; top: -24px; font-size: .75rem; font-weight: 700; color: var(--teal) }
.panel-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 600; font-size: .95rem }

.evid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.evid div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: var(--navy); color: var(--ink-muted); font-size: .88rem }
.evid b { font-size: 1.6rem; color: var(--ink) }
.evid small { font-family: var(--font); font-size: .8rem; color: var(--ink-muted) }
.signed { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--teal); color: var(--teal); font-weight: 700; font-size: .92rem }

/* ── Live briefing ── */
.ticks { list-style: none; display: grid; gap: 12px }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600 }
.ticks .ico-sm { color: var(--teal) }
.shot { width: 100%; background: var(--navy); border: 1px solid var(--navy-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7) }
.shot-bar { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--tint) }
.dots { display: inline-flex; gap: 7px }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--tint) }
.shot-title { font-weight: 700; font-size: .95rem }
.shot-bar .tag { margin-inline-start: auto }
.shot-body { padding: 24px 24px 22px }
.shot-time { color: var(--teal); font-size: .85rem; margin-bottom: 4px }
.shot-greet { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; margin-bottom: 16px }
.shot-greet .mono { display: inline-block; min-width: .7em; color: var(--teal) }
.shot-hint { margin-top: 14px; font-size: .82rem; color: var(--ink-muted) }
.decision { display: flex; align-items: center; gap: 14px; background: var(--navy-deep); border: 1px solid var(--tint); border-radius: 12px; padding: 13px 14px; margin-top: 10px; transition: border-color .3s }
.decision p { flex: 1; font-weight: 600; font-size: .95rem; min-width: 0 }
.decision.big { margin-top: 0 }
.decision.big p { font-size: 1.15rem }
.decision.done { border-color: var(--teal) }
.decision.done .dec-actions { display: none }
.decision .done-label { display: none; color: var(--teal); font-weight: 700; font-size: .85rem; align-items: center; gap: 6px }
.decision.done .done-label { display: inline-flex }
.chip { flex: none; min-width: 88px; text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px }
html[dir="rtl"] .chip { letter-spacing: 0; font-size: .8rem }
.chip-crit { color: var(--crit); background: color-mix(in srgb, var(--crit) 14%, transparent) }
.chip-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent) }
.chip-info { color: var(--teal); background: var(--tint) }
.dec-actions { display: inline-flex; gap: 8px; flex: none }
.mini-btn { font-size: .8rem; font-weight: 700; padding: 7px 12px; border-radius: 6px; border: 1px solid var(--control); color: var(--ink-muted); transition: background .2s, color .2s, border-color .2s }
.mini-btn:hover { border-color: var(--teal); color: var(--teal) }
.mini-btn.primary { background: var(--teal); border-color: var(--teal); color: var(--on-accent) }
.mini-btn.primary:hover { background: #24bfc4; color: var(--on-accent) }

/* ── Cards ── */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px }
.card { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--navy); border: 1px solid var(--navy-ink); transition: border-color .25s, translate .3s var(--ease); overflow: hidden }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(28, 171, 176, .12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none }
.card:hover { border-color: rgba(28, 171, 176, .6); translate: 0 -4px }
.card:hover::before { opacity: 1 }
.card p { color: var(--ink-muted); line-height: 1.6 }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--teal); margin-bottom: 20px; transition: transform .3s var(--ease) }
.card:hover .card-ico { transform: scale(1.08) rotate(-4deg) }
.soon { display: inline-block; vertical-align: middle; margin-inline-start: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 999px; padding: 2px 8px }
html[dir="rtl"] .soon { letter-spacing: 0; font-size: .75rem }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start }
.split-center { align-items: center }

.evidence { display: grid; gap: 12px }
.ev { display: grid; grid-template-columns: 96px 130px 1fr; align-items: center; gap: 16px; background: var(--navy); border: 1px solid var(--tint); border-radius: 14px; padding: 18px }
.ev-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 5px 0; border-radius: 999px }
html[dir="rtl"] .ev-tag { letter-spacing: 0; font-size: .8rem }
.ev-tag.fact { color: var(--teal); background: var(--tint) }
.ev-tag.derived { color: var(--navy-deep); background: var(--teal) }
.ev-tag.missing { color: var(--ink-muted); border: 1px dashed var(--control) }
.ev-val { font-size: 1.5rem }
.ev-val b { font-weight: 500 }
.ev-val small { font-family: var(--font); font-size: .8rem; color: var(--ink-muted); font-weight: 500 }
.ev-desc { color: var(--ink-muted); font-size: .92rem }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px }
.col { padding: 36px; border-radius: var(--r-lg) }
.col ul { list-style: none; display: grid; gap: 16px; margin-top: 12px }
.col li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem }
.col li .ico-sm { margin-top: 4px }
.col-old { border: 1px solid var(--tint); color: var(--ink-muted); background: var(--navy-deep) }
.col-old .ico-sm { color: var(--crit) }
.col-new { background: var(--navy-deep); border: 1.5px solid var(--teal) }
.col-new .ico-sm { color: var(--teal) }
.cmp-logo { height: 26px; width: auto }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; position: relative }
.timeline::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 2px; background: var(--tint) }
.timeline::after { content: ""; position: absolute; top: 22px; inset-inline-start: 22px; height: 2px; width: calc(100% - 44px); background: var(--teal); transform: scaleX(var(--tl, 1)); transform-origin: left }
html[dir="rtl"] .timeline::after { transform-origin: right }
.timeline li { position: relative; z-index: 1 }
.timeline p { color: var(--ink-muted); line-height: 1.6 }
.tl-n { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); border: 2px solid var(--teal); color: var(--teal); font-weight: 800; margin-bottom: 18px }
.timeline li:last-child .tl-n { background: var(--teal); color: var(--on-accent) }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px }
.pills span { padding: 10px 18px; border-radius: 999px; background: var(--tint); color: var(--teal); font-weight: 700; font-size: .95rem }

.terms { display: flex; flex-wrap: wrap; gap: 12px }
.terms span { padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--navy-ink); background: var(--navy); font-weight: 800; font-size: 1.1rem; transition: border-color .2s, color .2s, translate .2s var(--ease) }
.terms span:hover { border-color: var(--teal); color: var(--teal); translate: 0 -3px }

.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; border-radius: 24px; background: var(--navy); border: 1px solid var(--navy-ink) }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px }
.faq-wrap > *, .split > *, .pilot > * { min-width: 0 }
.faq details { border-bottom: 1px solid var(--tint) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.1rem; font-weight: 700; transition: color .2s }
.faq summary:hover { color: var(--teal) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-deep); color: var(--teal); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease) }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { color: var(--ink-muted); padding-bottom: 22px; line-height: 1.7 }

.final { padding: 130px 0; background: var(--teal); color: var(--on-accent); text-align: center }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 20px }
.final .lead { color: var(--navy); font-weight: 600 }

.footer { padding: 64px 0 32px; border-top: 1px solid var(--hairline) }
.foot-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap }
.foot-brand img { height: 28px; width: auto }
.foot-tag { margin-top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--teal); direction: ltr }
.foot-line { margin-top: 8px; color: var(--ink-muted); font-size: .9rem }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-weight: 600; color: var(--ink-muted) }
.foot-links a:hover { color: var(--ink) }
.foot-links .mono { color: var(--teal); font-size: .9rem }
.copy { margin-top: 40px; font-size: .85rem; color: var(--ink-muted) }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .frag { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .split, .pilot, .faq-wrap, .compare, .story-inner { grid-template-columns: 1fr; gap: 40px }
  .pilot { padding: 36px 28px }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .timeline::before, .timeline::after { display: none }
  .motion .story-stage { height: auto; display: grid; gap: 16px }
  .motion .panel { position: relative; opacity: 1; transform: none; min-height: 360px; pointer-events: auto }
  .motion .panel .pic-bar i, .motion .panel .bar { transform: none !important }
  .motion .story-step { opacity: 1 }
  .motion .story-step::after { height: calc(100% - 8px) }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px }
  .menu { display: flex }
  .hide-sm { display: none }
  .nav-links { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--navy-deep); border-bottom: 1px solid var(--hairline); padding: 8px 16px 16px }
  .nav-links.open { display: flex }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 1.05rem }
  .nav-links a::after { display: none }
  .hero { padding-top: 56px }
  .system { margin-top: 40px }
  .section, .story { padding: 80px 0 }
  .grid, .grid-4, .frag, .timeline, .evid { grid-template-columns: 1fr }
  .pic-row { grid-template-columns: 1fr 64px 76px; }
  .pic-bar { grid-column: 1 / -1; order: 5 }
  .decision { flex-wrap: wrap }
  .decision p { flex-basis: 100%; order: 2 }
  .chip { order: 1 }
  .dec-actions { order: 3 }
  .ev { grid-template-columns: 84px 1fr }
  .ev-desc { grid-column: 1 / -1 }
  .col { padding: 24px }
  .final { padding: 90px 0 }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}

/* ── Built by experts ── */
.experts { position: relative; overflow: hidden; padding: 140px 0; background: var(--navy-deep); border-block: 1px solid var(--tint) }
.experts-bg { position: absolute; inset-inline: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(6rem, 20vw, 18rem); letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--tint); pointer-events: none; user-select: none; white-space: nowrap; direction: ltr }
.experts .wrap { position: relative }
.experts-title { font-size: clamp(2.6rem, 6.5vw, 5.5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; max-width: 1000px }
html[dir="rtl"] .experts-title { letter-spacing: 0; line-height: 1.4 }
.experts-lead { margin-top: 24px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink-muted); max-width: 760px }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px }
.rule { position: relative; padding: 32px 26px 28px; border-radius: var(--r-lg); background: var(--navy); border: 1px solid var(--navy-ink); border-top: 3px solid var(--teal); transition: translate .3s var(--ease), border-color .3s }
.rule:hover { translate: 0 -6px; border-color: var(--teal) }
.rule-n { display: block; font-family: var(--mono); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--teal); margin-bottom: 22px }
.rule-t { font-size: 1.3rem; line-height: 1.3; font-weight: 800; margin-bottom: 12px }
.rule p { color: var(--ink-muted); line-height: 1.6 }
.experts-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 56px }
.experts-speak { font-weight: 800; font-size: 1.2rem }

/* ── FAQ topics ── */
.faq-side { position: sticky; top: 110px; align-self: start }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px }
.faq-tabs button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--navy-ink); background: var(--navy-deep); color: var(--ink-muted); font-weight: 700; font-size: .9rem; transition: all .2s }
.faq-tabs button:hover { color: var(--ink); border-color: var(--control) }
.faq-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-accent) }
.faq details[hidden] { display: none }
.faq details[open] summary { color: var(--teal) }

@media (max-width: 1000px) {
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .faq-side { position: static }
}
@media (max-width: 760px) {
  .experts { padding: 90px 0 }
  .rules { grid-template-columns: 1fr; margin-top: 40px }
  .faq-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none }
  .faq-tabs button { flex: none }
}

/* Phone diagram labels (fitNodeText shrinks any that would still overflow) */

/* ── Demo booking (Google Calendar appointment schedule) ── */
.booking { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.booking[hidden] { display: none }
.booking-title { font-size: 1.3rem; font-weight: 800 }
.booking-sub { color: var(--ink-muted) }
.booking-frame { border-radius: var(--r-lg); overflow: hidden; background: #fff }
.booking-frame iframe { display: block; width: 100%; height: 820px; border: 0 }
@media (max-width: 760px) { .booking-frame iframe { height: 1100px } }
.booking-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px }
.booking-alt { align-self: flex-start }
.booking-mail { color: var(--ink-muted); font-size: .95rem }
.booking-mail a { color: var(--teal) }
