/* =========================================================
   AI AUTOMATORS MX — Design System
   ========================================================= */

:root {
  --bg:        #090D16;
  --bg-2:      #0B0F19;
  --panel:     #10182a;
  --panel-2:   #1E293B;
  --line:      rgba(148, 163, 184, .14);
  --line-2:    rgba(148, 163, 184, .26);

  --cyan:      #00F0FF;
  --blue:      #0066FF;
  --green:     #10B981;
  --green-br:  #00FF66;

  --text:      #F8FAFC;
  --muted:     #94A3B8;
  --dim:       #64748B;

  --grad: linear-gradient(100deg, #00F0FF 0%, #3B82F6 48%, #0066FF 100%);

  --font-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shell: 1240px;
  --radius: 18px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

body.is-locked { overflow: hidden; height: 100vh; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
}

a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== BACKGROUND FX ===================== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  z-index: 9999;
  pointer-events: none;
  border: 1px solid rgba(0, 240, 255, .5);
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: width .28s var(--ease), height .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
  mix-blend-mode: screen;
}
.cursor span {
  position: absolute; inset: 50% auto auto 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  background: var(--cyan); border-radius: 50%;
}
.cursor.is-hover {
  width: 62px; height: 62px;
  background: rgba(0, 240, 255, .08);
  border-color: rgba(0, 240, 255, .8);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ===================== PRELOADER ===================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { width: min(420px, 82vw); text-align: center; }
.loader__brand {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 30px;
}
.loader__mark { width: 34px; height: 34px; color: var(--cyan); animation: spin 8s linear infinite; }
.loader__mark svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__word, .brand__word {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: .16em;
  font-size: 14px;
  text-transform: uppercase;
}
.loader__word b, .brand__word b { color: var(--cyan); font-weight: 700; }
.loader__bar {
  height: 2px; width: 100%;
  background: rgba(148, 163, 184, .16);
  border-radius: 2px; overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0, 240, 255, .7);
  transition: width .25s var(--ease);
}
.loader__meta {
  display: flex; justify-content: space-between;
  margin-top: 14px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
}
#loaderPct { color: var(--cyan); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(9, 13, 22, .72);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex; align-items: center; gap: 22px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 26px; height: 26px; color: var(--cyan); }
.brand__word { font-size: 13px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 14px; color: var(--muted);
  position: relative; transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: 0; height: 1px; background: var(--cyan);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 500; font-size: 15px;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--primary {
  background: var(--cyan);
  color: #03121a;
  box-shadow: 0 0 0 0 rgba(0, 240, 255, .5), 0 12px 40px -12px rgba(0, 240, 255, .55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0,240,255,.4), 0 18px 50px -12px rgba(0, 240, 255, .8);
}
.btn--ghost {
  background: rgba(248, 250, 252, .03);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, .6);
  background: rgba(0, 240, 255, .06);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.hero__glow {
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 90vh;
  background:
    radial-gradient(45% 55% at 50% 40%, rgba(0, 102, 255, .28), transparent 70%),
    radial-gradient(30% 40% at 70% 60%, rgba(16, 185, 129, .12), transparent 70%),
    radial-gradient(35% 45% at 30% 30%, rgba(0, 240, 255, .16), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 980px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  background: rgba(148,163,184,.05);
  padding: 9px 16px; border-radius: 100px;
  margin-bottom: 30px;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-br);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, .18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,255,102,0); } }

.hero__title {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: 26px;
}
.hero__lede {
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 13px; color: var(--dim); max-width: 150px; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--cyan), transparent);
  animation: drop 2.2s var(--ease) infinite;
}
@keyframes drop { 0% { transform: scaleY(.2); transform-origin: top; opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); transform-origin: top; opacity: 0; } }

/* ===================== SEQUENCE / SCROLLYTELLING ===================== */
.seq { position: relative; }
.seq__sticky {
  position: sticky; top: 0; left: 0;
  height: 100svh; width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seq__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(9,13,22,.55) 78%, rgba(9,13,22,.92) 100%),
    linear-gradient(to right, rgba(9,13,22,.85), transparent 30%, transparent 62%, rgba(9,13,22,.8));
}
.seq__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 60% at 50% 110%, rgba(0, 240, 255, .16), transparent 70%);
}
.seq__ui { position: absolute; inset: 0; z-index: 3; }

