/* ==========================================================================
   DIRA — heydira.com
   Dark theme. Values transcribed from "DIRA Website v2 Dark" design.
   ========================================================================== */

:root {
  --bg: #09090B;
  --surface: #18181B;
  --surface-sunk: #111113;
  --border-soft: #1F1F23;
  --border: #27272A;
  --border-strong: #3F3F46;

  --text: #FAFAFA;
  --text-hi: #FFFFFF;
  --text-e4: #E4E4E7;
  --text-d4: #D4D4D8;
  --text-b8: #B8B8C0;
  --muted: #A1A1AA;
  --muted-2: #9C9CA5;
  --zinc-500: #71717A;

  --indigo: #4F46E5;
  --indigo-text: #818CF8;
  --indigo-soft: #A5B4FC;
  --indigo-100: #C7D2FE;
  --indigo-tint: #17163A;
  --indigo-tint-border: #312E81;

  --green: #16A34A;
  --amber: #D97706;
  --amber-lt: #F59E0B;
  --amber-bright: #FBBF24;
  --amber-border: #78350F;

  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--indigo-text); text-decoration: none; }
a:hover { color: var(--indigo-soft); }

input,
select,
button,
textarea { font-family: inherit; }

img, svg { display: block; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 2px solid var(--indigo-soft);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes pulse   { 0%, 100% { transform: scale(1); opacity: .35 } 50% { transform: scale(1.06); opacity: .6 } }
@keyframes bar     { 0%, 100% { transform: scaleY(.4) }             50% { transform: scaleY(1) } }
@keyframes orbit   { from { transform: rotate(0deg) }  to { transform: rotate(360deg) } }
@keyframes orbitR  { from { transform: rotate(0deg) }  to { transform: rotate(-360deg) } }
@keyframes drift   { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes dash    { to { stroke-dashoffset: -400 } }
@keyframes flow    { 0% { opacity: 0; transform: translateX(-6px) } 20% { opacity: 1 } 80% { opacity: 1 } 100% { opacity: 0; transform: translateX(6px) } }
@keyframes rise    { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes fillbar { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes ping    { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(2.4); opacity: 0 } }
@keyframes counter { from { opacity: 0; transform: translateY(8px) scale(.96) } to { opacity: 1; transform: none } }

/* --------------------------------------------------------------------------
   Motion primitives
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0s }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: .08s }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: .16s }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: .24s }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: .32s }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: .4s }

.hover-lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }

.fill-anim { transform-origin: left; animation: fillbar 1.2s var(--ease) both; }

.hero-in > * { animation: rise .8s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .1s }
.hero-in > *:nth-child(3) { animation-delay: .2s }
.hero-in > *:nth-child(4) { animation-delay: .3s }
.hero-in > *:nth-child(5) { animation-delay: .4s }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font: 600 11px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--muted-2);
  margin: 0;
}
.eyebrow--indigo { color: var(--indigo-text); }

.mono-label {
  font: 500 10.5px var(--mono);
  letter-spacing: .08em;
  color: var(--muted-2);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head__title {
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -.025em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 9, 11, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__wordmark {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav__links a { color: var(--text-e4); }
.nav__links a:first-child { color: var(--text-d4); }
.nav__links a:hover { color: var(--indigo-soft); }
.nav__cta {
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav__cta:hover { background: #4338CA; color: #fff; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  min-height: clamp(600px, 86vh, 800px);
  display: flex;
  align-items: center;
}
.hero__canvas-wrap { position: absolute; inset: 0; }
.hero__canvas-wrap canvas { display: block; width: 100%; height: 100%; }

.hero__grid {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  pointer-events: none;
}
.hero__col { max-width: 520px; pointer-events: auto; }
.hero__eyebrow {
  font: 600 11px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--indigo-text);
  margin: 0 0 22px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 56px);
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0 0 22px;
  color: #fff;
}
.hero__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 34px;
}
.hero__form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.hero__form input {
  flex: 1;
  min-width: 180px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  background: #27272A;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}
.hero__form input::placeholder { color: #8A8A93; }
.hero__form input:focus-visible { border-color: var(--indigo-soft); }
.hero__form button {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.hero__form button:hover:not(:disabled) { background: #4338CA; }
.hero__form button:disabled { opacity: .6; cursor: progress; }

.hero__badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.hero__badges span { display: flex; align-items: center; gap: 6px; }
.dot-sm {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo-text);
  display: block;
  flex: none;
}

.hero__hud {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: none;
}
.hud__live { display: flex; align-items: center; gap: 10px; }
.hud__pip { position: relative; width: 8px; height: 8px; display: block; flex: none; }
.hud__pip span { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.hud__pip span:last-child { animation: ping 1.6s ease-out infinite; }
.hud__live-text {
  font: 500 11px var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
}
.hud__stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hud__num {
  font: 600 22px var(--sans);
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hud__num--indigo { color: var(--indigo-soft); }

/* --------------------------------------------------------------------------
   Why DIRA
   -------------------------------------------------------------------------- */
.why { padding: 96px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.why__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.why__head .eyebrow { margin-bottom: 16px; }
.why__title {
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
}

.compare {
  background: var(--surface);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  height: clamp(300px, 42vw, 400px);
  margin-bottom: 16px;
}
.compare__canvas { position: absolute; inset: 0; }
.compare__canvas canvas { display: block; width: 100%; height: 100%; }
.compare__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}
.compare__pane {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.compare__pane--dira { align-items: flex-end; text-align: right; }
.compare__label { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--muted-2); }
.compare__label--dira { color: var(--indigo-text); }
.compare__num {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2);
}
.compare__num--dira { color: #fff; }
.compare__caption {
  font: 500 10.5px var(--mono);
  letter-spacing: .08em;
  color: var(--text-b8);
  margin-top: 6px;
}
.compare__caption--dira { color: var(--indigo-text); }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.tile {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tile__num { font-weight: 700; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.tile__copy { font-size: 12.5px; color: var(--muted-2); line-height: 1.45; }
.tile__copy span { font: 500 10.5px var(--mono); color: var(--muted); }
.tile__bars { display: flex; gap: 4px; align-items: flex-end; height: 36px; }
.tile__bars span { width: 6px; border-radius: 3px; display: block; }

.why__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.river {
  background: var(--surface);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.river__canvas { position: absolute; inset: 0; }
.river__canvas canvas { display: block; width: 100%; height: 100%; }
.river__overlay { position: absolute; inset: 0; pointer-events: none; padding: 22px 24px; }
.river__note {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.45;
}
.river__legend {
  position: absolute;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.river__legend--answered { top: 30%; }
.river__legend--upsold   { top: 50%; }
.river__legend--human    { top: 70%; }
.river__swatch { width: 8px; height: 8px; border-radius: 50%; display: block; flex: none; }
.river__key {
  font: 500 10.5px var(--mono);
  letter-spacing: .06em;
  width: 64px;
}
.river__val {
  font: 600 14px var(--sans);
  color: #fff;
  font-variant-numeric: tabular-nums;
  width: 30px;
  text-align: right;
}

.limits {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.limits__rows { display: flex; flex-direction: column; gap: 10px; }
.limits__row { display: flex; align-items: center; gap: 12px; }
.limits__name {
  font: 500 10.5px var(--mono);
  color: var(--muted);
  width: 92px;
  flex: none;
}
.limits__track {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: var(--border-soft);
  overflow: hidden;
}
.limits__fill { width: 100%; height: 100%; }
.limits__verdict { font-size: 12px; font-weight: 600; width: 60px; text-align: right; }
.limits__gap {
  background: var(--surface);
  border: 1px solid var(--amber-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-e4);
}
.limits__gap strong {
  font: 500 10.5px var(--mono);
  color: var(--amber-bright);
  display: block;
  margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   Signal flow
   -------------------------------------------------------------------------- */
.signal { padding: 16px var(--gutter) 32px; max-width: var(--max); margin: 0 auto; }
.signal__card {
  background: var(--surface);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.signal__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  pointer-events: none;
}
.signal__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: center;
}
.signal__step { display: flex; flex-direction: column; gap: 6px; }
.signal__step-tag { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--indigo-text); }
.signal__step-title { color: #fff; font-weight: 600; font-size: 17px; }
.signal__step-sub { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Use cases
   -------------------------------------------------------------------------- */
.usecases { padding: 96px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.usecase {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.usecase__title { font-weight: 600; font-size: 15px; }
.usecase__sub { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Call lifecycle
   -------------------------------------------------------------------------- */
.lifecycle { padding: 48px var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.lifecycle__card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
}
.lifecycle__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}
.lifecycle__rail,
.lifecycle__progress {
  position: absolute;
  top: 22px;
  height: 2px;
}
.lifecycle__rail { left: 8%; right: 8%; background: var(--border); }
.lifecycle__progress { left: 8%; width: 0; background: var(--indigo); transition: width .5s var(--ease); }

.lifecycle__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  padding: 0 4px;
  min-width: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
}
.lifecycle__pip {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 10.5px var(--mono);
  color: var(--zinc-500);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.lifecycle__step[data-state="done"] .lifecycle__pip {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.lifecycle__label {
  font-weight: 600;
  font-size: clamp(11px, 1.3vw, 13.5px);
  color: var(--muted-2);
  overflow-wrap: anywhere;
}
.lifecycle__step[data-active="true"] .lifecycle__label { color: var(--text); }
.lifecycle__actor { font: 500 10.5px var(--mono); color: var(--muted); }

.lifecycle__detail {
  margin-top: 36px;
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
}
.lifecycle__detail-main { animation: counter .4s var(--ease) both; }
.lifecycle__detail-tag { font: 600 11px var(--mono); color: var(--indigo-text); margin-bottom: 6px; }
.lifecycle__detail-desc { font-size: 14px; color: var(--text); line-height: 1.5; }
.lifecycle__example {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-e4);
  line-height: 1.5;
}
.lifecycle__example-label {
  font: 500 10.5px var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   AI as your manager
   -------------------------------------------------------------------------- */
.manager { padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.manager .section-head { margin-bottom: 48px; }
.manager__block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.manager__block:last-child { margin-bottom: 0; }
.manager__tag { font: 600 12px var(--mono); color: var(--indigo-text); margin-bottom: 12px; }
.manager__title {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.manager__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-e4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.manager__list li { display: flex; gap: 10px; }
.manager__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  margin-top: 7px;
  flex: none;
}
.manager__panel {
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.manager__panel-label { font: 500 11px var(--mono); color: var(--muted); margin-bottom: 12px; }

/* Decision flow */
.flowchart { display: flex; flex-direction: column; align-items: center; }
.flow-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
}
.flow-node--q { background: var(--border-strong); color: #fff; border-color: var(--border-strong); }
.flow-stem { width: 2px; height: 16px; background: var(--border-strong); }
.flow-split { width: 100%; max-width: 340px; height: 16px; position: relative; }
.flow-split__bar { position: absolute; left: 25%; right: 25%; top: 0; height: 2px; background: var(--border-strong); }
.flow-split__leg { position: absolute; top: 0; width: 2px; height: 16px; background: var(--border-strong); }
.flow-split__leg--l { left: 25% }
.flow-split__leg--r { right: 25% }
.flow-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}
.flow-branch { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow-branch__verdict { font: 500 10.5px var(--mono); }
.flow-branch__verdict--yes { color: var(--green) }
.flow-branch__verdict--no  { color: var(--amber) }
.flow-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12px;
  text-align: center;
  width: 100%;
}
.flow-box--accent {
  background: var(--indigo-tint);
  color: var(--indigo-soft);
  border-color: var(--indigo-tint);
  font-weight: 600;
}
.flow-box--warn { border-color: var(--amber-border); font-weight: 600; }

/* Campaign panel */
.campaign__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.campaign__head span { font: 500 11px var(--mono); color: var(--muted); }
.campaign__head span:last-child { color: var(--muted-2); }
.campaign__track {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  margin-bottom: 16px;
  overflow: hidden;
}
.campaign__fill { width: 47%; height: 100%; background: var(--indigo); }
.campaign__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.campaign__stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
}
.campaign__stat-k { font-size: 11px; color: var(--muted-2); }
.campaign__stat-v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.campaign__recall {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.campaign__recall-k { font: 500 11px var(--mono); color: var(--indigo-text); margin-bottom: 4px; }
.campaign__recall-v { font-size: 12.5px; color: var(--text-e4); line-height: 1.5; }

/* Knowledge flow */
.knowledge {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.knowledge__col { display: flex; flex-direction: column; gap: 6px; }
.knowledge__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
}
.knowledge__item--live { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.knowledge__pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  flex: none;
}
.knowledge__hub { display: flex; justify-content: center; }
.knowledge__hub-mark {
  width: 74px; height: 74px;
  border-radius: 18px;
  background: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(79, 70, 229, .3);
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries { padding: 96px var(--gutter); max-width: var(--max); margin: 0 auto; }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.industry { background: var(--surface-sunk); border-radius: 14px; padding: 26px; }
.industry__title { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.industry__sub { font-size: 13px; color: var(--muted-2); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Go live
   -------------------------------------------------------------------------- */
.golive { padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.golive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.step-card { border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.step-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-card__n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font: 600 12px var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.step-card__title { font-weight: 600; font-size: 15px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--border-soft);
  color: var(--text-b8);
}
.chip--accent { background: var(--indigo-tint); color: var(--indigo-soft); }
.step-card__note { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }

/* --------------------------------------------------------------------------
   Signup
   -------------------------------------------------------------------------- */
.signup {
  padding: 96px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.signup__title {
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.signup__sub {
  font-size: 14.5px;
  color: var(--text-b8);
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}
.signup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.signup__form input,
.signup__form select {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
.signup__form input::placeholder { color: #7A7A83; }
.signup__form input:focus-visible,
.signup__form select:focus-visible { border-color: var(--indigo-soft); }
.signup__form select { appearance: none; cursor: pointer; }
.signup__submit {
  height: 46px;
  margin-top: 6px;
  border: 0;
  border-radius: 9px;
  background: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.signup__submit:hover:not(:disabled) { background: #4338CA; }
.signup__submit:disabled { opacity: .6; cursor: progress; }
.signup__fineprint {
  font: 500 11.5px var(--mono);
  color: var(--muted);
  text-align: center;
  margin-top: 2px;
}
.signup__success {
  background: var(--indigo-tint);
  border: 1px solid var(--indigo-tint-border);
  border-radius: 14px;
  padding: 28px;
}
.signup__success-title {
  font-weight: 600;
  font-size: 17px;
  color: var(--indigo-soft);
  margin-bottom: 6px;
}
.signup__success-sub { font-size: 13.5px; color: var(--indigo-soft); line-height: 1.55; }

.form-error {
  font-size: 12.5px;
  color: #FCA5A5;
  line-height: 1.45;
  margin: 0;
}
.hero__error { margin-top: 12px; }
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #000;
  border-top: 1px solid var(--border-soft);
  padding: 56px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__wordmark {
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.035em;
  line-height: 1;
}
.footer__tag { color: var(--muted-2); font-size: 13px; margin-left: 6px; }
.footer__links {
  color: var(--muted-2);
  font-size: 12.5px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__links a { color: var(--indigo-soft); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav__links { gap: 16px; font-size: 13px; order: 3; width: 100%; }
  .lifecycle__track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .lifecycle__rail,
  .lifecycle__progress { display: none; }
  .knowledge { grid-template-columns: 1fr; justify-items: center; }
  .knowledge__arrow { transform: rotate(90deg); }
  .knowledge__col { width: 100%; }
  .manager__block { gap: 32px; margin-bottom: 64px; }
  .signup { gap: 32px; }

  /* The HUD is absolutely positioned on desktop. On a phone there is no room
     to overlay it, so stack it under the hero copy instead — which means the
     hero itself has to become a column, or the HUD lands beside the grid as
     a second flex item. */
  .hero {
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }
  .hero__grid { padding-bottom: 24px; }
  .hero__hud {
    position: static;
    width: 100%;
    padding-top: 0;
    padding-bottom: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .hud__stats { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal],
  [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
  .hero-in > * { animation: none; }
  .fill-anim,
  .lifecycle__detail-main { animation: none; }
  .hud__pip span:last-child { animation: none; opacity: 0; }
  .tile__bars span,
  .signal__art * { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Document pages (privacy, DPDP notice, 404)
   -------------------------------------------------------------------------- */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) 96px;
}
.doc h1 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.doc__meta {
  font: 500 11.5px var(--mono);
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 40px;
}
.doc h2 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.02em;
  margin: 40px 0 12px;
}
.doc p,
.doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-e4);
}
.doc ul { padding-left: 20px; margin: 12px 0; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }

.doc__callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 28px 0;
}
.doc__callout p { margin: 0; font-size: 14px; }

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px var(--gutter);
  gap: 18px;
}
.notfound__code {
  font: 600 11px var(--mono);
  letter-spacing: .1em;
  color: var(--indigo-text);
}
.notfound__title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.03em;
  margin: 0;
}
.notfound__sub { color: var(--muted); font-size: 15px; margin: 0; max-width: 420px; }
.notfound__cta {
  height: 44px;
  padding: 0 22px;
  border-radius: 9px;
  background: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
}
.notfound__cta:hover { background: #4338CA; color: #fff; }
