/* =========================================================
   VEKLO TECH: "the ledger becomes a brain"
   ========================================================= */
:root {
  --ink: #070f1c;
  --navy: #0b1628;
  --panel: #101e34;
  --panel-2: #15284a;
  --line-d: rgba(150, 180, 225, 0.12);
  --text-d: #e9eef6;
  --muted-d: #93a3bd;

  --paper: #f3f0e8;
  --paper-2: #ebe7dc;
  --card: #fbfaf6;
  --rule: rgba(30, 60, 110, 0.09);
  --margin-rule: rgba(196, 70, 60, 0.35);
  --text-l: #0e1a2e;
  --muted-l: #56627a;
  --line-l: rgba(14, 26, 46, 0.12);

  --mint: #3fd8c4;
  --mint-2: #8cf0e2;
  --teal: #0b6b5d;
  --amber: #f2b84b;
  --red: #e0645a;

  --f-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "IBM Plex Sans Hebrew", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r: 18px;
  --wrap: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--mint); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(to left, var(--mint), var(--mint-2)); transform-origin: right; transform: scaleX(0); }

/* ---------- section themes ---------- */
section { position: relative; padding-block: clamp(88px, 12vw, 160px); }
.dark { background: var(--navy); color: var(--text-d); }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
  opacity: .5;
}
.paper { background: var(--paper); color: var(--text-l); }
/* accounting-paper: horizontal rules + red margin on the right (RTL start) */
.paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
}
.paper::after {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: clamp(16px, 4vw, 56px); width: 5px; pointer-events: none;
  border-inline: 1px solid var(--margin-rule);
}
.paper--alt { background: var(--paper-2); }
.paper > .wrap, .dark > .wrap { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em;
  color: var(--teal); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--mint); }
h2 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em;
}
.muted { color: var(--muted-l); }
.dark .muted { color: var(--muted-d); }
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.sec-lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted-l); margin-top: 26px; max-width: 58ch; }
.dark .sec-lede { color: var(--muted-d); }
.sec-head--split .sec-lede { margin-top: 0; }
.footnote { margin-top: 36px; color: var(--muted-l); font-size: 15px; padding-inline-start: 18px; border-inline-start: 2px solid var(--teal); }
.footnote--dark { color: var(--muted-d); border-color: var(--mint); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1;
  background: var(--bg); color: var(--fg); border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .3s var(--ease-out), background-color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(-5px); }
.btn--mint { --bg: var(--mint); --fg: var(--ink); box-shadow: 0 0 0 0 rgba(63,216,196,.0), 0 10px 30px -10px rgba(63,216,196,.55); }
.btn--mint:hover { box-shadow: 0 0 0 6px rgba(63,216,196,.16), 0 14px 40px -10px rgba(63,216,196,.7); }
.btn--ghost { border-color: rgba(233,238,246,.22); color: var(--text-d); }
.btn--ghost:hover { border-color: var(--mint); background: rgba(63,216,196,.06); }
.btn--ink { --bg: var(--ink); --fg: var(--text-d); }
.btn--ink:hover { box-shadow: 0 12px 30px -12px rgba(7,15,28,.7); }
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.btn--block { width: 100%; padding-block: 18px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 90; height: var(--nav-h);
  transition: background-color .35s, backdrop-filter .35s, border-color .35s, transform .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7,15,28,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line-d); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { width: min(var(--wrap), 100% - 48px); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-d); }
