/* =========================================================================
   Clai · AI Receptionist — dark-stage landing (Recipe A2)
   ========================================================================= */

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

:root {
  /* Light "paper" surfaces (inverted section) */
  --paper:        #F6F4EE;
  --paper-2:      #FBFAF6;

  /* Ink */
  --ink:          #0A0E0C;
  --ink-2:        #14191A;
  --ink-3:        #1B2122;
  --ink-mute:     #5E6B64;
  --hair:         rgba(20,30,25,0.10);
  --hair-2:       rgba(20,30,25,0.18);

  /* Stage */
  --stage:        #0A0E0C;
  --stage-2:      #0E1213;
  --stage-3:      #141919;
  --stage-line:   rgba(255,255,255,0.08);
  --stage-line-2: rgba(255,255,255,0.14);
  --stage-text:   #ECEFED;
  --stage-mute:   #8E978F;
  --stage-dim:    #5E6B64;

  /* Brand greens — dark-stage */
  --green:        #44BA82;
  --green-deep:   #2F8F5E;
  --green-soft:   rgba(68,186,130,0.14);
  --emerald:      #65E2A1;

  /* Accents */
  --amber:        #E5B64A;  --amber-soft: rgba(229,182,74,0.20);
  --amber-deep:   #8A6513;
  --sky:          #6DA8E5;  --sky-soft:   rgba(109,168,229,0.18);
  --lilac:        #A891E3;  --lilac-soft: rgba(168,145,227,0.18);
  --peach:        #E5694A;  --peach-soft: rgba(229,105,74,0.16);
  --rose:         #D58FA0;
  --danger:       #E26A6A;  --danger-soft: rgba(226,106,106,0.14);

  --font-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", "Fraunces", ui-serif, Georgia, serif;
  --max-w:  1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--stage); }
body {
  background: var(--stage);
  color: var(--stage-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
::selection { background: rgba(229,182,74,0.40); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ============ Eyebrow ============ */
.eyebrow {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(68,186,130,0.14);
  animation: eyebrowPulse 2.4s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(68,186,130,0.14); }
  50%      { box-shadow: 0 0 0 6px rgba(68,186,130,0.22); }
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(10,14,12,0.7);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}
.nav.is-stuck {
  background: rgba(10,14,12,0.92);
  border-bottom-color: var(--stage-line);
}
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 68px; gap: 20px;
}
.nav__logo { display: inline-flex; align-items: center; color: #EDEBE4; justify-self: start; }
.nav__logo svg { width: 102px; height: 20px; display: block; }
.nav__links { display: flex; align-items: center; gap: 6px; justify-self: center; }
.nav__link {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border: 0; background: transparent; border-radius: 8px;
  font: 400 14.5px/1 var(--font-sans); letter-spacing: -0.005em;
  color: rgba(236,239,237,0.78);
  transition: color 160ms ease, background 160ms ease;
  cursor: pointer;
}
.nav__link:hover { color: var(--stage-text); background: rgba(255,255,255,0.05); }
.nav__item { position: relative; }
.nav__item.is-open > .nav__link { color: var(--stage-text); background: rgba(255,255,255,0.06); }

/* Dropdowns */
.dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;             /* hover bridge */
  opacity: 0; visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
  z-index: 60;
}
.nav__item.is-open > .dd { opacity: 1; visibility: visible; transition-delay: 0s; }
.dd__panel {
  display: grid; gap: 8px;
  padding: 18px;
  background: #101514;
  border: 1px solid var(--stage-line-2);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 6px 18px rgba(0,0,0,0.35);
}
.dd__panel--product { grid-template-columns: repeat(3, 172px); }
.dd__panel--solutions { grid-template-columns: repeat(5, 158px); transform: translateX(0); }
.dd__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 12px;
  border-radius: 12px;
  transition: background 160ms ease;
}
.dd__card:hover { background: rgba(255,255,255,0.05); }
.dd__icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stage-line);
  color: var(--stage-text);
  margin-bottom: 4px;
}
.dd__icon svg { width: 17px; height: 17px; }
.dd__badge {
  font: 500 9.5px/1 var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
}
.dd__badge--live  { background: var(--green-soft); color: var(--emerald); border: 1px solid rgba(68,186,130,0.25); }
.dd__badge--early { background: var(--amber-soft); color: var(--amber);   border: 1px solid rgba(229,182,74,0.30); }
.dd__badge--soon  { background: rgba(255,255,255,0.05); color: var(--stage-mute); border: 1px solid var(--stage-line); }
.dd__t { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--stage-text); }
.dd__d { font-size: 12.5px; line-height: 1.45; color: var(--stage-mute); }

