/* =========================================================
   BestQ — Best Quality Tests
   Dark, premium, motion-first. Tokens up top.
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --fg: #f3f0ea;
  --muted: #8d8b86;
  --line: rgba(243, 240, 234, 0.1);
  --line-2: rgba(243, 240, 234, 0.18);
  --lime: #c8ff3e;
  --lime-dim: rgba(200, 255, 62, 0.14);
  --red: #ff4b3e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--bg); }

.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.label { color: var(--muted); text-transform: lowercase; margin-bottom: 1.4rem; }
.h2 {
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.h2 .serif { color: var(--lime); }

section { position: relative; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -10%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@media (hover: none), (max-width: 900px) { .grain { display: none; } }
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 0.7rem;
  height: var(--h); padding: 0 1.6rem; border-radius: 999px;
  font: 600 0.98rem/1 var(--sans); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--lime { background: var(--lime); color: var(--bg); }
.btn--lime::before { background: var(--fg); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, 0.02); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 44px; padding: 0 1.2rem; font-size: 0.9rem; }
.btn--xl { --h: 68px; padding: 0 2.2rem; font-size: 1.08rem; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
}
html:not(.js) .loader { display: none; }
.loader__inner { width: min(420px, 80vw); }
.loader__logo { display: block; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.4rem; animation: logopulse 1.6s ease-in-out infinite; }
@keyframes logopulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 143, 58, 0.55); } 50% { box-shadow: 0 0 0 14px rgba(31, 143, 58, 0); } }
.loader__label { color: var(--muted); margin-bottom: 0.8rem; }
.loader__count { font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; }
.loader__pct { color: var(--lime); font-size: 0.4em; vertical-align: top; margin-left: 0.1em; }
.loader__bar { height: 2px; background: var(--line); margin: 1.4rem 0 1rem; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.loader__status { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.loader__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s;
}
.cursor__label { font: 600 0.7rem/1 var(--mono); color: var(--bg); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.3s; }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; background: var(--fg); border-color: var(--fg); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 18px var(--gutter);
  transition: transform 0.6s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled { background: rgba(10, 10, 11, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; }
.nav__logo b { color: var(--lime); font-weight: 800; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 6px 18px -6px rgba(31, 143, 58, 0.6); }
.nav__links { display: flex; gap: 2rem; font-size: 0.92rem; color: var(--muted); }
.nav__links a { position: relative; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform 0.4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease);
}
.menu a { font-size: clamp(2.4rem, 10vw, 4rem); font-weight: 600; letter-spacing: -0.04em; }
.menu-open .menu { clip-path: inset(0 0 0 0); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 90px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -30vmax; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 255, 62, 0.16), transparent 70%);
}
.hero__content { position: relative; z-index: 2; max-width: 1200px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); border: 1px solid var(--line); padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(10, 10, 11, 0.5); backdrop-filter: blur(6px); margin-bottom: 2rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--lime); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__title {
  font-size: clamp(3.6rem, 11.5vw, 11.5rem);
  line-height: 0.88; letter-spacing: -0.055em; word-spacing: 0.06em; font-weight: 700;
}
.hero__title .serif { font-weight: 400; color: var(--lime); padding-right: 0.06em; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line__inner { display: block; }
.js .line__inner { transform: translateY(110%); }
.strike { position: relative; display: inline-block; color: var(--muted); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 0.08em; background: var(--red);
  transform: scaleX(var(--strike, 0)); transform-origin: left; border-radius: 4px;
}
html:not(.js) .strike::after { transform: scaleX(1); }

.hero__sub { max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: #c9c6bf; margin: 2.2rem 0 2.4rem; }
.hero__sub .serif { color: var(--fg); font-size: 1.15em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.js .reveal-up { opacity: 0; transform: translateY(30px); }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1rem; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(20, 20, 22, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #d6d3cc; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); white-space: nowrap;
}
.chip i { font-style: normal; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 0.7rem; }
.chip .ok { background: var(--lime-dim); color: var(--lime); }
.chip .bad { background: rgba(255, 75, 62, 0.16); color: var(--red); }
.chip b { color: var(--fg); font-weight: 500; }
.chip--a { right: 8vw; top: 26%; }
.chip--b { right: 20vw; top: 52%; }
.chip--c { right: 5vw; bottom: 18%; }
.js .chip { opacity: 0; }

.hero__scroll { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 0.8rem; color: var(--muted); z-index: 2; }
.hero__scroll i { width: 60px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lime); animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 1.6rem 0; overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marquee span { font-size: clamp(1.6rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; color: #4a4946; transition: color 0.3s; }
.marquee span:hover { color: var(--fg); }
.marquee i { font-style: normal; color: var(--lime); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- clients: logo wall ---------- */
.clients { position: relative; padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); overflow: hidden; }
.clients::before {
  content: ""; position: absolute; left: 50%; top: 66%; width: 1200px; height: 560px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side at 30% 50%, rgba(155, 140, 255, 0.13), transparent 70%), radial-gradient(closest-side at 70% 50%, rgba(124, 196, 255, 0.12), transparent 70%);
}
.clients__head { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem 4rem; align-items: end; padding: 0 var(--gutter); margin-bottom: clamp(3rem, 6vw, 5rem); }
.clients__head .label { grid-column: 1 / -1; margin: 0; }
.clients__title { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; }
.clients__title .serif { color: var(--lime); }
.clients__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cstat { padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); display: grid; gap: 0.35rem; }
.cstat b { font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -0.05em; line-height: 1; font-weight: 700; white-space: nowrap; }
.cstat small { font-size: 0.5em; color: var(--lime); margin-left: 0.05em; letter-spacing: -0.02em; }
.cstat .mono { color: var(--muted); font-size: 0.68rem; }

.wall { position: relative; perspective: 1400px; }
.wall__inner {
  position: relative; display: grid; gap: 16px; padding: 22px 0;
  transform: rotateX(14deg) rotateZ(-3deg) scale(1.05); transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wall__track { display: flex; width: max-content; will-change: transform; }
.wall__set { display: flex; gap: 16px; padding-right: 16px; }
.tile {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  width: clamp(150px, 14.6vw, 210px); height: clamp(88px, 8vw, 116px); border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 60%), #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -24px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.tile::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side at 50% 88%, var(--c), transparent 72%); opacity: 0.24; transition: opacity 0.4s; }
.tile img { max-width: 64%; max-height: 52%; width: auto; height: auto; object-fit: contain; opacity: 0.8; transition: opacity 0.3s, transform 0.5s var(--ease), filter 0.4s; }
.tile__ok { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--lime); color: var(--bg); transform: scale(0); transition: transform 0.4s var(--ease); }
.tile:hover, .tile.is-hit {
  border-color: color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 36px -4px color-mix(in srgb, var(--c) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.tile:hover::before, .tile.is-hit::before { opacity: 0.65; }
.tile:hover img, .tile.is-hit img { opacity: 1; transform: scale(1.07); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 60%, transparent)); }
.tile.is-hit .tile__ok { transform: scale(1); }
.tile:hover { transform: translateY(-6px); }
.wall__lens {
  position: absolute; left: 50%; top: 4px; bottom: 4px; z-index: 2; pointer-events: none;
  width: clamp(172px, 16.4vw, 232px); transform: translateX(-50%); border-radius: 26px;
  border: 1.5px solid rgba(200, 255, 62, 0.75);
  background: linear-gradient(180deg, rgba(200, 255, 62, 0.08), rgba(200, 255, 62, 0.02));
  box-shadow: 0 0 0 6px rgba(200, 255, 62, 0.06), 0 0 70px rgba(200, 255, 62, 0.2), inset 0 0 40px rgba(200, 255, 62, 0.08);
  -webkit-backdrop-filter: brightness(1.35) saturate(1.3); backdrop-filter: brightness(1.35) saturate(1.3);
}
.wall__lens::before { content: ""; position: absolute; left: 10px; right: 10px; top: 8%; height: 2px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 14px var(--lime), 0 0 4px var(--lime); animation: lensScan 2.4s ease-in-out infinite alternate; }
@keyframes lensScan { to { top: 92%; } }
.wall__lens span { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); padding: 0.38rem 0.75rem; border-radius: 999px; background: var(--lime); color: var(--bg); font-size: 0.66rem; font-weight: 500; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(200, 255, 62, 0.6); }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 18vw, 240px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.manifesto__label { color: var(--muted); margin-bottom: 2rem; }
.manifesto__text {
  font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500;
}
.manifesto__text .w { opacity: 0.14; transition: none; }
.manifesto__text .hl .w { color: var(--lime); }
html:not(.js) .manifesto__text .w { opacity: 1; }