.seq__chapters { position: absolute; inset: 0; }
.chapter {
  position: absolute;
  left: clamp(20px, 5vw, 48px);
  bottom: clamp(120px, 22vh, 220px);
  width: min(520px, 82vw);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.chapter.is-active { opacity: 1; transform: none; }
.chapter__index {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.chapter h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  margin-bottom: 16px;
}
.chapter p { color: var(--muted); font-size: clamp(.98rem, 1.5vw, 1.12rem); max-width: 470px; }

.seq__rail {
  position: absolute; right: clamp(20px, 5vw, 48px); top: 50%; transform: translateY(-50%);
  width: 2px; height: 44vh;
  background: rgba(148,163,184,.16);
  border-radius: 2px;
}
.seq__rail-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(0, 240, 255, .8);
}
.seq__counter {
  position: absolute; right: clamp(20px, 5vw, 48px); bottom: clamp(28px, 6vh, 60px);
  font-family: var(--font-head);
  font-size: 13px; letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.seq__counter i { color: var(--dim); font-style: normal; }

/* ===================== SECTIONS ===================== */
.section { position: relative; padding: clamp(90px, 14vh, 160px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 100px;
  margin-bottom: 22px;
}
.tag--cyan { color: var(--cyan); border-color: rgba(0,240,255,.35); }
.tag--green { color: var(--green-br); border-color: rgba(0,255,102,.3); }
.section__title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-bottom: 20px; }
.section__lede { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 620px; }

/* ===================== PROBLEM ===================== */
.problem { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(30,41,59,.5), rgba(16,24,42,.32));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,240,255,.28);
  box-shadow: 0 24px 60px -30px rgba(0, 240, 255, .5);
}
.card__icon {
  font-family: var(--font-head); font-size: 15px; color: var(--cyan);
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 13px;
  margin-bottom: 22px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ===================== SOLUTION / BENTO ===================== */
.solution { background: var(--bg-2); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento__card {
  position: relative;
  background: linear-gradient(180deg, rgba(30,41,59,.55), rgba(16,24,42,.35));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.bento__card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,240,255,.3);
  box-shadow: 0 30px 80px -40px rgba(0,240,255,.55);
}
.bento__card--wide { display: flex; gap: 30px; align-items: center; }
@media (min-width: 761px) {
  .bento__card--wide { grid-column: span 2; }
}
.bento__card--accent {
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(16,185,129,.16), transparent 55%),
    linear-gradient(180deg, rgba(30,41,59,.6), rgba(16,24,42,.4));
}
.bento__kicker {
  display: block;
  font-family: var(--font-head); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.bento__card h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 12px; }
.bento__card p { color: var(--muted); font-size: 15px; }
.bento__copy { flex: 1 1 55%; }