.brand__mark { width: 32px; height: 32px; }
.brand__name { font-family: var(--f-body); font-weight: 700; letter-spacing: .04em; font-size: 19px; direction: ltr; }
.brand__name b { color: var(--mint); font-weight: 500; letter-spacing: .02em; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { position: relative; padding: 8px 12px; font-size: 15px; color: var(--muted-d); border-radius: 8px; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text-d); }
.nav__links a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; margin-inline-start: auto; }
.nav__burger span { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--text-d); transition: transform .3s var(--ease-out), top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: var(--nav-h); inset-inline: 0; background: rgba(7,15,28,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); padding: 16px 24px 28px; display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 20px; font-family: var(--f-display); border-bottom: 1px solid var(--line-d); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- load animation ---------- */
.load { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(6px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
p.load, div.load, ul.load { display: block; }
.hero__cta.load { display: flex; }
.hero__proof.load { display: flex; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 96px; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 28% 52%, rgba(63,216,196,.16), transparent 70%),
    radial-gradient(900px 600px at 85% 10%, rgba(40,80,150,.25), transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.015em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title em { font-style: normal; font-family: var(--f-mono); font-weight: 500; font-size: .78em; color: var(--mint); letter-spacing: -.02em; vertical-align: .04em; }
.ink-mark { position: relative; display: inline-block; }
.ink-mark svg { position: absolute; inset-inline: -2%; bottom: -.08em; width: 104%; height: .22em; overflow: visible; }
.ink-mark path { fill: none; stroke: var(--mint); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s var(--ease-io) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lede { margin-top: 30px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted-d); max-width: 34em; }
.hero__lede strong { color: var(--text-d); font-weight: 600; }
.hero__cta { margin-top: 36px; gap: 12px; flex-wrap: wrap; }
.hero__proof { margin-top: 40px; gap: 22px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted-d); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof i { width: 16px; height: 16px; border-radius: 50%; background: rgba(63,216,196,.14); position: relative; }
.hero__proof i::after { content: ""; position: absolute; inset: 4px 5px 5px 4px; border: solid var(--mint); border-width: 0 1.5px 1.5px 0; transform: rotate(40deg) translate(-1px,-1px); width: 4px; height: 7px; inset: 3px auto auto 5.5px; }

/* stage */
.stage { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 640px; justify-self: center; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__col-label { position: absolute; top: -6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--muted-d); opacity: 0; transition: opacity .8s; }
.stage__col-label--in { right: 2%; }
.stage__col-label--out { left: 2%; color: var(--mint); }
.stage.is-ordered .stage__col-label { opacity: 1; }
.node {
  position: absolute; left: 0; top: 0; z-index: 2;
  padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: rgba(21,40,74,.85); border: 1px solid rgba(150,180,225,.2); color: var(--text-d);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  will-change: transform;
  transition: transform 1.5s var(--ease-io), opacity .8s, border-color .6s, box-shadow .6s;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
}
.node--sys.is-chaos { animation: drift 5s ease-in-out infinite alternate; animation-delay: var(--dd, 0s); }
.node--agent { display: inline-flex; align-items: center; gap: 8px; background: rgba(14,124,107,.18); border-color: rgba(63,216,196,.45); color: var(--mint-2); opacity: 0; }
.node--agent i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: blink 2.4s infinite; }
.stage.is-ordered .node--sys { border-color: rgba(150,180,225,.32); }
.stage.is-ordered .node--agent { opacity: 1; }
@keyframes blink { 50% { opacity: .35; } }
.core {
  position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.85);
  border-radius: 50%; border: 0; padding: 0; z-index: 3;
  background: radial-gradient(circle at 50% 40%, #173257, #0a1830 70%);
  box-shadow: inset 0 0 0 1px rgba(63,216,196,.35), 0 0 80px -10px rgba(63,216,196,.45);
  display: grid; place-items: center; align-content: center; gap: 4px;
  transition: transform 1s var(--ease-out), box-shadow 1s;
}
.stage.is-ordered .core { transform: translate(-50%, -50%) scale(1); box-shadow: inset 0 0 0 1px rgba(63,216,196,.6), 0 0 120px -6px rgba(63,216,196,.6); }
.core:hover { transform: translate(-50%, -50%) scale(1.04); }
.core svg { width: 44%; }
.core__label { font-family: var(--f-display); font-weight: 700; font-size: clamp(12px, 1.3vw, 15px); color: var(--text-d); }
.core__ring { position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(63,216,196,.35); animation: spin 28s linear infinite; }
.core__ring--2 { inset: -30%; border: 1px solid rgba(63,216,196,.12); animation: pulse 3.2s var(--ease-out) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes drift { from { translate: 0 0; } to { translate: 6px -10px; } }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(233,238,246,.3); border-radius: 12px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--mint); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- PROBLEM ---------- */
.problem__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.pile-card, .can-card { background: var(--card); border: 1px solid var(--line-l); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgba(14,26,46,.35); }
.pile-card h3, .can-card h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; }
.pile-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hint { font-family: var(--f-mono); font-size: 12px; color: var(--muted-l); letter-spacing: .08em; }
.pile { position: relative; height: 300px; margin-block: 24px; border-radius: 14px; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(14,26,46,.025) 10px 11px); border: 1px dashed var(--line-l); touch-action: none; }
.scrap {
  position: absolute; right: var(--x); top: var(--y); max-width: 54%;
  transform: rotate(var(--r)); background: #fff; border: 1px solid var(--line-l); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; line-height: 1.4; color: var(--text-l);
  box-shadow: 0 12px 24px -14px rgba(14,26,46,.45);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transition: box-shadow .25s, scale .25s var(--ease-out);
}
.scrap:hover { scale: 1.03; }
.scrap.is-drag { cursor: grabbing; scale: 1.06; box-shadow: 0 30px 40px -18px rgba(14,26,46,.5); z-index: 10; transition: none; }
.scrap b { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; font-weight: 500; margin-bottom: 4px; }
.scrap--xls b { color: #1d6e40; } .scrap--wa b { color: #12764a; } .scrap--pdf b { color: #b1372d; }
.scrap--mail b { color: #2f6fd1; } .scrap--hash b { color: #8a5a00; }
.scrap--note { background: #fff6c9; border-color: #efe1a0; }
.scrap--note b { color: #8a6d00; }
.pains { display: grid; gap: 12px; }
.pains li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; color: var(--muted-l); padding-top: 12px; border-top: 1px solid var(--line-l); }
.pains__k { color: var(--text-l); font-weight: 600; }

.can-card { background: var(--ink); color: var(--text-d); border-color: transparent; position: relative; overflow: hidden; }
.can-card::before { content: ""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(63,216,196,.25), transparent 65%); }
.can-list { position: relative; margin-top: 32px; display: grid; gap: 22px; counter-reset: c; }
.can-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; color: var(--muted-d); font-size: 16.5px; }
.can-list b { color: var(--text-d); font-weight: 600; }
.tick { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(63,216,196,.4); position: relative; margin-top: -2px; }
.tick::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 11px; border: solid var(--mint); border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0); transition: transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms + .3s); }
.can-card.is-in .tick { background: rgba(63,216,196,.1); }
.can-card.is-in .tick::after { transform: rotate(40deg) scale(1); }
.can-list li:nth-child(2) { --i: 1; } .can-list li:nth-child(3) { --i: 2; } .can-list li:nth-child(4) { --i: 3; }

