/* ==========================================================================
   Byte Bastler — styles
   ========================================================================== */

:root {
  --night: #060a1c;
  --night-2: #0a1130;
  --night-3: #111a44;
  --night-line: rgba(150, 178, 255, 0.14);
  --on-night: #eef2ff;
  --on-night-muted: #a3b0da;

  --bg: #ffffff;
  --bg-tint: #f3f6ff;
  --ink: #0a1440;
  --ink-2: #2a3768;
  --muted: #56628c;
  --line: #e2e8fa;

  --blue: #2450f0;
  --blue-deep: #1a3cc0;
  --blue-2: #5b84ff;
  --cyan: #38d6ff;
  --violet: #8a6dff;
  --grad: linear-gradient(100deg, #7fa0ff 0%, #38d6ff 45%, #a68dff 100%);
  --grad-ink: linear-gradient(100deg, #2450f0 0%, #1aa6d9 50%, #7a5cf0 100%);

  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-sm: 0 2px 6px rgba(10, 20, 64, 0.05), 0 10px 24px rgba(36, 80, 240, 0.07);
  --shadow-lg: 0 30px 60px -20px rgba(18, 36, 120, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 16px; color: #fff; }

em { font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2f5bff 0%, #2450f0 50%, #1a3cc0 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px -8px rgba(36, 80, 240, .65);
}
.btn-primary:hover { color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 36px -10px rgba(36, 80, 240, .8); }

.btn-ghost {
  color: var(--on-night);
  background: rgba(255,255,255,.06);
  border-color: rgba(190, 210, 255, .22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(190,210,255,.4); }

.btn-light { color: var(--night); background: #fff; }
.btn-light:hover { color: var(--blue-deep); box-shadow: 0 14px 30px -10px rgba(56, 214, 255, .5); }

.btn-outline { color: var(--blue); background: #fff; border-color: #cdd9ff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.header.is-scrolled {
  background: rgba(6, 10, 28, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--night-line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand .logo { transition: transform .6s var(--ease); }
.brand:hover .logo { transform: rotate(-30deg) scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand-name span { color: var(--blue-2); margin-left: 1px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; color: var(--on-night-muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 12px; border-radius: 10px; transition: color .25s, background-color .25s;
}
.nav a:hover, .nav a.is-current { color: #fff; background: rgba(255,255,255,.06); }
.nav .nav-cta { display: none; }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid rgba(190,210,255,.22); border-radius: 12px; background: rgba(255,255,255,.06); cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 16px var(--gutter) 24px;
    background: rgba(6, 10, 28, .96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--night-line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s, visibility 0s .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .3s; }
  .nav a { font-size: 17px; padding: 14px 12px; }
  .nav .nav-cta { display: block; margin-top: 8px; text-align: center; color: #fff; background: var(--blue); }
  .header.menu-open { background: rgba(6, 10, 28, .96); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  color: var(--on-night);
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(36, 80, 240, .28), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(138, 109, 255, .16), transparent 70%),
    linear-gradient(180deg, #050817 0%, var(--night) 55%, #070c22 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::after { /* bottom fade */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--night));
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fallback {
  position: absolute; z-index: 0; right: 8%; top: 50%; width: min(46vw, 520px); aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(127,160,255,.9), rgba(36,80,240,.6) 35%, rgba(20,40,140,.2) 60%, transparent 70%);
  filter: blur(2px);
  opacity: .8;
  transition: opacity .8s;
}
.hero.webgl-ready .hero-fallback { opacity: 0; }

.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 26px; }

.kicker {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; color: #cfdbff;
  background: rgba(255,255,255,.05); border: 1px solid var(--night-line);
  backdrop-filter: blur(6px);
  opacity: 0; animation: fadeUp .8s var(--ease) .05s forwards;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80; position: relative; flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ade80;
  animation: ping 2s var(--ease) infinite;
}

.hero-title {
  font-size: clamp(40px, 6.6vw, 82px);
  font-weight: 700; line-height: 1.0; letter-spacing: -0.045em;
  color: #fff;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span {
  display: inline-block; transform: translateY(110%) rotateX(-40deg); transform-origin: 0 100%;
  animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * .12s + .15s);
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lede {
  font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.65; color: var(--on-night-muted); max-width: 560px;
  opacity: 0; animation: fadeUp .9s var(--ease) .55s forwards;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp .9s var(--ease) .7s forwards; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px;
  font-size: 14px; color: #c3cdf0; font-weight: 500;
  opacity: 0; animation: fadeUp .9s var(--ease) .85s forwards;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--cyan); width: 18px; height: 18px; stroke-width: 2.4; }

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(190,210,255,.35);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: #fff; animation: wheel 1.8s var(--ease) infinite;
}

@media (max-width: 979px) {
  .hero { align-items: flex-start; padding-top: 112px; padding-bottom: 340px; }
  .hero-fallback { right: 50%; top: auto; bottom: -10%; transform: translateX(50%); width: 80vw; }
  .scroll-cue { display: none; }
}
@media (max-width: 639px) {
  .hero { padding-bottom: 300px; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative; background: var(--night); color: #8f9dcc; overflow: hidden;
  padding: 22px 0 26px; border-bottom: 1px solid var(--night-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 0; }
.marquee li {
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  padding: 0 28px; position: relative; white-space: nowrap;
}
.marquee li::after { content: "◆"; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); font-size: 7px; color: #3a4a8c; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head h2, .why-statement h2, .ai h2, .contact h2, .cap h2 {
  font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em;
}
.section-head h2 em, .why-statement h2 em, .cap h2 em { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head > p:not(.eyebrow) { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 620px; }

.eyebrow {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head.center .eyebrow { align-self: center; }
.eyebrow-dark { color: var(--cyan); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 46px, -60px) rotateX(14deg);
  transform-origin: 50% 100%;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc { perspective: 1000px; }
.svc-card, .plan-card, .console, .leader-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .4s, border-color .4s;
  will-change: transform;
}
.svc-card.is-tilting, .plan-card.is-tilting, .console.is-tilting, .leader-card.is-tilting { transition: transform .12s linear, box-shadow .4s, border-color .4s; }

.svc-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.svc-card::before { /* glare */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91, 132, 255, .14), transparent 45%);
}
.svc-card::after { /* top accent */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc-card:hover { border-color: #c9d6ff; box-shadow: var(--shadow-lg); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after { transform: scaleX(1); }

.svc-num { position: absolute; right: 22px; top: 22px; font-family: var(--font-mono); font-size: 12px; color: #a6b2d8; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  transform: translateZ(40px);
  box-shadow: 0 12px 24px -8px var(--glow, rgba(36,80,240,.5)), inset 0 1px 0 rgba(255,255,255,.35);
}
.svc-icon .ic { width: 26px; height: 26px; }
.c-blue { background: linear-gradient(145deg, #6f92ff, #2450f0); --glow: rgba(36,80,240,.55); }
.c-violet { background: linear-gradient(145deg, #b19dff, #6c4ff0); --glow: rgba(108,79,240,.55); }
.c-cyan { background: linear-gradient(145deg, #5fe0ff, #1597d6); --glow: rgba(21,151,214,.5); }
.c-pink { background: linear-gradient(145deg, #ff9dc0, #e2457a); --glow: rgba(226,69,122,.45); }
.c-sky { background: linear-gradient(145deg, #7cc8ff, #1f78e0); --glow: rgba(31,120,224,.5); }
.c-green { background: linear-gradient(145deg, #6ee6a4, #1f9e5b); --glow: rgba(31,158,91,.45); }
.c-amber { background: linear-gradient(145deg, #ffcf6e, #e8892a); --glow: rgba(232,137,42,.45); }
.c-teal { background: linear-gradient(145deg, #64e2d6, #148f88); --glow: rgba(20,143,136,.45); }
.c-orange { background: linear-gradient(145deg, #ffb47a, #f0682a); --glow: rgba(240,104,42,.45); }
.c-indigo { background: linear-gradient(145deg, #8f9bff, #3b3fd6); --glow: rgba(59,63,214,.5); }
.c-rose { background: linear-gradient(145deg, #ff9a9a, #d9384a); --glow: rgba(217,56,74,.45); }
.c-emerald { background: linear-gradient(145deg, #7ae8c4, #0f9f75); --glow: rgba(15,159,117,.45); }

.svc-card h3 { font-size: 19px; font-weight: 600; margin-top: 8px; transform: translateZ(26px); }
.svc-card p { color: var(--muted); font-size: 15px; line-height: 1.6; transform: translateZ(14px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; transform: translateZ(18px); }
.tags li {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2);
  padding: 5px 9px; border-radius: 8px; background: var(--bg-tint); border: 1px solid var(--line);
}

/* ---------- capabilities cube ---------- */
.cap { position: relative; background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.cap-track { height: 460vh; position: relative; }
.cap-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 76px; display: flex; align-items: center; overflow: hidden; }
@media (min-width: 900px) and (max-height: 820px) {
  .cap-copy { gap: 14px; }
  .cap h2 { font-size: clamp(28px, 3.6vw, 44px); }
  .cap-list button { padding: 9px 0; }
  .cap-t { font-size: 19px; }
  .cube-scene { --size: 220px; }
  .cube-wrap { height: 420px; }
}
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.cap-copy { display: flex; flex-direction: column; gap: 22px; }
.cap-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.cap-list li { border-bottom: 1px solid var(--line); }
.cap-list button {
  display: flex; align-items: baseline; gap: 16px; width: 100%;
  padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left; color: #9aa6cc;
  transition: color .4s;
}
.cap-i { font-family: var(--font-mono); font-size: 12px; }
.cap-t { font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.cap-list p {
  color: var(--muted); font-size: 15.5px; max-width: 460px; padding-left: 36px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s, padding .6s var(--ease);
}
.cap-list li.is-active button { color: var(--ink); }
.cap-list li.is-active .cap-i { color: var(--blue); }
.cap-list li.is-active p { max-height: 120px; opacity: 1; padding-bottom: 16px; }
.cap-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 460px; }
.cap-progress span { display: block; height: 100%; width: 100%; background: var(--grad-ink); transform-origin: left; transform: scaleX(0); }

.cube-wrap { position: relative; display: grid; place-items: center; height: 520px; }
.cube-scene {
  --size: 280px;
  width: var(--size); height: var(--size);
  perspective: 1400px;
  animation: float 6s ease-in-out infinite;
}
.cube-tilt { width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(24deg); }
.cube {
  --crx: 0deg; --cry: 0deg;
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--crx)) rotateY(var(--cry));
}
.face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 28px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.28), transparent 50%),
    linear-gradient(150deg, #3f6bff 0%, #2450f0 45%, #142c9e 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -40px 80px rgba(6,10,40,.35);
  backface-visibility: hidden;
}
.face .ic { position: absolute; top: 28px; left: 28px; width: 56px; height: 56px; stroke-width: 1.5; opacity: .95; }
.face b { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.face small { font-family: var(--font-mono); font-size: 12px; opacity: .75; }
.face::after {
  content: ""; position: absolute; right: 22px; top: 26px; width: 74px; height: 74px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.18) 0 1px, transparent 1px 9px);
  opacity: .6;
}
.f-front  { transform: translateZ(calc(var(--size) / 2)); }
.f-right  { transform: rotateY(90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(150deg, #8a6dff, #5b3fe0 55%, #34209a); }
.f-back   { transform: rotateY(180deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(150deg, #ff8fb8, #e2457a 55%, #9a1f4c); }
.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(150deg, #5ec3ff, #1f78e0 55%, #0f4596); }
.f-top    { transform: rotateX(90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(150deg, #6ee6a4, #1f9e5b 55%, #0f5f35); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(150deg, #5fe0ff, #1597d6 55%, #0b5b86); }
.cube-floor {
  position: absolute; bottom: 30px; left: 50%; width: 320px; height: 60px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(36,80,240,.28), transparent);
  filter: blur(6px); animation: shadow 6s ease-in-out infinite;
}

@media (max-width: 899px) {
  .cap-track { height: 400vh; }
  .cap-grid { grid-template-columns: 1fr; gap: 0; align-content: center; }
  .cube-wrap { order: -1; height: 240px; }
  .cube-scene { --size: 150px; }
  .face { padding: 16px; border-radius: 18px; }
  .face .ic { top: 16px; left: 16px; width: 32px; height: 32px; }
  .face b { font-size: 24px; }
  .face::after { width: 40px; height: 40px; right: 14px; top: 16px; }
  .cube-floor { width: 180px; bottom: 6px; }
  .cap-copy { gap: 12px; }
  .cap-copy h2 { font-size: clamp(26px, 7vw, 36px); }
  .cap-list button { padding: 9px 0; }
  .cap-t { font-size: 17px; }
  .cap-list p { font-size: 14.5px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .cube-wrap { height: 190px; }
  .cube-scene { --size: 120px; }
  .cap-copy .eyebrow { display: none; }
}

/* ---------- AI ---------- */
.ai {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  color: var(--on-night);
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(138,109,255,.22), transparent 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(36,80,240,.25), transparent 70%),
    var(--night);
}
.ai::before { /* grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
  opacity: .6;
}
.ai-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.ai-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ai h2 { color: #fff; }
.ai h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-lede { color: var(--on-night-muted); font-size: 18px; max-width: 540px; }
.ai-list { display: grid; gap: 18px; margin: 8px 0 10px; }
.ai-list li { display: flex; gap: 16px; }
.ai-dot {
  flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 4px; transform: rotate(45deg);
  background: var(--grad); box-shadow: 0 0 16px rgba(56,214,255,.6);
}
.ai-list h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ai-list p { color: var(--on-night-muted); font-size: 15px; }

.ai-visual { position: relative; perspective: 1200px; }
.console {
  --rx: 4deg; --ry: -10deg;
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 30, 78, .9), rgba(10, 16, 46, .92));
  border: 1px solid rgba(150, 178, 255, .22);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 80px -20px rgba(56, 214, 255, .25);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--night-line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a356a; }
.dots i:first-child { background: #ff6b81; } .dots i:nth-child(2) { background: #ffc35a; } .dots i:last-child { background: #4ade80; }
.console-title { font-family: var(--font-mono); font-size: 12.5px; color: var(--on-night-muted); }
.console-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: #86efac; }
.console-body { height: 380px; padding: 22px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; }
.msg {
  max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.55;
  animation: msgIn .5s var(--ease) both;
}
.msg.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); color: #dfe6ff; border-bottom-left-radius: 6px; }
.msg.ai b { color: #fff; }
.msg .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg .src span { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(56,214,255,.12); color: #8fe6ff; }
.msg .bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 10px; }
.msg .bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--grad); transform-origin: bottom; animation: grow .8s var(--ease) both; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8fa3e6; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.console-input {
  display: flex; align-items: center; gap: 2px; margin: 0 16px 16px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--night-line); color: #7d8bbd; font-size: 14px; min-height: 50px;
}
.caret { width: 2px; height: 18px; background: var(--cyan); animation: caret 1s steps(1) infinite; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(20, 32, 86, .75); border: 1px solid rgba(150,178,255,.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.6);
  animation: float 7s ease-in-out infinite;
}
.float-chip .ic { color: var(--cyan); }
.chip-a { left: -26px; top: 70px; }
.chip-b { right: -18px; bottom: 90px; animation-delay: -3s; }

@media (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr; }
  .chip-a { left: 8px; top: -18px; } .chip-b { right: 8px; bottom: -18px; }
}

/* ---------- process timeline ---------- */
.timeline { position: relative; }
.tl-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.tl-track { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line); border-radius: 2px; }
.tl-fill { position: absolute; inset: 0; background: var(--grad-ink); border-radius: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }
.tl-list li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.tl-node {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--blue); background: #fff; border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.tl-list li.is-lit .tl-node {
  color: #fff; border-color: transparent; transform: translateY(-4px) rotate(-6deg);
  background: linear-gradient(145deg, #5b84ff, #2450f0);
  box-shadow: 0 16px 30px -10px rgba(36, 80, 240, .6);
}
.tl-list h3 { font-size: 20px; font-weight: 600; }
.tl-list p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .tl-list { grid-template-columns: 1fr; gap: 30px; padding-left: 80px; }
  .tl-track { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .tl-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .tl-node { position: absolute; left: -80px; top: -6px; }
}

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-grid li {
  position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .5s var(--ease), box-shadow .4s, border-color .4s;
}
.ind-grid li.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9d6ff; }
.ind-grid .ic { width: 34px; height: 34px; color: var(--blue); margin-bottom: 8px; stroke-width: 1.6; }
.ind-grid h3 { font-size: 17.5px; font-weight: 600; }
.ind-grid p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.why-statement { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.why-statement > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 480px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-grid li {
  padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fafbff);
  display: flex; flex-direction: column; gap: 8px;
}
.why-k { font-family: var(--font-mono); font-size: 12px; color: var(--blue); }
.why-grid h3 { font-size: 18px; font-weight: 600; }
.why-grid p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; } .why-statement { position: static; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- company ---------- */
.company { padding-top: 0; }
.company-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(91,132,255,.10), transparent 60%), var(--bg-tint);
  border: 1px solid var(--line);
}
.company-copy { display: flex; flex-direction: column; gap: 18px; }
.company-copy h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.03em; }
.company-copy h2 em { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.company-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 6px 0 0; }
.facts div { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; color: var(--ink); word-break: break-word; }
.facts .mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: .02em; }
.leaders { display: grid; gap: 16px; perspective: 1000px; }
.leader-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.leader-card:hover { box-shadow: var(--shadow-lg); border-color: #c9d6ff; }
.avatar {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff;
  background: linear-gradient(145deg, #6f92ff, #2450f0); box-shadow: 0 14px 28px -10px rgba(36,80,240,.6);
  transform: translateZ(30px);
}
.avatar-b { background: linear-gradient(145deg, #b19dff, #6c4ff0); box-shadow: 0 14px 28px -10px rgba(108,79,240,.6); }
.leader-card h3 { font-size: 20px; font-weight: 600; }
.leader-card p { color: var(--blue); font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { perspective: 1200px; }
.plan-card {
  height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan-k { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.plan-card h3 { font-size: 22px; font-weight: 600; }
.plan-card > p:not(.plan-k) { color: var(--muted); font-size: 15px; }
.plan-card ul { display: grid; gap: 10px; margin: 8px 0 18px; }
.plan-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.plan-card li .ic { color: var(--blue); stroke-width: 2.4; width: 18px; height: 18px; }
.plan-card .btn { margin-top: auto; align-self: flex-start; }
.plan-featured .plan-card {
  color: var(--on-night); border-color: transparent;
  background: radial-gradient(120% 80% at 100% 0%, rgba(138,109,255,.35), transparent 60%), linear-gradient(160deg, #13205a, #0a1130);
  box-shadow: 0 40px 80px -30px rgba(18, 36, 120, .7);
}
.plan-featured .plan-k { color: var(--cyan); }
.plan-featured .plan-card > p:not(.plan-k), .plan-featured li { color: var(--on-night-muted); }
.plan-featured li .ic { color: var(--cyan); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 4px 24px;
  transition: border-color .3s, box-shadow .3s;
}
.faq-list details[open] { border-color: #c9d6ff; box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--bg-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232450f0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: #e3eaff; }
.faq-list details p { color: var(--muted); padding: 0 0 20px; max-width: 640px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* ---------- contact ---------- */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  color: var(--on-night); background: var(--night);
}
.contact-bg {
  position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(35% 40% at 20% 30%, rgba(36,80,240,.35), transparent 70%),
    radial-gradient(30% 35% at 85% 70%, rgba(138,109,255,.25), transparent 70%),
    radial-gradient(25% 30% at 60% 10%, rgba(56,214,255,.15), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact h2 { color: #fff; }
.contact h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-copy > p:not(.eyebrow) { color: var(--on-night-muted); font-size: 18px; max-width: 500px; }
.contact-cards { display: grid; gap: 12px; margin-top: 6px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--night-line); color: #fff;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.contact-card:hover { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(150,178,255,.35); transform: translateX(6px); }
.cc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #5b84ff, #2450f0); flex: none; }
.cc-icon .ic { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 12.5px; color: var(--on-night-muted); font-weight: 500; }
.contact-card b { display: block; font-size: 16.5px; font-weight: 600; word-break: break-word; }
.next-steps { display: grid; gap: 10px; margin-top: 10px; }
.next-steps li { display: flex; align-items: center; gap: 12px; color: #c3cdf0; font-size: 15px; }
.next-steps b {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none;
  font-family: var(--font-mono); font-size: 12px; color: var(--cyan); border: 1px solid rgba(56,214,255,.35);
}

.form {
  display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px);
  border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; }
.form label > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid #dbe3f8; background: #f9fbff;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356628c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36,80,240,.12); }
.form .is-invalid { border-color: #e2457a; box-shadow: 0 0 0 4px rgba(226,69,122,.1); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-size: 14.5px; font-weight: 600; }
.form-status.ok { color: #138a4b; }
.form-status.err { color: #c2264f; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: -8px; }
.form button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: #040714; color: var(--on-night-muted); padding: 72px 0 28px; border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand p { font-size: 15px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #6f7db0; margin-bottom: 16px; font-weight: 500; }
.footer-grid > nav, .footer-grid > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.footer a:not(.brand) { color: #c3cdf0; font-size: 15px; transition: color .25s; }
.footer a:not(.brand):hover { color: #fff; }
.footer .footer-cta { color: var(--cyan) !important; font-weight: 600; margin-top: 6px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; color: #6f7db0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; background: var(--blue);
  box-shadow: 0 14px 30px -10px rgba(36,80,240,.7);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.to-top .ic { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--blue-deep); }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes shadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.85); opacity: .7; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-title .line > span, .kicker, .lede, .actions, .hero-proof { transform: none; opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .cap-track { height: auto; }
  .cap-stage { position: relative; height: auto; padding: 100px 0; }
  .cap-list p { max-height: none; opacity: 1; padding-bottom: 14px; }
}
