/* LinkAIG site v3 — design system + homepage sections.
 *
 * The v3 homepages load this file plus css/site-chrome.css (header, footer,
 * login modal), and nothing else: no Bootstrap, no AOS, no legacy sheets.
 * site-chrome.css carries its own scoped copy of the tokens because inner
 * pages load it without this file.
 *
 * Reveal-on-scroll hides content only when <html> carries .js, so the page
 * stays fully readable without JavaScript.
 */

:root {
  --ink: #111613;
  --ink-2: #2f3a33;
  --muted: #55605a;
  --faint: #77837b;
  --line: #e4e9de;
  --line-2: #d5dccd;
  --paper: #ffffff;
  --soft: #f5f7f0;
  --soft-2: #edf1e6;
  --accent: #4d6a3d;
  --accent-ink: #3c5530;
  --accent-soft: #ecf2df;
  --pink: #6f8a3a;
  --cyan: #3f7375;
  --ok: #047857;
  --ok-soft: #e5f7ef;
  --warn: #b45309;
  --warn-soft: #fff4e2;
  --night: #0a0d0c;
  --night-2: #131916;
  --night-line: #27312c;
  --night-ink: #eef3ea;
  --night-muted: #a9b5aa;
  --grad: linear-gradient(100deg, #2f5455 0%, #4d6a3d 52%, #6f8a3a 100%);
  --grad-cool: linear-gradient(120deg, #2f5455 0%, #3f7375 55%, #6f8a3a 100%);
  --display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 22, 19, .06), 0 2px 8px rgba(17, 22, 19, .04);
  --shadow: 0 2px 6px rgba(17, 22, 19, .05), 0 18px 40px -18px rgba(24, 40, 30, .22);
  --shadow-lg: 0 30px 80px -30px rgba(24, 40, 30, .35);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--text);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
::selection { background: #edf4e3; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .8125rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.muted { color: var(--muted); }

/* ---------- Buttons & pills ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--text); letter-spacing: -.005em;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(17, 22, 19, .55); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn--accent { --b-bg: var(--accent-ink); --b-bd: var(--accent-ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { background: var(--paper); box-shadow: var(--shadow-sm); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font: 600 .8125rem/1.2 var(--text);
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
}
.pill--ok { background: var(--ok-soft); border-color: #c6ecdb; color: var(--ok); }
.pill--accent { background: var(--accent-soft); border-color: #eaf3df; color: var(--accent-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 88px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(77, 106, 61, .14), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(111, 138, 58, .10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin-top: 22px; text-wrap: balance; }
.hero h1 .grad-text { white-space: nowrap; }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9375rem; color: var(--muted); }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .ico { width: 18px; height: 18px; color: var(--ok); }

/* Live ops console */
.console {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.console::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.console__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.console__title { display: flex; align-items: center; gap: 10px; font: 600 .9375rem/1 var(--text); color: var(--ink); }
.console__clock { font: 500 .8125rem/1 var(--mono); color: var(--muted); }
.console__feed { position: relative; height: 392px; padding: 14px; overflow: hidden; }
.console__feed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.ev {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start;
  padding: 12px; border-radius: 14px; margin-bottom: 8px;
  background: var(--soft); border: 1px solid transparent;
  animation: evIn .5s var(--ease) both;
}
.ev--hot { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
@keyframes evIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.ev__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--accent-ink); }
.ev__ic .ico { width: 19px; height: 19px; }
.ev__ic--ok { background: var(--ok-soft); border-color: #c6ecdb; color: var(--ok); }
.ev__ic--warn { background: var(--warn-soft); border-color: #f7dfb5; color: var(--warn); }
.ev__ic--pink { background: #f5f9ef; border-color: #e5f0d6; color: #619e52; }
.ev b { display: block; font: 600 .9375rem/1.3 var(--text); color: var(--ink); }
.ev small { display: block; margin-top: 3px; font-size: .8438rem; line-height: 1.45; color: var(--muted); }
.ev time { font: 500 .75rem/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; margin-top: 6px; }
.wave i { width: 3px; border-radius: 2px; background: var(--accent); opacity: .8; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: .8s; }
.wave i:nth-child(3n) { animation-duration: 1.2s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.console__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--soft); font-size: .8125rem; color: var(--muted); }
.hero__visual { position: relative; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font: 600 .875rem/1.2 var(--text); color: var(--ink); animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.float-chip .num { font: 800 1.35rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.float-chip--a { left: -28px; bottom: -66px; }
.float-chip--b { right: -22px; top: -40px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Logo strip */
.logos { padding-block: 0; margin-top: clamp(48px, 7vw, 80px); }
.logos__label { text-align: center; font: 600 .78rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logos__row { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(28px, 5vw, 56px); }
.logos__row img { height: 34px; width: auto; filter: grayscale(1); opacity: .62; transition: .25s; }
.logos__row img.is-round { height: 44px; }
.logos__row img.is-tall { height: 46px; }
.logos__row img:hover { filter: none; opacity: 1; }

/* ---------- Problem / solution ---------- */
.ps { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ps__stat { position: sticky; top: calc(var(--header-h) + 32px); }
.ps__big { font: 800 clamp(5.5rem, 13vw, 10rem)/.9 var(--display); letter-spacing: -.05em; }
.ps__big .grad-text { display: inline-block; }
.ps__stat p { margin-top: 14px; max-width: 360px; color: var(--muted); font-size: 1.0625rem; }
.ps__meter { margin-top: 26px; max-width: 360px; height: 12px; border-radius: 999px; background: var(--soft-2); overflow: hidden; display: flex; }
.ps__meter span { display: block; height: 100%; }
.ps__meter .dev { width: 30%; background: var(--ink); }
.ps__meter .rest { flex: 1; background: var(--grad); opacity: .85; }
.ps__legend { margin-top: 10px; max-width: 360px; display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); }
.ps__list { display: grid; gap: 14px; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .25s, border-color .25s; }
.ps-row:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.ps-row > div { padding: 22px 22px 24px; }
.ps-row__bad { background: var(--soft); }
.ps-row__bad .lbl, .ps-row__good .lbl { display: flex; align-items: center; gap: 6px; font: 600 .75rem/1 var(--text); letter-spacing: .07em; text-transform: uppercase; }
.ps-row__bad .lbl { color: var(--muted); }
.ps-row__good .lbl { color: var(--ok); }
.ps-row__bad p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
.ps-row__good p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
.ps-row__good strong { color: var(--ink); }

/* ---------- Systems bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.sys {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.sys:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.sys--wide { grid-column: span 3; }
.sys__tag { align-self: flex-start; }
.sys h3 { margin-top: 16px; font-size: 1.3rem; font-weight: 700; }
.sys p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.sys__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font: 600 .9375rem/1 var(--text); }
.sys__more .ico { width: 16px; height: 16px; transition: transform .2s; }
.sys__more:hover .ico { transform: translateX(3px); }
.sys__viz { margin: -4px -4px 18px; height: 150px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.sys--new { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }

/* mini visuals */
.mv-voice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.mv-voice .play { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-ink); display: grid; place-items: center; color: #fff; }
.mv-voice .play .ico { width: 14px; height: 14px; fill: #fff; stroke: none; }
.mv-voice .wave { height: 22px; margin: 0; }
.mv-voice .wave i { animation-play-state: paused; }
.sys:hover .mv-voice .wave i { animation-play-state: running; }
.mv-voice time { font: 500 .75rem/1 var(--mono); color: var(--muted); }
.mv-arrow { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.mv-arrow span { padding: 4px 8px; border-radius: 999px; font: 600 .6875rem/1 var(--text); background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.mv-doc { width: 128px; height: 118px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 12px; position: relative; transform: rotate(-3deg); transition: transform .4s var(--ease); }
.sys:hover .mv-doc { transform: rotate(0) translateY(-4px); }
.mv-doc i { display: block; height: 6px; border-radius: 3px; background: var(--soft-2); margin-bottom: 7px; }
.mv-doc i:first-child { width: 55%; background: var(--ink); opacity: .85; }
.mv-doc .tot { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; font: 700 .6875rem/1 var(--text); color: var(--ink); }
.mv-doc .stamp { position: absolute; right: -16px; top: -12px; padding: 5px 9px; border-radius: 999px; background: var(--ok-soft); border: 1px solid #c6ecdb; color: var(--ok); font: 700 .6875rem/1 var(--text); transform: rotate(6deg); }
.mv-chat { width: 86%; display: grid; gap: 7px; }
.mv-chat span { max-width: 80%; padding: 8px 11px; border-radius: 13px; font-size: .78rem; line-height: 1.35; }
.mv-chat .q { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.mv-chat .a { background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.mv-chat .typing { display: inline-flex; gap: 3px; padding: 10px 12px; }
.mv-chat .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: typing 1.2s infinite; }
.mv-chat .typing i:nth-child(2) { animation-delay: .15s; } .mv-chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.mv-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.mv-bars i { width: 16px; border-radius: 5px 5px 2px 2px; background: var(--line-2); transition: height .6s var(--ease); }
.mv-bars i.hi { background: var(--grad-cool); }
.mv-alert { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--warn-soft); border: 1px solid #f7dfb5; color: var(--warn); font: 700 .6875rem/1 var(--text); }
.mv-alert .ico { width: 13px; height: 13px; }
.mv-flow { display: flex; align-items: center; gap: 6px; }
.mv-flow span { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.mv-flow span .ico { width: 20px; height: 20px; }
.mv-flow b { width: 18px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 7px); position: relative; overflow: hidden; }
.mv-flow b::after { content: ""; position: absolute; inset: 0; width: 8px; background: var(--accent); border-radius: 2px; animation: flowDot 1.6s linear infinite; }
@keyframes flowDot { from { transform: translateX(-8px); } to { transform: translateX(18px); } }
.mv-cmd { width: 88%; font: 500 .75rem/1.5 var(--mono); }
.mv-cmd .in { padding: 9px 11px; border-radius: 10px; background: var(--night); color: var(--night-ink); }
.mv-cmd .in::before { content: "› "; color: #d0e3b7; }
.mv-cmd .steps { margin-top: 8px; display: grid; gap: 4px; padding-left: 4px; }
.mv-cmd .steps span { display: flex; align-items: center; gap: 6px; color: var(--ok); font-family: var(--text); font-weight: 600; font-size: .75rem; }
.mv-cmd .steps .ico { width: 13px; height: 13px; }

/* ---------- Case: AGC stepper ---------- */
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.case-head .client { display: inline-flex; align-items: center; gap: 12px; }
.case-head .client img { height: 30px; width: auto; }
.case-head .meta { font-size: .9375rem; color: var(--muted); }
.agc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.steps { display: grid; gap: 8px; margin-top: 32px; counter-reset: st; }
.step {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: none;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.step:hover { background: var(--soft); }
.step.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.step__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink-2); transition: .25s; }
.step__n .ico { width: 20px; height: 20px; }
.step.is-active .step__n { background: var(--accent-ink); color: #fff; }
.step b { display: block; font: 700 1.0625rem/1.3 var(--display); color: var(--ink); }
.step small { display: block; margin-top: 3px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.step__bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.step.is-active .step__bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; animation: stepBar var(--step-ms, 5200ms) linear forwards; }
.steps.is-paused .step.is-active .step__bar::after { animation-play-state: paused; }
@keyframes stepBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.stage { position: relative; min-height: 470px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); padding: clamp(18px, 3vw, 32px); display: grid; place-items: center; overflow: hidden; }
.stage::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 106, 61, .14), transparent); top: -120px; right: -120px; }
.panel { position: absolute; inset: clamp(18px, 3vw, 32px); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; }
.card { width: min(100%, 440px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.card__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.card__h b { font: 700 1rem/1.2 var(--display); color: var(--ink); }
.card__h small { font: 500 .75rem/1 var(--mono); color: var(--muted); }
.rec { display: flex; align-items: center; gap: 14px; }
.rec .mic { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; position: relative; flex: none; }
.rec .mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(77, 106, 61, .35); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.rec .mic .ico { width: 24px; height: 24px; }
.rec .wave { height: 34px; flex: 1; gap: 3px; margin: 0; }
.rec .wave i { width: 4px; }
.quote { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--soft); font-size: .9375rem; line-height: 1.55; color: var(--ink-2); font-style: italic; }
.kv { display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; }
.kv span { color: var(--muted); }
.kv b { color: var(--ink); font-weight: 600; text-align: right; }
.match { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--ok-soft); border: 1px solid #c6ecdb; margin-bottom: 14px; }
.match .ico { color: var(--ok); width: 22px; height: 22px; }
.match b { display: block; color: var(--ink); font-size: .9375rem; }
.match small { color: var(--ok); font-weight: 600; font-size: .8125rem; }
.tl { display: grid; gap: 0; }
.tl li { position: relative; padding: 0 0 14px 22px; font-size: .9375rem; color: var(--ink-2); }
.tl li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.tl li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 2px; width: 1px; background: var(--line-2); }
.tl li:last-child::after { display: none; }
.tl small { display: block; color: var(--muted); font-size: .8125rem; }
.alert-card { border-left: 4px solid #f59e0b; }
.alert-card .card__h b { display: flex; align-items: center; gap: 8px; }
.alert-card .card__h b .ico { color: var(--warn); }
.plan li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan li:last-child { border-bottom: 0; padding-bottom: 0; }
.plan b { font-size: .9375rem; color: var(--ink); font-weight: 600; }
.plan small { grid-column: 1; font-size: .8125rem; color: var(--muted); }
.plan .tag { grid-row: 1 / span 2; grid-column: 2; padding: 5px 9px; border-radius: 999px; font: 700 .6875rem/1 var(--text); white-space: nowrap; }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.stat { padding: 22px 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.stat__v { font: 800 clamp(2rem, 3.6vw, 2.75rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.stat__v .unit { font-size: .55em; margin-left: 2px; color: var(--muted); letter-spacing: 0; }
.stat p { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.example-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }

/* ---------- Dark band: BE ---------- */
.night { --grad: linear-gradient(100deg, #7fb3b4 0%, #b9d197 55%, #e3f3bf 100%); background: var(--night); color: var(--night-ink); position: relative; overflow: clip; }
.night::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(77, 106, 61, .28), transparent 70%); pointer-events: none; }
.night h2, .night h3 { color: #fff; }
.night .section-head p, .night .muted { color: var(--night-muted); }
.night .eyebrow, .cta .eyebrow { color: #d8e8c3; }
.be { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.be__copy p.body { margin-top: 18px; color: var(--night-muted); font-size: 1.0625rem; }
.be .case-head .meta { color: var(--night-muted); }
.be .case-head .client img { height: 40px; border-radius: 50%; }
.be__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.be__stats .stat { background: var(--night-2); border-color: var(--night-line); }
.be__stats .stat__v { color: #fff; }
.be__stats .stat p { color: var(--night-muted); }
.term { background: #0e1311; border: 1px solid var(--night-line); border-radius: var(--r-lg); box-shadow: 0 40px 100px -40px rgba(77, 106, 61, .55); overflow: hidden; font: 500 .875rem/1.6 var(--mono); }
.term__top { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--night-line); color: var(--night-muted); font-family: var(--text); font-size: .8125rem; }
.term__top i { width: 11px; height: 11px; border-radius: 50%; background: #30463b; }
.term__top span { margin-left: 8px; }
.term__timer { margin-left: auto !important; font-family: var(--mono); color: #fff; padding: 4px 10px; border-radius: 999px; background: #22312a; }
.term__body { padding: 18px 18px 22px; min-height: 330px; }
.term__req { padding: 14px 16px; border-radius: 12px; background: #131916; color: #fff; font-family: var(--text); font-size: .9688rem; line-height: 1.5; }
.term__req small { display: block; margin-bottom: 6px; color: #d8e8c3; font: 600 .75rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.term__lines { margin-top: 14px; display: grid; gap: 6px; }
.tline { display: flex; align-items: center; gap: 10px; color: var(--night-muted); opacity: 0; transform: translateY(4px); transition: .35s var(--ease); }
.tline.is-on { opacity: 1; transform: none; }
.tline .ico { width: 16px; height: 16px; color: #34d399; }
.tline { align-items: flex-start; }
.tline .ico { margin-top: 3px; }
.tline em { font-style: normal; color: #fff; }
.tline.is-final { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: #a7f3d0; font-family: var(--text); font-weight: 600; }
.term__note { padding: 12px 18px; border-top: 1px solid var(--night-line); font: 400 .8125rem/1.5 var(--text); color: var(--night-muted); }

/* other clients */
.more-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: .25s var(--ease); }
.mc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mc__logo { height: 44px; display: flex; align-items: center; }
.mc__logo img { max-height: 40px; max-width: 150px; width: auto; object-fit: contain; }
.mc__logo img.sq { max-height: 44px; border-radius: 10px; }
.mc b { font: 700 1.0625rem/1.25 var(--display); color: var(--ink); }
.mc small { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.mc p { font-size: .9375rem; color: var(--ink-2); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: ph; }
.process::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.ph { position: relative; padding-top: 0; }
.ph__n { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 800 1.25rem/1 var(--display); color: var(--ink); }
.ph--hl .ph__n { background: var(--ink); color: #fff; border-color: var(--ink); }
.ph h3 { margin-top: 20px; font-size: 1.3rem; }
.ph .sub { margin-top: 4px; font: 600 .875rem/1.3 var(--text); color: var(--accent-ink); }
.ph p { margin-top: 10px; font-size: .9688rem; color: var(--muted); }
.ph .flag { display: inline-block; margin-top: 12px; padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font: 600 .8125rem/1.3 var(--text); }
.promises { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.promise .ico { width: 26px; height: 26px; color: var(--accent-ink); }
.promise b { display: block; margin-top: 14px; font: 700 1.0625rem/1.3 var(--display); color: var(--ink); }
.promise p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }

/* integrations marquee */
.marquee { margin-top: clamp(48px, 7vw, 72px); }
.marquee__label { text-align: center; font: 600 .78rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track--rev { animation-direction: reverse; margin-top: 12px; }
.marquee__mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .9375rem/1 var(--text); color: var(--ink); white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 1% ---------- */
.one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1.2vw, 12px); max-width: 440px; margin-inline: auto; position: relative; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--line-2); transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background .5s; }
.dots.is-in i { transform: none; opacity: 1; }
.dots i.you { background: var(--grad); box-shadow: 0 0 0 6px rgba(77, 106, 61, .14), 0 0 24px rgba(77, 106, 61, .6); }
.dots__you { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font: 600 .8125rem/1.2 var(--text); white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); transition: .5s var(--ease) 1.4s; }
.dots.is-in .dots__you { opacity: 1; transform: none; }
.dots__you::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.ladder { display: grid; gap: 12px; margin-top: 28px; }
.rung { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.rung span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 800 1.125rem/1 var(--display); color: var(--accent-ink); background: var(--accent-soft); }
.rung:last-child span { background: var(--grad); color: #fff; }
.rung b { display: block; font: 700 1.0625rem/1.3 var(--display); color: var(--ink); }
.rung p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.rung a { font-weight: 600; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.calc__in { padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 600 1rem/1.3 var(--text); color: var(--ink); }
.field output { font: 800 1.25rem/1 var(--display); color: var(--accent-ink); }
.field small { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 16px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--soft-2) var(--p, 50%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-sm); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: grab; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; padding: 4px; border-radius: 14px; background: var(--soft-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; gap: 2px; padding: 10px 6px; border-radius: 10px; font: 600 .9375rem/1.2 var(--text); color: var(--ink-2); cursor: pointer; text-align: center; }
.seg label small { margin: 0; font-weight: 500; font-size: .75rem; color: var(--muted); }
.seg input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.calc__out { padding: clamp(24px, 4vw, 44px); background: var(--night); color: var(--night-ink); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 106, 61, .4), transparent); }
.calc__big { position: relative; }
.calc__big small { display: block; font: 600 .78rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.calc__big b { display: block; margin-top: 10px; font: 800 clamp(2.75rem, 6vw, 4rem)/1 var(--display); letter-spacing: -.03em; color: #fff; }
.calc__big b span { font-size: .4em; letter-spacing: 0; color: var(--night-muted); font-weight: 600; }
.calc__people { position: relative; display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.calc__people i { width: 22px; height: 30px; border-radius: 11px 11px 6px 6px; background: #3c5a34; position: relative; transition: background .3s; }
.calc__people i::before { content: ""; position: absolute; left: 4px; top: -12px; width: 14px; height: 14px; border-radius: 50%; background: inherit; }
.calc__people { margin-top: 10px; }
.calc__people i.on { background: linear-gradient(#d0e3b7, #4d6a3d); }
.calc__people i.part { background: linear-gradient(90deg, #bfda9d var(--f, 50%), #3c5a34 var(--f, 50%)); }
.calc__out p { position: relative; color: var(--night-muted); font-size: .9375rem; }
.calc__out p strong { color: #fff; }
.calc__out .btn { align-self: flex-start; margin-top: auto; position: relative; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--soft-2), #eef5e6); border: 1px solid var(--line); }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.founder figcaption { padding: 16px 18px 18px; background: #fff; border-top: 1px solid var(--line); }
.founder b { display: block; font: 700 1.125rem/1.2 var(--display); color: var(--ink); }
.founder .role { display: block; margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.founder p { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.founder a.mail { overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .875rem; font-weight: 600; }
.founder a.mail .ico { width: 16px; height: 16px; }
.ai-team { margin-top: 28px; padding: 20px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.ai-team__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 .9375rem/1.3 var(--text); color: var(--ink); }
.ai-team__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bot { text-align: center; }
.bot img { width: 100%; max-width: 72px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; object-fit: cover; object-position: top; background: linear-gradient(180deg, #f5f9ef, #fff); border: 2px solid #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.bot:hover img { transform: translateY(-3px); }
.bot b { display: block; margin-top: 8px; font: 700 .8438rem/1.2 var(--text); color: var(--ink); }
.bot small { display: block; font-size: .75rem; color: var(--muted); }
.team-video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #f3f1ff, #fff); border: 1px solid var(--line); }
.team-video video, .team-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.team-video video.blend { mix-blend-mode: multiply; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .25s, border-color .25s; }
.qa[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font: 700 1.0625rem/1.35 var(--display); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft-2); position: relative; transition: background .2s, transform .3s var(--ease); }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] summary .pm { background: var(--accent-soft); }
.qa[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa .ans { padding: 0 22px 22px; color: var(--muted); font-size: 1rem; }

/* ---------- CTA + contact ---------- */
.cta { position: relative; border-radius: clamp(24px, 3vw, 36px); background: var(--night); color: var(--night-ink); overflow: hidden; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 106, 61, .4), transparent 70%); pointer-events: none; }
.cta::after { content: ""; position: absolute; inset: -40% auto auto -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(111, 138, 58, .18), transparent 70%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.cta .lead { margin-top: 16px; color: var(--night-muted); font-size: 1.125rem; }
.cta-steps { margin-top: 28px; display: grid; gap: 10px; }
.cta-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); color: #fff; font-weight: 600; }
.cta-steps span { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--ink); font: 800 .875rem/1 var(--display); }
.cta-mail { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9375rem; color: var(--night-muted); }
.cta-mail a { color: #fff; font-weight: 600; }
.form { background: #fff; color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.form h3 { font-size: 1.375rem; }
.form > p { margin-top: -6px; font-size: .9375rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font: 600 .875rem/1.2 var(--text); color: var(--ink); }
.form label .opt { font-weight: 500; color: var(--muted); }
.form label > span:first-child { display: block; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: 400 1rem/1.4 var(--text); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77, 106, 61, .15); }
.form input::placeholder, .form textarea::placeholder { color: #8a90a2; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 4px; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form__err { display: none; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #b42318; font-size: .875rem; }
.form__err.is-on { display: block; }
.form__fine { font-size: .8125rem; color: var(--muted); text-align: center; }
.form__ok { display: none; text-align: center; padding: 24px 8px; }
.form__ok .ico { width: 56px; height: 56px; margin: 0 auto; padding: 14px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.form__ok h3 { margin-top: 16px; }
.form__ok p { margin-top: 8px; color: var(--muted); }
.form.is-done > :not(.form__ok) { display: none; }
.form.is-done .form__ok { display: block; }

/* ---------- Inner v3 pages (case studies, about) ---------- */
.page-hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); overflow: clip; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #faf9ff, #fff); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 20%, transparent 70%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 18px; max-width: 900px; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.page-hero .lead { margin-top: 20px; max-width: 680px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .6; }
.jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .875rem/1 var(--text); color: var(--ink); }
.jump a:hover { text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.jump img { height: 18px; width: auto; }

.case { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.case + .case { margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.case__aside { position: sticky; top: calc(var(--header-h) + 28px); }
.case__aside .logo-plate { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 28px; }
.case__aside .logo-plate img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.case__aside .logo-plate img.round { max-height: 120px; border-radius: 50%; }
.facts { margin-top: 20px; display: grid; gap: 0; max-width: 320px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.case__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.case__body > p { margin-top: 16px; font-size: 1.0625rem; color: var(--ink-2); }
.case__body h3 { margin-top: 36px; font-size: 1.1rem; letter-spacing: -.01em; }
.flow { margin-top: 16px; display: grid; gap: 10px; counter-reset: fl; }
.flow li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.flow li::before { counter-increment: fl; content: counter(fl); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font: 800 1rem/1 var(--display); color: var(--accent-ink); }
.flow b { display: block; color: var(--ink); font-size: 1rem; }
.flow span { display: block; margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.built { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.built span { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 600 .875rem/1.2 var(--text); color: var(--ink); }
.case .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.case .stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case .stat { background: var(--soft); }
.case .stat__v { font-size: clamp(1.6rem, 2.6vw, 2.1rem); white-space: nowrap; }
.callout { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--night); color: var(--night-ink); }
.callout .ico { width: 22px; height: 22px; color: #a7f3d0; margin-top: 2px; }
.callout b { color: #fff; }
.callout p { color: var(--night-muted); font-size: .9375rem; margin-top: 4px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 106, 61, .45), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.cta-band p { margin-top: 8px; color: var(--night-muted); }
@media (max-width: 960px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case__aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .case__aside .facts { margin-top: 0; }
}
@media (max-width: 640px) {
  .case__aside { grid-template-columns: minmax(0, 1fr); }
  .case .stats, .case .stats.two { grid-template-columns: minmax(0, 1fr); }
}

/* About page */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.person img { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 16px; background: linear-gradient(180deg, var(--soft-2), #eef5e6); }
.person h3 { font-size: 1.5rem; }
.person .role { display: block; margin-top: 4px; font-weight: 600; color: var(--accent-ink); }
.person p { margin-top: 12px; color: var(--ink-2); font-size: .98rem; }
.person .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9375rem; font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: pr; }
.principle { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.principle::before { counter-increment: pr; content: "0" counter(pr); display: block; font: 800 .875rem/1 var(--display); color: var(--accent-ink); letter-spacing: .04em; }
.principle b { display: block; margin-top: 12px; font: 700 1.15rem/1.3 var(--display); color: var(--ink); }
.principle p { margin-top: 8px; color: var(--muted); font-size: .9688rem; }
.bots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.botcard { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: inherit; transition: .25s var(--ease); }
.botcard:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.botcard__h { display: flex; align-items: center; gap: 14px; }
.botcard img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; background: linear-gradient(180deg, #f5f9ef, #fff); border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.botcard b { display: block; font: 700 1.1rem/1.2 var(--display); color: var(--ink); }
.botcard small { display: block; margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.botcard p { color: var(--ink-2); font-size: .9375rem; }
.botcard ul { display: flex; flex-wrap: wrap; gap: 6px; }
.botcard li { padding: 5px 9px; border-radius: 8px; background: var(--soft); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 960px) {
  .people, .principles, .bots { grid-template-columns: minmax(0, 1fr); }
  .bots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person img { width: 100%; max-width: 260px; }
  .bots { grid-template-columns: minmax(0, 1fr); }
}

/* Service pages */
.promises--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-hero .eyebrow .ico { width: 16px; height: 16px; }
.page-hero .eyebrow:has(.ico)::before { display: none; }
.example { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.example__logo { aspect-ratio: 1; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; padding: 24px; }
.example__logo img { max-width: 100%; max-height: 90px; width: auto; object-fit: contain; }
.example__logo img.round { max-height: 130px; border-radius: 50%; }
.example h2 { margin-top: 14px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; }
.example p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; }
.related { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.related > span { font: 600 .78rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .promises--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .example { grid-template-columns: minmax(0, 1fr); } .example__logo { max-width: 160px; } }

/* ---------- Articles (blog) ---------- */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.page-hero--article h1 { max-width: 920px; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.post-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .9375rem; }
.post-meta span + span::before { content: "·"; margin-right: 18px; color: var(--line-2); }
.section--article { padding-top: clamp(40px, 6vw, 72px); }
.post { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.post-toc { position: sticky; top: calc(var(--header-h) + 28px); font-size: .875rem; }
.post-toc p { font: 600 .75rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-toc ol { margin-top: 14px; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.post-toc a:hover { color: var(--ink); text-decoration: none; }
.post-toc a.is-active { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
.prose { max-width: 720px; font-size: 1.0938rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + *, .prose .article-section > * + * { margin-top: 1.1em; }
.prose .article-section { margin-top: 2.6em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 800; letter-spacing: -.025em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.4em; }
.prose ul > li::before { content: ""; position: absolute; left: .2em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(124, 180, 110, .35); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--soft-2); font: 500 .9em var(--mono); }
.prose .article-intro { font-size: 1.25rem; line-height: 1.65; color: var(--ink); padding-bottom: 1.4em; border-bottom: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.prose .comparison-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.prose :is(.key-takeaway, .formula-box, .pattern-box, .stats-box, .answer-box, .pillar-box, .next-step, .result-card) {
  position: relative; margin-top: 1.6em; padding: 22px 24px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line);
}
.prose :is(.key-takeaway, .formula-box, .pattern-box, .stats-box, .answer-box, .pillar-box, .next-step, .result-card) > * + * { margin-top: .7em; }
.prose :is(.key-takeaway, .formula-box, .pattern-box, .stats-box, .answer-box, .pillar-box, .next-step) :is(h3, h4) { margin-top: 0; font-size: 1.05rem; }
.prose .key-takeaway { background: var(--accent-soft); border-color: #eaf3df; }
.prose .key-takeaway::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--grad); }
.prose .answer-box { background: var(--ok-soft); border-color: #c6ecdb; }
.prose .next-step { background: var(--night); border-color: var(--night); color: var(--night-muted); }
.prose .next-step :is(h3, h4, strong) { color: #fff; }
.prose .next-step p, .prose .next-step li { color: var(--night-muted); }
.prose .next-step a { color: #e1edd1; }
.prose .result-card .metric { display: block; font: 800 2rem/1 var(--display); color: var(--ink); }
.prose .result-card .label { color: var(--muted); font-size: .875rem; }
.post-more { margin-top: clamp(48px, 7vw, 80px); }
.post-more__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.post-more__h h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-more__h a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.post-more__h .ico { width: 16px; height: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: inherit; transition: .25s var(--ease); }
.post-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__cat { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 .75rem/1 var(--text); }
.post-card b { font: 700 1.1rem/1.3 var(--display); color: var(--ink); }
.post-card__meta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.post-card__meta .ico { width: 14px; height: 14px; }
@media (max-width: 1040px) { .post { grid-template-columns: minmax(0, 1fr); } .post-toc { display: none; } }
@media (max-width: 760px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* Profiles (AI team, founders) */
.profile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile__role { margin-top: 8px; font: 600 1.125rem/1.3 var(--text); color: var(--accent-ink); }
.profile__art { margin: 0; justify-self: center; text-align: center; }
.profile__art img { width: min(100%, 340px); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, #f4f8ee 60%, #eef5e5); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.profile__art figcaption { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.profile__art--photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-position: center 15%; }
.mini-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 20px; }
.ai-team__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 720px; }
.profile-facts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.profile-facts span { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 600 .875rem/1.2 var(--text); color: var(--ink); }
.track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.track article { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.track b { display: block; font: 700 1.1rem/1.3 var(--display); color: var(--ink); }
.track small { display: block; margin-top: 4px; font-weight: 600; color: var(--accent-ink); }
.track p { margin-top: 10px; color: var(--ink-2); font-size: .9688rem; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) { .profile { grid-template-columns: minmax(0, 1fr); } .profile__art { order: -1; } .profile__art img { width: 200px; } .track { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ai-team__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Industry pages */
.research { padding: 24px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 860px; }
.research ul { display: grid; gap: 12px; }
.research li { position: relative; padding-left: 22px; color: var(--ink-2); }
.research li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.research strong { color: var(--ink); }
.research p { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uc-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.uc-grid .ico { width: 20px; height: 20px; padding: 3px; border-radius: 7px; background: var(--ok-soft); color: var(--ok); flex: none; }
@media (max-width: 960px) { .uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .uc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Blog index */
.feature { position: relative; display: block; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--night); color: var(--night-muted); overflow: hidden; }
.feature::before { content: ""; position: absolute; right: -100px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 106, 61, .5), transparent); transition: transform .6s var(--ease); }
.feature:hover { text-decoration: none; }
.feature:hover::before { transform: scale(1.15); }
.feature > * { position: relative; }
.feature .eyebrow { color: #d8e8c3; }
.feature b { display: block; margin-top: 14px; max-width: 760px; font: 800 clamp(1.6rem, 3.4vw, 2.6rem)/1.1 var(--display); letter-spacing: -.03em; color: #fff; }
.feature p { margin-top: 12px; max-width: 640px; }
.feature__go { position: absolute !important; right: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.feature:hover .feature__go { transform: translateX(4px) rotate(-8deg); }
.blog-tools { margin: 36px 0 22px; display: grid; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.search .ico { width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 0; font: 400 1rem var(--text); color: var(--ink); background: none; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77, 106, 61, .15); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .875rem/1 var(--text); color: var(--ink-2); transition: .2s; }
.chip-btn i { font-style: normal; font-size: .75rem; color: var(--muted); }
.chip-btn:hover { border-color: var(--line-2); color: var(--ink); }
.chip-btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-btn.is-on i { color: #d6e0c9; }
.post-card--lg p { color: var(--muted); font-size: .9375rem; }
.post-card[hidden] { display: none !important; }
.blog-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* Industries hub */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 56px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: inherit; transition: .3s var(--ease); }
.ind:hover { text-decoration: none; box-shadow: var(--shadow); border-color: var(--line-2); }
.ind__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: .3s var(--ease); }
.ind:hover .ind__ic { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.ind__ic .ico { width: 22px; height: 22px; }
.ind b { font: 700 1.2rem/1.25 var(--display); color: var(--ink); }
.ind p { color: var(--muted); font-size: .9375rem; }
.ind__go { position: absolute; left: 24px; bottom: 22px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.ind:hover .ind__go { transform: translateX(6px); }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }

/* Glossary */
.gloss-tools { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 0; margin-bottom: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.alpha { display: flex; flex-wrap: wrap; gap: 2px; }
.alpha a, .alpha span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font: 700 .8125rem/1 var(--text); }
.alpha a { color: var(--ink); }
.alpha a:hover { background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.alpha span { color: var(--line-2); }
.term-group { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px); }
.term-letter { font: 800 3.4rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.term-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gterm { padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 90px); }
.gterm h3 { font-size: 1.15rem; }
.gterm p { margin-top: 8px; color: var(--ink-2); font-size: .9688rem; }
.gterm .term__ex { padding: 10px 12px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: .9063rem; }
.gterm .term__ex strong { color: var(--ink); }
.term__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.term__tags span { padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 .75rem/1.2 var(--text); }
.term-group[hidden], .gterm[hidden] { display: none !important; }
@media (max-width: 760px) { .term-group { grid-template-columns: minmax(0, 1fr); } .term-letter { font-size: 2.4rem; } .term-list { grid-template-columns: minmax(0, 1fr); } }

/* Readiness quiz */
.quiz { max-width: 780px; margin-inline: auto; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quiz__progress p { margin-top: 10px; font: 600 .8125rem/1 var(--text); color: var(--muted); }
.quiz__bar { height: 6px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.quiz__body { margin-top: 26px; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.quiz__body.is-in { opacity: 1; transform: none; }
.quiz__num { font: 600 .78rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.quiz__q { margin-top: 10px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.quiz__opts { margin-top: 22px; display: grid; gap: 10px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; text-align: left; font: 500 1rem/1.35 var(--text); color: var(--ink); transition: .2s var(--ease); }
.quiz__opt span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--soft-2); font: 700 .8125rem/1 var(--text); color: var(--ink-2); transition: .2s; }
.quiz__opt:hover { border-color: var(--accent); transform: translateX(3px); }
.quiz__opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.quiz__opt.is-on span { background: var(--accent-ink); color: #fff; }
.quiz__nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; }
.quiz__nav [hidden] { visibility: hidden; display: inline-flex !important; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.quiz__gate { text-align: center; padding: 12px 0; }
.quiz__gate > .ico { width: 54px; height: 54px; padding: 13px; margin: 0 auto; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); }
.quiz__gate h2 { margin-top: 16px; font-size: 1.7rem; }
.quiz__gate p { margin: 10px auto 0; max-width: 480px; color: var(--muted); }
.quiz__form { margin: 22px auto 0; max-width: 460px; display: flex; gap: 10px; }
.quiz__form input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line-2); font: 400 1rem var(--text); }
.quiz__form input[aria-invalid="true"] { border-color: #dc2626; }
.quiz__skip { margin-top: 14px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.quiz__result { text-align: center; }
.ring { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring__bg { stroke: var(--soft-2); }
.ring__fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.ring__txt { position: absolute; inset: 0; display: grid; place-content: center; }
.ring__txt b { font: 800 3rem/1 var(--display); color: var(--ink); }
.ring__txt span { font-size: .8125rem; color: var(--muted); }
.quiz__level { margin-top: 14px; padding-bottom: .1em; font: 800 1.5rem/1.25 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; display: inline-block; }
.quiz__summary { margin: 12px auto 0; max-width: 560px; color: var(--ink-2); }
.quiz__recs { margin: 24px 0; display: grid; gap: 12px; text-align: left; }
@media (max-width: 560px) { .quiz__form { flex-direction: column; } }

/* ROI calculator */
.unit-in { margin-top: 10px; display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; }
.unit-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(77, 106, 61, .15); }
.unit-in input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 14px; font: 600 1.05rem var(--text); color: var(--ink); background: none; }
.unit-in span { padding: 0 14px; color: var(--muted); font-weight: 600; font-size: .875rem; }
.roi-list { position: relative; margin: 0; display: grid; gap: 0; }
.roi-list div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--night-line); }
.roi-list dt { color: var(--night-muted); font-size: .9375rem; }
.roi-list dd { margin: 0; color: #fff; font-weight: 700; }

/* Comparison */
.answer { padding: 22px 24px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid #eaf3df; max-width: 900px; }
.answer b { font: 700 1.05rem/1.2 var(--display); color: var(--ink); }
.answer p { margin-top: 8px; color: var(--ink-2); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9375rem; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.cmp thead th { background: var(--soft); color: var(--ink); font: 700 1rem/1.2 var(--display); }
.cmp tbody th { color: var(--ink); font-weight: 600; width: 28%; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.mk { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; font-size: .75rem; font-weight: 800; vertical-align: -5px; }
.mk--y { background: var(--ok-soft); color: var(--ok); }
.mk--p { background: var(--warn-soft); color: var(--warn); }
.mk--n { background: #fdecec; color: #b42318; }
.bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento--3 .sys { grid-column: span 1; }
.mini-list { margin-top: 14px; display: grid; gap: 8px; }
.mini-list li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.mini-list .ico { width: 16px; height: 16px; color: var(--ok); }
@media (max-width: 960px) { .bento--3 { grid-template-columns: minmax(0, 1fr); } }

/* Use cases */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.story { padding: 26px; }
.story b { font-size: 1.35rem; }
.story__co { color: var(--muted); font-size: .9375rem; }
.story__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.story__chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--soft); font-size: .8125rem; color: var(--muted); }
.story__chip b { font: 800 1rem/1 var(--display); color: var(--ink); }
.story__steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.story__steps li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); font: 600 .8125rem/1 var(--text); color: var(--ink-2); }
.story__steps span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: .6875rem; }
.story__d { border-top: 1px solid var(--line); }
.story__d summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font: 700 1rem/1.3 var(--display); color: var(--ink); }
.story__d summary::-webkit-details-marker { display: none; }
.story__d .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--soft-2); position: relative; }
.story__d .pm::before, .story__d .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.story__d .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.story__d[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.story__d .prose { padding-bottom: 14px; font-size: .9688rem; max-width: none; }
.story-grid .post-card:hover { transform: none; }
@media (max-width: 960px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }

/* Kinetic ticker (homepage) */
.ticker { overflow: hidden; padding-block: clamp(18px, 3vw, 30px); border-block: 1px solid var(--line); background: #fff; }
.ticker__row { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); width: max-content; white-space: nowrap; animation: marquee 38s linear infinite; }
.motion-ready .ticker__row { animation: none; }
.ticker span { font: 800 clamp(2.2rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); transition: color .3s; }
.ticker span:nth-of-type(2n) { color: var(--ink); -webkit-text-stroke: 0; }
.ticker i { font-style: normal; font-size: clamp(1.2rem, 2.6vw, 2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* ---------- Motion layer (js/motion.js) ---------- */
/* Cross-document page transitions (Chrome/Edge 126+, Safari 18.2+; others just navigate). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }
.lx-header { view-transition-name: lx-header; }

/* WebGL hero field */
[data-field] { position: relative; isolation: isolate; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-field.is-on { opacity: 1; }
.motion-ready .hero::before { opacity: .55; }

/* Split headings: each line masks its rising words */
.split-line { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .grad-text { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.split-line .grad-text, .split-line .grad-text > * { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Animated gradient on accent words */
@media (prefers-reduced-motion: no-preference) {
  .grad-text { background-size: 220% 100%; animation: gradShift 9s ease-in-out infinite alternate; }
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Spotlight that follows the pointer on cards */
.has-spot { position: relative; transition: transform .35s var(--ease), box-shadow .3s var(--ease), border-color .3s; will-change: transform; }
.has-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 106, 61, .10), transparent 45%);
}
.has-spot:hover::after { opacity: 1; }
.night .has-spot::after, .be .has-spot::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(178, 199, 143, .16), transparent 45%); }
.btn, .lx-btn { transition: transform .25s var(--ease), box-shadow .2s var(--ease), background .2s; }

/* Custom cursor (fine pointer only; js adds it) */
.cursor { position: fixed; left: 0; top: 0; z-index: 2000; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(124, 180, 110, .55); pointer-events: none; opacity: 0; transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hot { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(77, 106, 61, .08); border-color: rgba(77, 106, 61, .35); }
.cursor.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* Pinned AGC story: scroll drives the step bar */
.steps.is-driven .step.is-active .step__bar::after { animation: none; transform: scaleX(var(--sp, 0)); transition: transform .1s linear; }
.agc-pinned #cases .agc { min-height: calc(100vh - 140px); align-content: center; }

/* Grain over the whole page, very light */
body::after { content: ""; position: fixed; inset: 0; z-index: 1500; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Inner-page heroes: a slow drifting mesh instead of WebGL */
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 140%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(77, 106, 61, .16), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(111, 138, 58, .10), transparent 70%), radial-gradient(closest-side at 70% 30%, rgba(18, 181, 207, .10), transparent 70%);
  filter: blur(10px); }
@media (prefers-reduced-motion: no-preference) { .page-hero::before { animation: meshDrift 18s ease-in-out infinite alternate; } }
@keyframes meshDrift { from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } to { transform: translate3d(-6%, 4%, 0) rotate(8deg) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .more-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-chip--a { left: -10px; }
  .float-chip--b { right: -6px; }
}
@media (max-width: 960px) {
  .hero__grid, .agc, .be, .one, .team, .cta, .calc, .ps { grid-template-columns: minmax(0, 1fr); }
  .ps__stat { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sys, .sys--wide { grid-column: span 1; }
  .process, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .process::before { display: none; }
  .agc .stage { order: 2; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bento, .more-cases, .process, .promises, .stats, .be__stats { grid-template-columns: minmax(0, 1fr); }
  .ps-row { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .founders { gap: 10px; }
  .founder figcaption { padding: 12px; }
  .founder p { display: none; }
  .founder a.mail { font-size: .78rem; }
  .founder a.mail .ico { display: none; }
  .ai-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .float-chip { display: none; }
  .console__feed { height: 360px; }
  .ev { grid-template-columns: 34px 1fr; }
  .ev time { display: none; }
  .stage { min-height: 440px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track--rev { display: none; }
}

/* "New" system card: copy + demo side by side, stacked on phones */
@media (max-width: 760px) { .sys-new-grid { grid-template-columns: minmax(0, 1fr) !important; } }