.gap { margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); background: var(--navy); color: var(--text-d); border-radius: var(--r); position: relative; overflow: hidden; }
.gap p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.32; max-width: 28ch; }
.gap em { font-style: normal; color: var(--mint); }
.gap::after { content: "”"; position: absolute; left: 3%; top: -10%; font-family: var(--f-display); font-size: 16rem; line-height: 1; color: rgba(63,216,196,.12); }

/* ---------- SOLUTION ---------- */
.arch { position: relative; display: grid; grid-template-columns: 1fr 56px 1.08fr 56px 1fr; align-items: stretch; }
.arch__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.arch__wires path { fill: none; stroke: none; }
.arch__wires circle { fill: #8aa0c2; filter: drop-shadow(0 0 6px rgba(138,160,194,.8)); }
.arch__wires circle.m { fill: var(--mint); filter: drop-shadow(0 0 8px var(--mint)); }
.arch__arrow { position: relative; }
.arch__arrow::before { content: ""; position: absolute; top: 50%; inset-inline: 0; height: 1px; background: linear-gradient(to left, rgba(150,180,225,.35), rgba(63,216,196,.6)); }
.arch__arrow::after { content: ""; position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border: solid var(--mint); border-width: 0 0 1.5px 1.5px; transform: translateY(-50%) rotate(45deg); }
.layer { position: relative; padding: 30px 28px; border-radius: var(--r); background: var(--card); color: var(--text-l); display: flex; flex-direction: column; gap: 10px; }
.layer h3 { font-size: 1.35rem; font-weight: 700; font-family: var(--f-display); }
.layer p { color: var(--muted-l); font-size: 15.5px; }
.layer__n { font-family: var(--f-mono); font-size: 12px; color: var(--teal); letter-spacing: .12em; }
.layer--core { background: var(--ink); color: var(--text-d); box-shadow: inset 0 0 0 1px rgba(63,216,196,.35), 0 30px 80px -30px rgba(63,216,196,.45); transform: translateY(-10px); }
.layer--core p { color: var(--muted-d); }
.layer--core .layer__n { color: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.chips span { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: #e7ebf2; color: #2d3a52; }
.chips--dark span { background: var(--panel-2); color: var(--text-d); border: 1px solid rgba(150,180,225,.15); }
.chips--mint span { background: rgba(14,124,107,.1); color: var(--teal); border: 1px solid rgba(14,124,107,.25); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(56px, 7vw, 96px); }
.pillar { padding-top: 22px; position: relative; }
.pillar::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--teal); transform-origin: right; transform: scaleX(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--rd, 0s) + .2s); }
.pillar.is-in::before { transform: scaleX(1); background: var(--mint); }
.pillar h4 { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--muted-d); font-size: 15.5px; }