/* Mockup */
.mockup {
  flex: 1 1 45%;
  background: rgba(9,13,22,.75);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,240,255,.1) inset;
}
.mockup__bar { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); }
.mockup__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel-2); }
.mockup__bar i:first-child { background: var(--cyan); }
.mockup__bar i:nth-child(2) { background: var(--blue); }
.mockup__body { display: flex; gap: 12px; padding: 16px; }
.mockup__side { display: flex; flex-direction: column; gap: 10px; width: 34px; }
.mockup__side span { height: 26px; border-radius: 6px; background: rgba(148,163,184,.12); }
.mockup__side span:first-child { background: rgba(0,240,255,.25); }
.mockup__main { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.mockup__chart { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.mockup__chart span {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(0,102,255,.25));
  animation: barGrow 1.4s var(--ease) both;
}
.mockup__chart span:nth-child(4) { background: linear-gradient(180deg, var(--green-br), rgba(16,185,129,.25)); }
@keyframes barGrow { from { height: 0; } }
.mockup__rows { display: flex; flex-direction: column; gap: 8px; }
.mockup__rows span { height: 8px; border-radius: 4px; background: rgba(148,163,184,.16); }
.mockup__rows span:nth-child(1) { width: 90%; }
.mockup__rows span:nth-child(2) { width: 70%; }
.mockup__rows span:nth-child(3) { width: 82%; }

/* Flow */
.flow { display: flex; align-items: center; gap: 0; margin-top: 28px; }
.flow__node {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0,240,255,.08);
  position: relative;
  box-shadow: 0 0 22px -6px rgba(0,240,255,.6);
}
.flow__node--green { background: rgba(0,255,102,.1); box-shadow: 0 0 22px -6px rgba(0,255,102,.6); }
.flow__node::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--cyan);
}
.flow__node--green::after { background: var(--green-br); }
.flow__line {
  flex: 1; height: 1px; min-width: 40px;
  background: linear-gradient(90deg, rgba(0,240,255,.6), rgba(0,240,255,.1));
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.chips span {
  font-size: 12.5px; padding: 7px 13px;
  border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.chips span:hover { color: var(--text); border-color: rgba(0,240,255,.5); background: rgba(0,240,255,.06); }

/* Ticks */
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14.5px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-br); font-size: 13px;
}

/* ===================== PROCESS / TIMELINE ===================== */
.process { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.timeline {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.timeline__item {
  position: relative;
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16,24,42,.4);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.timeline__item:hover { transform: translateY(-6px); border-color: rgba(0,240,255,.3); background: rgba(16,24,42,.7); }
.timeline__no {
  font-family: var(--font-head); font-size: 13px; color: var(--cyan);
  display: inline-block; margin-bottom: 18px; letter-spacing: .12em;
}
.timeline__item h3 { font-size: 1.18rem; margin-bottom: 10px; }
.timeline__item p { color: var(--muted); font-size: 14.5px; }
.timeline__item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.timeline__item:hover::before { opacity: 1; }

/* ===================== RESULTS ===================== */
.results { background: var(--bg); overflow: hidden; }
.results__glow {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);
  width: 90vw; height: 60vh;
  background: radial-gradient(45% 55% at 50% 50%, rgba(16,185,129,.14), transparent 70%);
  pointer-events: none;
}
.metrics {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-bottom: clamp(60px, 9vw, 100px);
}
.metric {
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16,24,42,.35);
}
.metric__num {
  display: block;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.metric__label { color: var(--muted); font-size: 14px; }

.quote {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.35; letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 26px;
}
.quote figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.quote figcaption b { color: var(--text); }
.quote figcaption span { color: var(--dim); }

/* ===================== CTA ===================== */
.cta { position: relative; overflow: hidden; }
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(0,240,255,.16), transparent 70%),
    radial-gradient(40% 50% at 50% 0%, rgba(0,102,255,.14), transparent 70%);
}
.cta__inner { position: relative; text-align: center; max-width: 760px; }
.cta__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.cta__lede { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 44px; }
.cta__actions {
  display: flex;
  justify-content: center;
}
.cta__submit { height: 51px; }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 34px;
  background: var(--bg-2);
}
.footer__row {
  display: flex; flex-wrap: wrap; gap: 34px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 44px;
}
.footer__brand { max-width: 340px; }
.footer__brand .brand__word { display: inline-block; margin-bottom: 14px; }
.footer__brand p { color: var(--dim); font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a { color: var(--muted); font-size: 14px; transition: color .25s; }
.footer__nav a:hover { color: var(--cyan); }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--dim); font-size: 12.5px; letter-spacing: .04em;
}

/* ===================== REVEAL ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(9,13,22,.97);
    backdrop-filter: blur(20px);
    padding: 12px 24px 26px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }

  .hero { padding-top: 100px; }
  .hero__stats { gap: 22px 34px; }
  .stat__label { max-width: 120px; }

  .problem__grid, .bento, .metrics, .timeline { grid-template-columns: 1fr; }
  .bento__card--wide { flex-direction: column; align-items: stretch; }

  .chapter { bottom: clamp(150px, 26vh, 260px); }

  .cta__submit { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -.03em; }
  .seq__rail { display: none; }
  .metrics { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
