/* =========================================================================
   Animobo — landing page
   Brand: Orange 500 #F97316 · Blue 700 #1D4ED8 · Blue 950 #172554 · Slate 50 #F8FAFC
   ========================================================================= */

:root {
  --orange: #F97316;
  --orange-600: #EA580C;
  --orange-300: #FDBA74;
  --blue: #1D4ED8;
  --blue-500: #3B82F6;
  --blue-300: #93C5FD;
  --navy: #172554;
  --navy-deep: #0C1533;
  --ink: #0B1229;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-800: #1E293B;

  --text-on-dark: #F8FAFC;
  --muted-on-dark: rgba(226, 232, 240, .72);
  --line-on-dark: rgba(148, 163, 184, .18);
  --text-on-light: #0F1A3D;
  --muted-on-light: #52607A;

  --font-display: "Lexend", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-lg: 0 30px 80px -20px rgba(23, 37, 84, .25), 0 8px 24px -8px rgba(23, 37, 84, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- typography ---------- */
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.h1 em *, .h2 em *, .hero__title em * { background: inherit; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h1 em, .h2 em, .hero__title em {
  color: var(--orange);
  background: linear-gradient(100deg, var(--orange) 10%, #FB923C 50%, var(--orange-600) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted-on-dark); max-width: 60ch; }
[data-theme="light"] .lead { color: var(--muted-on-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-300);
  padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, .3); background: rgba(249, 115, 22, .08);
  margin-bottom: 22px;
}
.eyebrow--dark { color: var(--orange-600); background: rgba(249, 115, 22, .08); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0); } }

.split .line { overflow: clip; padding: .14em 0 .08em; margin: -.14em 0 -.08em; } /* room for stacked Vietnamese diacritics */

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  border-radius: 999px; padding: 14px 24px; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -8px rgba(249, 115, 22, .6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange-600); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
:focus-visible { outline: 3px solid var(--orange-300); outline-offset: 3px; border-radius: 8px; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; align-content: center; gap: 20px;
  background: radial-gradient(60% 60% at 50% 45%, #1B2C66 0%, var(--navy-deep) 70%);
}
.preloader__logo { width: 110px; height: 110px; overflow: visible; }
.pl-chev { fill: none; stroke-width: .38; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-chev--top, .pl-chev--right { stroke: var(--orange); }
.pl-chev--left { stroke: var(--blue-500); }
.pl-dot { fill: var(--blue-500); transform: scale(0); transform-origin: center; transform-box: fill-box; }
.preloader__count { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.preloader__tag { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark); text-align: center; }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 140; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--orange); }
.cursor__ring { width: 38px; height: 38px; border: 1.5px solid rgba(249, 115, 22, .7); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; background: rgba(249, 115, 22, .12); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px var(--gutter) auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  transition: background-color .4s var(--ease), box-shadow .4s, color .4s, border-color .4s;
  border: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(12, 21, 51, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: rgba(255, 255, 255, .08); }
.nav.is-light { color: var(--text-on-light); }
.nav.is-light.is-scrolled { background: rgba(248, 250, 252, .78); border-color: rgba(15, 26, 61, .08); box-shadow: 0 10px 30px -12px rgba(23, 37, 84, .18); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: #fff; position: relative; transition: color .4s; }
.nav.is-light .wordmark { color: var(--navy); }
.wordmark__i { position: relative; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; opacity: .82;
  transition: opacity .3s, background-color .3s;
}
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.nav.is-light .nav__links a:hover { background: rgba(23, 37, 84, .06); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.nav.is-light .lang { background: rgba(23, 37, 84, .06); border-color: rgba(23, 37, 84, .1); }
.lang__btn { position: relative; z-index: 1; padding: 6px 11px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; border-radius: 999px; opacity: .7; transition: opacity .3s, color .3s; }
.lang__btn.is-active { opacity: 1; color: #fff; }
.lang__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 40px; border-radius: 999px; background: var(--blue); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; background: rgba(255, 255, 255, .08); }
.nav.is-light .nav__burger { background: rgba(23, 37, 84, .08); }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden;
}
.mobile-menu a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; color: #fff; }
.mobile-menu a:last-child { color: var(--orange); }

/* ---------- 3D stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 55% at 78% 45%, rgba(29, 78, 216, .45) 0%, transparent 70%),
    radial-gradient(40% 40% at 85% 85%, rgba(249, 115, 22, .22) 0%, transparent 70%),
    radial-gradient(45% 50% at 10% 10%, rgba(59, 130, 246, .18) 0%, transparent 70%),
    linear-gradient(180deg, #0E1A42 0%, var(--navy-deep) 100%);
}
.stage__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 60% 50%, #000 0%, transparent 75%);
}
.stage__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

main { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.9rem, 6.6vw, 6rem); max-width: 11ch; margin-bottom: 26px; font-weight: 800; letter-spacing: -.035em; }
.hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--muted-on-dark); max-width: 50ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  font-size: .85rem; font-weight: 500; color: var(--muted-on-dark);
  padding: 7px 14px 7px 30px; border-radius: 999px; border: 1px solid var(--line-on-dark); position: relative;
  background: rgba(255, 255, 255, .03);
}
.hero__chips li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.hero__chips li:nth-child(2)::before { background: var(--blue-500); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); }
.scroll-cue__mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; position: relative; }
.scroll-cue__mouse span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--orange); animation: wheel 1.8s infinite var(--ease); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- burst ---------- */
.burst__pin { position: relative; height: 100vh; height: 100svh; }
.burst__head { position: absolute; left: 0; right: 0; top: clamp(90px, 13vh, 140px); text-align: center; }
.burst__head .eyebrow { margin-bottom: 16px; }
.burst__title { opacity: 0; }
.burst__labels { position: absolute; left: 0; right: 0; bottom: clamp(40px, 10vh, 110px); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; padding-inline: var(--gutter); text-align: center; }
.burst__label { display: flex; flex-direction: column; gap: 4px; opacity: 0; }
.burst__label strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); }
.burst__label span { font-size: .9rem; color: var(--muted-on-dark); }

/* ---------- robots showcase ---------- */
.robots__pin { position: relative; height: 100vh; height: 100svh; }
.robots__panels { position: relative; height: 100%; }
.rpanel {
  position: absolute; top: 50%; left: var(--gutter); transform: translateY(-50%);
  width: min(460px, 42vw); opacity: 0; visibility: hidden;
}
.rpanel__index { font-family: var(--font-display); font-weight: 600; color: var(--muted-on-dark); letter-spacing: .1em; margin-bottom: 8px; }
.rpanel__index span { color: var(--orange); }
.rpanel__name { font-size: clamp(3.2rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-bottom: 14px;
  background: linear-gradient(180deg, #fff 30%, #9DB4F5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rpanel__kicker { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--orange-300); margin-bottom: 14px; }
.rpanel__desc { color: var(--muted-on-dark); margin-bottom: 24px; }
.rpanel__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rpanel__specs li { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-on-dark); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); font-size: .9rem; font-weight: 500; }
.robots__nav { position: absolute; left: 0; right: 0; bottom: 34px; }
.robots__dots { display: flex; gap: 26px; justify-content: flex-start; }
.robots__dot { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted-on-dark); }
.robots__dot i { width: 36px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.robots__dot i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.robots__dot b { font-weight: 500; }

/* ---------- dual target ---------- */
.dual { position: relative; }
.dual__reveal {
  background: var(--slate-50); color: var(--text-on-light);
  clip-path: circle(0% at 50% 50%);
  min-height: 100vh; min-height: 100svh;
}
.dual__pin { padding-top: clamp(84px, 11vh, 120px); padding-bottom: 32px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.dual__head { text-align: center; max-width: 880px; margin: 0 auto clamp(20px, 4vh, 44px); }
.dual__head .eyebrow { margin-bottom: 14px; }
.dual__head .h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.dual__head .lead { margin: 14px auto 0; font-size: 1.02rem; }
.dual__flow { display: grid; grid-template-columns: minmax(280px, 1fr) 120px minmax(320px, 1.25fr); align-items: center; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 26, 61, .06); }
.blocks { padding: 0 0 22px; position: relative; overflow: hidden; }
.card__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--slate-200); margin-bottom: 22px; }
.card__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.card__bar span:first-child { background: #F87171; } .card__bar span:nth-child(2) { background: #FBBF24; } .card__bar span:nth-child(3) { background: #34D399; }
.card__bar em { margin-left: auto; font-size: .78rem; color: var(--slate-500); font-weight: 500; }
.blocks__stack { padding: 0 22px; }
.blk {
  --c: var(--blue); position: relative; width: fit-content; min-width: 190px;
  color: #fff; font-weight: 600; font-size: .95rem; padding: 12px 18px; border-radius: 12px; background: var(--c);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.blk + .blk { margin-top: 3px; }
.blk i { font-style: normal; display: inline-grid; place-items: center; min-width: 34px; padding: 1px 9px; margin: 0 4px; border-radius: 999px; background: #fff; color: var(--text-on-light); font-weight: 700; }
.blk b { color: #4ADE80; }
.blk--hat { --c: var(--orange); border-radius: 22px 22px 12px 12px; padding-top: 16px; }
.blk--loop { --c: #2563EB; padding: 12px 0 0 18px; border-radius: 12px; }
.blk--loop > span { display: block; padding-bottom: 10px; }
.blk--loop .blk { --c: var(--blue-500); margin-left: 0; border-radius: 10px 0 0 10px; min-width: 210px; }
.blk__foot { height: 18px; }
.blk--looks { --c: #7C3AED; }
.swatch { width: 22px; min-width: 22px !important; height: 22px; padding: 0 !important; background: var(--orange) !important; vertical-align: middle; }
.run {
  position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: #16A34A; color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 20px -6px rgba(22, 163, 74, .6);
}
.run svg { width: 16px; height: 16px; fill: currentColor; }
.dual__flow { position: relative; }
.dual__wires { width: 100%; height: 100%; align-self: stretch; overflow: visible; }
.wire { fill: none; stroke: var(--slate-300); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wire--a { stroke: var(--blue); } .wire--b { stroke: var(--orange); }
.packet { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: .1 1; opacity: 0; filter: drop-shadow(0 0 6px currentColor); }
.packet--a { stroke: var(--blue-500); color: var(--blue-500); } .packet--b { stroke: var(--orange); color: var(--orange); }
.targets { display: grid; gap: 16px; }
.target { padding: 16px 18px; }
.target__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.badge { font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.badge--blue { background: rgba(29, 78, 216, .1); color: var(--blue); }
.badge--orange { background: rgba(249, 115, 22, .12); color: var(--orange-600); }
.target__status { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: #16A34A; opacity: 0; }
.target__status i { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.target__desc { font-size: .85rem; color: var(--muted-on-light); margin-top: 8px; }
.sim { width: 100%; height: clamp(110px, 19vh, 200px); border-radius: 12px; background-color: var(--slate-100); background-image: linear-gradient(var(--slate-300) .6px, transparent .6px), linear-gradient(90deg, var(--slate-300) .6px, transparent .6px); background-size: 20px 20px; background-position: center; }
.sim__trail { stroke-dashoffset: 0; opacity: .0; }
.real { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: stretch; }
.code { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--navy); color: #DBEAFE; font: 500 .78rem/1.65 ui-monospace, "Cascadia Code", Consolas, monospace; overflow: hidden; white-space: pre; }
.code .c-k { color: #FB923C; } .code .c-n { color: #93C5FD; } .code .c-s { color: #86EFAC; }
.board { position: relative; border-radius: 12px; background: linear-gradient(135deg, #1E3A8A, var(--navy)); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; overflow: hidden; }
.board::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 10px 10px; }
.board__chip { position: relative; align-self: center; padding: 12px 10px; border-radius: 6px; background: #0B1229; color: #CBD5E1; font: 700 .66rem/1 ui-monospace, monospace; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .15); }
.board__leds { position: relative; display: flex; justify-content: center; gap: 8px; }
.board__leds i { width: 12px; height: 12px; border-radius: 50%; background: #334155; }
.board__bar { position: relative; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.board__bar span { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- edge AI ---------- */
.edge {
  position: relative; padding: clamp(100px, 14vw, 170px) 0;
  background:
    radial-gradient(40% 40% at 50% 40%, rgba(249, 115, 22, .14), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(29, 78, 216, .3), transparent 70%),
    var(--navy-deep);
  overflow: hidden;
}
.section-head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 760px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
.edge__grid { display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; grid-template-rows: auto auto; gap: 24px 40px; align-items: center; }
.edge__grid .feature:nth-child(1) { grid-column: 1; grid-row: 1; }
.edge__grid .feature:nth-child(2) { grid-column: 1; grid-row: 2; }
.chip-wrap { grid-column: 2; grid-row: 1 / span 2; }
.edge__grid .feature:nth-child(4) { grid-column: 3; grid-row: 1; }
.edge__grid .feature:nth-child(5) { grid-column: 3; grid-row: 2; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-on-dark); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); backdrop-filter: blur(6px); }
.feature h3 { font-size: 1.25rem; margin: 16px 0 8px; }
.feature p { color: var(--muted-on-dark); font-size: .95rem; }
.feature__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(249, 115, 22, .14); color: var(--orange); }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip { width: 100%; height: auto; overflow: visible; }
.traces path { stroke: rgba(147, 197, 253, .28); }
.sparks circle { fill: var(--orange); filter: drop-shadow(0 0 4px var(--orange)); }
.chip__body { fill: #0F1E4D; stroke: rgba(147, 197, 253, .35); stroke-width: 2; }
.chip__inner { fill: #fff; }
.chip__label { fill: rgba(203, 213, 225, .6); font: 700 11px var(--font-display); letter-spacing: .3em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(60px, 8vw, 100px); padding-top: 40px; border-top: 1px solid var(--line-on-dark); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #93C5FD); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted-on-dark); font-size: .92rem; }

/* ---------- learning path ---------- */
.path { background: var(--slate-50); color: var(--text-on-light); overflow: hidden; }
.path__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.path__track { display: flex; align-items: stretch; gap: 26px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); width: max-content; }
.path__intro { width: min(520px, 82vw); flex: none; display: flex; flex-direction: column; justify-content: center; padding-right: 40px; }
.path__intro .lead { margin-top: 18px; }
.level {
  position: relative; flex: none; width: min(360px, 78vw); padding: 30px; border-radius: 28px;
  background: #fff; border: 1px solid rgba(15, 26, 61, .07); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; min-height: 440px; overflow: hidden;
}
.level__num { font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--slate-300); }
.level__grade { margin-top: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.level h3 { font-size: 2rem; margin: 6px 0 12px; color: var(--navy); }
.level p { color: var(--muted-on-light); }
.level__art { margin-top: auto; padding-top: 24px; }
.level__art svg { width: 100%; height: 110px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.level__art--1 svg path:first-child { fill: rgba(249, 115, 22, .15); stroke: var(--orange); }
.level:nth-of-type(odd) .level__art svg { stroke: var(--orange); }
.level::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(circle, rgba(29, 78, 216, .1), transparent 70%); }
.path__rail { position: relative; margin-top: 46px; height: 4px; }
.path__rail::before { content: ""; position: absolute; inset: 0 var(--gutter); border-radius: 4px; background: var(--slate-200); }
.path__rail-fill { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: 0 50%; }
.path__rail-dot { position: absolute; left: var(--gutter); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 4px 14px rgba(249, 115, 22, .45); }

/* ---------- solutions ---------- */
.solutions { position: relative; background: #fff; color: var(--text-on-light); padding: clamp(100px, 12vw, 160px) 0; }
.solutions .h2 { color: var(--navy); }
.dual .h2, .path .h2 { color: var(--navy); }
.tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--slate-100); border: 1px solid var(--slate-200); margin-bottom: 34px; }
.tabs__btn { position: relative; z-index: 1; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--slate-600); transition: color .35s; }
.tabs__btn.is-active { color: #fff; }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy); box-shadow: 0 6px 16px -6px rgba(23, 37, 84, .5); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--slate-200);
  overflow: hidden; transform-style: preserve-3d; will-change: transform;
  display: flex; flex-direction: column;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(249, 115, 22, .14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile h3 { font-size: 1.35rem; color: var(--navy); margin: auto 0 8px; padding-top: 30px; }
.tile p { color: var(--muted-on-light); font-size: .95rem; }
.tile__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 6px 16px -8px rgba(23, 37, 84, .3); }
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile--accent { background: linear-gradient(135deg, var(--orange), #FB923C); border-color: transparent; }
.tile--accent h3, .tile--accent p { color: #fff; }
.tile--accent .tile__icon { color: var(--orange-600); }
.tile--dark { background: radial-gradient(120% 80% at 100% 0%, #2846A8 0%, var(--navy) 60%); border-color: transparent; }
.tile--dark h3 { color: #fff; } .tile--dark p { color: var(--muted-on-dark); }
.tile--dark .tile__icon { background: rgba(255, 255, 255, .1); color: var(--orange-300); box-shadow: none; }
.tile__meter { margin-top: 26px; font-size: .8rem; font-weight: 600; color: var(--orange-300); }
.tile__meter div { margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tile__meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange), #FDBA74); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; padding: 50px 0 70px; background: #fff; overflow: hidden; }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; color: var(--navy); }
.marquee__track i { font-style: normal; color: var(--orange); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.marquee__row:first-child .marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 2px var(--navy); }
.marquee__row--rev { background: var(--orange); transform: rotate(-2deg); margin: 30px -20px 0; padding: 6px 0; }
.marquee__row--rev .marquee__track span { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.marquee__row--rev .marquee__track i { color: var(--navy); font-size: 1.1rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; padding: clamp(110px, 13vw, 170px) 0;
  background: radial-gradient(50% 60% at 15% 30%, rgba(29, 78, 216, .45), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgba(249, 115, 22, .25), transparent 70%), var(--navy-deep);
}
.cta__mark { position: absolute; width: min(900px, 120vw); height: auto; right: -18%; top: 50%; transform: translateY(-50%); opacity: .07; pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cta__copy .lead { margin: 22px 0 28px; }
.cta__list { display: grid; gap: 12px; }
.cta__list li { position: relative; padding-left: 34px; color: var(--text-on-dark); font-weight: 500; }
.cta__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(249, 115, 22, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.form { position: relative; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; color: var(--text-on-light); overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--slate-600); }
.form input:not([type="radio"]), .form textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--text-on-light);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--slate-200); background: var(--slate-50);
  transition: border-color .25s, box-shadow .25s, background-color .25s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.form input.is-invalid { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.form__choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__choices legend { font-size: .85rem; font-weight: 600; color: var(--slate-600); margin-bottom: 8px; padding: 0; }
.choice { display: inline-flex !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--slate-200); font-weight: 600; color: var(--slate-600); transition: all .25s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--orange-300); outline-offset: 2px; }
.form__done { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; padding: 30px; text-align: center; background: #fff; visibility: hidden; opacity: 0; }
.form__done svg { width: 72px; height: 72px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__done circle { stroke: rgba(22, 163, 74, .25); }
.form__done path { stroke: #16A34A; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form__done p { font-weight: 600; font-size: 1.05rem; color: var(--navy); max-width: 30ch; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: #070D22; padding: 70px 0 30px; color: var(--muted-on-dark); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footer__col a { transition: color .25s; width: fit-content; }
.footer__col a:hover { color: var(--orange); }
.footer__base { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: .88rem; }
.to-top:hover { color: var(--orange); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--tall { grid-row: span 1; }
  .edge__grid { grid-template-columns: 1fr 1fr; }
  .chip-wrap { grid-column: 1 / -1; grid-row: 1; max-width: 380px; margin: 0 auto 10px; width: 100%; }
  .edge__grid .feature:nth-child(1) { grid-column: 1; grid-row: 2; }
  .edge__grid .feature:nth-child(2) { grid-column: 2; grid-row: 2; }
  .edge__grid .feature:nth-child(4) { grid-column: 1; grid-row: 3; }
  .edge__grid .feature:nth-child(5) { grid-column: 2; grid-row: 3; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-top: 46vh; }
  .hero__title { max-width: 14ch; }
  .scroll-cue { display: none; }
  .rpanel { top: auto; bottom: 90px; transform: none; width: auto; right: var(--gutter); }
  .rpanel__name { font-size: clamp(2.6rem, 12vw, 4rem); margin-bottom: 6px; }
  .rpanel__desc { font-size: .92rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .rpanel__specs li { padding: 8px 10px; font-size: .8rem; }
  .robots__dots { justify-content: center; gap: 14px; }
  .robots__dot i { width: 22px; }
  .dual__flow { grid-template-columns: 1fr; gap: 0; }
  .dual__wires { display: none; }
  .targets { margin-top: 22px; }
  .dual__head { margin-bottom: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav { padding-left: 14px; }
  .nav .btn--sm { display: none; }
  .wordmark { font-size: 1.25rem; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .edge__grid { grid-template-columns: 1fr; }
  .edge__grid .feature:nth-child(n) { grid-column: 1; grid-row: auto; }
  .form__row { grid-template-columns: 1fr; }
  .real { grid-template-columns: 1fr; }
  .board { display: none; }
  .burst__label span { font-size: .75rem; }
  .level { min-height: 400px; }
}

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

/* ---------- language wipe / fallbacks ---------- */
.wipe { position: fixed; inset: 0; z-index: 160; pointer-events: none; background: linear-gradient(100deg, var(--orange) 0%, var(--blue) 70%, var(--navy) 100%); transform: scaleX(0); }
.stage__fallback { position: absolute; width: 34vmin; right: 12%; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 20px 60px rgba(249, 115, 22, .35)); }
@media (max-width: 900px) { .stage__fallback { right: 50%; top: 24%; transform: translate(50%, -50%); width: 40vmin; } }