/* ---------- services ---------- */
.services { background: var(--bg); }
.services__pin {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 3.2rem;
  padding: 110px 0 70px; overflow: hidden;
}
.services__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem; }
.services__head .label { grid-column: 1 / -1; margin: 0; }
.services__progress { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); }
.services__idx { color: var(--fg); }
.services__progress i { display: block; width: 120px; height: 2px; background: var(--line); margin-left: 0.6rem; overflow: hidden; }
.services__progress b { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0.166); }
.services__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }

.card {
  position: relative; width: clamp(300px, 30vw, 430px); min-height: 520px; flex-shrink: 0;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: border-color 0.4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 62, 0.1), transparent 40%);
}
.card:hover { border-color: rgba(200, 255, 62, 0.35); }
.card:hover::after { opacity: 1; }
.card__num { color: var(--muted); }
.card__visual {
  position: relative; height: 210px; margin: 18px 0 26px; border-radius: 14px; overflow: hidden;
  background: #0d0d0f; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.card h3 { font-size: 1.75rem; letter-spacing: -0.04em; font-weight: 600; margin-bottom: 0.7rem; }
.card p { color: #a9a6a0; font-size: 0.98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1.4rem; }
.tags li { border: 1px solid var(--line-2); padding: 0.3rem 0.65rem; border-radius: 999px; color: #b9b6af; font-size: 0.7rem; }

/* card visuals */
.v-manual .ui { width: 70%; display: grid; gap: 10px; }
.v-manual .ui span { height: 12px; border-radius: 6px; background: #222226; }
.v-manual .ui span:nth-child(2) { width: 70%; }
.v-manual .ui .bugline { background: rgba(255, 75, 62, 0.35); width: 85%; }
.v-manual .lens {
  position: absolute; width: 86px; height: 86px; border-radius: 50%; border: 3px solid var(--lime);
  background: rgba(200, 255, 62, 0.06); display: grid; place-items: center;
  animation: lens 5s var(--ease) infinite;
}
.v-manual .lens::after { content: ""; position: absolute; width: 34px; height: 4px; background: var(--lime); border-radius: 4px; right: -26px; bottom: 2px; transform: rotate(45deg); }
.lens__bug { font-size: 1.5rem; animation: bug 5s var(--ease) infinite; }
@keyframes lens { 0%, 100% { transform: translate(-70px, -40px); } 45%, 70% { transform: translate(30px, 12px); } }
@keyframes bug { 0%, 40% { opacity: 0; transform: scale(0.4); } 50%, 70% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; } }

.v-auto { padding: 0 26px; place-items: stretch; align-content: center; gap: 12px; }
.v-auto .row { display: flex; align-items: center; gap: 12px; }
.v-auto .row i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #333; flex-shrink: 0; position: relative; animation: tick 4s steps(1) infinite; }
.v-auto .row span { flex: 1; height: 10px; border-radius: 5px; background: #222226; position: relative; overflow: hidden; }
.v-auto .row span::after { content: ""; position: absolute; inset: 0; background: var(--lime); opacity: 0.6; transform: scaleX(0); transform-origin: left; animation: fill 4s var(--ease) infinite; }
.v-auto .row:nth-child(2) i, .v-auto .row:nth-child(2) span::after { animation-delay: 0.5s; }
.v-auto .row:nth-child(3) i, .v-auto .row:nth-child(3) span::after { animation-delay: 1s; }
.v-auto .row:nth-child(4) i, .v-auto .row:nth-child(4) span::after { animation-delay: 1.5s; }
@keyframes fill { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes tick { 0% { background: transparent; border-color: #333; } 25%, 90% { background: var(--lime); border-color: var(--lime); } 100% { background: transparent; } }

.v-perf svg { position: absolute; inset: 20px 0 20px; width: 100%; height: calc(100% - 40px); }
.v-perf .grid { vector-effect: non-scaling-stroke; stroke: #1f1f22; stroke-width: 1; fill: none; }
.v-perf .spark { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 3.6s var(--ease) infinite; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(200, 255, 62, 0.6)); }
@keyframes draw { 0% { stroke-dashoffset: 100; } 60%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.v-perf .gauge { position: absolute; top: 14px; right: 16px; font-size: 1.3rem; color: var(--fg); }
.v-perf .gauge small { color: var(--muted); font-size: 0.7rem; }

.v-sec svg { width: 90px; height: 108px; }
.v-sec path { fill: rgba(200, 255, 62, 0.06); stroke: var(--lime); stroke-width: 2.5; stroke-linejoin: round; }
.v-sec .tick { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: tickdraw 3s var(--ease) infinite; }
@keyframes tickdraw { 0%, 40% { stroke-dashoffset: 60; } 65%, 100% { stroke-dashoffset: 0; } }
.v-sec .scan { position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(200, 255, 62, 0.22), transparent); animation: scan 3s linear infinite; }
@keyframes scan { from { top: -40px; } to { top: 100%; } }

.v-api { place-items: stretch; align-content: center; padding: 0 22px; gap: 10px; font-size: 0.78rem; }
.v-api .req b { color: #ffb23e; margin-right: 0.4rem; font-weight: 500; }
.v-api .res { display: flex; gap: 0.8rem; }
.v-api .code { color: var(--bg); background: var(--lime); padding: 0.1rem 0.5rem; border-radius: 5px; animation: blink 2.4s steps(1) infinite; }
.v-api .ms { color: var(--muted); }
.v-api pre { margin: 0; color: #9c9a94; font: inherit; background: #141416; border-radius: 8px; padding: 10px 12px; white-space: pre; }
@keyframes blink { 0%, 15% { opacity: 0.15; } 16%, 100% { opacity: 1; } }

.v-mobile { grid-auto-flow: column; gap: 18px; }
.phone { width: 74px; height: 140px; border-radius: 16px; border: 2px solid #3a3a3e; padding: 8px 6px; position: relative; animation: float 4s ease-in-out infinite; }
.phone--2 { width: 96px; height: 120px; border-radius: 10px; animation-delay: -2s; }
.phone .screen { display: grid; gap: 6px; }
.phone .screen span { height: 14px; border-radius: 4px; background: #222226; }
.phone .screen span:first-child { background: var(--lime-dim); height: 34px; }
.phone .tap { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--lime); left: 24px; bottom: 26px; animation: tap 2s var(--ease) infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes tap { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* advanced service cards */
.card--adv { background: linear-gradient(180deg, #16170f, var(--bg-2)); border-color: rgba(200, 255, 62, 0.16); }
.card--adv .card__num { color: var(--lime); }
.v-adv { background: radial-gradient(circle at 50% 50%, rgba(200, 255, 62, 0.12), transparent 60%), #0d0d0f; }
.v-adv i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(200, 255, 62, 0.35); transform: translate(-50%, -50%); animation: spin 14s linear infinite; }
.v-adv i:nth-child(1) { width: 120px; height: 120px; }
.v-adv i:nth-child(2) { width: 170px; height: 170px; border-style: solid; border-color: rgba(243, 240, 234, 0.08); animation-direction: reverse; animation-duration: 22s; }
.v-adv i:nth-child(1)::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.v-adv span { position: relative; font: 700 2.6rem/1 var(--sans); letter-spacing: -0.05em; color: var(--lime); text-shadow: 0 0 30px rgba(200, 255, 62, 0.5); }

/* ---------- devices: iOS / Android / Web ---------- */
.devices { padding: clamp(100px, 13vw, 170px) var(--gutter) clamp(80px, 10vw, 140px); overflow: hidden; --cyc: 9s; }
/* Blocks the page marks .is-off (see main.js) freeze their CSS loops until they scroll back in. */
.is-off,
.is-off *,
.is-off *::before,
.is-off *::after { animation-play-state: paused !important; }
.devices__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.devices__head .label { grid-column: 1 / -1; margin: 0; }
.devices__sub { color: #a9a6a0; font-size: 1.08rem; max-width: 440px; }
.platforms { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.platforms span { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.45rem 0.85rem; color: #d6d3cc; }
.p-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.stage { position: relative; height: 680px; }
.stage__rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.stage__rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(200, 255, 62, 0.14); transform: translate(-50%, -50%); animation: spin 60s linear infinite; }
.stage__rings i:nth-child(1) { width: 520px; height: 520px; }
.stage__rings i:nth-child(2) { width: 820px; height: 820px; animation-direction: reverse; animation-duration: 90s; border-color: rgba(243, 240, 234, 0.07); }
.stage__rings i:nth-child(3) { width: 1180px; height: 1180px; border-style: solid; border-color: rgba(243, 240, 234, 0.04); }
.stage::before { content: ""; position: absolute; left: 50%; top: 45%; width: 1100px; height: 640px; transform: translate(-50%, -50%); background: radial-gradient(closest-side at 50% 50%, rgba(155, 140, 255, 0.14), transparent 70%), radial-gradient(closest-side at 22% 60%, rgba(124, 196, 255, 0.14), transparent 70%), radial-gradient(closest-side at 80% 62%, rgba(200, 255, 62, 0.13), transparent 70%); pointer-events: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.stage__scale { position: absolute; left: 50%; top: 0; width: 0; }
.stage__inner {
  position: absolute; left: 0; top: 0; width: 1100px; height: 680px;
  transform: translateX(-50%) scale(var(--s, 1)); transform-origin: top center;
}
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }

.orb {
  position: absolute; z-index: 4;
  padding: 0.45rem 0.8rem; border-radius: 999px; font-size: 0.72rem; color: #d6d3cc;
  background: rgba(20, 20, 22, 0.75); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  animation: orbfloat 6s ease-in-out infinite;
}
.o1 { left: 3%; top: 4%; }
.o2 { left: 86%; top: 1%; animation-delay: -1.4s; }
.o3 { left: 28%; top: 85%; animation-delay: -2.6s; }
.o4 { left: -3%; top: 52%; animation-delay: -3.1s; }
.o5 { left: 45%; top: 92%; animation-delay: -0.8s; }
.o6 { left: 92%; top: 11%; animation-delay: -2s; }
.o7 { left: 62%; top: 86%; animation-delay: -4s; }
.orb::before { content: "✓"; color: var(--lime); margin-right: 0.45rem; }
@keyframes orbfloat { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(10px, -14px); } 66% { transform: translate(-8px, 8px); } }

.dev { position: absolute; }
.dev::before { content: ""; position: absolute; z-index: -1; inset: -16% -32%; border-radius: 50%; background: radial-gradient(closest-side, var(--halo), transparent 72%); opacity: 0.6; filter: blur(8px); pointer-events: none; animation: halo 5s ease-in-out infinite; }
.dev--ios { --halo: rgba(124, 196, 255, 0.5); }
.dev--android { --halo: rgba(200, 255, 62, 0.42); }
.dev--android::before { animation-delay: -2.5s; }
.dev--web { --halo: rgba(155, 140, 255, 0.4); }
.dev--web::before { inset: -14% -10%; }
@keyframes halo { 50% { opacity: 1; transform: scale(1.06); } }
.dev__tag { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.72rem; }
.pill { display: inline-block; padding: 0.18rem 0.5rem; border-radius: 6px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.06em; color: var(--bg); }
.pill--ios { background: var(--fg); }
.pill--and { background: var(--lime); }
.pill--web { background: #7cc4ff; }

/* shared test overlays */
.tbox { position: absolute; z-index: 6; border: 1.5px solid var(--lime); border-radius: 10px; box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.12), 0 0 18px rgba(200, 255, 62, 0.25); pointer-events: none; }
.tbox em { position: absolute; left: -1.5px; top: -20px; font: 500 9px/1 var(--mono); font-style: normal; white-space: nowrap; padding: 4px 6px; border-radius: 5px 5px 5px 0; background: var(--lime); color: var(--bg); }
.finger { position: absolute; z-index: 7; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); opacity: 0; }
.finger::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; }

/* --- web: browser --- */
.dev--web { left: 190px; top: 10px; width: 720px; z-index: 1; }
.browser { position: relative; height: 470px; border-radius: 16px 16px 6px 6px; background: #0f0f11; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 0 0 8px #0e0e10, 0 0 0 9.5px #44444c, 0 0 0 10.5px #0e0e10, 0 60px 120px -40px rgba(0, 0, 0, 0.95); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; background: #161618; border-bottom: 1px solid var(--line); }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c30; }
.browser__bar > i:nth-child(1) { background: #ff5f57; }
.browser__bar > i:nth-child(2) { background: #febc2e; }
.browser__bar > i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 14px; flex: 1; max-width: 340px; height: 26px; border-radius: 8px; background: #0c0c0e; border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 0.68rem; color: #b4b1aa; overflow: hidden; white-space: nowrap; }
.lock { color: var(--lime); font-size: 0.5rem; }
.browser__engines { margin-left: auto; display: flex; gap: 4px; }
.browser__engines b { font-weight: 500; font-size: 0.62rem; padding: 4px 7px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line); animation: engine var(--cyc) steps(1) infinite; }
.browser__engines b:nth-child(2) { animation-delay: calc(var(--cyc) * -0.75); }
.browser__engines b:nth-child(3) { animation-delay: calc(var(--cyc) * -0.5); }
.browser__engines b:nth-child(4) { animation-delay: calc(var(--cyc) * -0.25); }
@keyframes engine { 0% { color: var(--bg); background: var(--lime); border-color: var(--lime); } 25%, 100% { color: var(--muted); background: transparent; border-color: var(--line); } }

.browser__body { position: absolute; inset: 42px 0 0; display: grid; grid-template-columns: 56px 1fr; }
.b-side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.b-side span { width: 22px; height: 22px; border-radius: 7px; background: #1f1f23; }
.b-side span.on { background: var(--lime); }
.b-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.b-title { display: flex; align-items: baseline; justify-content: space-between; }
.b-title b { font-size: 1.15rem; letter-spacing: -0.03em; }
.b-title span { font-size: 0.66rem; color: var(--muted); }
.b-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #131315; display: grid; gap: 2px; }
.kpi small { color: var(--muted); font-size: 0.66rem; }
.kpi b { font-size: 1.25rem; letter-spacing: -0.03em; }
.kpi em { font-style: normal; font-size: 0.64rem; color: var(--lime); }
.b-chart { height: 150px; border: 1px solid var(--line); border-radius: 12px; background: #131315; display: flex; align-items: flex-end; gap: 8px; padding: 14px 16px; }
.b-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--lime), rgba(200, 255, 62, 0.25)); transform-origin: bottom; animation: bar var(--cyc) var(--ease) infinite; }
.b-chart span:nth-child(2) { animation-delay: 0.05s; } .b-chart span:nth-child(3) { animation-delay: 0.1s; }
.b-chart span:nth-child(4) { animation-delay: 0.15s; } .b-chart span:nth-child(5) { animation-delay: 0.2s; }
.b-chart span:nth-child(6) { animation-delay: 0.25s; } .b-chart span:nth-child(7) { animation-delay: 0.3s; }
.b-chart span:nth-child(8) { animation-delay: 0.35s; } .b-chart span:nth-child(9) { animation-delay: 0.4s; }
.b-chart span:nth-child(10) { animation-delay: 0.45s; } .b-chart span:nth-child(11) { animation-delay: 0.5s; }
.b-chart span:nth-child(12) { animation-delay: 0.55s; }
@keyframes bar { 0% { transform: scaleY(0.08); } 18%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0.08); } }
.b-rows { display: grid; gap: 8px; }
.b-rows span { height: 12px; border-radius: 6px; background: #1b1b1e; }
.b-rows span:nth-child(2) { width: 82%; }
.b-rows span:nth-child(3) { width: 64%; }
.b-score { position: absolute; right: 96px; bottom: 26px; width: 116px; padding: 12px; border-radius: 14px; background: rgba(22, 22, 24, 0.92); border: 1px solid var(--line-2); display: grid; justify-items: center; gap: 2px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7); }
.b-score svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.b-score circle { fill: none; stroke: #232327; stroke-width: 4; }
.b-score .arc { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: arc var(--cyc) var(--ease) infinite; }
.b-score b { position: absolute; top: 30px; font-size: 1.05rem; }
.b-score small { color: var(--muted); font-size: 0.6rem; }
@keyframes arc { 0%, 6% { stroke-dashoffset: 100; } 40%, 92% { stroke-dashoffset: 2; } 100% { stroke-dashoffset: 100; } }

.tb-w1 { left: 70px; right: 14px; top: 52px; height: 72px; animation: tbw1 var(--cyc) var(--ease) infinite; }
.tb-w2 { left: 70px; right: 14px; top: 132px; height: 158px; animation: tbw2 var(--cyc) var(--ease) infinite; }
@keyframes tbw1 { 0%, 8% { opacity: 0; transform: scale(1.04); } 14%, 40% { opacity: 1; transform: scale(1); } 46%, 100% { opacity: 0; } }
@keyframes tbw2 { 0%, 46% { opacity: 0; transform: scale(1.04); } 52%, 80% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; } }
.pointer { position: absolute; z-index: 7; width: 22px; height: 22px; left: 0; top: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); animation: pointer var(--cyc) var(--ease) infinite; }
.pointer path { fill: var(--fg); stroke: var(--bg); stroke-width: 1.4; stroke-linejoin: round; }
@keyframes pointer {
  0% { transform: translate(600px, 360px); }
  12% { transform: translate(220px, 92px); }
  16% { transform: translate(220px, 92px) scale(0.85); }
  20%, 30% { transform: translate(220px, 92px); }
  50% { transform: translate(470px, 220px); }
  54% { transform: translate(470px, 220px) scale(0.85); }
  58%, 70% { transform: translate(470px, 220px); }
  100% { transform: translate(600px, 360px); }
}
.vp { position: absolute; left: 50%; top: -1px; transform: translateX(-50%); display: none; }

.laptop-base { position: relative; height: 16px; margin: 9px -60px 0; border-radius: 2px 2px 18px 18px; background: linear-gradient(180deg, #9a9aa4 0%, #5a5a63 22%, #2a2a2f 70%, #18181b 100%); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0d0d0f; }

/* --- handsets --- */
.dev--ios { left: 6px; top: 120px; width: 250px; height: 510px; z-index: 3; }
.dev--android { right: 6px; top: 140px; width: 250px; height: 510px; z-index: 3; }
.handset {
  position: relative; width: 100%; height: 100%; border: 9px solid transparent;
  background: linear-gradient(#050506, #050506) padding-box, linear-gradient(150deg, #8a8a94, #26262b 20%, #4a4a52 46%, #18181b 72%, #6e6e78) border-box;
  box-shadow: 0 0 0 1px #000, 0 60px 100px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.handset--ios { border-radius: 48px; }
.handset--android { border-radius: 32px; border-width: 7px; background: linear-gradient(#050506, #050506) padding-box, linear-gradient(150deg, #6f7a4a, #1b1f12 22%, #424a2a 48%, #13160c 74%, #6a7444) border-box; }
.btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #232327, #7a7a84, #232327); }
.handset--ios .btn-side--a { left: -13px; top: 92px; height: 26px; }
.handset--ios .btn-side--b { left: -13px; top: 134px; height: 50px; }
.handset--ios .btn-side--c { right: -13px; top: 144px; height: 74px; }
.handset--android .btn-side { background: linear-gradient(90deg, #1b1f12, #7d8852, #1b1f12); }
.handset--android .btn-side--a { right: -11px; top: 112px; height: 58px; }
.handset--android .btn-side--b { right: -11px; top: 190px; height: 30px; }
.screen { position: absolute; inset: 0; overflow: hidden; }
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.16) 49%, transparent 56%), linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 32%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; animation: glare 7s ease-in-out infinite;
}
.handset--android .screen::after { animation-delay: -3.5s; }
@keyframes glare { 0%, 55% { background-position: 130% 0, 0 0; } 100% { background-position: -40% 0, 0 0; } }
.browser::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 8; background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, 0.06) 50%, transparent 56%); background-size: 260% 100%; background-repeat: no-repeat; animation: glare 9s ease-in-out infinite; animation-delay: -5s; }

/* test signals */
.beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.beam { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; animation: beamflow 0.9s linear infinite; }
.beam--ios { stroke: rgba(124, 196, 255, 0.75); }
.beam--and { stroke: rgba(200, 255, 62, 0.75); }
.beam--web { stroke: rgba(155, 140, 255, 0.85); }
@keyframes beamflow { to { stroke-dashoffset: -11; } }
.hub {
  position: absolute; z-index: 4; left: 550px; top: 612px; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1.1rem 0.5rem 0.5rem; border-radius: 999px; white-space: nowrap;
  background: rgba(16, 16, 18, 0.92); border: 1px solid rgba(200, 255, 62, 0.4);
  box-shadow: 0 0 0 6px rgba(200, 255, 62, 0.06), 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 46px -6px rgba(200, 255, 62, 0.4);
}
.hub__core { position: relative; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.hub__core { background: #fff; }
.hub__core img { position: relative; width: 100%; height: 100%; border-radius: 50%; }
.hub__core i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); animation: hubping 2s var(--ease) infinite; }
.hub__core i:nth-child(2) { animation-delay: 1s; }
@keyframes hubping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.3); opacity: 0; } }
.hub__txt { display: grid; line-height: 1.25; }
.hub__txt b { font-size: 0.95rem; letter-spacing: -0.02em; }
.hub__txt small { font-size: 0.66rem; color: var(--muted); }
.hub__n { font-style: normal; color: var(--lime); }
.dev--web .dev__tag { padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(12, 12, 14, 0.94); border: 1px solid var(--line-2); }
.handset--ios .screen { border-radius: 37px; }
.handset--android .screen { border-radius: 23px; }
.island { position: absolute; z-index: 9; left: 50%; top: 9px; width: 82px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.punch { position: absolute; z-index: 9; left: 50%; top: 10px; width: 12px; height: 12px; transform: translateX(-50%); border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #111; }
.homebar { position: absolute; z-index: 9; left: 50%; bottom: 7px; width: 90px; height: 4px; border-radius: 4px; transform: translateX(-50%); background: #111; }
.navpill { position: absolute; z-index: 9; left: 50%; bottom: 6px; width: 70px; height: 4px; border-radius: 4px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.5); }
.sbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font-size: 10px; }
.screen--light { background: #f4f2ec; color: #0e0e10; }
.screen--dark { background: #0d0d10; color: var(--fg); }
.screen--dark .sbar { padding-top: 10px; }
.screen .app { position: absolute; inset: 40px 0 0; padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }

/* iOS wallet app */
.app__hi { display: grid; margin-top: 4px; }
.app__hi small { font-size: 10px; color: #77756f; }
.app__hi b { font-size: 20px; letter-spacing: -0.04em; }
.bal { position: relative; border-radius: 16px; padding: 14px; background: #0b0b0c; color: var(--fg); display: grid; gap: 2px; overflow: hidden; }
.bal::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 255, 62, 0.45), transparent); }
.bal small { font-size: 9px; color: #8d8b86; }
.bal b { font-size: 22px; letter-spacing: -0.04em; }
.bal span { font-size: 9px; color: #8d8b86; margin-top: 8px; }
.bal__chip { position: absolute; right: 14px; bottom: 14px; width: 28px; height: 20px; border-radius: 5px; background: var(--lime); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 9px; color: #55534e; }
.acts span { display: grid; justify-items: center; gap: 4px; }
.acts i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: #e7e4dc; color: #0e0e10; }
.feed { flex: 1; overflow: hidden; border-radius: 14px; background: #fff; margin-bottom: 56px; }
.feed__track { animation: feed 14s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.tx { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-bottom: 1px solid #efede7; }
.tx i { width: 26px; height: 26px; border-radius: 9px; background: var(--c); flex-shrink: 0; }
.tx p { margin: 0; flex: 1; display: grid; line-height: 1.25; }
.tx b { font-size: 11px; }
.tx small { font-size: 8.5px; color: #8d8b86; }
.tx em { font-style: normal; font-size: 10.5px; font-weight: 600; }
.tx em.in { color: #3c8d0d; }
.paybtn { position: absolute; left: 14px; right: 14px; bottom: 22px; height: 40px; border-radius: 14px; background: var(--lime); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 13px; animation: paypress var(--cyc) var(--ease) infinite; }
@keyframes paypress { 0%, 53% { transform: scale(1); } 56% { transform: scale(0.95); } 60%, 100% { transform: scale(1); } }
.tb-i1 { left: 10px; top: 82px; width: 214px; height: 92px; animation: tbi1 var(--cyc) var(--ease) infinite; }
.tb-i2 { left: 10px; bottom: 18px; width: 214px; height: 48px; animation: tbi2 var(--cyc) var(--ease) infinite; }
@keyframes tbi1 { 0%, 6% { opacity: 0; transform: scale(1.06); } 12%, 40% { opacity: 1; transform: scale(1); } 46%, 100% { opacity: 0; } }
@keyframes tbi2 { 0%, 54% { opacity: 0; transform: scale(1.06); } 60%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; } }
.finger--tap { left: 0; top: 0; animation: ftap var(--cyc) var(--ease) infinite; }
.finger--tap::after { animation: fring var(--cyc) var(--ease) infinite; }
@keyframes ftap {
  0%, 30% { opacity: 0; transform: translate(170px, 300px); }
  38% { opacity: 1; transform: translate(170px, 300px); }
  50% { opacity: 1; transform: translate(102px, 432px); }
  55% { opacity: 1; transform: translate(102px, 432px) scale(0.8); }
  60% { opacity: 1; transform: translate(102px, 432px) scale(1); }
  68%, 100% { opacity: 0; transform: translate(102px, 432px); }
}
@keyframes fring { 0%, 54% { opacity: 0; transform: scale(1); } 56% { opacity: 1; transform: scale(1); } 66%, 100% { opacity: 0; transform: scale(2.4); } }
.notif {
  position: absolute; z-index: 8; left: 8px; right: 8px; top: 40px; padding: 9px 10px; border-radius: 16px;
  display: flex; align-items: center; gap: 8px; color: var(--fg); background: rgba(14, 14, 16, 0.92);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5); animation: notif var(--cyc) var(--ease) infinite;
}
.notif i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; background: var(--lime); color: var(--bg); font-size: 11px; flex-shrink: 0; }
.notif p { margin: 0; display: grid; line-height: 1.3; }
.notif b { font-size: 10px; font-family: var(--sans); }
.notif span { font-size: 8.5px; color: #a9a6a0; }
@keyframes notif { 0%, 62% { transform: translateY(-120%); opacity: 0; } 68%, 90% { transform: translateY(0); opacity: 1; } 96%, 100% { transform: translateY(-120%); opacity: 0; } }

/* Android shop app */
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.shop__bar b { font-size: 19px; letter-spacing: -0.04em; }
.search { flex: 1; max-width: 130px; font-size: 8.5px; color: var(--muted); padding: 7px 9px; border-radius: 999px; background: #1a1a1e; white-space: nowrap; overflow: hidden; }
.chips { display: flex; gap: 5px; font-size: 8.5px; }
.chips span { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: #b4b1aa; }
.chips .on { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.grid { flex: 1; overflow: hidden; margin-bottom: 64px; margin-inline: -2px; padding: 22px 2px 0; margin-top: -22px; }
.grid__track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: gridscroll var(--cyc) var(--ease) infinite; }
@keyframes gridscroll { 0%, 58% { transform: translateY(0); } 72%, 88% { transform: translateY(-150px); } 100% { transform: translateY(0); } }
.prod { position: relative; border-radius: 12px; background: #17171b; padding: 6px; display: grid; gap: 3px; }
.prod i { height: 74px; border-radius: 8px; background: linear-gradient(140deg, var(--g1), var(--g2)); }
.prod b { font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.prod em { font-style: normal; font-size: 9px; color: var(--lime); }
.prod--bug { z-index: 2; }
.ovf { animation: ovf var(--cyc) steps(1) infinite; }
@keyframes ovf { 0% { color: #ff8a80; clip-path: inset(0 -80px 0 0); } 48%, 100% { color: var(--fg); clip-path: inset(0 0 0 0); text-overflow: ellipsis; } }
.prod--bug .ovf { overflow: hidden; text-overflow: ellipsis; }
.tbox--bug { inset: -3px; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 75, 62, 0.14), 0 0 18px rgba(255, 75, 62, 0.35); animation: bugbox var(--cyc) steps(1) infinite; }
.tbox--bug em { left: auto; right: -1.5px; border-radius: 5px 5px 0 5px; }
.tbox--bug .e-bad { background: var(--red); color: #fff; animation: ebad var(--cyc) steps(1) infinite; }
.tbox--bug .e-ok { opacity: 0; animation: eok var(--cyc) steps(1) infinite; }
@keyframes bugbox { 0% { opacity: 1; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 75, 62, 0.14), 0 0 18px rgba(255, 75, 62, 0.35); } 30% { opacity: 1; border-color: #ffb23e; } 48% { opacity: 1; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.12), 0 0 18px rgba(200, 255, 62, 0.3); } 64%, 100% { opacity: 0; } }
@keyframes ebad { 0% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes eok { 0% { opacity: 0; } 48% { opacity: 1; } 64%, 100% { opacity: 0; } }
.cartbar { position: absolute; left: 12px; right: 12px; bottom: 22px; height: 42px; border-radius: 14px; background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 9px; }
.cartbar b { font-size: 12px; }
.tb-a2 { left: 8px; bottom: 16px; width: 222px; height: 52px; animation: tba2 var(--cyc) var(--ease) infinite; }
@keyframes tba2 { 0%, 74% { opacity: 0; transform: scale(1.06); } 78%, 94% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }
.finger--swipe { left: 0; top: 0; animation: fswipe var(--cyc) var(--ease) infinite; }
@keyframes fswipe {
  0%, 54% { opacity: 0; transform: translate(150px, 380px); }
  58% { opacity: 1; transform: translate(150px, 380px); }
  72% { opacity: 1; transform: translate(150px, 200px); }
  76%, 100% { opacity: 0; transform: translate(150px, 200px); }
}
.snack { position: absolute; z-index: 8; left: 10px; right: 10px; bottom: 74px; padding: 10px 12px; border-radius: 10px; font-size: 9px; background: var(--lime); color: var(--bg); font-weight: 500; animation: snack var(--cyc) var(--ease) infinite; }
@keyframes snack { 0%, 80% { transform: translateY(20px); opacity: 0; } 84%, 96% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }

/* --- cross-device matrix --- */
.matrix { position: relative; margin-top: clamp(4rem, 8vw, 7rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: clamp(1.4rem, 3vw, 2.4rem); }
.matrix__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.matrix__head .label { margin-bottom: 0.6rem; }
.matrix__note { color: #d6d3cc; min-height: 1.2em; transition: color 0.3s; }
.matrix__note.is-bad { color: var(--red); }
.matrix__note.is-ok { color: var(--lime); }
.matrix__count { display: flex; align-items: baseline; gap: 0.4rem; }
.m-count { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.matrix__count small { font-size: 1.3rem; color: var(--muted); letter-spacing: -0.03em; }
.matrix__count .mono { color: var(--muted); margin-left: 0.4rem; }
.matrix__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mtx { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0 6px; font-size: 0.74rem; }
.mtx thead th { color: var(--muted); font-weight: 400; text-align: center; padding: 0 0 0.6rem; }
.mtx tbody th { width: 1%; text-align: left; font-weight: 400; color: #d6d3cc; white-space: nowrap; padding-right: 2rem; }
.mtx tbody th .pill { margin-right: 0.6rem; min-width: 34px; text-align: center; }
.mtx td { text-align: center; height: 40px; background: #141417; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mtx td:nth-child(2) { border-left: 1px solid var(--line); border-radius: 10px 0 0 10px; }
.mtx td:last-child { border-right: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.mtx td::before { content: ""; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1px solid #2a2a2e; font-size: 11px; font-weight: 700; vertical-align: middle; transition: all 0.25s; }
.mtx td.run::before { transition: none;  border-color: var(--lime); border-top-color: transparent; border-radius: 50%; animation: spinner 0.6s linear infinite; }
.mtx td.ok::before { content: "✓"; background: var(--lime); border-color: var(--lime); color: var(--bg); }
.mtx td.bad::before { content: "✕"; background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 14px rgba(255, 75, 62, 0.6); }
@keyframes spinner { to { transform: rotate(360deg); } }
html:not(.js) .mtx td::before { content: "✓"; background: var(--lime); border-color: var(--lime); color: var(--bg); }

/* ---------- devices scene: power-on, signal traces, focus, result bubbles ---------- */
.power { position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0; border-radius: inherit; background: radial-gradient(60% 4% at 50% 50%, rgba(200, 255, 62, 0.9), transparent 70%), #050506; }
.trace { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.trace--ios { stroke: #7cc4ff; filter: drop-shadow(0 0 6px #7cc4ff); }
.trace--and { stroke: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.trace--web { stroke: #9b8cff; filter: drop-shadow(0 0 6px #9b8cff); }
.beam { transition: stroke-width 0.4s; }
.beams.on-ios .beam--ios, .beams.on-and .beam--and, .beams.on-web .beam--web { stroke-width: 3.5; }
.stage__floor {
  position: absolute; left: -4%; right: -4%; bottom: -4px; height: 150px; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 60% at 50% 40%, rgba(155, 140, 255, 0.16), transparent 70%), radial-gradient(40% 50% at 18% 30%, rgba(124, 196, 255, 0.14), transparent 70%), radial-gradient(40% 50% at 82% 30%, rgba(200, 255, 62, 0.12), transparent 70%);
}
.stage__floor::before { content: ""; position: absolute; left: 8%; right: 8%; top: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(243, 240, 234, 0.22), transparent); }
.pops { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.pop {
  position: absolute; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.75rem; border-radius: 999px; white-space: nowrap;
  font: 500 0.74rem var(--mono); color: var(--fg); background: rgba(16, 16, 18, 0.9); border: 1px solid var(--c, var(--lime));
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 22px -6px var(--c, var(--lime));
}
.pop b { color: var(--c, var(--lime)); font-weight: 700; }
.pop--ios { --c: #7cc4ff; }
.pop--and { --c: var(--lime); }
.pop--web { --c: #9b8cff; }
.aver { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.55rem; border-radius: 999px; font-size: 8.5px; color: var(--lime); border: 1px solid rgba(200, 255, 62, 0.5); background: rgba(200, 255, 62, 0.08); overflow: hidden; }
.aver i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.shop__bar .aver__n { display: inline-block; min-width: 1.6em; color: var(--fg); font-size: 13px; font-weight: 700; letter-spacing: -0.02em; }
.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; }

/* ---------- live terminal ---------- */
.live {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(100px, 14vw, 180px) var(--gutter);
}
.live__copy p { color: #a9a6a0; margin: 1.6rem 0 2rem; max-width: 460px; font-size: 1.08rem; }
.terminal {
  border-radius: var(--radius); border: 1px solid var(--line-2); background: #0c0c0e; overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(200, 255, 62, 0.16), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #121214; }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c2c30; }
.terminal__bar i:first-child { background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: auto; margin-right: auto; color: var(--muted); font-size: 0.72rem; transform: translateX(-20px); }
.terminal__body { height: 360px; padding: 18px 20px; overflow: hidden; font-size: 0.8rem; line-height: 1.75; color: #c9c6bf; display: flex; flex-direction: column; justify-content: flex-end; }
.terminal__lines > div { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.terminal__body .c-dim { color: #5e5d5a; }
.terminal__body .c-ok { color: var(--lime); }
.terminal__body .c-bad { color: var(--red); }
.terminal__body .c-warn { color: #ffb23e; }
.terminal__body .c-bold { color: var(--fg); font-weight: 500; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--lime); animation: caret 1s steps(1) infinite; margin-top: 2px; }
@keyframes caret { 50% { opacity: 0; } }
.terminal__foot { border-top: 1px solid var(--line); padding: 14px 20px; display: grid; gap: 10px; }
.meter { height: 4px; border-radius: 4px; background: #1d1d20; overflow: hidden; }
.meter__fill { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform 0.4s var(--ease); }
.terminal__stats { display: flex; gap: 1.4rem; color: var(--muted); font-size: 0.74rem; }
.t-pass { color: var(--lime); }
.t-fail { color: var(--red); }
.t-time { margin-left: auto; }

/* ---------- process ---------- */
.process { padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(100px, 12vw, 160px); }
.process__head { max-width: 900px; margin-bottom: 5rem; }
.process__wrap { position: relative; max-width: 1100px; margin-left: auto; }
.process__line { position: absolute; left: 11px; top: 0.6em; bottom: 0; width: 2px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--lime), rgba(200, 255, 62, 0.4)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px var(--lime); }
html:not(.js) .process__line i { transform: scaleY(1); }
.steps { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.step { position: relative; padding-left: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.6rem 3rem; align-items: baseline; }
.step__dot { position: absolute; left: 4px; top: 0.6em; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: all 0.5s var(--ease); }
.step.is-active .step__dot { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px var(--lime-dim), 0 0 24px var(--lime); }
.step__n { color: var(--muted); grid-column: 1 / -1; }
.step h3 { font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -0.05em; font-weight: 600; line-height: 1; transition: color 0.5s; color: #3d3c3a; }
.step.is-active h3 { color: var(--fg); }
.step p { color: #a9a6a0; font-size: 1.05rem; max-width: 460px; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat { padding: clamp(2rem, 4vw, 3.4rem) var(--gutter); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-size: clamp(3.4rem, 7vw, 6.6rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.stat__n small { font-size: 0.42em; color: var(--lime); margin-left: 0.05em; letter-spacing: -0.02em; }
.stat__l { color: var(--muted); margin-top: 0.8rem; font-size: 0.95rem; line-height: 1.35; }

/* ---------- why ---------- */
.why { padding: clamp(100px, 14vw, 180px) var(--gutter); }
.why__head { margin-bottom: 4rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare__col { padding: clamp(1.6rem, 3.5vw, 3rem); }
.compare__title { margin-bottom: 1.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.compare__col li { display: flex; gap: 0.9rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.compare__col--them { background: var(--bg-2); color: #7d7b77; }
.compare__col--them .compare__title { color: #6b6a66; }
.compare__col--them li::before { content: "✕"; color: var(--red); font-family: var(--mono); font-size: 0.8rem; }
.compare__col--us { background: var(--lime); color: var(--bg); }
.compare__col--us li { border-color: rgba(10, 10, 11, 0.14); font-weight: 500; }
.compare__col--us li::before { content: "✓"; font-family: var(--mono); font-size: 0.85rem; font-weight: 700; }

.compare__col li em { font-style: italic; font-family: var(--serif); font-size: 1.1em; }

/* engagement models */
.models { margin-top: clamp(4rem, 8vw, 7rem); }
.models__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem 3rem; align-items: end; margin-bottom: 2.4rem; }
.models__head .label { grid-column: 1 / -1; margin: 0; }
.models__title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }
.models__title .serif { color: var(--lime); }
.models__head p { color: #a9a6a0; }
.models__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: transform 0.5s var(--ease), border-color 0.4s; }
.model:hover { transform: translateY(-6px); border-color: var(--line-2); }
.model__n { color: var(--lime); }
.model h4 { margin: 2rem 0 0.5rem; font-size: 1.45rem; letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.model > p { color: #a9a6a0; font-size: 0.95rem; }
.model ul { margin: 1.2rem 0 1.4rem; display: grid; gap: 0.55rem; font-size: 0.74rem; color: #d6d3cc; }
.model li { display: flex; gap: 0.55rem; }
.model li::before { content: "✓"; color: var(--lime); }
.model__best { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.model--hl { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.model--hl .model__n, .model--hl li::before { color: var(--bg); }
.model--hl > p, .model--hl ul { color: rgba(10, 10, 11, 0.75); }
.model--hl .btn { margin-top: auto; justify-content: center; }
.btn--dark { background: var(--bg); color: var(--fg); }
.btn--dark::before { background: #2a2a2e; }

/* ---------- team ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes angle { to { --ang: 360deg; } }
@keyframes turn { to { transform: rotate(360deg); } }
.team { position: relative; padding: 0 var(--gutter) clamp(100px, 13vw, 170px); }
.team__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem 4rem; align-items: end; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.team__head .label { grid-column: 1 / -1; margin: 0; }
.team__intro p { color: #a9a6a0; font-size: 1.04rem; }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder {
  position: relative; display: grid; grid-template-columns: minmax(190px, 0.9fr) 1.1fr; gap: clamp(1.4rem, 2.6vw, 2.4rem); align-items: center;
  padding: clamp(1.2rem, 2vw, 1.8rem); border-radius: 28px; isolation: isolate;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c1) 6%, transparent), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--c2) 4%, transparent), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line); transition: transform 0.6s var(--ease);
}
.founder::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--c1), transparent 28%, var(--c2) 52%, transparent 78%, var(--c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.32; animation: angle 14s steps(140) infinite;
}
.founder:hover { transform: translateY(-6px); }
.founder__media { position: relative; aspect-ratio: 1 / 1; }
.founder__aura { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, var(--c1), transparent); filter: blur(36px); opacity: 0.14; transition: opacity 0.5s; }
.founder__frame { position: relative; height: 100%; padding: 1.5px; border-radius: 26px; background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 60%, transparent), rgba(255, 255, 255, 0.08) 45%, color-mix(in srgb, var(--c2) 35%, transparent)); }
.founder__frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24.5px; transition: transform 0.9s var(--ease); }
.founder:hover .founder__frame img { transform: scale(1.03); }
.founder:hover .founder__aura { opacity: 0.24; }
.founder__badge {
  position: absolute; right: -12px; bottom: 16px; display: grid; gap: 0.15rem; padding: 0.7rem 0.95rem; border-radius: 16px;
  background: rgba(14, 14, 16, 0.85); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.75);
}
.founder__badge b { font-size: 2rem; letter-spacing: -0.05em; line-height: 1; color: var(--c1); }
.founder__badge small { color: #b4b1aa; font-size: 0.62rem; }
.founder__body { display: flex; flex-direction: column; align-items: flex-start; }
.founder__role { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c1); }
.founder__role i { width: 7px; height: 7px; border-radius: 50%; background: var(--c1); }
.founder h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.05em; font-weight: 600; margin: 0.5rem 0 0.8rem; line-height: 0.95; }
.founder p { color: #b4b1aa; font-size: 0.98rem; }
.founder__cos { margin: 1.3rem 0 1.5rem; }
.founder__cos > span { color: var(--muted); font-size: 0.66rem; }
.founder__cos ul { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.founder__cos li { padding: 0.4rem 0.78rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.founder__cos li:hover { background: var(--c1); color: var(--bg); border-color: var(--c1); }
.founder__link svg { width: 16px; height: 16px; }
.founder__link:hover svg { transform: none; }

/* Startup India certificate */
.cert {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-top: clamp(4rem, 8vw, 6.5rem); padding: clamp(1.6rem, 4vw, 3.6rem); border-radius: 32px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 100% 40%, rgba(255, 153, 51, 0.14), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(19, 136, 8, 0.16), transparent 60%), var(--bg-2);
}
.cert::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ff9933 0 33.3%, #f3f0ea 33.3% 66.6%, #138808 66.6%); }
.cert__title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; margin-bottom: 1.1rem; }
.cert__title .serif { color: #ffab57; }
.cert__copy p { color: #a9a6a0; }
.cert__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 1.6rem 0 0; }
.cert__facts div { padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.cert__facts dt { color: var(--muted); font-size: 0.64rem; }
.cert__facts dd { margin: 0.3rem 0 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.cert__stage { position: relative; display: grid; justify-items: center; gap: 1.1rem; }
.cert__card {
  position: relative; display: block; width: 100%; max-width: 640px; padding: 10px; border: 0; border-radius: 18px; cursor: pointer; transform-style: preserve-3d;
  background: linear-gradient(145deg, #f6ecd0, #c7b588 38%, #fbf3dc 58%, #b5a271 82%, #e9dcb5);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 90px -20px rgba(255, 171, 87, 0.45);
}
.cert__img { display: block; border-radius: 10px; overflow: hidden; background: #fff; }
.cert__img img { display: block; width: 100%; height: auto; }
.cert__shine { position: absolute; inset: 10px; border-radius: 10px; overflow: hidden; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.4), transparent 45%); mix-blend-mode: soft-light; }
.cert__shine::after { content: ""; position: absolute; top: -60%; bottom: -60%; left: -40%; width: 26%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: rotate(18deg); animation: certShine 5.5s ease-in-out infinite; }
@keyframes certShine { 0%, 55% { left: -40%; } 85%, 100% { left: 130%; } }
.cert__seal { position: absolute; right: -26px; bottom: -30px; width: 124px; height: 124px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6)); }
.cert__seal svg { width: 100%; height: 100%; overflow: visible; }
.seal__bg { fill: var(--lime); }
.seal__text { transform-origin: 60px 60px; animation: sealspin 18s linear infinite; }
@keyframes sealspin { to { transform: rotate(360deg); } }
.seal__text text { font: 700 9px/1 var(--mono); fill: var(--bg); }
.seal__core { fill: var(--bg); }
.seal__tick { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.cert__hint { color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; width: min(900px, 94vw); max-width: none; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 6, 0.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: lbIn 0.5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.94) translateY(20px); } }
.lightbox img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8); }
.lightbox__close { position: absolute; top: -48px; right: 0; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 20, 22, 0.85); color: var(--fg); cursor: pointer; }

/* ---------- outcomes banner ---------- */
.outcomes { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.outcomes__label { padding: 0 var(--gutter); color: var(--muted); margin-bottom: 2.4rem; }
.outcomes__row { position: relative; padding: clamp(0.7rem, 1.4vw, 1.2rem) 0; white-space: nowrap; }
.outcomes__row--lime { z-index: 2; background: var(--lime); color: var(--bg); transform: rotate(-2.2deg) scale(1.05); box-shadow: 0 30px 70px -24px rgba(200, 255, 62, 0.45); }
.outcomes__row--dark { background: #141417; border-block: 1px solid var(--line-2); transform: rotate(1.6deg) scale(1.05); margin-top: clamp(16px, 3.4vw, 50px); }
.outcomes__track { display: flex; width: max-content; will-change: transform; }
.outcomes__set { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); padding-right: clamp(1.2rem, 2.4vw, 2.2rem); }
.outcomes__set span { font-size: clamp(2.2rem, 6vw, 5.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.08; }
.outcomes__set span.o { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.outcomes__set i { font-style: normal; font-size: clamp(1.2rem, 2.6vw, 2.2rem); }
.outcomes__row--dark span:not(.o) { color: var(--fg); }
.outcomes__row--dark span.o, .outcomes__row--dark i { color: var(--lime); }

/* ---------- scroll progress + word-mask headings ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), #5ef0c8, #7cc4ff, #9b8cff); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(200, 255, 62, 0.6); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.12em 0; margin: 0 -0.08em -0.12em 0; }
.wi { display: inline-block; }

/* ---------- industries ---------- */
.industries { padding: 0 var(--gutter) clamp(100px, 14vw, 180px); overflow: hidden; }
.ind { border-top: 1px solid var(--line); }
.ind__item {
  position: relative; display: grid; grid-template-columns: 80px 1fr 1fr; align-items: center; gap: 1rem;
  padding: clamp(1.2rem, 2.4vw, 2rem) 0; border-bottom: 1px solid var(--line); cursor: default;
}
.ind__item::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: 0; }
.ind__item > * { position: relative; z-index: 1; transition: color 0.4s, transform 0.6s var(--ease); }
.ind__n { color: var(--muted); }
.ind__name { font-size: clamp(2rem, 5.6vw, 5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.ind__desc { color: var(--muted); max-width: 360px; justify-self: end; text-align: right; }
.ind__item:hover::before { transform: scaleY(1); }
.ind__item:hover > * { color: var(--bg); }
.ind__item:hover .ind__name { transform: translateX(1.2rem); }
.ind__item:hover .ind__n { transform: translateX(0.6rem); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem clamp(2rem, 6vw, 6rem); padding: clamp(90px, 12vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.faq__head { align-self: start; position: sticky; top: 110px; }
.faq__head p { color: #a9a6a0; margin-top: 1.6rem; }
.faq__head a { color: var(--lime); border-bottom: 1px solid rgba(200, 255, 62, 0.4); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; padding: 1.5rem 0; cursor: pointer; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -0.025em; font-weight: 500; transition: color 0.3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--lime); }
.qa summary i { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.4s var(--ease), border-color 0.4s, transform 0.5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.qa[open] summary i { background: var(--lime); border-color: var(--lime); color: var(--bg); transform: rotate(180deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a p { color: #a9a6a0; padding: 0 3.4rem 1.6rem 0; max-width: 680px; }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(110px, 15vw, 200px) var(--gutter); overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta__glow { position: absolute; width: 80vmax; height: 80vmax; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(200, 255, 62, 0.12), transparent 70%); pointer-events: none; }
.cta__title { font-size: clamp(3rem, 10vw, 10rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; position: relative; }
.cta__title .serif { color: var(--lime); }
.cta__sub { color: #b4b1aa; max-width: 560px; font-size: 1.15rem; margin: 2.2rem 0 3.4rem; position: relative; }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; max-width: 1000px; }
.field { position: relative; border-bottom: 1px solid var(--line-2); margin-bottom: 1.6rem; transition: border-color 0.4s; }
.field:focus-within { border-color: var(--lime); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; outline: 0; color: var(--fg);
  font: 400 1.2rem/1.4 var(--sans); padding: 1.6rem 0 0.8rem; resize: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-top: 1.6rem; }
.field select option { background: var(--bg-2); }
.field--select::after { content: "↓"; position: absolute; right: 0; bottom: 0.9rem; color: var(--muted); pointer-events: none; }
.field label { position: absolute; left: 0; top: 1.6rem; color: var(--muted); font-size: 1.2rem; pointer-events: none; transform-origin: left top; transition: transform 0.4s var(--ease), color 0.4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.3rem) scale(0.68); color: var(--lime); }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 1.4rem; }

.cta__actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: -1.4rem 0 3rem; }
.cta__or { color: var(--muted); }
.reach { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 3.4rem; max-width: 1000px; }
.reach__item { display: grid; gap: 0.35rem; padding: 1.2rem 1.3rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(17, 17, 19, 0.7); transition: border-color 0.3s, transform 0.4s var(--ease); }
.reach__item:hover { border-color: rgba(200, 255, 62, 0.4); transform: translateY(-3px); }
.reach__item span { color: var(--muted); }
.reach__item b { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; }

/* ---------- footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { color: #b4b1aa; width: fit-content; transition: color 0.3s; }
.footer__col a:hover { color: var(--lime); }
.footer__mail { font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.03em; color: var(--fg) !important; font-weight: 500; margin-bottom: 0.4rem; }
.footer address { font-style: normal; color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; line-height: 1.5; }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.socials a { padding: 0.35rem 0.75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.72rem; }
.socials a:hover { border-color: var(--lime); }
.footer__word {
  display: flex; justify-content: center; font-weight: 800; letter-spacing: -0.045em; line-height: 0.8;
  font-size: clamp(7rem, 31vw, 34rem); margin: clamp(3rem, 6vw, 5rem) 0 1.4rem; color: var(--fg); overflow: hidden;
}
.footer__word span { display: inline-block; }
.footer__word .q { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); flex-wrap: wrap; }
.totop:hover { color: var(--lime); }
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__brand img { width: 28px; height: 28px; border-radius: 50%; }

/* ---------- AI assistant ---------- */
.ai { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 140; }
.menu-open .ai { display: none; }
.ai__launch {
  position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 1.15rem 0.45rem 0.45rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(200, 255, 62, 0.35); background: rgba(14, 14, 16, 0.9); color: var(--fg);
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.8), 0 0 44px -10px rgba(200, 255, 62, 0.5);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.ai__launch:hover { transform: translateY(-3px); }
.ai__orb { position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.ai__orb::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from var(--ang), var(--lime), #5ef0c8, #7cc4ff, #9b8cff, var(--lime)); animation: turn 3s linear infinite; }
.ai__orb::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--lime); animation: hubping 2.4s var(--ease) infinite; }
.ai__orb img { position: relative; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.ai__online { position: absolute; right: -1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #2bd96b; border: 2px solid #0e0e10; z-index: 1; }
.ai__launch-txt { display: grid; text-align: left; line-height: 1.2; }
.ai__launch-txt b { font-size: 0.95rem; letter-spacing: -0.02em; }
.ai__launch-txt small { font-size: 0.68rem; color: var(--muted); }
.ai.is-open .ai__launch { opacity: 0; transform: scale(0.85); pointer-events: none; }

.ai__teaser { position: absolute; right: 0; bottom: calc(100% + 12px); display: flex; align-items: flex-start; width: 250px; border-radius: 18px 18px 4px 18px; background: var(--fg); color: var(--bg); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(10px) scale(0.96); transform-origin: bottom right; pointer-events: none; transition: opacity 0.4s, transform 0.5s var(--ease); }
.ai__teaser.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.ai__teaser-open { flex: 1; padding: 0.85rem 0.4rem 0.85rem 1rem; border: 0; background: none; color: inherit; font: 400 0.88rem/1.4 var(--sans); text-align: left; cursor: pointer; }
.ai__teaser-open b { font-weight: 600; }
.ai__teaser-x { padding: 0.6rem 0.75rem; border: 0; background: none; color: rgba(10, 10, 11, 0.5); cursor: pointer; font-size: 0.8rem; }

.ai__panel {
  position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; overflow: hidden;
  width: min(400px, calc(100vw - 28px)); height: min(620px, calc(100vh - 40px)); border-radius: 26px;
  background: rgba(13, 13, 15, 0.97); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 70px -24px rgba(200, 255, 62, 0.4);
  transform-origin: bottom right; transform: scale(0.6) translateY(20px); opacity: 0; visibility: hidden;
  transition: transform 0.55s var(--ease), opacity 0.35s, visibility 0s linear 0.55s;
}
.ai.is-open .ai__panel { transform: none; opacity: 1; visibility: visible; transition: transform 0.55s var(--ease), opacity 0.35s, visibility 0s; }
.ai__head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1rem 0.9rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(200, 255, 62, 0.09), transparent); }
.ai__avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(200, 255, 62, 0.5); }
.ai__avatar img { width: 100%; height: 100%; }
.ai__title { display: grid; flex: 1; line-height: 1.25; }
.ai__title b { font-size: 0.98rem; letter-spacing: -0.02em; }
.ai__title small { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.62rem; }
.ai__title small i { width: 7px; height: 7px; border-radius: 50%; background: #2bd96b; box-shadow: 0 0 8px #2bd96b; }
.ai__icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; transition: background 0.3s, color 0.3s; }
.ai__icon:hover { background: var(--fg); color: var(--bg); }
.ai__body { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2a2a2e transparent; }
.msg { max-width: 86%; padding: 0.7rem 0.9rem; border-radius: 18px; font-size: 0.92rem; line-height: 1.5; animation: msgIn 0.45s var(--ease); overflow-wrap: anywhere; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.msg--bot { align-self: flex-start; background: #1a1a1e; border: 1px solid rgba(255, 255, 255, 0.07); border-bottom-left-radius: 6px; color: #dcd9d2; }
.msg--user { align-self: flex-end; background: var(--lime); color: var(--bg); border-bottom-right-radius: 6px; font-weight: 500; }
.msg p { margin: 0 0 0.55em; }
.msg p:last-child { margin-bottom: 0; }
.msg ul { margin: 0.2em 0 0.55em; padding-left: 1.15em; list-style: disc; }
.msg ul:last-child { margin-bottom: 0; }
.msg li { margin: 0.18em 0; }
.msg li::marker { color: var(--lime); }
.msg strong { color: var(--fg); font-weight: 600; }
.msg--user strong { color: inherit; }
.msg a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.msg__tag { display: block; margin-top: 0.45rem; color: var(--muted); font: 0.6rem var(--mono); }
.typing { display: inline-flex; gap: 4px; padding: 0.25rem 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.ai__chips { display: flex; gap: 0.4rem; padding: 0 1rem 0.75rem; overflow-x: auto; scrollbar-width: none; }
.ai__chips::-webkit-scrollbar { display: none; }
.ai__chip { flex-shrink: 0; padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px solid rgba(200, 255, 62, 0.3); background: rgba(200, 255, 62, 0.05); color: #dcd9d2; font: 500 0.76rem var(--sans); white-space: nowrap; cursor: pointer; transition: background 0.25s, color 0.25s; }
.ai__chip:hover { background: var(--lime); color: var(--bg); }
.ai.is-busy .ai__chip { opacity: 0.5; pointer-events: none; }
.ai__form { display: flex; align-items: flex-end; gap: 0.5rem; margin: 0 0.8rem; padding: 0.4rem 0.4rem 0.4rem 0.95rem; border-radius: 18px; background: #1a1a1e; border: 1px solid var(--line-2); transition: border-color 0.3s; }
.ai__form:focus-within { border-color: rgba(200, 255, 62, 0.6); }
.ai__form textarea { flex: 1; max-height: 110px; padding: 0.5rem 0; border: 0; outline: 0; resize: none; background: transparent; color: var(--fg); font: 400 0.92rem/1.4 var(--sans); }
.ai__form textarea::placeholder { color: var(--muted); }
.ai__send { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--lime); color: var(--bg); cursor: pointer; transition: transform 0.3s var(--ease), opacity 0.3s; }
.ai__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ai__send:hover { transform: scale(1.06); }
.ai__send:disabled { opacity: 0.4; cursor: default; transform: none; }
.ai__note { padding: 0.55rem 1rem 0.8rem; color: var(--muted); font-size: 0.66rem; text-align: center; }
.ai__note a { color: #b4b1aa; text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .models__grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; }
  .cert { grid-template-columns: 1fr; }
  .clients__head { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav .btn--sm { display: none; }
  .chip--b { display: none; }
}

@media (max-width: 900px) {
  .devices__head { grid-template-columns: 1fr; }
  .beams, .hub { display: none; }
  .models__head, .team__head { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .reach { grid-template-columns: 1fr; }
  .platforms { grid-column: 1; }
  .br-d { display: none; }
  .stage__inner { width: 600px; height: 940px; }
  .dev--web { left: 20px; top: 0; width: 560px; }
  .browser { height: 380px; }
  .b-score { display: none; }
  .dev--web .dev__tag { display: none; }
  .browser__engines b:nth-child(n+3) { display: none; }
  .dev--ios { left: 26px; top: 380px; }
  .dev--android { right: 26px; top: 400px; }
  .stage__rings i:nth-child(1) { width: 360px; height: 360px; }
  .stage__rings i:nth-child(2) { width: 560px; height: 560px; }
  .o3, .o5, .o7 { display: none; }
  .o1 { left: 2%; top: -5%; }
  .o2 { left: 74%; top: -5%; }
  .o4 { left: -2%; top: 64%; }
  .o6 { left: 86%; top: 66%; }
  .orb { font-size: 0.9rem; }
  .matrix { padding: 1.2rem 0.9rem; }
  .mtx { min-width: 0; font-size: 0.62rem; border-spacing: 0 4px; }
  .mtx thead th { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; padding: 0 0 0.4rem; height: 64px; }
  .mtx tbody th { white-space: normal; padding-right: 0.6rem; line-height: 1.25; }
  .mtx tbody th .pill { display: none; }
  .mtx td { height: 34px; }
  .mtx td::before { width: 16px; height: 16px; font-size: 9px; }
  .services__pin { min-height: 0; padding: 90px 0 40px; }
  .services__head { grid-template-columns: 1fr; }
  .services__progress { display: none; }
  .services__track { width: auto; flex-direction: column; }
  .card { width: 100%; min-height: 0; }
  .live { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compare { grid-template-columns: 1fr; }
  .ind__item { grid-template-columns: 44px 1fr; }
  .ind__desc { grid-column: 2; justify-self: start; text-align: left; font-size: 0.92rem; }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .chip--a { right: 16px; top: 96px; }
  .chip--c { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .terminal__body { height: 300px; font-size: 0.6rem; padding: 14px 12px; }
  .terminal__stats { gap: 0.8rem; flex-wrap: wrap; }
  .btn--xl { width: 100%; justify-content: center; }
  .models__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__media { width: min(100%, 280px); }
  .founder__badge { right: -8px; }
  .cert { padding: 1.4rem 1.1rem 2.6rem; }
  .cert__seal { width: 84px; height: 84px; right: -10px; bottom: -22px; }
  .cstat { padding: 0.8rem 0.7rem; }
  .wall__inner { transform: rotateX(10deg) rotateZ(-3deg) scale(1.05); gap: 12px; }
  .wall__set { gap: 12px; padding-right: 12px; }
  .ai__launch { padding: 0.4rem; }
  .ai__launch-txt { display: none; }
  .ai__panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .ai__teaser { width: 220px; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .qa__a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
}

/* Phones: swap live blurs for solid fills; the blur re-renders on every scroll frame. */
@media (max-width: 900px) {
  .nav.is-scrolled { background: rgba(10, 10, 11, 0.92); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .wall__lens { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
