/* =========================================================
   K-ChainFintech — design system
   ========================================================= */
:root {
  --bg: #05060d;
  --bg-2: #080b15;
  --surface: rgba(13, 18, 31, 0.72);
  --surface-solid: #0b101c;
  --surface-2: #101727;
  --line: rgba(150, 168, 220, 0.11);
  --line-2: rgba(150, 168, 220, 0.2);
  --text: #eef1f8;
  --muted: #8f98af;
  --dim: #5c6580;

  --cyan: #3ee0ff;
  --blue: #6f8cff;
  --violet: #a46bff;
  --risk: #ff6b81;
  --ok: #46f2b4;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--violet));

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(62, 224, 255, .3); }

.mono { font-family: var(--mono); letter-spacing: .04em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hide-sm { }

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 70%);
  opacity: .5;
}
/* site-wide digital rain, very quiet (js/visuals.js fades it in after the hero) */
.bg-rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s; }
.bg-grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(62, 224, 255, .6);
}

/* ---------- neon glyphs (cropped from assets/icons.webp) ----------
   The sheet is 1254×1254. main.js keys out the black background
   and exposes the result as --glyph-sheet. */
.glyph { display: block; position: relative; width: var(--w, 200px); aspect-ratio: 1; pointer-events: none; flex: none; }
.glyph::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 140, 255, .35), rgba(164, 107, 255, .12) 50%, transparent 72%);
  filter: blur(18px); opacity: 0; transition: opacity 1.2s;
}
.glyph__img {
  position: absolute; inset: 0;
  background-image: var(--glyph-sheet, none); background-repeat: no-repeat;
  background-size: var(--bs); background-position: var(--bx) var(--by);
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  opacity: 0; transition: opacity 1.2s var(--ease);
  animation: glyphFloat 7s ease-in-out infinite;
}
.glyphs-ready .glyph__img, .glyphs-ready .glyph::before { opacity: 1; }
.glyph--key    { --bs: 266.8%; --bx: 10.6%; --by: 6.1%; }
.glyph--shield { --bs: 285%;   --bx: 87.5%; --by: 8.6%; }
.glyph--phone  { --bs: 338.9%; --bx: 3.4%;  --by: 76.9%; }
.glyph--cloud  { --bs: 338.9%; --bx: 49.8%; --by: 78.6%; }
.glyph--globe  { --bs: 338.9%; --bx: 96.7%; --by: 79.4%; }
/* main "K" logo mark, cropped from assets/logo.webp (x 280–1080, y 145–945) */
.glyph--logo  { --bs: 156.75%; --bx: 61.7%; --by: 31.9%; }
.glyph--logo .glyph__img { background-image: var(--logo-sheet, none); }
.logo-ready .glyph--logo .glyph__img, .logo-ready .glyph--logo::before { opacity: 1; }
@keyframes glyphFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4%) rotate(-2deg); }
}

/* placements */
.hud-wrap { position: relative; }
.hud-wrap .hud { z-index: 1; }
.sec-head--split.sec-head--glyph { grid-template-columns: 1fr 1fr auto; }
.sec-head--glyph .glyph { --w: clamp(130px, 13vw, 190px); align-self: center; margin: -40px 0 -30px; }
/* scene transitions: soft light-wipe mask (animated by main.js) */
@property --wipe { syntax: "<percentage>"; inherits: false; initial-value: 125%; }
.wipe {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 25%), transparent var(--wipe));
  mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 25%), transparent var(--wipe));
}
/* glyph "hero object" with a ring of light behind it */
.glyph-stage { position: relative; display: grid; place-items: center; perspective: 700px; align-self: center; }
.glyph-ring { position: absolute; width: 112%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-44%, -56%); overflow: visible; pointer-events: none; }
.glyph-ring circle {
  fill: none; stroke: rgba(235, 242, 255, .85); stroke-width: 1.1; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.9)) drop-shadow(0 0 10px rgba(62,224,255,.7));
}
.scanner__core { position: absolute; left: 50%; top: 50%; --w: 34%; transform: translate(-50%, -50%); }
.hud__badge .glyph { --w: 22px; }
.hud__badge .glyph__img { animation: none; }
.hud__badge .glyph::before { display: none; }
.footer__sign { position: relative; display: grid; justify-items: center; margin-top: 20px; }
.footer__glyph { --w: clamp(120px, 14vw, 200px); margin-bottom: -3%; z-index: 1; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path 1s var(--ease), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { width: min(300px, 76vw); display: grid; gap: 18px; justify-items: center; }
.preloader__logo {
  width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; animation: plIn 1.2s var(--ease) both;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 78%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 78%, transparent 100%);
}
.preloader__logo img { position: absolute; width: 125%; max-width: none; left: -13%; top: -10%; mix-blend-mode: screen; filter: drop-shadow(0 0 24px rgba(120, 140, 255, .5)); }
@keyframes plIn { from { opacity: 0; transform: scale(.85); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.preloader__meta { width: 100%; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.preloader__count { color: var(--text); }
.preloader__bar { width: 100%; height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- buttons / chips ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
  position: relative;
}
.btn--sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 15px; }
.btn--primary {
  color: #06070d;
  background: linear-gradient(180deg, #f4f6fb, #c9d3e6);
  box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 10px 30px -10px rgba(62, 224, 255, .45);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 14px 40px -8px rgba(62, 224, 255, .7), 0 0 0 4px rgba(62,224,255,.08); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--text); }
.btn--ghost:hover { border-color: rgba(62, 224, 255, .5); background: rgba(62, 224, 255, .06); }
.btn:not(.btn3d) span { transition: transform .3s var(--ease); }
.btn:not(.btn3d):hover span { transform: translateX(3px); }

/* ---------- 3D press buttons ----------
   Vanilla take on the "3D button" component: a deck (base block) under a face (surface).
   Hover lifts the face 2px, press pushes it 6px down onto the deck with a springy curve;
   a sheen stripe sweeps across and a press spot darkens the centre.
   main.js wraps each .btn's content into the deck/face/label markup and adds .btn3d. */
.btn.btn3d {
  --spring: cubic-bezier(.3, 1.6, .5, 1);
  --t: .32s;
  --press: 6px;
  height: auto; padding: 0 0 var(--press); border: 0; background: none; box-shadow: none;
  border-radius: 999px; isolation: isolate; min-width: 9.5rem;
}
.btn.btn3d:hover { background: none; box-shadow: none; border: 0; }
.btn.btn3d.btn--sm { --press: 5px; min-width: 0; }
.btn3d .btn__deck {
  position: absolute; inset: var(--press) 0 0 0; z-index: -1; border-radius: inherit;
  transition: transform var(--t) var(--spring), box-shadow .3s;
}
.btn3d .btn__face {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: var(--h); padding: 0 26px; border-radius: inherit; overflow: hidden;
  transition: transform var(--t) var(--spring); backface-visibility: hidden; will-change: transform;
}
.btn3d.btn--sm .btn__face { padding: 0 16px; }
.btn3d.btn--lg .btn__face { padding: 0 28px; }
.btn3d .btn__spot {
  position: absolute; top: 4px; bottom: 4px; left: 50%; width: 42px; margin-left: -21px; border-radius: 999px;
  filter: blur(4px); opacity: 0; transform: scaleX(.25); pointer-events: none;
  transition: transform var(--t) var(--spring), opacity var(--t);
}
.btn3d .btn__sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 50%; pointer-events: none;
  opacity: 0; transform: translateX(-100%);
  transition: transform calc(var(--t) * 1.4) var(--spring), opacity var(--t);
}
.btn3d .btn__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; transition: transform var(--t) var(--spring); }
.btn3d .btn__label span { transition: transform .3s var(--ease); }

.btn3d:hover .btn__deck { transform: translateY(1px); }
.btn3d:hover .btn__face { transform: translateY(-2px); }
.btn3d:hover .btn__spot { opacity: .3; transform: scaleX(.45); }
.btn3d:hover .btn__sheen { opacity: .75; transform: translateX(-35%); }
.btn3d:hover .btn__label { transform: translateY(-1px); }
.btn3d:hover .btn__label span { transform: translateX(3px); }
.btn3d:active .btn__deck { transform: translateY(-1px); }
.btn3d:active .btn__face { transform: translateY(var(--press)); }
.btn3d:active .btn__spot { opacity: 1; transform: scaleX(1); }
.btn3d:active .btn__sheen { opacity: .9; transform: translateX(82%); }
.btn3d:active .btn__label { transform: translateY(1px); }
.btn3d:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn3d:disabled { opacity: .5; pointer-events: none; }