/* Right side */
.nav__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__demo {
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 14px; border-radius: 999px;
  font: 400 14px/1 var(--font-sans); color: rgba(236,239,237,0.78);
  transition: color 160ms ease, background 160ms ease;
}
.nav__demo:hover { color: var(--stage-text); background: rgba(255,255,255,0.05); }
.nav__cta {
  display: inline-flex; align-items: center;
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  background: rgba(236,239,237,0.92); color: var(--ink);
  font: 500 14px/1 var(--font-sans); letter-spacing: -0.005em;
  transition: background 180ms ease, transform 180ms ease;
}
.nav__cta:hover { background: #fff; transform: translateY(-1px); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; height: 52px;
  border-radius: 999px; border: 0;
  font: 500 15px/1 var(--font-sans); letter-spacing: -0.005em;
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 220ms ease, background 200ms ease, border-color 200ms ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--green); color: var(--stage);
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(68,186,130,0.30), 0 4px 8px rgba(0,0,0,0.20);
}
.btn--primary:hover { background: var(--emerald); transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--stage-text); background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); }
.btn--nav { height: 38px; padding: 0 16px; font-size: 13px; box-shadow: 0 8px 18px rgba(68,186,130,0.24); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 6vw, 88px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -120px -10% auto -10%; height: 760px;
  background:
    radial-gradient(680px 380px at 74% 30%, rgba(68,186,130,0.16), transparent 70%),
    radial-gradient(520px 300px at 10% 72%, rgba(229,182,74,0.08), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__l { display: flex; flex-direction: column; gap: 24px; max-width: 620px; }
.hero__h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__h1 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.005em; color: var(--emerald);
}
.hero__lede {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.55; color: var(--stage-mute);
  max-width: 54ch; text-wrap: pretty;
}
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero__trust {
  display: flex; align-items: center; gap: 10px 16px; margin-top: 12px; flex-wrap: wrap;
  font: 500 12px/1.5 var(--font-mono); letter-spacing: 0.06em;
  color: var(--stage-dim);
}
.hero__trust b { color: var(--stage-text); font-weight: 500; }
.hero__trust .dot { color: var(--stage-dim); }

/* ---- Orb ---- */
.hero__r { position: relative; }
.orb-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
  display: grid; place-items: center;
}
#orb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  /* Safety net: feather the canvas itself so no edge can ever read as a box */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 55%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, black 55%, transparent 78%);
}
.orb-caption {
  position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px;
  background: rgba(14,18,19,0.72);
  border: 1px solid var(--stage-line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stage-mute);
  white-space: nowrap;
}
.orb-caption__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  animation: eyebrowPulse 1.8s ease-in-out infinite;
}
.orb-transcript {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  max-width: 88%;
  font: 400 13px/1.5 var(--font-sans);
  font-style: italic;
  color: rgba(236,239,237,0.62);
  text-align: center;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.orb-transcript.is-on { opacity: 1; }

/* ============ Ticker ============ */
.ticker {
  border-top: 1px solid var(--stage-line);
  border-bottom: 1px solid var(--stage-line);
  padding: 18px 0;
  overflow: hidden;
}
.ticker__track {
  display: flex; gap: 48px; align-items: center; white-space: nowrap;
  animation: tickerScroll 42s linear infinite;
  width: max-content;
}
.ticker__cell {
  display: inline-flex; align-items: center; gap: 48px;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stage-dim);
}
.ticker__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); opacity: 0.6; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { position: relative; padding: clamp(80px, 9vw, 144px) 0; }
.section__hd {
  display: flex; flex-direction: column; align-items: flex-start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__title {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.03em;
  text-wrap: balance;
}
.section__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.005em; color: var(--emerald);
}
.section__sub {
  margin: 14px 0 0;
  font-size: 17px; line-height: 1.55;
  color: var(--stage-mute); max-width: 50ch; text-wrap: pretty;
}