/* ---------- PROCESSES ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.proc { grid-column: span 2; position: relative; background: var(--card); border: 1px solid var(--line-l); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s, opacity .9s var(--ease-out); }
.proc--wide { grid-column: span 3; }
.proc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(63,216,196,.14), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.proc:hover { transform: translateY(-6px); border-color: rgba(14,124,107,.35); box-shadow: 0 30px 50px -30px rgba(14,26,46,.35); }
.proc:hover::before { opacity: 1; }
.proc h3 { font-family: var(--f-display); font-size: 1.4rem; }
.proc p { color: var(--muted-l); font-size: 15.5px; }
.proc__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; margin-bottom: 8px; }
.proc__icon svg { width: 30px; height: 30px; }
.proc__icon svg * { fill: none; stroke: #9fb1cc; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proc__icon svg .hl { stroke: var(--mint); stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease-out); }
.proc.is-in .proc__icon svg .hl, .proc:hover .proc__icon svg .hl { stroke-dashoffset: 0; }
.proc__flow { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted-l); border-top: 1px dashed var(--line-l); }
.proc__flow i { flex: 1; height: 1px; background: var(--line-l); position: relative; overflow: hidden; }
.proc__flow i::after { content: ""; position: absolute; top: -1px; right: 0; width: 30%; height: 3px; background: var(--teal); border-radius: 2px; transform: translateX(0); }
.proc:hover .proc__flow i::after { animation: flow 1.1s var(--ease-io) infinite; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-340%); } }
.proc__flow .hi { color: var(--teal); font-weight: 500; }

/* ---------- AGENTS DEMO ---------- */
.demo__tabs { position: relative; display: flex; gap: 4px; padding: 6px; background: var(--ink); border: 1px solid var(--line-d); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; }
.demo__tabs::-webkit-scrollbar { display: none; }
.demo__tabs button { position: relative; z-index: 1; background: none; border: 0; padding: 10px 18px; border-radius: 999px; font-size: 15px; color: var(--muted-d); transition: color .3s; white-space: nowrap; }
.demo__tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.demo__tab-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--mint); transition: left .5s var(--ease-out), width .5s var(--ease-out); }
.demo__body { display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.demo__side { padding: 28px; background: var(--panel); border: 1px solid var(--line-d); border-radius: var(--r); display: flex; flex-direction: column; gap: 20px; }
.demo__dept { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; }
.demo__does { display: grid; gap: 12px; }
.demo__does li { position: relative; padding-inline-start: 22px; color: var(--muted-d); font-size: 15px; animation: fadeIn .5s var(--ease-out) both; }
.demo__does li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 10px; height: 1px; background: var(--mint); }
.demo__perm { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-d); }
.demo__perm > .mono { font-size: 11px; letter-spacing: .14em; color: var(--muted-d); }
#demo-perm { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#demo-perm span { font-size: 12.5px; padding: 4px 10px; border-radius: 6px; font-family: var(--f-mono); }
#demo-perm .ok { background: rgba(63,216,196,.12); color: var(--mint-2); }
#demo-perm .no { background: rgba(224,100,90,.1); color: #f0a49d; text-decoration: line-through; text-decoration-color: rgba(240,164,157,.5); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

.chat { background: var(--ink); border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-height: 470px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.chat__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); background: rgba(16,30,52,.6); }
.chat__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #253553; }
.chat__title { margin-inline-start: 10px; font-size: 12.5px; color: var(--muted-d); direction: ltr; }
.chat__live { margin-inline-start: auto; font-size: 12px; color: var(--amber); border: 1px solid rgba(242,184,75,.35); padding: 2px 10px; border-radius: 999px; }
.chat__log { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 82%; padding: 14px 18px; border-radius: 16px; font-size: 15.5px; line-height: 1.6; animation: msgIn .45s var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg--user { align-self: flex-start; background: var(--panel-2); border-start-start-radius: 4px; }
.msg--user .who { color: var(--muted-d); }
.msg--bot { align-self: flex-end; background: rgba(14,124,107,.14); border: 1px solid rgba(63,216,196,.25); border-start-end-radius: 4px; }
.msg .who { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--mint); margin-bottom: 6px; }
.msg ul { margin-top: 8px; display: grid; gap: 4px; }
.msg li { position: relative; padding-inline-start: 18px; }
.msg li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.msg li.warn::before { background: var(--amber); }
.msg .action { display: inline-flex; margin-top: 12px; margin-inline-end: 6px; font-size: 13px; padding: 6px 12px; border-radius: 8px; background: var(--mint); color: var(--ink); font-weight: 600; }
.msg .action--g { background: transparent; color: var(--text-d); border: 1px solid rgba(233,238,246,.25); }
.sources { align-self: flex-end; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 82%; }
.sources span { font-family: var(--f-mono); font-size: 11.5px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-d); color: var(--muted-d); animation: msgIn .4s var(--ease-out) both; }
.sources span::before { content: "↳ "; color: var(--mint); }
.typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 18px; border-radius: 16px; background: rgba(14,124,107,.1); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.caret::after { content: "▍"; color: var(--mint); animation: blink .9s steps(1) infinite; margin-inline-start: 2px; }