/* primary: light face on a glowing brand-gradient deck */
.btn3d.btn--primary .btn__deck {
  background: linear-gradient(90deg, #2bb8dd, #6f8cff 50%, #8e55ec);
  box-shadow: 0 10px 22px -4px rgba(62, 224, 255, .35), 0 6px 28px -6px rgba(164, 107, 255, .45);
}
.btn3d.btn--primary:hover .btn__deck { box-shadow: 0 12px 30px -4px rgba(62, 224, 255, .5), 0 8px 36px -6px rgba(164, 107, 255, .6); }
.btn3d.btn--primary .btn__face {
  background: linear-gradient(180deg, #f8faff, #e3e8f3); color: #06070d;
  box-shadow: inset 0 0 0 1px rgb(208, 214, 228), inset 0 2px 0 rgba(255,255,255,.95), inset 0 -2px 0 rgba(24,24,40,.07);
}
.btn3d.btn--primary .btn__spot { background: rgba(10, 12, 30, .12); }
.btn3d.btn--primary .btn__sheen { background: linear-gradient(90deg, transparent, #fff, transparent); }

/* ghost: dark face with a light rim on a white deck (the component's dark mode) */
.btn3d.btn--ghost .btn__deck {
  background: linear-gradient(90deg, #dff6ff, #e9e2ff);
  box-shadow: 0 10px 18px rgba(255, 255, 255, .1);
}
.btn3d.btn--ghost .btn__face {
  background: linear-gradient(180deg, #151b2b, #0d1220); color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), inset 0 2px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.35);
}
.btn3d.btn--ghost .btn__spot { background: rgba(255, 255, 255, .2); }
.btn3d.btn--ghost .btn__sheen { background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  font-size: 11px; text-transform: uppercase; color: var(--muted);
  background: rgba(10, 14, 25, .6); backdrop-filter: blur(6px);
}
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); flex: none; }
.dot--live { background: var(--ok); box-shadow: 0 0 0 0 rgba(70, 242, 180, .6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(70,242,180,.55); } 70% { box-shadow: 0 0 0 7px rgba(70,242,180,0); } 100% { box-shadow: 0 0 0 0 rgba(70,242,180,0); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--grad); transform: scaleX(-1); }

.h2 {
  font-size: clamp(34px, 5vw, 62px); line-height: 1.04; font-weight: 400; letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 30%, #9ea8c0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2 .grad { -webkit-text-fill-color: transparent; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 6, 13, .7); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; position: relative; overflow: hidden; flex: none;
  background: #04050c; border: 1px solid var(--line-2);
  box-shadow: 0 0 20px -6px rgba(140, 120, 255, .6);
}
/* crop of assets/logo.webp (1254×1254) to the "K" mark: x 280–1080, y 145–945 */
.brand__mark img { position: absolute; width: 157%; max-width: none; left: -35%; top: -18%; mix-blend-mode: screen; }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: #c9f3ff; }
.brand__text strong span { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__text small { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
/* nav links: glass capsule with a sliding light pill (js/main.js moves it) */
.nav__links {
  position: relative; display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 27, 45, .55), rgba(10, 14, 25, .55));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 30px -20px rgba(0, 0, 0, .9);
}
.nav__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.nav__link i { font-style: normal; font-size: 9.5px; letter-spacing: .06em; color: var(--dim); transition: color .3s, text-shadow .3s; }
.nav__link:hover, .nav__link.is-current { color: var(--text); }
.nav__link:hover i, .nav__link.is-current i { color: var(--cyan); text-shadow: 0 0 8px rgba(62, 224, 255, .7); }
.nav__pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(62, 224, 255, .14), rgba(164, 107, 255, .1));
  box-shadow: inset 0 0 0 1px rgba(62, 224, 255, .35), 0 0 18px -4px rgba(62, 224, 255, .45);
  opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav__pill::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: -1px; height: 1px; background: var(--grad); box-shadow: 0 0 8px var(--cyan); }
.nav__pill.is-on { opacity: 1; }
.nav__mobile-cta { display: none !important; }
.nav__actions { display: flex; gap: 10px; }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 78% 45%, rgba(111, 140, 255, .12), transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 30%, rgba(164, 107, 255, .08), transparent 70%),
    linear-gradient(90deg, rgba(5,6,13,.85) 0%, rgba(5,6,13,.35) 45%, rgba(5,6,13,0) 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero__robot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__robot.is-ready { opacity: 1; }
.hero__spline {
  position: absolute; right: -4%; top: 0; width: 56%; height: 100%; z-index: -1;
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.hero__spline canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__spline.is-ready { opacity: 1; }
/* cursor spotlight (vanilla take on the Spotlight component) */
.hero__spot {
  position: absolute; left: 0; top: 0; width: 560px; height: 560px; z-index: -1; pointer-events: none;
  border-radius: 50%; filter: blur(30px); opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(225, 235, 255, .11), rgba(111, 140, 255, .06) 40%, transparent 70%);
  will-change: transform;
}
.hero:hover .hero__spot { opacity: 1; }
/* call-outs sit at fixed spots around the Spline robot */
.spline-on .achip { opacity: 1; transform: none; }
.spline-on .achip[data-chip="0"] { left: auto; right: 34%; top: 20%; }
.spline-on .achip[data-chip="1"] { left: 82%; top: 31%; }
.spline-on .achip[data-chip="2"] { left: auto; right: 37%; top: 43%; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: calc(100svh - 210px);
}
.hero__inner .hud-wrap { align-self: end; justify-self: end; width: min(100%, 430px); margin-bottom: -20px; }
.hero__chip { margin-bottom: 30px; }
.hero__title {
  font-family: "Anton", var(--font); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 5.5vw, 92px); line-height: .92; letter-spacing: .01em;
  margin-bottom: 30px;
}
.hero__count { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 12px; color: var(--dim); }
.hero__count b { color: var(--text); font-weight: 500; }
.hero__count i { position: relative; width: 96px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__count i span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* analysis call-outs around the robot */
.achips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.achip {
  position: absolute; left: 0; top: 0; display: grid; gap: 3px; padding: 9px 13px 10px;
  border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(9, 13, 24, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap; opacity: 0; transition: opacity .8s var(--ease), border-color .4s, box-shadow .4s;
  will-change: transform;
}
.achip.is-placed { opacity: 1; }
.achip::before { /* leader line toward the robot */
  content: ""; position: absolute; top: 50%; width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 168, 220, .5));
}
.achip::after { content: ""; position: absolute; top: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.achip[data-side="left"]::before { left: 100%; }
.achip[data-side="left"]::after { left: calc(100% + 28px); }
.achip[data-side="right"]::before { right: 100%; transform: scaleX(-1); }
.achip[data-side="right"]::after { right: calc(100% + 28px); }
.achip__k { display: flex; align-items: center; gap: 7px; font-size: 9.5px; text-transform: uppercase; color: var(--muted); }
.achip__k i { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); transition: background .3s, box-shadow .3s; }
.achip__v { font-size: 12.5px; font-weight: 500; color: var(--text); transition: color .3s; }
.achip.is-active { border-color: rgba(62, 224, 255, .5); box-shadow: 0 0 0 3px rgba(62,224,255,.06), 0 0 30px -8px rgba(62,224,255,.6); }
.achip.is-active .achip__k i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.achip.is-active .achip__v { color: #bff4ff; }

/* vertical labels on the right edge */
.hero__rail { position: absolute; right: clamp(14px, 1.6vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 34px; z-index: 2; }
.hero__rail li {
  writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--dim); position: relative; transition: color .4s;
}
.hero__rail li::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 8px); width: 1px; height: 0; background: var(--grad); transition: height .6s var(--ease); }
.hero__rail li.is-active { color: var(--text); }
.hero__rail li.is-active::after { height: 18px; }