/* ============ Solutions-style capability section ============ */
.sol {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.sol__rail {
  position: sticky; top: 108px;
  display: flex; flex-direction: column;
}
.sol__item {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--stage-line);
  font-size: 14px; color: var(--stage-mute);
  transition: color 200ms ease;
}
.sol__item:first-child { border-top: 1px solid var(--stage-line); }
.sol__item svg { width: 16px; height: 16px; flex: none; opacity: 0.7; transition: opacity 200ms ease, color 200ms ease; }
.sol__item:hover { color: var(--stage-text); }
.sol__item.is-on { color: var(--stage-text); }
.sol__item.is-on svg { color: var(--emerald); opacity: 1; }

.sol__rows { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 112px); }
.feat { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 110px; }
.feat__copy { max-width: 60ch; }
.feat__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--stage-text);
}
.feat__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--emerald); }
.feat__d { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--stage-mute); text-wrap: pretty; }
.feat__panel {
  border: 1px solid var(--stage-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20,25,25,0.45), rgba(14,18,19,0.7));
  padding: clamp(24px, 3.4vw, 48px);
  min-height: 320px;
  display: grid; align-items: center;
  overflow: hidden;
}
.feat__panel > * { display: flex; flex-direction: column; gap: 14px; }

.tile {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--green-soft); color: var(--emerald);
}
.tile svg { width: 17px; height: 17px; }
.tile[data-tone="amber"] { background: var(--amber-soft); color: var(--amber); }
.tile[data-tone="sky"]   { background: var(--sky-soft);   color: var(--sky); }
.tile[data-tone="lilac"] { background: var(--lilac-soft); color: var(--lilac); }

/* Route visual */
.route {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--stage-line);
}
.routes .route:last-child { border-bottom: 0; }
.route__from { color: var(--stage-mute); font-style: italic; font-family: var(--font-serif); font-size: clamp(15px, 1.5vw, 18px); flex: 1 1 auto; }
.route__arrow { color: var(--stage-dim); }
.route__to {
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}
.route__to--green { background: var(--green-soft); color: var(--emerald); border: 1px solid rgba(68,186,130,0.25); }
.route__to--sky   { background: var(--sky-soft);   color: var(--sky);     border: 1px solid rgba(109,168,229,0.25); }
.route__to--dim   { background: rgba(255,255,255,0.04); color: var(--stage-mute); border: 1px solid var(--stage-line); }

/* SMS visual */
.sms { max-width: 560px; margin: 0 auto; width: 100%; }
.sms__row { display: flex; }
.sms__meta { font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--danger); }
.sms__bubble {
  max-width: 82%;
  padding: 11px 15px; border-radius: 16px;
  font-size: 14.5px; line-height: 1.5;
}
.sms__bubble--out {
  align-self: flex-start;
  background: rgba(68,186,130,0.12);
  border: 1px solid rgba(68,186,130,0.20);
  color: var(--stage-text);
  border-bottom-left-radius: 4px;
}
.sms__bubble--in {
  align-self: flex-end;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--stage-line);
  color: var(--stage-mute);
  border-bottom-right-radius: 4px;
}