/* ---------- SECURITY ---------- */
.security__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.sec-list { display: grid; gap: 0; }
.sec-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-block: 22px; border-top: 1px solid var(--line-l); }
.sec-list li:last-child { border-bottom: 1px solid var(--line-l); }
.sec-list__n { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-size: 14px; }
.sec-list h3 { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 6px; }
.sec-list p { color: var(--muted-l); font-size: 15.5px; }
.ledger { position: sticky; top: calc(var(--nav-h) + 24px); background: #fffdf7; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(14,26,46,.5); }
.ledger__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--ink); color: var(--text-d); font-size: 13px; }
.ledger__rec { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-d); }
.ledger__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.ledger__cols, .ledger__rows li { display: grid; grid-template-columns: 74px 1.1fr 1.7fr 74px; gap: 12px; padding: 10px 20px; align-items: center; }
.ledger__cols { font-size: 11px; letter-spacing: .12em; color: var(--muted-l); border-bottom: 2px double var(--line-l); background: var(--paper); }
.ledger__rows { height: 440px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.ledger__rows li { font-size: 14px; border-bottom: 1px solid var(--rule); animation: rowIn .6s var(--ease-out) both; color: var(--text-l); }
.ledger__rows .t { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted-l); direction: ltr; text-align: right; }
.ledger__rows .a { color: var(--muted-l); }
.ledger__rows .s { font-family: var(--f-mono); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; text-align: center; }
.ledger__rows .s.ok { background: rgba(14,124,107,.1); color: var(--teal); }
.ledger__rows .s.bl { background: rgba(224,100,90,.12); color: #b2392f; }
.ledger__rows .s.wt { background: rgba(242,184,75,.18); color: #8a5a00; }
.ledger__rows li.is-new { background: rgba(63,216,196,.12); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- HOW ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__rail { position: absolute; top: 38px; inset-inline: 40px; height: 1px; background: var(--line-d); }
.steps__rail span { display: block; height: 100%; background: linear-gradient(to left, var(--mint), var(--mint-2)); transform-origin: right; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--mint); }
.step { position: relative; padding: 0 4px; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--navy); border: 1px solid var(--line-d); font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; color: var(--muted-d); margin-bottom: 26px; transition: color .5s, border-color .5s, box-shadow .5s, background .5s; }
.step.is-lit .step__n { color: var(--ink); background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 8px rgba(63,216,196,.12), 0 0 40px rgba(63,216,196,.5); }
.step h3 { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 8px; }
.step p { color: var(--muted-d); font-size: 15.5px; max-width: 24ch; }
.pilot { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: auto 1.4fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-d); border-radius: var(--r); background: linear-gradient(to left, rgba(16,30,52,.8), rgba(16,30,52,.3)); }
.pilot__tag { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; color: var(--mint); padding: 14px 6px; border-inline-start: 1px solid rgba(63,216,196,.4); }
.pilot h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 10px; }
.pilot p { color: var(--muted-d); font-size: 15.5px; }
.pilot__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pilot__kpis li { padding: 12px 14px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line-d); font-size: 14.5px; display: flex; flex-direction: column; gap: 2px; }
.pilot__kpis .mono { font-size: 11.5px; color: var(--mint); letter-spacing: .14em; }
.next { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r); background: var(--mint); color: var(--ink); position: relative; overflow: hidden; }
.next::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(7,15,28,.04) 22px 23px); }
.next > * { position: relative; }
.next__k { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; }
.next__t { margin-top: 6px; font-size: 17px; max-width: 62ch; }