/* rotating seal (ref: circular badge) */
.seal { position: absolute; left: -64px; bottom: 56px; width: 128px; height: 128px; z-index: 3; pointer-events: none; }
.hero .hud__status .hide-sm, .hero .hud__legend { display: none; }
.hero .hud__conf span { white-space: nowrap; }
.seal__ring { width: 100%; height: 100%; animation: spin2 22s linear infinite; overflow: visible; }
.seal__ring text { font-family: var(--mono); font-size: 8.6px; fill: var(--muted); letter-spacing: 1px; }
.seal__key { position: absolute; left: 50%; top: 50%; --w: 66px; transform: translate(-50%, -50%); }
.seal::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 6, 13, .55); backdrop-filter: blur(6px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .line--accent > span {
  background: linear-gradient(90deg, #bff4ff, var(--cyan) 30%, var(--blue) 60%, var(--violet));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; color: var(--dim); }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* HUD */
.hud {
  position: relative; border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 22, 38, .82), rgba(9, 13, 24, .82));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform-style: preserve-3d; will-change: transform;
}
.hud::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--cyan) 80%, var(--violet) 88%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite; opacity: .8;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.hud__glow { position: absolute; inset: 10% 5%; z-index: -1; filter: blur(60px); background: radial-gradient(circle, rgba(111,140,255,.25), transparent 70%); }
.hud__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.hud__title { display: flex; align-items: center; gap: 10px; }
.hud__title b { color: var(--text); font-weight: 500; }
.hud__badge { display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 6px; font-size: 9px; color: var(--text); }
.hud__status { display: flex; align-items: center; gap: 14px; }
.hud__live { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.hud__body { padding: 14px 18px 18px; }
.hud__sub { display: flex; justify-content: space-between; font-size: 9px; color: var(--dim); margin-bottom: 6px; }
.hud__graph { position: relative; aspect-ratio: 600 / 360; container-type: inline-size; }
.hud__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hud__bracket { fill: none; stroke: var(--line-2); stroke-width: 1; }
.hud__route { fill: none; stroke-linejoin: round; }
.hud__route--primary { stroke: url(#gTrace); stroke-width: 1.6; }
.hud__route--secondary { stroke: rgba(150, 168, 220, .35); stroke-width: 1.2; stroke-dasharray: 3 5; }
.pk--a { fill: #c8f6ff; }
.pk--b { fill: var(--violet); }
.hud__tag {
  position: absolute; transform: translate(-50%, -50%); padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 5px;
  font-size: clamp(6px, 1.35cqw, 8.5px); color: var(--muted); background: var(--surface-solid); white-space: nowrap;
}
.hnode {
  position: absolute; transform: translate(-50%, -50%);
  padding: 1.6cqw 1.8cqw; border-radius: 8px;
  background: linear-gradient(180deg, #121a2c, #0c1220);
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.8);
  transition: border-color .4s, box-shadow .4s;
}
.hnode.is-hot { border-color: rgba(62, 224, 255, .55); box-shadow: 0 0 0 3px rgba(62,224,255,.08), 0 0 30px -6px rgba(62,224,255,.5); }
.hnode__k { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: clamp(5.5px, 1.4cqw, 9px); color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.hnode__k i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex: none; }
.hnode__k em { margin-left: auto; font-style: normal; color: var(--dim); }
.hnode__v { font-family: var(--mono); font-size: clamp(8px, 2.25cqw, 14px); color: var(--text); margin: .6cqw 0 .3cqw; white-space: nowrap; }
.hnode__s { font-family: var(--mono); font-size: clamp(5px, 1.2cqw, 8px); color: var(--dim); letter-spacing: .06em; white-space: nowrap; }
.hnode--risk { background: linear-gradient(180deg, #2a121b, #160b12); border-color: rgba(255, 107, 129, .35); }
.hnode--risk .hnode__k i { background: var(--risk); box-shadow: 0 0 8px var(--risk); }
.hnode--ok { background: linear-gradient(180deg, #0e2a22, #0a1a16); border-color: rgba(70, 242, 180, .35); }
.hnode--ok .hnode__k i { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hnode--ok.is-hot { border-color: rgba(70, 242, 180, .7); box-shadow: 0 0 0 3px rgba(70,242,180,.08), 0 0 34px -6px rgba(70,242,180,.6); }
.hud__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--dim); }
.hud__legend { display: flex; gap: 16px; }
.hud__legend span { display: inline-flex; align-items: center; gap: 7px; }
.ln { width: 16px; height: 1.5px; display: inline-block; }
.ln--a { background: var(--grad); }
.ln--b { background: repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 6px); }
.hud__conf { display: flex; align-items: center; gap: 12px; }
.hud__conf b { color: var(--text); font-weight: 500; font-size: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--cyan); }

/* trust marquee */
.trust { border-block: 1px solid var(--line); background: rgba(8, 11, 21, .7); overflow: hidden; }
.trust__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__list { display: flex; flex: none; }
.trust__list li { display: flex; align-items: center; gap: 14px; padding: 22px 36px; font-size: 12px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.trust__list li::before { content: "✓"; color: var(--cyan); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0 0; position: relative; }
.section--tight { padding-bottom: var(--section); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head__desc { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 560px; }
.sec-head--center .sec-head__desc { margin: 22px auto 0; }
.sec-head--split .sec-head__desc { padding-bottom: 8px; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* cards + spotlight */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 224, 255, .65), rgba(164, 107, 255, .35) 35%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(111, 140, 255, .09), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.card {
  padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 23, 39, .75), rgba(10, 14, 25, .75));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 26px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.icon svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon { border-color: rgba(62, 224, 255, .45); background: rgba(62,224,255,.06); box-shadow: 0 0 24px -6px rgba(62,224,255,.6); }
.card--row { display: flex; gap: 18px; padding: 26px; }
.card--row .icon { margin: 0; flex: none; }
.card--row h3 { font-size: 16px; margin-bottom: 6px; }
.card--num .num { display: inline-block; font-size: 11px; color: var(--cyan); margin-bottom: 30px; padding: 4px 8px; border: 1px solid rgba(62,224,255,.25); border-radius: 6px; }

/* ---------- case intake modal ---------- */
.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; }
.cm { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; margin: auto; border: 0; background: transparent; color: var(--text); overflow: visible; }
.cm::backdrop { background: rgba(3, 4, 10, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cm[open] { animation: cmIn .5s var(--ease); }
.cm[open]::backdrop { animation: cmFade .4s ease; }
@keyframes cmIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
.cm__card {
  position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 40px); overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 50% at 85% 0%, rgba(111, 140, 255, .14), transparent 60%), linear-gradient(180deg, #0e1424, #080b15);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.cm__card::before { /* faint scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px);
}
.cm__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.cm__meta { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cm__meta b { color: var(--cyan); font-weight: 500; letter-spacing: .08em; }
.cm__close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; transition: color .3s, border-color .3s, transform .4s var(--ease); }
.cm__close:hover { color: var(--text); border-color: var(--cyan); transform: rotate(90deg); }
.cm__intro { padding: 22px 26px 6px; }
.cm__title { font-size: clamp(24px, 3vw, 32px); font-weight: 400; letter-spacing: -.035em; }
.cm__intro p { margin-top: 8px; max-width: 560px; font-size: 14px; font-weight: 300; color: #aeb6cb; }
.cm__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 26px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cm__steps li { display: flex; align-items: center; gap: 8px; transition: color .4s; }
.cm__steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: 0; transition: all .4s; }
.cm__steps li.is-current { color: var(--text); }
.cm__steps li.is-current span { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px -2px var(--cyan); }
.cm__steps li.is-done { color: var(--muted); }
.cm__steps li.is-done span { border-color: rgba(62, 224, 255, .4); background: rgba(62, 224, 255, .12); color: var(--cyan); }
.cm__progress { height: 2px; margin: 0 26px; background: var(--line); border-radius: 2px; overflow: hidden; }
.cm__progress i { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 10px var(--cyan); transform-origin: left; transform: scaleX(.333); transition: transform .6s var(--ease); }
.cm__body { position: relative; flex: 1; overflow-y: auto; padding: 22px 26px 8px; overscroll-behavior: contain; }
.cm__step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.cm__step.is-active { display: block; animation: cmStep .5s var(--ease); }
@keyframes cmStep { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.cm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fld { display: grid; gap: 7px; align-content: start; }
.fld--full { grid-column: 1 / -1; }
.fld__l { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld__l em, .consent em { font-style: normal; color: var(--cyan); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025); color: var(--text); font: inherit; font-size: 14.5px;
  color-scheme: dark; outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.fld textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.fld input::placeholder, .fld textarea::placeholder { color: #5c6580; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233ee0ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.fld select option { background: #0b101c; color: var(--text); }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(150, 168, 220, .32); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: rgba(62, 224, 255, .6); background: rgba(62, 224, 255, .04); box-shadow: 0 0 0 4px rgba(62, 224, 255, .08); }
.fld input[name="txhash"], .fld input[name="wallet"] { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.fld__err { min-height: 0; font-size: 11.5px; color: var(--risk); }
.fld.is-invalid input, .fld.is-invalid select, .fld.is-invalid textarea { border-color: rgba(255, 107, 129, .6); box-shadow: 0 0 0 4px rgba(255, 107, 129, .07); }
.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 24px 16px; border-radius: 14px; cursor: pointer; text-align: center;
  border: 1px dashed rgba(150, 168, 220, .35); background: rgba(255, 255, 255, .015); color: var(--muted); font-size: 14px; transition: border-color .3s, background .3s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop b { color: var(--text); font-weight: 600; }
.drop small { font-size: 10.5px; letter-spacing: .1em; color: var(--dim); }
.drop:hover, .drop.is-over { border-color: rgba(62, 224, 255, .6); background: rgba(62, 224, 255, .05); }
.drop__list { display: grid; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.drop__list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.drop__list li span:last-child { color: var(--dim); }
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: #c4cadb; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); display: grid; place-items: center; transition: all .3s; }
.consent i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #06070d; border-bottom: 2px solid #06070d; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s var(--ease); }
.consent input:checked + i { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px -2px var(--cyan); }
.consent input:checked + i::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible + i { box-shadow: 0 0 0 4px rgba(62, 224, 255, .2); }
.cm__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px 20px; border-top: 1px solid var(--line); }
.cm__secure { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.cm__secure svg { width: 13px; height: 13px; fill: none; stroke: var(--ok); stroke-width: 1.8; }
#cmBack[hidden] { display: inline-flex !important; visibility: hidden; }
.cm__foot[hidden] { display: none; }
.cm.is-sending .cm__body { pointer-events: none; }
.cm__sending { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(8, 11, 21, .88); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.cm__sending i { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(62, 224, 255, .2); border-top-color: var(--cyan); animation: spin2 .9s linear infinite; }
.cm__done { display: grid; justify-items: center; gap: 12px; padding: 18px 10px 28px; text-align: center; }
.cm__done[hidden] { display: none; }
.cm__done-ring svg { width: 72px; height: 72px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cm__done-ring circle { stroke: var(--ok); stroke-width: 1.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: cmDraw .8s var(--ease) forwards; filter: drop-shadow(0 0 8px rgba(70, 242, 180, .6)); }
.cm__done-ring path { stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: cmDraw .5s .6s var(--ease) forwards; }
@keyframes cmDraw { to { stroke-dashoffset: 0; } }
.cm__done h3 { font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.cm__done p { max-width: 460px; font-size: 14.5px; color: var(--muted); }
.cm__done p b { color: var(--cyan); font-weight: 500; }
.cm__demo { font-size: 10.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--dim) !important; }
/* simplified, client-friendly form */
.cm__steps { grid-template-columns: repeat(3, 1fr); font-family: var(--font); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.cm__steps li span { font-size: 10.5px; }
.cm__progress i { transform: scaleX(.3333); }
.cm__q { padding: 0; margin-bottom: 4px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--text); }
.cm__qhint { margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.fld__l { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); }
.req, .opt { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.req { color: var(--cyan); border: 1px solid rgba(62, 224, 255, .35); background: rgba(62, 224, 255, .06); }
.opt { color: var(--dim); border: 1px solid var(--line-2); }
.cm__intro .req { vertical-align: 1px; }
.fld__hint { font-size: 12px; line-height: 1.45; color: var(--dim); }
.cm__grid--3 { grid-template-columns: 1.1fr 1fr 1fr; margin-top: 4px; }
.cm__step .fld--full + .fld--full { margin-top: 16px; }
.cm__step > .fld--full { margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); font-size: 13.5px; color: #c4cadb;
  transition: border-color .25s, background .25s, color .25s, box-shadow .25s;
}
.chip-opt span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--dim); transition: all .25s; }
.chip-opt:hover span { border-color: rgba(150, 168, 220, .4); color: var(--text); }
.chip-opt input:checked + span { border-color: rgba(62, 224, 255, .6); background: rgba(62, 224, 255, .1); color: var(--text); box-shadow: 0 0 16px -6px rgba(62, 224, 255, .7); }
.chip-opt input:checked + span::before { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.chip-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(62, 224, 255, .2); }
.drop small { font-family: var(--font); letter-spacing: 0; font-size: 12px; }
.cm__qhint b, .cm__intro b { color: var(--text); font-weight: 600; }
.chip-opt--idk span { border-style: dashed; color: var(--muted); }
.chip-opt--idk span::before { content: "?"; width: auto; height: auto; border: 0; font-size: 12px; line-height: 1; color: var(--dim); }
.chip-opt--idk input:checked + span::before { background: none; box-shadow: none; color: var(--cyan); }
.cm__step > .fld--full + .fld--full { margin-top: 18px; }
.cm__contact-err { display: block; margin-top: -6px; font-size: 13px; }
.cm__contact-err:empty { display: none; }
.cm__agree { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.cm__count { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cm__tip { font-size: 13px !important; color: var(--dim) !important; }
.consent span { font-size: 14px; }

@media (max-width: 640px) {
  .cm__grid { grid-template-columns: 1fr; }
  .review dl { grid-template-columns: 1fr; gap: 2px; }
  .review dd { margin-bottom: 8px; }
  .cm__count { display: none; }
  .chips { gap: 6px; }
  .chip-opt span { padding: 7px 11px; font-size: 13px; gap: 6px; }
  .cm__steps li { white-space: nowrap; }
  .cm__steps li:not(.is-current) { font-size: 0; gap: 0; }
  .cm__steps li span { font-size: 10px; }
  .cm__intro, .cm__body, .cm__foot { padding-left: 18px; padding-right: 18px; }
  .cm__steps { padding-left: 18px; padding-right: 18px; }
  .cm__progress { margin: 0 18px; }
  .cm__secure { display: none; }
}

/* ---------- why + transaction DNA ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.why__dna { position: sticky; top: 90px; height: min(78vh, 700px); }
.why__dna #dnaCanvas { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }
.why__readout { position: absolute; left: 6%; bottom: 7%; display: grid; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); pointer-events: none; }
.why__count { display: flex; align-items: baseline; gap: 8px; }
.why__hash { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 8, 16, .7); font-size: 10.5px; letter-spacing: .06em; text-transform: none; color: var(--cyan); }
.why__hash .dot { width: 5px; height: 5px; }
.why__readout b { font-family: var(--font); font-size: clamp(48px, 5vw, 72px); font-weight: 400; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why__copy { padding-bottom: 14vh; }
.why__head { margin-bottom: 36px; }
.why__head .h2 { font-size: clamp(34px, 4.4vw, 60px); }
.why__head .sec-head__desc { margin-top: 16px; }
.why__item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line); opacity: .42; transition: opacity .6s var(--ease); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad); box-shadow: 0 0 10px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.why__n { padding-top: 7px; font-size: 13px; color: var(--dim); transition: color .5s; }
.why__item h3 { margin-bottom: 8px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.025em; }
.why__item p { max-width: 460px; font-size: 15.5px; color: var(--muted); }
.why__item.is-on { opacity: 1; }
.why__item.is-on::before { transform: scaleX(1); }
.why__item.is-on .why__n { color: var(--cyan); }

/* ---------- process: mission control ---------- */
#how-it-works .process { grid-template-columns: 1fr 1fr; }
#how-it-works .process__sticky { top: 96px; }
.process__head { margin-bottom: 18px; }
.process__head .h2 { font-size: clamp(34px, 4vw, 56px); }
.process__head .sec-head__desc { margin-top: 14px; font-size: 15px; }
.ops { position: relative; aspect-ratio: 1 / .8; margin: 0 -6% 0 -8%; }
.ops__cam {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 54% 56% at 50% 44%, #000 42%, rgba(0, 0, 0, .5) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 56% at 50% 44%, #000 42%, rgba(0, 0, 0, .5) 68%, transparent 100%);
}
.ops__layer { position: absolute; inset: 0; transform-origin: 52% 36%; will-change: transform; }
.ops__cam img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  /* the source glows red — rotate it into the brand's cyan/violet */
  filter: hue-rotate(200deg) saturate(1.1) brightness(.85) contrast(1.08);
}
.ops.is-flash .ops__cam { animation: opsFlash .7s var(--ease); }
@keyframes opsFlash { 0% { filter: brightness(1.45); } 100% { filter: brightness(1); } }
.ops__pings { position: absolute; inset: 0; pointer-events: none; }
.ping { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #c8f6ff; box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--cyan); animation: pingDot 2.2s var(--ease) forwards; }
.ping::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--cyan); animation: pingRing 1.4s var(--ease) infinite; }
@keyframes pingDot { 0% { opacity: 0; transform: scale(.2); } 15% { opacity: 1; transform: scale(1.3); } 30% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pingRing { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.ops__hud { position: absolute; left: 12%; bottom: 7%; }
.ops__step { display: flex; align-items: baseline; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.ops__step b { font-family: var(--font); font-size: clamp(52px, 5.4vw, 80px); font-weight: 400; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ops__title { margin-top: 4px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--text); transition: opacity .35s, transform .35s var(--ease); }
.ops__title.is-swap { opacity: 0; transform: translateY(6px); }
#how-it-works .process__steps { gap: 14px; }
#how-it-works .step { padding: 22px 26px 24px; }
#how-it-works .step__num { margin-bottom: 10px; font-size: 12px; color: var(--cyan); }
#how-it-works .step h3 { margin-bottom: 6px; font-size: 20px; }
#how-it-works .step__lead { margin-bottom: 14px; font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-size: 11.5px; color: #c4cadb; transition: border-color .5s, background .5s, color .5s; }
.step.is-active .tags li { border-color: rgba(62, 224, 255, .3); background: rgba(62, 224, 255, .05); color: var(--text); }
#how-it-works .flowchips { margin-bottom: 10px; }

/* ---------- scope: investigation board ---------- */
.scope { position: relative; display: grid; grid-template-columns: 1fr minmax(300px, 400px) 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.scope__links { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.scope__col { position: relative; z-index: 1; display: grid; gap: 16px; }
.scope__item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 23, 39, .8), rgba(10, 14, 25, .8));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .4s, box-shadow .4s, translate .5s var(--ease);
}
.scope__item .icon { margin: 0; }
.scope__item h3 { margin-bottom: 6px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.scope__item p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.scope__item.is-active { border-color: rgba(62, 224, 255, .45); box-shadow: 0 0 0 3px rgba(62, 224, 255, .05), 0 22px 50px -26px rgba(62, 224, 255, .55); translate: 5px 0; }
.scope__col--right .scope__item.is-active { translate: -5px 0; }
.scope__item.is-active .icon { border-color: rgba(62, 224, 255, .5); background: rgba(62, 224, 255, .08); box-shadow: 0 0 24px -6px rgba(62, 224, 255, .65); }
.scope__figure { position: relative; z-index: 0; aspect-ratio: 3 / 4; }
.scope__figure img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  filter: saturate(.85) brightness(.85);
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 38%, rgba(0, 0, 0, .5) 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 52% at 50% 44%, #000 38%, rgba(0, 0, 0, .5) 64%, transparent 100%);
  animation: figBreath 14s ease-in-out infinite alternate;
}
@keyframes figBreath { from { transform: scale(1); } to { transform: scale(1.045); } }
.scope__tag {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255, 107, 129, .35); background: rgba(5, 8, 16, .75);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--risk); white-space: nowrap;
}
.scope__tag .dot { width: 5px; height: 5px; background: var(--risk); box-shadow: 0 0 8px var(--risk); animation: blink 1.2s infinite; }

/* ---------- FAQ: answer console ---------- */
.faqx { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.faqx__head { margin-bottom: 30px; }
.faqx__head .h2 { font-size: clamp(34px, 4.2vw, 58px); }
.faqx__head .sec-head__desc { margin-top: 16px; }
.faqx__list { position: relative; display: grid; gap: 4px; padding-left: 18px; }
.faqx__list::before, .faqx__list::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; }
.faqx__list::before { background: var(--line-2); }
.faqx__list::after { background: linear-gradient(var(--cyan), var(--violet)); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 10px var(--cyan); transition: transform .5s var(--ease); }
.faqx__q {
  position: relative; width: 100%; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 12px;
  padding: 15px 16px; border-radius: 12px; text-align: left; transition: background .4s;
}
.faqx__q::before { content: ""; position: absolute; left: -19px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 12px var(--cyan); transform: scaleY(0); transition: transform .45s var(--ease); }
.faqx__n { font-size: 11px; letter-spacing: .1em; color: var(--dim); transition: color .4s; }
.faqx__t { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); transition: color .4s; }
.faqx__icon { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.faqx__icon::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--muted); transition: color .4s; }
.faqx__q:hover .faqx__t { color: var(--text); }
.faqx__q:hover { background: rgba(255, 255, 255, .02); }
.faqx__item.is-active .faqx__q { background: linear-gradient(90deg, rgba(62, 224, 255, .09), rgba(62, 224, 255, 0) 75%); }
.faqx__item.is-active .faqx__q::before { transform: scaleY(1); }
.faqx__item.is-active .faqx__n { color: var(--cyan); }
.faqx__item.is-active .faqx__t { color: var(--text); }
.faqx__item.is-active .faqx__icon { border-color: rgba(62, 224, 255, .6); background: rgba(62, 224, 255, .1); transform: translateX(4px); }
.faqx__item.is-active .faqx__icon::before { color: var(--cyan); }
.faqx__a { display: none; }

.faqx__panel {
  position: relative; display: flex; flex-direction: column; min-height: 440px; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: radial-gradient(90% 60% at 80% 0%, rgba(111, 140, 255, .1), transparent 60%), linear-gradient(180deg, rgba(13, 18, 32, .94), rgba(7, 10, 19, .94));
  box-shadow: 0 50px 120px -60px rgba(62, 120, 255, .45);
}
.faqx__panel::before { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
}
.faqx__panel::after { /* sweep when the answer changes */
  content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(62, 224, 255, .08), transparent);
}
.faqx__panel.is-swap::after { animation: faqSweep .9s var(--ease); }
@keyframes faqSweep { to { top: 100%; } }
.faqx__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.faqx__bar span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.faqx__bar b { color: var(--text); font-weight: 500; }
.faqx__query { padding: 26px 26px 0; min-height: 3.6em; font-size: 14px; line-height: 1.6; color: var(--cyan); }
.faqx__prompt { color: var(--violet); }
.faqx__caret { display: inline-block; width: 8px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.faqx__answer { flex: 1; padding: 16px 26px 26px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; color: #d4dae9; }
.faqx__answer span { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(6px); transition: opacity .5s, filter .5s, transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.faqx__answer.is-in span { opacity: 1; filter: blur(0); transform: none; }
/* idle console: waiting for a click */
.faqx__panel.is-idle .faqx__query { color: var(--dim); }
.faqx__panel.is-idle .faqx__answer { display: grid; align-content: start; gap: 14px; padding-top: 26px; }
.faqx__panel.is-idle .faqx__answer i {
  display: block; height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, rgba(150, 168, 220, .08) 0%, rgba(150, 168, 220, .16) 40%, rgba(150, 168, 220, .08) 80%);
  background-size: 250% 100%; animation: faqShimmer 2.4s linear infinite;
}
.faqx__panel.is-idle .faqx__answer i:nth-child(1) { width: 92%; }
.faqx__panel.is-idle .faqx__answer i:nth-child(2) { width: 78%; animation-delay: .2s; }
.faqx__panel.is-idle .faqx__answer i:nth-child(3) { width: 86%; animation-delay: .4s; }
.faqx__panel.is-idle .faqx__answer i:nth-child(4) { width: 54%; animation-delay: .6s; }
@keyframes faqShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.faqx__panel.is-idle .faqx__foot { color: var(--dim); }
.faqx__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.faqx__dots { display: flex; gap: 5px; }
.faqx__dots i { width: 16px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .4s, box-shadow .4s; }
.faqx__dots i.is-on { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- interactive trace console (demo) ---------- */
.tc .demo__actions { gap: 8px; }
.btn.btn3d.tc__nav { min-width: 0; }
.tc__nav .btn__face { padding: 0 13px !important; }
.tc__main { display: grid; grid-template-columns: 1fr 300px; border-bottom: 1px solid var(--line); }
.tc__map { position: relative; min-height: 400px; border-right: 1px solid var(--line); overflow: hidden; }
.tc__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tc__status {
  position: absolute; left: 18px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 8, 16, .75);
  font-size: 10.5px; letter-spacing: .14em; color: var(--muted);
}
.tc__status.is-running { color: var(--cyan); border-color: rgba(62, 224, 255, .4); }
.tc__status.is-running .dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1s infinite; }
.tc__status.is-done { color: var(--ok); border-color: rgba(70, 242, 180, .4); }
.tc__status.is-done .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.tc__inspector { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: linear-gradient(180deg, rgba(62, 224, 255, .05), transparent 45%); }
.tc__ins-head { display: flex; justify-content: space-between; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .14em; color: var(--dim); }
.tc__ins-head b { color: var(--text); font-weight: 500; }
.tc__ins-k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tc__ins-v { min-height: 1.25em; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 500; color: var(--text); }
.tc__ins-s { font-size: 12px; color: var(--cyan); }
.tc__inspector[data-kind="risk"] .tc__ins-s { color: var(--risk); }
.tc__inspector[data-kind="ok"] .tc__ins-s { color: var(--ok); }
.tc__inspector[data-kind="ok"] .tc__ins-v { text-shadow: 0 0 18px rgba(70, 242, 180, .45); }
.tc__ins-bar { height: 3px; margin-top: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tc__ins-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); box-shadow: 0 0 10px var(--cyan); }
.tc__ins-log { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; line-height: 1.6; color: var(--muted); }
.tc__steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.tc__steps li + li { border-left: 1px solid var(--line); }
.tc__steps button {
  position: relative; width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  font-size: 13.5px; text-align: left; color: var(--dim); transition: color .3s, background .3s;
}
.tc__steps button span { padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 11px; transition: color .3s, border-color .3s; }
.tc__steps button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tc__steps button:hover { color: var(--text); background: rgba(255, 255, 255, .02); }
.tc__steps li.is-done button { color: var(--muted); }
.tc__steps li.is-done button span { color: var(--cyan); border-color: rgba(62, 224, 255, .4); }
.tc__steps li.is-done button::after { transform: scaleX(1); }
.tc__steps li.is-current button { color: var(--text); background: rgba(62, 224, 255, .06); }
.tc__bottom { padding-top: 22px; }
.tc .demo__log { min-height: 150px; }
.tc .demo__log p .risk { color: var(--risk); }

/* ---------- case-file viewer ---------- */
.cases { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 18px; align-items: stretch; }
.cases__list { display: grid; gap: 12px; align-content: start; }
.case-tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 22px 22px 24px; border-radius: 16px; text-align: left;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 23, 39, .6), rgba(10, 14, 25, .6));
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.case-tab:hover { border-color: var(--line-2); transform: translateX(4px); }
.case-tab__num {
  font-size: 40px; line-height: 1; letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(150, 168, 220, .35); transition: -webkit-text-stroke-color .4s;
}
.case-tab__body { display: grid; gap: 6px; }
.case-tab__tag { display: flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.case-tab__tag .dot { width: 5px; height: 5px; }
.case-tab__title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); transition: color .4s; }
.case-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.case-tab__bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px var(--cyan); }
.case-tab.is-active {
  border-color: rgba(62, 224, 255, .35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(62, 224, 255, .1), transparent 60%), linear-gradient(180deg, rgba(20, 29, 50, .9), rgba(11, 16, 29, .9));
}
.case-tab.is-active .case-tab__num { color: transparent; -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.case-tab.is-active .case-tab__tag { color: var(--muted); }
.case-tab.is-active .case-tab__tag .dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.case-tab.is-active .case-tab__title { color: var(--text); }

.cases__stage {
  position: relative; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 0;
  border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(80% 60% at 70% 40%, rgba(111, 140, 255, .08), transparent 70%), linear-gradient(180deg, rgba(14, 19, 33, .92), rgba(7, 10, 19, .92));
}
.cases__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.cases__head b { color: var(--text); font-weight: 500; }
.cases__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10px; text-transform: uppercase; }
.cases__graph { position: relative; min-height: 340px; }
.cases__graph canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cases__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cases__stats div { display: grid; gap: 4px; padding: 18px 22px; }
.cases__stats div + div { border-left: 1px solid var(--line); }
.cases__stats b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; color: var(--text); }
.cases__stats span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.cases__summary { padding: 18px 22px 4px; color: var(--muted); font-size: 15px; max-width: 760px; transition: opacity .4s, transform .4s var(--ease); }
.cases__summary.is-swapping { opacity: 0; transform: translateY(6px); }
.cases__note { padding: 0 22px 18px; font-size: 12px; font-style: italic; color: var(--dim); }

/* ---------- technology + multi-chain: globe ---------- */
#technology .tech { margin-bottom: 0; grid-template-columns: 1fr 1.05fr; }
.tech__copy.sec-head { margin-bottom: 0; }
.tech__copy .sec-head__desc { margin: 22px 0 30px; }
.tech__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.callout--cyan { border-color: rgba(62, 224, 255, .3); background: linear-gradient(135deg, rgba(62, 224, 255, .1), rgba(111, 140, 255, .03)); }
.callout--cyan .callout__tag { color: var(--cyan); }
.tech__globe { position: relative; justify-self: center; width: min(100%, 640px); }
.tech__globe canvas { display: block; width: 100%; aspect-ratio: 1 / 1.22; }

/* ---------- motion bands (globe / DNA / digital-rain CTA) ---------- */
.band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.band--dna .band__inner { grid-template-columns: 1.05fr .95fr; }
.band__copy { margin-bottom: 0; }
.band__copy .h2 { font-size: clamp(34px, 4.6vw, 66px); }
.band__visual { position: relative; }
.band__visual canvas { display: block; width: 100%; margin-inline: auto; }
#dnaCanvas {
  aspect-ratio: 4 / 5; max-width: 560px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.band--rain { min-height: 92vh; display: grid; align-items: center; padding-bottom: var(--section); overflow: hidden; isolation: isolate; }
.band__rain {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
}
/* final CTA: the watching eye (js/eye.js pins the iris to a point of the block).
   No full-block layers here: only the softly vignetted eye and its HUD, so the
   page background (and the digital rain) flows around it with no visible edges. */
.band--eye { min-height: 100vh; align-items: end; padding-top: 0; padding-bottom: clamp(64px, 10vh, 120px); }
.eye {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 32%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 72% at 50% 32%, #000 40%, transparent 100%);
}
.eye__pan { position: absolute; inset: 0; will-change: transform; }
.eye__img {
  position: absolute; max-width: none; opacity: 0; will-change: transform;
  /* tint the photo itself toward the brand blues/violets */
  filter: saturate(.72) brightness(.8) contrast(1.05);
  /* very soft vignette so the photo has no edges at all */
  -webkit-mask-image: radial-gradient(ellipse 44% 19% at 55.1% 44%, #000 12%, rgba(0, 0, 0, .55) 48%, transparent 100%);
  mask-image: radial-gradient(ellipse 44% 19% at 55.1% 44%, #000 12%, rgba(0, 0, 0, .55) 48%, transparent 100%);
  transition: opacity 1.6s var(--ease);
  animation: eyeBreath 16s ease-in-out infinite alternate;
}
.eye.is-ready .eye__img { opacity: .8; }
@keyframes eyeBreath { from { transform: scale(1); } to { transform: scale(1.06); } }
.eye__hud { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.eye__scan {
  position: absolute; left: 0; right: 0; top: -20%; z-index: 1; height: 16%;
  background: linear-gradient(180deg, rgba(62, 224, 255, 0), rgba(62, 224, 255, .05) 50%, rgba(62, 224, 255, 0));
  animation: eyeScan 8s linear infinite;
}
@keyframes eyeScan { to { top: 100%; } }
.eye.is-glitch .eye__img { filter: saturate(1.4) hue-rotate(40deg) contrast(1.3) brightness(.95); translate: 6px 0; }
.eye.is-glitch .eye__hud { translate: -4px 0; }
.band__cta { position: relative; text-align: center; }
.band__cta::before { content: ""; position: absolute; inset: -20% 0; z-index: -1; background: radial-gradient(ellipse 55% 50% at center, rgba(5, 6, 13, .6), rgba(5, 6, 13, 0) 100%); pointer-events: none; }
.band__cta .sec-head { margin-bottom: 0; max-width: 980px; }
.band__cta .h2 { font-size: clamp(40px, 6vw, 92px); }
.band__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.process__sticky { position: sticky; top: 140px; }
.process__meter { display: flex; align-items: baseline; gap: 10px; margin-top: 48px; color: var(--dim); font-size: 12px; }
.process__meter b { font-size: clamp(64px, 8vw, 112px); font-weight: 400; line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font); }
.process__steps { position: relative; padding-left: 44px; display: grid; gap: 18px; }
.process__rail { position: absolute; left: 10px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.process__rail i { position: absolute; inset: 0; background: linear-gradient(var(--cyan), var(--violet)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px var(--cyan); }
.step {
  position: relative; padding: 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 23, 39, .7), rgba(10, 14, 25, .7)); border: 1px solid var(--line);
  transition: border-color .5s, background .5s;
}
.step.is-active { border-color: rgba(62, 224, 255, .3); background: linear-gradient(180deg, rgba(20, 29, 50, .85), rgba(11, 16, 29, .85)); }
.step__node { position: absolute; left: -40px; top: 34px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: all .4s; }
.step.is-active .step__node { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 5px rgba(62,224,255,.12), 0 0 18px var(--cyan); }
.step__num { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 12px; }
.step__lead { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.dash { display: grid; gap: 6px; }
.dash--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dash li { position: relative; padding-left: 20px; font-size: 14.5px; color: #c4cadb; }
.dash li::before { content: "—"; position: absolute; left: 0; color: var(--dim); }
.flowchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 11.5px; }
.flowchips span { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(255,255,255,.03); }
.flowchips span.ok { border-color: rgba(70,242,180,.4); color: var(--ok); }
.flowchips i { font-style: normal; color: var(--cyan); }
.commit {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px 26px;
  border-radius: 14px; border: 1px solid var(--line-2); border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(62,224,255,.06), rgba(10,14,25,.6) 40%);
}
.commit__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.commit p { color: var(--muted); font-size: 15px; }
.commit b { color: var(--text); }

/* ---------- demo ---------- */
.demo { border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(16, 22, 38, .85), rgba(8, 12, 22, .85)); overflow: hidden; box-shadow: 0 50px 120px -50px rgba(62, 120, 255, .35); }
.demo__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.demo__dots { display: flex; gap: 6px; }
.demo__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.demo__url { padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.demo__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.demo__badge { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 10.5px; }
.demo__flow { display: flex; align-items: stretch; gap: 0; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 44px) 24px; }
.dnode {
  flex: 1 1 0; min-width: 0; padding: 20px 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #111a2b, #0b111e); position: relative; overflow: hidden;
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease), opacity .5s;
  opacity: .45;
}
.dnode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(62,224,255,.18) 50%, transparent 70%); transform: translateX(-100%); }
.dnode.is-on { opacity: 1; border-color: rgba(62, 224, 255, .45); box-shadow: 0 0 30px -10px rgba(62,224,255,.6); transform: translateY(-3px); }
.dnode.is-on::after { animation: sweep 1s var(--ease); }
.dnode--ok.is-on { border-color: rgba(70,242,180,.6); box-shadow: 0 0 36px -8px rgba(70,242,180,.6); background: linear-gradient(180deg, #0f2a24, #0a1a16); }
.dnode--risk.is-on { border-color: rgba(255,107,129,.5); box-shadow: 0 0 30px -10px rgba(255,107,129,.6); }
@keyframes sweep { to { transform: translateX(100%); } }
.dnode__k { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.dnode__v { font-family: var(--mono); font-size: clamp(14px, 1.4vw, 17px); color: var(--text); font-weight: 500; }
.dnode__s { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 4px; }
.dnode__s.risk { color: var(--risk); }
.dlink { flex: 0 0 clamp(14px, 2.6vw, 36px); align-self: center; height: 1px; background: var(--line-2); position: relative; }
.dlink i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 8px var(--cyan); transition: transform .6s var(--ease); }
.dlink.is-on i { transform: scaleX(1); }
.demo__log { margin: 0 clamp(20px, 4vw, 44px); min-height: 112px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(3, 5, 10, .6); font-size: 12px; color: var(--muted); display: grid; align-content: start; gap: 4px; }
.demo__log p { opacity: 0; transform: translateY(4px); animation: logIn .4s var(--ease) forwards; }
.demo__log p b { color: var(--cyan); font-weight: 400; }
.demo__log p .ok { color: var(--ok); }
@keyframes logIn { to { opacity: 1; transform: none; } }
.demo__stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px clamp(20px, 4vw, 44px) 0; border: 1px solid var(--line); border-radius: 14px; }
.demo__stats div { padding: 26px 12px; text-align: center; display: grid; gap: 6px; }
.demo__stats div + div { border-left: 1px solid var(--line); }
.demo__stats b { font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; color: var(--text); letter-spacing: -.02em; }
.demo__stats span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.demo__note { text-align: center; font-size: 12.5px; font-style: italic; color: var(--dim); padding: 22px 20px 28px; }

/* ---------- technology ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.tech__copy .sec-head__desc { margin: 22px 0 30px; }
.callout { padding: 22px 24px; border-radius: 14px; border: 1px solid rgba(164,107,255,.3); background: linear-gradient(135deg, rgba(164,107,255,.1), rgba(62,224,255,.04)); }
.callout__tag { display: inline-block; font-size: 11px; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.callout p { color: #c4cadb; font-size: 15px; }
.scanner { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; border-radius: 50%; }
.scanner__rings i { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.scanner__rings i:nth-child(1) { inset: 0; }
.scanner__rings i:nth-child(2) { inset: 17%; border-style: dashed; animation: spin2 40s linear infinite; }
.scanner__rings i:nth-child(3) { inset: 34%; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.scanner__beam {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 76%, rgba(62,224,255,.02) 78%, rgba(62,224,255,.32) 99.6%, rgba(160,240,255,.7) 100%);
  will-change: transform;
  mask-image: radial-gradient(circle, #000 69%, transparent 70.5%); -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70.5%);
}
.scanner__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanner__net line { stroke: rgba(150,168,220,.16); stroke-width: 1; }
.scanner__net circle { fill: #9aa6c4; transition: fill .3s; }
.scanner__net circle.flag { fill: var(--violet); }
.scanner__net circle.ring { fill: none; stroke: var(--violet); stroke-width: 1.2; opacity: 0; }
.scanner__net circle.ring.pulse { animation: ringPulse 1.6s var(--ease); }
@keyframes ringPulse { 0% { opacity: 1; r: 4; } 100% { opacity: 0; r: 22; } }
.scanner__hud { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; gap: 16px; padding: 8px 14px; border-radius: 8px; background: var(--surface-solid); border: 1px solid var(--line-2); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.scanner__hud b { color: var(--violet); font-weight: 500; }

/* ---------- tools ---------- */
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tool {
  padding: 22px 20px 24px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 23, 39, .7), rgba(10, 14, 25, .7)); min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow: hidden;
  transition: transform .5s var(--ease);
}
.tool:hover { transform: translateY(-4px); }
.tool span { align-self: flex-start; font-size: 11px; color: var(--muted); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; transition: color .3s, border-color .3s; }
.tool:hover span { color: var(--cyan); border-color: rgba(62,224,255,.45); }
.tool h3 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }

/* ---------- case studies ---------- */
.case { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 23, 39, .75), rgba(10, 14, 25, .75)); display: flex; flex-direction: column; }
.case__tag { display: flex; align-items: center; gap: 8px; font-size: 10.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.case__tag .dot { background: var(--cyan); }
.case h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -.03em; }
.case__path { width: 100%; height: auto; margin: 28px 0; overflow: visible; }
.cp { fill: none; stroke: #c9d3ea; stroke-width: 1.2; stroke-linejoin: round; }
.cp-end { fill: var(--bg); stroke: var(--line-2); }
.cp-dot { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); }
.cp-dot--b { fill: var(--violet); filter: drop-shadow(0 0 4px var(--violet)); }
.case__meta { display: grid; gap: 8px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.case__meta div { display: grid; grid-template-columns: 110px 1fr; font-size: 13.5px; }
.case__meta dt { color: var(--dim); }
.case__meta dd { margin: 0; color: var(--text); }
.case p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.case small { margin-top: auto; font-size: 12px; font-style: italic; color: var(--dim); }

/* ---------- dashboard ---------- */
.dash-board { border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(16, 22, 38, .85), rgba(8, 12, 22, .85)); overflow: hidden; }
.dash-board__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; }
.dash-board__body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px 24px 30px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 22px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.015); text-align: center; display: grid; gap: 6px; transition: border-color .3s, background .3s; }
.kpi:hover { border-color: rgba(62,224,255,.35); background: rgba(62,224,255,.04); }
.kpi b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; }
.kpi span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.progress { margin-top: 22px; }
.progress__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.progress__row b { color: var(--text); font-weight: 400; }
.progress__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 68%; border-radius: inherit; background: var(--grad); transform-origin: left; box-shadow: 0 0 12px var(--cyan); }
.timeline { display: grid; gap: 6px; font-size: 13px; }
.timeline li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--dim); border: 1px solid transparent; }
.timeline li::before { content: "○"; width: 14px; text-align: center; }
.timeline li.done { color: #c4cadb; }
.timeline li.done::before { content: "✓"; color: var(--ok); }
.timeline li.active { color: var(--text); border-color: rgba(62,224,255,.35); background: rgba(62,224,255,.06); }
.timeline li.active::before { content: "●"; color: var(--cyan); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 23, 39, .7), rgba(10, 14, 25, .7)); transition: border-color .4s; }
.faq__item.is-open { border-color: rgba(62,224,255,.3); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; text-align: left; font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; letter-spacing: -.01em; }
.faq__q i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__item.is-open .faq__q i { transform: rotate(180deg); border-color: var(--cyan); background: rgba(62,224,255,.08); }
.faq__item.is-open .faq__q i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 26px 26px; color: var(--muted); font-size: 15px; max-width: 760px; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 16px; border: 1px solid var(--line-2); overflow: hidden; background: rgba(10, 14, 25, .7); }
.legal__item { position: relative; display: grid; gap: 30px; padding: 22px 22px 24px; transition: background .4s; }
.legal__item + .legal__item { border-left: 1px solid var(--line); }
.legal__item span { font-size: 11px; color: var(--dim); }
.legal__item b { font-size: 14px; font-weight: 600; }
.legal__item i { position: absolute; right: 18px; bottom: 22px; font-style: normal; color: var(--dim); transition: transform .4s var(--ease), color .4s; }
.legal__item:hover { background: rgba(62,224,255,.05); }
.legal__item:hover i { color: var(--cyan); transform: translate(3px, -3px); }