/* Calendar visual */
.cal { max-width: 560px; margin: 0 auto; width: 100%; }
.cal__hd {
  display: flex; align-items: center; justify-content: space-between;
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; color: var(--stage-dim);
}
.pill {
  display: inline-flex; padding: 4px 8px; border-radius: 999px;
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.pill--live { background: var(--green-soft); color: var(--emerald); border: 1px solid rgba(68,186,130,0.25); }
.cal__slot {
  font-size: 14px; padding: 12px 14px; border-radius: 10px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.cal__slot--dim { color: var(--stage-dim); border: 1px dashed var(--stage-line); }
.cal__slot--on {
  color: var(--stage-text);
  background: rgba(68,186,130,0.10);
  border: 1px solid rgba(68,186,130,0.28);
}
.cal__by { font: 500 9px/1 var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase; color: var(--emerald); white-space: nowrap; }

/* KB visual */
.kb { max-width: 600px; margin: 0 auto; width: 100%; gap: 12px; }
.kb__q { font-family: var(--font-serif); font-style: italic; font-size: clamp(16px, 1.6vw, 19px); color: var(--stage-mute); }
.kb__a {
  font-size: 14.5px; line-height: 1.55; color: var(--stage-text);
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--stage-line);
}
.kb__a + .kb__q { margin-top: 10px; }
.kb__src { font: 500 10.5px/1.4 var(--font-mono); letter-spacing: 0.08em; color: var(--lilac); }

/* ============ Paper (inverted) section ============ */
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper .section__title { color: var(--ink); }
.section--paper .section__title em { color: #1E6B43; }
.section--paper .section__sub { color: var(--ink-mute); }
.section--paper .eyebrow { color: #1E6B43; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.stat { border-top: 1px solid var(--hair-2); padding-top: 22px; }
.stat__num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
}
.stat__num em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: #1E6B43;
}
.stat__label { margin-top: 10px; font-size: 14.5px; color: var(--ink-mute); max-width: 26ch; }

/* ============ Steps ============ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: linear-gradient(180deg, rgba(20,25,25,0.4), rgba(14,18,19,0.6));
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease;
}
.step:hover { transform: translateY(-2px); border-color: var(--stage-line-2); }
.step__num {
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.18em;
  color: var(--emerald);
}
.step__t { margin: 14px 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.step__d { margin: 0; font-size: 14px; line-height: 1.55; color: var(--stage-mute); }

/* ============ CTA card + form ============ */
.section--cta { overflow: hidden; }
.cta__glow {
  position: absolute; inset: auto -10% -180px -10%; height: 620px;
  background: radial-gradient(640px 340px at 50% 80%, rgba(68,186,130,0.12), transparent 70%);
  pointer-events: none;
}
.cta__card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,25,25,0.5), rgba(14,18,19,0.75));
  border: 1px solid var(--stage-line-2);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.cta__l { display: flex; flex-direction: column; gap: 16px; }
.cta__h2 {
  margin: 0; font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.03em;
}
.cta__h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--emerald); }
.cta__p { margin: 0; font-size: 15.5px; color: var(--stage-mute); max-width: 42ch; }
.cta__bullets { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cta__bullets li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--stage-text); }
.cta__bullets svg { width: 15px; height: 15px; color: var(--emerald); flex: none; }

.form { display: flex; flex-direction: column; gap: 14px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stage-mute);
}
.field__input {
  height: 48px; padding: 0 14px;
  background: rgba(10,14,12,0.7);
  border: 1px solid var(--stage-line);
  border-radius: 12px;
  color: var(--stage-text);
  font: 400 15px/1 var(--font-sans);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field__input::placeholder { color: var(--stage-dim); }
.field__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(68,186,130,0.16);
}
.field__input--area { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; font-family: var(--font-sans); }
.field--invalid .field__input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(226,106,106,0.14); }
.btn--submit { margin-top: 4px; width: 100%; }
.btn--submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form__msg { margin: 0; min-height: 20px; font-size: 13.5px; }
.form__msg.is-error { color: var(--danger); }
.form__msg.is-ok { color: var(--emerald); }
.form--done .form__row, .form--done .field, .form--done .btn--submit { display: none; }
.form--done .form__msg { font-size: 16px; line-height: 1.5; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--stage-line);
  padding: 42px 0 48px;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; color: #EDEBE4; }
.footer__brand svg { width: 92px; height: 18px; display: block; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stage-mute);
  transition: color 160ms ease;
}
.footer__links a:hover { color: var(--stage-text); }
.footer__note { margin: 0; font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.08em; color: var(--stage-dim); }

/* ============ Motion ============ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.22,1,0.36,1),
              transform 800ms cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

.fade-up { animation: fadeUp 700ms ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__r { order: -1; }
  .orb-stage { max-width: 400px; }
  .cta__card { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav__links, .nav__demo { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .section__hd { grid-template-columns: 1fr; gap: 8px; }
  .sol { grid-template-columns: 1fr; }
  .sol__rail { display: none; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: clamp(60px, 8vw, 88px) 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .hero__h1 { font-size: 34px; }
  .hero__lede { font-size: 15px; }
  .hero__cta .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .orb-stage { max-width: 320px; }
}
@media (max-width: 390px) {
  .hero__h1 { font-size: 30px; line-height: 1.06; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .reveal { animation: none; transition: none; transform: none; opacity: 1; }
  .eyebrow::before, .orb-caption__dot { animation: none; }
  .ticker__track { animation: none; }
}