/* ---------- ROI ---------- */
.roi__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.roi .sec-head { margin-bottom: 0; }
.calc { background: var(--card); border: 1px solid var(--line-l); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(14,26,46,.45); }
.calc__inputs { padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted-l); }
.range output { font-family: var(--f-mono); font-size: 15px; font-weight: 500; color: var(--text-l); background: var(--paper); padding: 2px 10px; border-radius: 6px; min-width: 52px; text-align: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; direction: rtl; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--teal) var(--fill, 50%), #dcdcd3 var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #dcdcd3; }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--teal); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--ink); border: 4px solid var(--mint); box-shadow: 0 4px 10px rgba(14,26,46,.3); transition: transform .2s var(--ease-out); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--mint); }
.calc__out { background: var(--ink); color: var(--text-d); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; position: relative; }
.calc__k { display: block; font-size: 13px; color: var(--muted-d); font-family: var(--f-mono); letter-spacing: .06em; }
.calc__num { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__v { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); font-variant-numeric: tabular-nums; }
.calc__bar { height: 6px; border-radius: 6px; background: var(--panel-2); overflow: hidden; }
.calc__bar span { display: block; height: 100%; width: 0; background: linear-gradient(to left, var(--mint), var(--teal)); border-radius: 6px; margin-inline-start: 0; transition: width .6s var(--ease-out); }
.calc__note { font-size: 15.5px; color: var(--muted-d); }
.calc__note b { color: var(--text-d); font-family: var(--f-mono); }
.calc__fine { font-size: 12.5px; color: #6c7c97; }

/* ---------- TEAM ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line-l); border-radius: var(--r); transition: transform .5s var(--ease-out), box-shadow .5s, opacity .9s var(--ease-out); }
.person:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(14,26,46,.45); }
.person__mono { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 2rem; position: relative; }
.person__mono::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(14,124,107,.45); animation: spin 30s linear infinite; }
.person h3 { font-family: var(--f-display); font-size: 1.8rem; }
.person__role { color: var(--teal); font-weight: 600; font-size: 15px; margin: 6px 0 14px; }
.person p:last-child { color: var(--muted-l); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(88px, 12vw, 160px); border-top: 1px solid var(--line-l); }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__list details { border-bottom: 1px solid var(--line-l); }
.faq__list details:first-child { border-top: 1px solid var(--line-l); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.4rem); transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--teal); }
.faq__list summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); position: relative; transition: background .3s, transform .4s var(--ease-out), border-color .3s; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.faq__list summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.faq__list details[open] summary i { background: var(--ink); color: var(--mint); border-color: var(--ink); transform: rotate(180deg); }
.faq__list details[open] summary i::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--muted-l); max-width: 60ch; }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; background: var(--ink); }
.contact__glow { position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(63,216,196,.18), transparent 60%); pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__direct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.direct { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(16,30,52,.6); transition: border-color .3s, transform .4s var(--ease-out), background .3s; }
.direct:hover { border-color: var(--mint); transform: translateY(-3px); background: rgba(63,216,196,.06); }
.direct .mono { font-size: 11px; letter-spacing: .14em; color: var(--mint); }
.direct b { font-family: var(--f-display); font-size: 1.5rem; }
.direct small { color: var(--muted-d); font-size: 13.5px; }
.form { background: var(--panel); border: 1px solid var(--line-d); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--muted-d); border: 0; padding: 0; margin: 0; min-width: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text-d); background: var(--ink);
  border: 1px solid var(--line-d); border-radius: 12px; padding: 13px 14px; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-d) 50%), linear-gradient(-45deg, transparent 50%, var(--muted-d) 50%); background-position: 18px 50%, 12px 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(63,216,196,.14); }
.field input.is-bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(224,100,90,.14); }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 8px; padding: 0; }
.field--chips label { position: relative; cursor: pointer; }
.field--chips input { position: absolute; opacity: 0; pointer-events: none; }
.field--chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d); color: var(--text-d); font-size: 14px; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.field--chips label:active span { transform: scale(.96); }
.field--chips input:checked + span { background: var(--mint); color: var(--ink); border-color: var(--mint); font-weight: 600; }
.field--chips input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.form__status { min-height: 1.4em; font-size: 14.5px; color: var(--mint-2); text-align: center; }

/* ---------- FOOTER ---------- */
.footer { padding-block: 40px; border-top: 1px solid var(--line-d); background: var(--ink); position: relative; }
.footer::before { display: none; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__tag { color: var(--muted-d); font-size: 15px; }
.footer__meta { margin-inline-start: auto; color: var(--muted-d); font-size: 13px; }
.footer__meta a:hover { color: var(--mint); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__inner > .btn { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 560px; margin-top: 12px; }
  .arch { grid-template-columns: 1fr; gap: 0; }
  .arch__wires { display: none; }
  .arch__arrow { height: 44px; }
  .arch__arrow::before { top: 0; bottom: 0; inset-inline: auto; right: 50%; width: 1px; height: auto; background: linear-gradient(to bottom, rgba(150,180,225,.35), rgba(63,216,196,.6)); }
  .arch__arrow::after { top: auto; bottom: 4px; left: auto; right: calc(50% - 4px); transform: rotate(-45deg); }
  .layer--core { transform: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .proc { grid-column: span 3; }
  .demo__body { grid-template-columns: 1fr; }
  .demo__side { order: 2; }
  .security__grid, .roi__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .ledger, .faq .sec-head { position: relative; top: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__rail { display: none; }
  .pilot { grid-template-columns: 1fr; }
  .pilot__tag { writing-mode: horizontal-tb; border-inline-start: 0; border-bottom: 1px solid rgba(63,216,196,.4); padding: 0 0 8px; width: max-content; }
  .sec-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .nav__inner { width: calc(100% - 36px); }
  .problem__grid, .team__grid { grid-template-columns: 1fr; }
  .pile { height: 340px; }
  .scrap { max-width: 68%; font-size: 13px; }
  .pains li { grid-template-columns: 1fr; gap: 2px; }
  .proc, .proc--wide { grid-column: span 6; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step__n { width: 56px; height: 56px; font-size: 1.6rem; margin: 0; grid-row: span 2; }
  .next { flex-direction: column; align-items: flex-start; }
  .form__row, .contact__direct, .calc__row { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .ledger__cols, .ledger__rows li { grid-template-columns: 58px 1fr 64px; }
  .ledger__cols span:nth-child(3), .ledger__rows .a { display: none; }
  .ledger__rows { height: 360px; }
  .msg { max-width: 94%; }
  .node { font-size: 11.5px; padding: 6px 10px; }
  .hero__proof { gap: 12px 18px; }
  .gap::after { font-size: 9rem; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .load, .reveal { opacity: 1; transform: none; filter: none; }
}

/* Hebrew labels: mono font has no Hebrew glyphs, keep tracking tight */
.eyebrow { font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.hint, .stage__col-label, .ledger__cols, .pilot__tag, .direct .mono, .demo__perm > .mono,
.calc__k, .pilot__kpis .mono, .msg .who, .layer__n, .scrap b { letter-spacing: .03em; }
.stage__col-label, .hint, .calc__k, .ledger__cols { font-family: var(--f-body); font-weight: 500; }
.pilot__tag { writing-mode: horizontal-tb; border-inline-start: 0; border-bottom: 1px solid rgba(63,216,196,.4); padding: 0 0 8px; align-self: start; width: max-content; font-size: 13px; }

/* design-review fixes */
.btn--mint { box-shadow: 0 10px 24px -12px rgba(7,15,28,.55); }
.btn--mint:hover { box-shadow: 0 16px 32px -14px rgba(7,15,28,.65); }
.step.is-lit .step__n { box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); }
.steps__rail span { box-shadow: none; }
.node--agent i { animation: none; box-shadow: none; }
.arch__wires circle, .arch__wires circle.m { filter: none; }
/* icon sits beside the heading, not stacked in a tile above it */
.proc { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 10px; align-content: start; }
.proc > *:not(.proc__icon):not(h3) { grid-column: 1 / -1; }
.proc__icon { width: 44px; height: 44px; border-radius: 0; background: none; margin: 0; place-items: center; }
.proc__icon svg { width: 36px; height: 36px; }
.proc__icon svg * { stroke: var(--text-l); stroke-width: 1.8; }
.proc__icon svg .hl { stroke: var(--teal); stroke-width: 2.4; }
.proc h3 { align-self: center; }
.proc__flow { align-self: end; }

/* ---------- language switch ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-d); border-radius: 999px; font-family: var(--f-mono); font-size: 12.5px; }
.lang a, .lang span { padding: 5px 9px; border-radius: 999px; line-height: 1; color: var(--muted-d); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--text-d); }
.lang [aria-current] { background: var(--text-d); color: var(--ink); }
.mobile-menu .lang { justify-self: start; margin-top: 12px; }
@media (max-width: 1080px) { .nav__inner > .lang { margin-inline-start: auto; } .nav__burger { margin-inline-start: 0; } }

/* ---------- LTR (English) mirroring ---------- */
[dir="ltr"] .progress span { transform-origin: left; background: linear-gradient(to right, var(--mint), var(--mint-2)); }
[dir="ltr"] .nav__links a::after,
[dir="ltr"] .pillar::before,
[dir="ltr"] .steps__rail span { transform-origin: left; }
[dir="ltr"] .steps__rail span { background: linear-gradient(to right, var(--mint), var(--mint-2)); }
[dir="ltr"] .btn:hover .arrow { transform: translateX(5px); }
[dir="ltr"] .hero__bg { background: radial-gradient(600px 420px at 72% 52%, rgba(63,216,196,.16), transparent 70%), radial-gradient(900px 600px at 15% 10%, rgba(40,80,150,.25), transparent 70%); }
[dir="ltr"] .stage__col-label--in { right: auto; left: 2%; }
[dir="ltr"] .stage__col-label--out { left: auto; right: 2%; }
[dir="ltr"] .arch__wires { transform: scaleX(-1); }
[dir="ltr"] .arch__arrow::before { background: linear-gradient(to right, rgba(150,180,225,.35), rgba(63,216,196,.6)); }
[dir="ltr"] .arch__arrow::after { left: auto; right: 0; transform: translateY(-50%) rotate(-135deg); }
[dir="ltr"] .proc__flow i::after { right: auto; left: 0; }
[dir="ltr"] .proc:hover .proc__flow i::after { animation-name: flowLtr; }
@keyframes flowLtr { from { transform: translateX(0); } to { transform: translateX(340%); } }
[dir="ltr"] .gap::after { left: auto; right: 3%; content: "“"; }
[dir="ltr"] input[type="range"] { direction: ltr; }
[dir="ltr"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--teal) var(--fill, 50%), #dcdcd3 var(--fill, 50%)); }
[dir="ltr"] .pilot { background: linear-gradient(to right, rgba(16,30,52,.8), rgba(16,30,52,.3)); }
[dir="ltr"] .contact__glow { left: auto; right: -300px; }
[dir="ltr"] .can-card::before { left: auto; right: -120px; }
[dir="ltr"] .ledger__rows .t { text-align: left; }
[dir="ltr"] .field select { background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; }
[dir="ltr"] .calc__bar span { background: linear-gradient(to right, var(--teal), var(--mint)); }
@media (max-width: 1080px) {
  [dir="ltr"] .arch__arrow::after { right: calc(50% - 4px); transform: rotate(-45deg); }
}
/* English type: Latin-friendly label style */
[lang="en"] h2 { letter-spacing: -.02em; }
[lang="en"] .hero__title { font-size: clamp(2.8rem, 6.2vw, 5.8rem); letter-spacing: -.025em; }
[lang="en"] .hero__title em { font-size: .74em; }

/* ---------- logo: Neural V ---------- */
.nv-dim { fill: none; stroke: #8fa2c0; stroke-width: 2.4; stroke-linecap: round; }
.nv-fg { fill: none; stroke: var(--text-d); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.nv-node { fill: var(--text-d); }
.nv-core { fill: var(--mint); }
.brand__mark { width: 34px; height: 34px; }
.brand:hover .nv-core { animation: corePulse 1.2s var(--ease-out); }
@keyframes corePulse { 40% { r: 9; } }

/* ---------- industries ---------- */
.inds { margin-top: clamp(64px, 8vw, 112px); }
.inds__head h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; }
.inds__head p { color: var(--muted-l); margin-top: 10px; font-size: 16.5px; }
.inds__list { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); }
.inds__list li { position: relative; padding: 26px 24px 28px; border-bottom: 1px solid var(--line-l); }
.inds__list li:not(:nth-child(3n)) { border-inline-end: 1px solid var(--line-l); }
.inds__list h4 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 8px; transition: color .3s; }
.inds__list p { color: var(--muted-l); font-size: 15.5px; }
.inds__list li::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
[dir="ltr"] .inds__list li::before { transform-origin: left; }
.inds__list li:hover::before { transform: scaleX(1); }
.inds__list li:hover h4 { color: var(--teal); }
.inds__tag { display: inline-block; margin-bottom: 10px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--mint); letter-spacing: .03em; }
@media (max-width: 1080px) {
  .inds__list { grid-template-columns: 1fr 1fr; }
  .inds__list li { border-inline-end: 0 !important; }
  .inds__list li:nth-child(odd) { border-inline-end: 1px solid var(--line-l) !important; }
}
@media (max-width: 720px) {
  .inds__list { grid-template-columns: 1fr; }
  .inds__list li { border-inline-end: 0 !important; padding-inline: 0; }
}