/* ---------- footer (standard proportions: brand | services | company | animation) ---------- */
.footer { position: relative; margin-top: 40px; padding: 72px 0 0; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, rgba(5, 7, 14, .35), rgba(5, 7, 14, .75) 40%); }
.footer__glow { position: absolute; left: 50%; bottom: -40%; width: 80%; height: 80%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(111,140,255,.12), transparent 65%); pointer-events: none; }
.footer__main { display: grid; grid-template-columns: 1.6fr .75fr .75fr 1.1fr; gap: 40px; align-items: start; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__lead { margin-top: 22px; max-width: 310px; color: #8f98b0; font-size: 14px; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.footer__lead::first-line { color: #c4cadb; }
.footer__mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  font-size: 11.5px; font-weight: 400; letter-spacing: .04em; color: #c4cadb; transition: color .25s, border-color .3s, background .3s;
}
.footer__mail:hover { border-color: rgba(62, 224, 255, .5); background: rgba(62, 224, 255, .06); }
.footer__mail i { font-style: normal; color: var(--cyan); transition: transform .3s var(--ease); }
.footer__mail:hover { color: var(--cyan); }
.footer__mail:hover i { transform: translate(3px, -3px); }
.footer__col { display: grid; align-content: start; gap: 13px; padding-top: 6px; counter-reset: fl; }
.footer__col h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #c4cadb; }
.footer__col h4::before { content: ""; width: 18px; height: 1px; background: var(--grad); }
.footer__col > a {
  position: relative; width: fit-content; padding-right: 18px;
  display: flex; align-items: baseline; gap: 12px; counter-increment: fl;
  font-size: 14px; font-weight: 400; letter-spacing: 0; color: #8f98b0; transition: color .3s, transform .4s var(--ease);
}
.footer__col > a::before { /* underline sweep */
  content: ""; position: absolute; left: 28px; right: 18px; bottom: -4px; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.footer__col > a::after { /* arrow slides in */
  content: "↗"; position: absolute; right: 0; top: 50%; font-size: 11px; color: var(--cyan);
  opacity: 0; transform: translate(-6px, -40%); transition: opacity .3s, transform .4s var(--ease);
}
.footer__col > a > span::before { content: counter(fl, decimal-leading-zero); }
.footer__col > a:hover { color: var(--text); transform: translateX(3px); }
.footer__col > a:hover::before { transform: scaleX(1); }
.footer__col > a:hover::after { opacity: 1; transform: translate(0, -60%); }
.footer__stage { position: relative; justify-self: end; width: min(100%, 270px); margin: -36px -10px -30px 0; }
.footer__stage canvas {
  display: block; width: 100%; aspect-ratio: 1 / 1.05;
  -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 56%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 50% at 50% 56%, #000 62%, transparent 100%);
}
.footer__state {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 107, 129, .4); background: rgba(5, 8, 16, .8);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--risk); white-space: nowrap; transition: color .5s, border-color .5s;
}
.footer__state .dot { width: 5px; height: 5px; background: var(--risk); box-shadow: 0 0 8px var(--risk); animation: blink 1s infinite; }
.footer__state.is-secure { color: var(--ok); border-color: rgba(70, 242, 180, .4); }
.footer__state.is-secure .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #5c6580; }
.footer__up { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); font-size: 13px; transition: border-color .3s, transform .4s var(--ease); }
.footer__up:hover { border-color: var(--cyan); transform: translateY(-3px); }
.footer__disc { max-width: 980px; padding: 24px 0 44px; font-size: 12px; font-weight: 400; line-height: 1.75; color: #6b748c; }
.footer__disc b {
  display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 5px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #9aa3ba; vertical-align: 1px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .hero__rail { display: none; }
}

@media (max-width: 1100px) {
  .why { grid-template-columns: 1fr; }
  .why__dna { position: relative; top: auto; height: 420px; order: 2; }
  .why__copy { padding-bottom: 0; }
  #how-it-works .process { grid-template-columns: 1fr; }
  #how-it-works .process__sticky { position: static; }
  .ops { margin: 0 -4%; max-width: 560px; }
  .scope { grid-template-columns: 1fr 1fr; }
  .scope__figure { grid-column: 1 / -1; order: -1; justify-self: center; width: min(100%, 340px); }
  .scope__links { display: none; }
  .scope__item.is-active, .scope__col--right .scope__item.is-active { translate: none; }
  .nav__link { padding: 8px 10px; font-size: 13px; gap: 5px; }
  .nav__actions .btn--ghost { display: none; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .legal { grid-template-columns: repeat(3, 1fr); }
  .legal__item:nth-child(4) { border-left: 0; }
  .legal__item:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .nav__burger { display: block; }
  .nav__actions { display: none; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px;
    background: rgba(5, 6, 13, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { background: rgba(5, 6, 13, .96); }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav__pill { display: none; }
  .nav__link { gap: 12px; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link i { font-size: 11px; }
  .nav__mobile-cta { display: inline-flex !important; margin-top: 18px; }

  .hero { padding-top: 110px; }
  .hero__canvas { opacity: .5; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__veil { background: radial-gradient(ellipse 80% 50% at 50% 70%, rgba(111,140,255,.12), transparent 70%), linear-gradient(180deg, rgba(5,6,13,.6), rgba(5,6,13,.2) 50%, var(--bg)); }
  .hero__scroll { display: none; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .sec-head--split.sec-head--glyph { grid-template-columns: 1fr; }
  .sec-head--glyph .glyph { --w: 110px; margin: 0 0 -12px -14px; }
  .sec-head--glyph .glyph-stage { order: -1; justify-self: start; }
  .achips, .hero__rail { display: none; }
  .hero__inner { min-height: 0; }
  .hero__inner .hud-wrap { justify-self: stretch; width: 100%; margin-top: 40px; }
  .hero__robot { opacity: 0; }
  .hero__robot.is-ready { opacity: .55; }
  .hero__spline { right: -30%; width: 110%; height: 62%; top: 6%; }
  .hero__spline.is-ready { opacity: .5; }
  .seal { left: auto; right: -6px; top: -58px; width: 100px; height: 100px; }
  .seal__key { --w: 52px; }
  .seal::before { inset: 18px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .process__meter { display: none; }
  .tech { grid-template-columns: 1fr; }
  .band__inner, .band--dna .band__inner { grid-template-columns: 1fr; }
  .faqx { grid-template-columns: 1fr; }
  .faqx__panel { display: none; }
  .faqx__list { padding-left: 0; }
  .faqx__list::before, .faqx__list::after, .faqx__q::before { display: none; }
  .faqx__item { border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 23, 39, .7), rgba(10, 14, 25, .7)); }
  .faqx__item.is-open { border-color: rgba(62, 224, 255, .35); }
  .faqx__q { grid-template-columns: 42px 1fr auto; padding: 16px; }
  .faqx__t { font-size: 15px; color: var(--text); }
  .faqx__icon::before { content: "+"; font-size: 15px; }
  .faqx__item.is-open .faqx__icon { transform: rotate(45deg); border-color: var(--cyan); }
  .faqx__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .faqx__item.is-open .faqx__a { grid-template-rows: 1fr; }
  .faqx__a > div { overflow: hidden; }
  .faqx__a p { padding: 0 16px 18px 70px; color: var(--muted); font-size: 14.5px; }
  .tc__main { grid-template-columns: 1fr; }
  .tc__map { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .tc__steps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .tc__steps::-webkit-scrollbar { display: none; }
  .cases { grid-template-columns: 1fr; }
  .cases__list { grid-auto-flow: column; grid-auto-columns: minmax(240px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .cases__list::-webkit-scrollbar { display: none; }
  .case-tab { scroll-snap-align: start; }
  .case-tab:hover { transform: none; }
  .cases__graph { min-height: 0; aspect-ratio: 4 / 3; }
  .cases__stats div { padding: 14px; }
  .band--dna .band__visual { order: 2; }
  #dnaCanvas { max-width: 440px; }
  #technology .tech { grid-template-columns: 1fr; }
  .tech__globe { width: min(100%, 460px); }
  .scanner { width: min(100%, 420px); }
  .dash-board__body { grid-template-columns: 1fr; }
  .demo__flow { flex-direction: column; gap: 0; }
  .dlink { flex: 0 0 22px; width: 1px; height: auto; align-self: center; }
  .dlink i { transform: scaleY(0); transform-origin: top; }
  .dlink.is-on i { transform: scaleY(1); }
  .demo__stats { grid-template-columns: repeat(3, 1fr); }
  .demo__stats div:nth-child(4) { border-left: 0; }
  .demo__stats div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__intro { grid-column: 1 / -1; }
  .footer__stage { grid-column: 1 / -1; justify-self: center; width: min(100%, 260px); margin: -10px auto -20px; }
}

@media (max-width: 640px) {
  .tech__points { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope__item { padding: 18px; }
  .hide-sm { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .tool { min-height: 130px; padding: 18px 16px; }
  .legal { grid-template-columns: 1fr; }
  .legal__item { border-left: 0 !important; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
  .legal__item + .legal__item { border-top: 1px solid var(--line); }
  .legal__item i { bottom: auto; top: 50%; transform: translateY(-50%); }
  .legal__item:hover i { transform: translate(3px, calc(-50% - 3px)); }
  .dash--2 { grid-template-columns: 1fr; }
  .step { padding: 22px 20px; }
  .process__steps { padding-left: 30px; }
  .process__rail { left: 5px; }
  .step__node { left: -31px; }
  .card { padding: 24px; }
  .card--row { padding: 22px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .demo__bar { flex-wrap: wrap; }
  .demo__url { display: none; }
  .demo__stats { grid-template-columns: repeat(2, 1fr); }
  .demo__stats div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .demo__stats div:nth-child(1) { grid-column: 1 / -1; border-top: 0; }
  .demo__stats div:nth-child(odd):not(:first-child) { border-left: 1px solid var(--line) !important; }
  .hud__head, .hud__body, .hud__foot { padding-inline: 12px; }
  .faq__q { padding: 20px; }
  .faq__a p { padding: 0 20px 20px; }
  .commit { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .trust__track { animation: none; }
}
.footer__col > a > span { flex: none; width: 16px; font-size: 9.5px; letter-spacing: .06em; color: rgba(62, 224, 255, .55); transition: color .3s; }
.footer__col > a:hover > span { color: var(--cyan); }
@media (max-width: 640px) {
  .footer__main { gap: 32px 16px; }
  .footer__col > a { gap: 8px; padding-right: 0; font-size: 13.5px; }
  .footer__col > a::after { display: none; }
  .footer__col > a > span { width: 14px; font-size: 9px; }
}
/* footer contact dropdown */
.fcontact { position: relative; }
.fcontact__btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; color: #8f98b0; cursor: pointer; transition: color .3s; }
.fcontact__btn i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.fcontact__btn:hover, .fcontact.is-open .fcontact__btn { color: var(--text); }
.fcontact.is-open .fcontact__btn i { transform: translateY(1px) rotate(-135deg); color: var(--cyan); }
.fcontact__pop {
  position: absolute; left: -14px; top: calc(100% + 12px); z-index: 5; width: 290px; padding: 14px;
  border-radius: 16px; border: 1px solid var(--line-2); background: rgba(10, 14, 26, .94); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(62, 224, 255, .05), 0 0 30px -12px rgba(62, 224, 255, .35);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .35s var(--ease);
}
.fcontact.is-open .fcontact__pop { opacity: 1; transform: none; }
.fcontact__label { display: block; margin-bottom: 10px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.fcontact__mail {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid rgba(62, 224, 255, .35); background: rgba(62, 224, 255, .07);
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--text); transition: background .3s, border-color .3s;
}
.fcontact__mail i { font-style: normal; color: var(--cyan); transition: transform .3s var(--ease); }
.fcontact__mail:hover { background: rgba(62, 224, 255, .14); border-color: var(--cyan); }
.fcontact__mail:hover i { transform: translate(3px, -3px); }
.fcontact__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.fcontact__apps a, .fcontact__apps button {
  display: grid; place-items: center; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line-2);
  font: inherit; font-size: 12px; color: #aeb6cb; cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.fcontact__apps a:hover, .fcontact__apps button:hover { color: var(--text); border-color: rgba(150, 168, 220, .4); background: rgba(255, 255, 255, .03); }
.fcontact__apps .is-done { color: var(--ok); border-color: rgba(70, 242, 180, .4); }
@media (max-width: 640px) {
  .fcontact__btn { font-size: 13.5px; }
  .fcontact__pop { left: auto; right: 0; width: min(290px, calc(100vw - 32px)); }
}
.footer__col { position: relative; z-index: 2; }
.footer__stage { z-index: 1; }
.fcontact__pop { background: rgba(9, 12, 22, .97); }
/* =========================================================
   ABOUT US · the trace room (js/about.js)
   ========================================================= */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crew { margin-top: 56px; }
.crew__stage {
  position: relative; aspect-ratio: 16 / 9.2; border-radius: 28px; overflow: hidden; background: #03050c;
  box-shadow: 0 40px 120px -50px rgba(62, 224, 255, .35), 0 0 0 1px rgba(150, 168, 220, .08);
}
.crew__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 45%; }
.crew__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; filter: saturate(.85) brightness(.9); transition: opacity .6s; }
.crew.is-ready .crew__fallback { opacity: 0; }
/* soft vignette + floor fade so the photo melts into the page instead of looking pasted */
.crew__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(3, 5, 12, .75) 100%),
    linear-gradient(180deg, rgba(3, 5, 12, .35), transparent 22%, transparent 78%, rgba(3, 5, 12, .85));
}
.crew__tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform: translate(var(--px, 0), var(--py, 0)); }
.crew__tag {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 0;
  transform: translate(-50%, -100%); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.crew__tag b {
  order: -1; font-weight: 500; padding: 5px 10px; border-radius: 999px; color: #dfe7ff;
  border: 1px solid rgba(150, 168, 220, .28); background: rgba(5, 8, 18, .72); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease);
}
.crew__tag i { width: 1px; height: 0; background: linear-gradient(180deg, rgba(62, 224, 255, .8), rgba(62, 224, 255, 0)); transition: height .6s var(--ease) .1s; }
.crew__tag::after { content: ""; width: 5px; height: 5px; margin-top: -1px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); opacity: 0; transition: opacity .4s .4s; }
.crew__tag.is-on b { opacity: 1; transform: none; }
.crew__tag.is-on i { height: clamp(18px, 3.4vw, 46px); }
.crew__tag.is-on::after { opacity: 1; }
.crew__tag--ai b { color: var(--cyan); border-color: rgba(62, 224, 255, .55); box-shadow: 0 0 24px -6px rgba(62, 224, 255, .7); }
.crew__hud {
  position: absolute; left: 24px; right: 24px; top: 20px; z-index: 2; display: flex; justify-content: space-between;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(200, 215, 255, .6); pointer-events: none;
}
.crew__hud span { display: inline-flex; align-items: center; gap: 8px; }
.crew__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border-top: 1px solid var(--line); }
.crew__fact { display: grid; gap: 6px; padding: 22px 22px 4px 0; }
.crew__fact + .crew__fact { padding-left: 22px; border-left: 1px solid var(--line); }
.crew__fact b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crew__fact > span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) {
  .crew__facts { grid-template-columns: 1fr 1fr; }
  .crew__fact:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .crew { margin-top: 36px; }
  .crew__stage { aspect-ratio: 1316 / 1195; border-radius: 20px; }
  .crew__tag { font-size: 7.5px; letter-spacing: .1em; }
  .crew__tag b { padding: 3px 6px; }
  .crew__tag:not(.crew__tag--ai) b { display: none; }
  .crew__hud { left: 14px; right: 14px; top: 12px; font-size: 8px; }
  .crew__hud span + span { display: none; }
  .crew__fact { padding: 18px 12px 4px 0; }
  .crew__fact + .crew__fact { padding-left: 12px; }
  .crew__fact:nth-child(3) { padding-left: 0; }
  .crew__fact > span { font-size: 12.5px; }
}
/* footer: 3 link columns + contact alignment */
.fcontact__btn { padding: 0; margin: 0; border: 0; background: none; line-height: inherit; letter-spacing: 0; text-align: left; -webkit-appearance: none; appearance: none; }
.footer__col > a, .fcontact__btn { line-height: 1.45; }
.scope__item.is-ping { animation: scopePing 1.2s var(--ease); }
@keyframes scopePing { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 255, .55); } 100% { box-shadow: 0 0 0 18px rgba(62, 224, 255, 0); } }
@media (max-width: 1200px) and (min-width: 961px) {
  .footer__main { grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
  .footer__intro { grid-column: 1 / 3; }
  .footer__stage { grid-column: 3; margin: -36px 0 -30px; }
}
@media (max-width: 960px) {
  .footer__col:last-of-type { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .fcontact__pop { left: 0; right: auto; } }
/* about stage: melt the frame into the page (no hard rectangle), keep a fine grain for a filmic finish */
.crew__stage {
  box-shadow: none; background: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 82%, transparent 100%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 82%, transparent 100%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.crew__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.crew__hud { top: 7%; left: 6%; right: 6%; }
.crew__facts { margin-top: 8px; }
.crew__hud { top: auto; bottom: 21%; }
.crew__tag.is-on i { height: clamp(14px, 2.4vw, 34px); }
.crew__stage { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 80%, transparent 100%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 80%, transparent 100%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
