/* ============================================================
   automatIQ process — site styles
   Ported 1:1 from the design project's React primitives
   (components/*.jsx) and ui_kits/website sections. Tokens live
   in css/tokens/*.css (verbatim copies — edit them there only).
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  line-height: var(--body-line);
  color: var(--text-body);
  /* navy like the design kit: the strip behind the floating nav and the overscroll
     edges read as hero/footer navy, so the translucent pill always sits on dark */
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  color: var(--text-strong);
}

p { margin: 0; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-xs);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------- Button (components/core/Button.jsx) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: var(--tracking-snug);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn:focus-visible { transition: none; }

.btn--sm { height: 38px; padding: 0.5rem 0.9rem; gap: 0.4rem; font-size: 0.875rem; }
.btn--lg { height: 56px; padding: 0.95rem 1.75rem; gap: 0.6rem; font-size: 1.0625rem; }
.btn--full { width: 100%; }

.btn--primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { background: var(--brand-active); }

.btn--accent { background: var(--accent); color: var(--navy-900); box-shadow: var(--glow-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--accent:active { background: var(--accent-active); }

.btn--secondary { background: var(--white); color: var(--brand); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--gray-50); }

.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--navy-50); }

.btn--inverse { background: var(--white); color: var(--navy-900); }
.btn--inverse:hover { background: var(--navy-50); }

.btn--inverse-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: var(--border-inverse); }
.btn--inverse-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Badge (components/core/Badge.jsx) ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background: var(--gray-100);
  color: var(--gray-700);
}
.badge--sm { font-size: 0.6875rem; padding: 0.2rem 0.55rem; gap: 0.3rem; }
.badge--navy { background: var(--navy-50); color: var(--navy-700); }
.badge--accent { background: var(--orange-100); color: var(--orange-900); }
.badge--solid { background: var(--accent); color: var(--navy-900); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--inverse { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.badge--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------- Eyebrow (components/core/Eyebrow.jsx) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: inline-block;
}
.eyebrow--navy { color: var(--navy-700); }
.eyebrow--muted { color: var(--gray-500); }
.eyebrow--inverse { color: var(--orange-500); }

/* ---------- Card (components/surfaces/Card.jsx) ---------- */
.card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.card--elevated { box-shadow: var(--shadow-lg); }
.card--subtle { background: var(--surface-subtle); box-shadow: none; }
.card--inverse {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-inverse);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.card--accent { background: var(--orange-50); border-color: var(--orange-200); box-shadow: none; }
.card--pad-sm { padding: 1rem; }
.card--pad-md { padding: 1.5rem; }
.card--pad-xl { padding: 2.5rem; }
.card--interactive {
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card--interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- StatCard (components/surfaces/StatCard.jsx) ---------- */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
  text-align: left;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.stat-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-inverse);
  box-shadow: none;
}
.stat-card--center { align-items: center; text-align: center; }
.stat-card__value {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--text-3xl);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--orange-600);
}
.stat-card__label {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-md);
  color: var(--text-strong);
}
.stat-card--dark .stat-card__label { color: var(--white); }
.stat-card__detail {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--lh-normal);
  color: var(--text-muted);
}
.stat-card--dark .stat-card__detail { color: var(--navy-200); }

/* ---------- FeatureCard (components/surfaces/FeatureCard.jsx) ---------- */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.feature-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-inverse);
  box-shadow: none;
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-100);
  color: var(--orange-700);
  flex-shrink: 0;
}
.feature-card--dark .feature-card__icon { background: rgba(234, 161, 89, 0.14); }
.feature-card h3 {
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-snug);
}
.feature-card--dark h3 { color: var(--white); }
.feature-card p {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
}
.feature-card--dark p { color: var(--navy-200); }

/* ---------- Wordmark (components/brand/Wordmark.jsx; symbol = assets/symbol.svg) ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  line-height: 1;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-weight: var(--fw-regular);
  color: var(--navy-700);
  text-decoration: none;
}
.wordmark--white { color: var(--white); }
.wordmark img { width: 1.05em; height: 1.05em; }
.wordmark .wordmark__space { display: inline-block; width: 0.22em; }

/* ---------- DotGrid (components/brand/DotGrid.jsx) ---------- */
.dot-grid { position: relative; }
.dot-grid > * { position: relative; }
.dot-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(234, 161, 89, 0.22) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
.dot-grid--navy::before { background-image: radial-gradient(rgba(21, 90, 143, 0.16) 1.5px, transparent 1.5px); }
.dot-grid--light::before { background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px); }

/* ---------- Input (components/forms/Input.jsx) ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-strong);
}
.field__box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-strong);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field__box:focus-within { border-color: var(--orange-600); box-shadow: var(--focus-ring); }
.field__box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-strong);
  min-width: 0;
}
.field__hint {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.field__box--dark { background: rgba(255, 255, 255, 0.06); border-color: var(--border-inverse); }
.field__box--dark input { color: var(--white); }
/* UA-default placeholder gray fails on navy; Navy Mist family per the no-gray-on-navy rule */
.field__box--dark input::placeholder { color: var(--navy-300); opacity: 1; }
.field__box .ic { color: var(--gray-400); flex-shrink: 0; }

/* ---------- Shared ---------- */
.section-h2 {
  margin: 16px 0 0;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-h2--inverse { color: var(--white); }
.eyebrow--center { justify-content: center; }

/* Lucide icon sizing (replaces the JSX inline width/height) */
.ic { flex-shrink: 0; }
.ic-14 { width: 14px; height: 14px; }
.ic-15 { width: 15px; height: 15px; }
.ic-16 { width: 16px; height: 16px; }
.ic-17 { width: 17px; height: 17px; }
.ic-18 { width: 18px; height: 18px; }
.ic-19 { width: 19px; height: 19px; }
.ic-24 { width: 24px; height: 24px; }
.ic-26 { width: 26px; height: 26px; }
.ic-28 { width: 28px; height: 28px; }

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* honeypot field — visually gone, still submitted by bots */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--white);
  color: var(--navy-700);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-md) 0;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
}
.skip-link:focus { left: 0; }

/* Scroll reveal (JS-gated so content is never hidden without JS) */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Nav (ui_kits/website/Nav.jsx) ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 24px;
  display: flex;
  justify-content: center;
}
.nav {
  position: relative;
  width: 100%;
  max-width: 1140px;
  /* solid by default (AA over light sections, and the no-JS state); JS relaxes it at top of page */
  background: rgba(6, 39, 68, 0.92);
  transition: background var(--dur-base) var(--ease-out);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav--at-top { background: rgba(6, 39, 68, 0.55); }
.nav .wordmark { font-size: 20px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  color: var(--navy-200);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
}
.nav__menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: rgba(6, 39, 68, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  color: var(--navy-200);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav__menu a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav__menu .btn { margin-top: 8px; }

/* ---------- Hero (ui_kits/website/Hero.jsx) ---------- */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__glow--orange {
  position: absolute;
  top: -160px; right: -80px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(234, 161, 89, 0.22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__glow--navy {
  position: absolute;
  top: 120px; left: -200px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(21, 90, 143, 0.5), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 92px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__pill-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange-600);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__pill-text { font-family: var(--font-body); font-size: 13.5px; color: var(--navy-200); padding-right: 8px; }
.hero h1 {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(2.6rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}
.hero__grad {
  background: linear-gradient(100deg, var(--orange-500), var(--orange-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  margin: 0 0 32px;
  max-width: 512px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy-200);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { margin-top: 36px; display: flex; gap: 30px; align-items: center; }
.hero__stat-v { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--white); letter-spacing: -0.02em; }
.hero__stat-l { color: var(--navy-300); font-size: 13px; }
.hero__stat-div { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.12); }
.hero__visual { position: relative; }

/* Agent terminal */
.terminal {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(234, 161, 89, 0.6), rgba(255, 255, 255, 0.06) 40%, rgba(21, 90, 143, 0.5));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.terminal__win { border-radius: 19px; background: rgba(4, 29, 58, 0.94); overflow: hidden; }
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot--r { background: #ff5f57; }
.term-dot--y { background: #febc2e; }
.term-dot--g { background: #28c840; }
.terminal__title { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--navy-300); }
.terminal__body { padding: 18px 18px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.95; }
.terminal__row { display: flex; gap: 8px; }
.terminal__row > span:first-child { color: var(--orange-600); }
.terminal__row--agent { color: var(--orange-500); }
.terminal__row--run { color: var(--white); }
.terminal__row--ok { color: var(--navy-200); }
.terminal__row--pr { color: var(--orange-600); }
.terminal__done { color: #28c840; display: flex; gap: 8px; margin-top: 4px; align-items: center; }

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(9, 45, 78, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.float-card--tl { top: -30px; left: -30px; }
.float-card--br { bottom: -24px; right: -18px; }
.float-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}
.float-card__icon--success { color: var(--success); }
.float-card__icon--accent { color: var(--orange-600); }
.float-card__title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white); line-height: 1.2; }
.float-card__sub { font-family: var(--font-body); font-size: 12px; color: var(--navy-300); }

/* ---------- Logo cloud (ui_kits/website/LogoCloud.jsx) ---------- */
.logos { background: var(--navy-800); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.logos__inner { max-width: 1200px; margin: 0 auto; padding: 34px 32px; text-align: center; }
.logos__label {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-300);
}
.logos__row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.logos__row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
}
/* category descriptors are honest prose, visually distinct from the real client names */
.logos__row .logos__more {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--navy-300);
  letter-spacing: 0;
}

/* ---------- Transform (ui_kits/website/Transform.jsx) ---------- */
.transform { background: var(--surface-page); }
.transform__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 32px 92px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: center;
}
.transform .section-h2 { margin: 18px 0 20px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; }
.transform .section-h2 span { color: var(--accent); }
.transform__lead { margin: 0 0 20px; font-size: 18px; line-height: 1.65; max-width: 480px; }
.transform__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.transform__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.transform__check { display: inline-flex; flex-shrink: 0; margin-top: 1px; color: var(--success); }

.impact { position: relative; }
.impact__glow {
  position: absolute;
  inset: -30px -20px;
  background: radial-gradient(circle at 70% 30%, rgba(234, 161, 89, 0.18), transparent 65%);
  filter: blur(10px);
}
.impact__card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  padding: 28px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.impact__dots {
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(circle at 80% 15%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 80% 15%, #000, transparent 65%);
}
.impact__content { position: relative; }
.impact__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.impact__label { font-family: var(--font-mono); font-size: 12px; color: var(--navy-300); text-transform: uppercase; letter-spacing: 0.08em; }
.impact__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12px; color: var(--success); }
.impact__big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.impact__num { font-family: var(--font-display); font-weight: 800; font-size: 60px; color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.impact__tag { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--orange-500); }
.impact__note { margin: 0 0 22px; font-family: var(--font-body); font-size: 13.5px; color: var(--navy-200); }
.impact__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.impact__bars > span { flex: 1; border-radius: 5px 5px 0 0; background: rgba(255, 255, 255, 0.14); }
.impact__bars > span:nth-child(1) { height: 26%; }
.impact__bars > span:nth-child(2) { height: 34%; }
.impact__bars > span:nth-child(3) { height: 30%; }
.impact__bars > span:nth-child(4) { height: 48%; }
.impact__bars > span:nth-child(5) { height: 58%; }
.impact__bars > span:nth-child(6) { height: 74%; background: linear-gradient(var(--orange-500), var(--orange-700)); }
.impact__bars > span:nth-child(7) { height: 92%; background: linear-gradient(var(--orange-500), var(--orange-700)); }
.impact__axis { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--navy-300); }

/* ---------- Features / bento (ui_kits/website/Features.jsx) ---------- */
.features { background: var(--surface-subtle); }
.features__inner { max-width: 1200px; margin: 0 auto; padding: 104px 32px; }
.features__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.features__head-copy { max-width: 560px; }
.features__aside { margin: 0; max-width: 320px; font-size: 16px; line-height: 1.6; text-align: right; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento {
  position: relative;
  border-radius: 18px;
  padding: 1px;
  background: var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.bento:hover {
  background: linear-gradient(140deg, var(--orange-500), rgba(7, 48, 93, 0.25));
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.bento--wide { grid-column: span 2; }
.bento__inner {
  height: 100%;
  border-radius: 17px;
  padding: 26px;
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.bento--feature .bento__inner {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.bento__dots {
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 85% 30%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 85% 30%, #000, transparent 70%);
}
.bento__icon {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--orange-100);
  color: var(--orange-700);
}
.bento--feature .bento__icon { background: rgba(234, 161, 89, 0.16); color: var(--orange-500); }
.bento__body { position: relative; }
.bento__body h3 { margin: 0 0 8px; font-weight: 700; font-size: 18.5px; letter-spacing: -0.01em; }
.bento--feature .bento__body h3 { font-size: 22px; color: var(--white); }
.bento__body p { margin: 0; font-size: 15px; line-height: 1.6; }
.bento--feature .bento__body p { color: var(--navy-200); }

/* ---------- Workspace (ui_kits/website/Workspace.jsx) ---------- */
.workspace { background: var(--navy-900); position: relative; overflow: hidden; }
.workspace__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(21, 90, 143, 0.45), transparent 70%);
  filter: blur(20px);
}
.workspace__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 104px 32px; }
.workspace__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.workspace__head-copy { max-width: 620px; }
.ws-mock {
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.5);
}
.ws-mock__win { border-radius: 19px; background: rgba(4, 29, 58, 0.96); overflow: hidden; }
.ws-mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ws-mock__dots { display: flex; gap: 7px; }
.ws-mock__branch { margin-left: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--navy-300); }
.ws-mock__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--navy-200);
}
.ws-mock__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.ws-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px; }
.ws-col__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ws-col__dot { width: 8px; height: 8px; border-radius: 50%; }
.ws-col__dot--plan { background: var(--navy-300); }
.ws-col__dot--writing { background: var(--orange-500); }
.ws-col__dot--review { background: var(--success); }
.ws-col__key { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--navy-200); }
.ws-col__count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--navy-400); }
.ws-col__cards { display: flex; flex-direction: column; gap: 12px; }
.ws-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 13px 14px;
}
.ws-card__title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 8px; }
.ws-card__meta-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ws-card__meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--navy-300); }
.ws-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ws-badge--agent { color: var(--orange-500); background: rgba(234, 161, 89, 0.14); }
.ws-badge--running { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.ws-badge--queued { color: var(--navy-200); background: rgba(255, 255, 255, 0.06); }
.ws-badge--review { color: var(--success); background: rgba(46, 158, 107, 0.16); }

/* ---------- Process (ui_kits/website/Process.jsx) ---------- */
.process { background: var(--surface-subtle); position: relative; }
.process__inner { max-width: 1080px; margin: 0 auto; padding: 104px 32px; }
.process__intro { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.process__steps { position: relative; display: flex; flex-direction: column; gap: 28px; }
.process__line {
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(var(--orange-400), var(--navy-200));
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.process-step__num {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  border: 4px solid var(--surface-subtle);
}
.process-step h3 { margin: 0 0 8px; font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.process-step__body { margin: 0; font-size: 15.5px; line-height: 1.6; }
.process-step__mock {
  border-radius: 15px;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  padding: 16px;
  box-shadow: var(--shadow-md);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mock-term { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.85; }
.mock-term > div { display: flex; gap: 8px; }
.mock-term > div > span:first-child { color: var(--orange-600); }
.mock-line--white { color: var(--white); }
.mock-line--muted { color: var(--navy-200); }
.mock-line--accent { color: var(--orange-500); }
.mock-line--success { color: var(--success); }
.mock-connect { display: flex; flex-wrap: wrap; gap: 9px; }
.mock-connect span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--navy-200);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.mock-connect .ic { color: var(--orange-500); }
.mock-metric__bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mock-metric__bars > span { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, 0.14); }
.mock-metric__bars > span:nth-child(1) { height: 30%; }
.mock-metric__bars > span:nth-child(2) { height: 40%; }
.mock-metric__bars > span:nth-child(3) { height: 36%; }
.mock-metric__bars > span:nth-child(4) { height: 55%; }
.mock-metric__bars > span:nth-child(5) { height: 68%; background: linear-gradient(var(--orange-500), var(--orange-700)); }
.mock-metric__bars > span:nth-child(6) { height: 88%; background: linear-gradient(var(--orange-500), var(--orange-700)); }
.mock-metric__axis { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--navy-300); }

/* ---------- Proof (ui_kits/website/Proof.jsx) ---------- */
.proof { background: var(--navy-900); position: relative; overflow: hidden; }
.proof__dots {
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 15%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 15%, #000, transparent 70%);
}
.proof__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 104px 32px; }
.proof__intro { max-width: 640px; margin-bottom: 44px; }
.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}
.proof-stat { padding: 30px 32px; background: rgba(255, 255, 255, 0.02); }
.proof-stat + .proof-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.proof-stat__v { font-family: var(--font-display); font-weight: 800; font-size: 52px; color: var(--orange-600); line-height: 1; letter-spacing: -0.03em; }
.proof-stat__l { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--white); margin-top: 10px; }
.proof-stat__d { font-family: var(--font-body); font-size: 13.5px; color: var(--navy-300); margin-top: 3px; }
.proof__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.case-card__head { display: flex; align-items: center; gap: 13px; }
.case-card__mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
}
.case-card__client { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--white); line-height: 1.1; }
.case-card__role { font-family: var(--font-body); font-size: 13px; color: var(--navy-300); }
.case-card__quote { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--navy-200); flex: 1; }
.case-card__foot {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.case-card__value { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--orange-600); line-height: 1; }
.case-card__label { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--white); }

/* ---------- Personas (ui_kits/website/Personas.jsx) ---------- */
.personas { background: var(--surface-page); }
.personas__inner { max-width: 1200px; margin: 0 auto; padding: 104px 32px; }
.personas__intro { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.personas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persona__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-700);
  color: var(--orange-500);
}
.persona h3 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.persona p { font-size: 15.5px; line-height: 1.6; }

/* ---------- CTA band (ui_kits/website/CTA.jsx) ---------- */
.cta { background: var(--surface-page); }
.cta__inner { max-width: 1200px; margin: 0 auto; padding: 0 32px 96px; }
.cta__band {
  position: relative;
  overflow: hidden;
  background: var(--navy-700);
  border-radius: 28px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.cta__dots {
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-size: var(--dot-grid-size);
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 90% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 90% at 90% 50%, #000, transparent 70%);
}
.cta__band > * { min-width: 0; }
.cta__copy { position: relative; }
.cta__copy h2 {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.08;
}
.cta__sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--navy-200); max-width: 460px; }
.cta__form { position: relative; display: flex; flex-direction: column; gap: 14px; }
.cta__note { font-family: var(--font-body); font-size: 13px; color: var(--navy-300); text-align: center; }

/* ---------- Footer (ui_kits/website/Footer.jsx) ---------- */
.footer { background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__inner { max-width: 1200px; margin: 0 auto; padding: 56px 32px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__blurb { margin: 18px 0 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--navy-300); }
.footer h4 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--navy-200); text-decoration: none; font-family: var(--font-body); font-size: 14px; }
.footer ul a:hover { color: var(--white); }
.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--navy-300);
}
.footer__watermark { position: relative; overflow: hidden; height: 130px; margin-top: 12px; }
.footer__watermark span {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 16vw, 15rem);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
}

/* ---------- Demo modal (ui_kits/website/index.html) ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 29, 58, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--gray-500);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.modal__close:hover { color: var(--gray-700); background: var(--gray-100); }
.modal__note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal h3 { margin: 6px 0 0; font-weight: 800; font-size: 24px; color: var(--navy-900); letter-spacing: -0.02em; }
.modal__desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gray-600); }
/* darkened from --danger #d1495b: 14px error text needs >= 4.5:1 on white (this is 5.9:1) */
.modal__status { font-size: 14px; color: #b53347; }
.modal__status:empty { display: none; }
.modal__status a { color: #b53347; font-weight: var(--fw-semibold); }
.modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 12px 0;
}
.modal__check {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  align-items: center;
  justify-content: center;
}
.modal__success h3 { margin: 0; font-size: 22px; }
.modal__success p { margin: 0; font-size: 15px; color: var(--gray-600); }

/* ---------- Responsive (added — source is desktop-first) ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .transform__inner { grid-template-columns: 1fr; gap: 56px; }
  .bento-grid, .personas__grid { grid-template-columns: repeat(2, 1fr); }
  .features__aside { text-align: left; }
  .proof__cases { grid-template-columns: 1fr; }
  .cta__band { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .process-step { grid-template-columns: 56px 1fr; align-items: start; }
  .process-step__mock { grid-column: 2; }
  .proof__stats { grid-template-columns: 1fr; }
  .proof-stat + .proof-stat { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .ws-board { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bento-grid, .personas__grid { grid-template-columns: 1fr; }
  .bento--wide { grid-column: span 1; }
  .bento--feature .bento__inner { flex-direction: column; align-items: flex-start; }
  .hero__inner { padding: 48px 20px 72px; }
  .transform__inner, .features__inner, .workspace__inner, .process__inner,
  .proof__inner, .personas__inner, .testimonials__inner { padding: 72px 20px; }
  .cta__inner { padding: 0 20px 72px; }
  .cta__band { padding: 40px 24px; }
  .cta__form .btn { white-space: normal; height: auto; min-height: 56px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__watermark { height: 72px; }
  /* sits fully above the terminal window at 375px so it never covers the title bar */
  .float-card--tl { top: -60px; left: auto; right: 8px; }
  .float-card--br { right: -6px; }
  .modal { padding: 28px 22px; }
}

/* ---------- Bold art direction: the shipping system ---------- */
.nav-wrap { padding-top: 18px; }
.nav { border-radius: 16px; }

.hero { min-height: 760px; }
.hero__dots { opacity: 0.48; background-size: 30px 30px; }
.hero__glow--orange {
  top: -260px;
  right: -130px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(234, 161, 89, 0.34), rgba(234, 161, 89, 0.08) 42%, transparent 68%);
}
.hero__inner { grid-template-columns: 1.16fr 0.84fr; max-width: 1320px; gap: 34px; }
.hero__inner > div:first-child { position: relative; z-index: 4; }
.hero h1 {
  max-width: 820px;
  margin-left: -0.055em;
  font-size: clamp(4.4rem, 7.5vw, 7.2rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.hero__grad {
  display: inline-block;
  position: relative;
  padding-right: 0.08em;
  background: none;
  -webkit-text-fill-color: var(--orange-500);
  color: var(--orange-500);
}
.hero__grad::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0;
  bottom: -0.05em;
  height: 0.075em;
  border-radius: 999px;
  background: var(--orange-500);
  transform: rotate(-1deg);
  transform-origin: left;
}
.hero__sub { max-width: 610px; margin-top: 34px; padding-left: 22px; border-left: 3px solid var(--orange-600); }
.hero__ctas { margin-top: 36px; }
.hero__stats { width: fit-content; padding: 17px 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; background: rgba(255,255,255,0.035); backdrop-filter: blur(8px); }
.hero__stat-v { font-size: 34px; color: var(--orange-500); }
.hero__visual { margin-right: -70px; transform: translateY(34px); }
.terminal { transform: rotate(3.5deg) scale(1.04); }
.terminal::after {
  content: "HUMAN APPROVAL REQUIRED";
  position: absolute;
  z-index: 5;
  right: -38px;
  top: 56px;
  padding: 8px 13px;
  border-radius: 6px;
  background: var(--orange-600);
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-3.5deg);
  box-shadow: var(--glow-accent);
}
.float-card--tl { top: -70px; left: 10px; transform: rotate(-5deg); }
.float-card--br { bottom: -38px; right: 18px; transform: rotate(4deg); }

.momentum-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 14px 0;
  background: var(--orange-600);
  color: var(--navy-900);
  transform: rotate(-1.2deg) scale(1.02);
  transform-origin: center;
  box-shadow: 0 14px 34px rgba(4, 29, 58, 0.22);
}
.momentum-strip__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  animation: momentum 22s linear infinite;
}
.momentum-strip span { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: 0.12em; }
.momentum-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-900); }
@keyframes momentum { to { transform: translateX(-50%); } }

.logos { padding-top: 14px; }
.logos__inner { padding-top: 42px; padding-bottom: 30px; }

.transform__inner { padding-top: 138px; padding-bottom: 138px; }
.transform .section-h2 { font-size: clamp(3rem, 5vw, 5.2rem); line-height: 0.96; letter-spacing: -0.05em; }
.transform .section-h2 span { display: block; }
.impact { transform: translateX(18px); }
.impact__card { padding: 38px; border-radius: 8px 28px 8px 28px; }
.impact__num { font-size: 92px; }

.features { position: relative; overflow: hidden; }
.features::before {
  content: "CAPABILITIES";
  position: absolute;
  top: 34px;
  right: -0.04em;
  color: rgba(7, 48, 93, 0.035);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}
.features__inner { position: relative; padding-top: 138px; padding-bottom: 138px; }
.features__head { align-items: start; margin-bottom: 64px; }
.features__head-copy { max-width: 760px; }
.features .section-h2 { font-size: clamp(2.8rem, 4.8vw, 4.8rem); line-height: 0.96; letter-spacing: -0.045em; }
.features__aside { max-width: 270px; padding-top: 20px; font-size: 18px; font-weight: 600; color: var(--navy-700); }
.bento-grid { gap: 12px; grid-auto-rows: minmax(236px, auto); }
.bento { border-radius: 6px; box-shadow: none; }
.bento__inner { border-radius: 5px; padding: 34px; }
.bento::after {
  position: absolute;
  z-index: 2;
  right: 20px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
}
.bento:nth-child(1)::after { content: "01 / 06"; color: var(--navy-300); }
.bento:nth-child(2)::after { content: "02 / 06"; }
.bento:nth-child(3)::after { content: "03 / 06"; }
.bento:nth-child(4)::after { content: "04 / 06"; }
.bento:nth-child(5)::after { content: "05 / 06"; }
.bento:nth-child(6)::after { content: "06 / 06"; }
.bento__icon { width: 58px; height: 58px; border-radius: 50%; }
.bento__body h3 { font-size: 22px; }
.bento--feature .bento__body h3 { font-size: 34px; line-height: 1; }
.bento:hover { transform: translateY(-6px) rotate(-0.35deg); }

.workspace__inner { padding-top: 136px; padding-bottom: 142px; }
.workspace .section-h2 { font-size: clamp(3.1rem, 5vw, 5.2rem); line-height: 0.95; letter-spacing: -0.05em; }
.workspace__head-copy { max-width: 820px; }
.ws-mock { border-radius: 4px; transform: rotate(-0.6deg); }
.ws-mock__win { border-radius: 3px; }

.process { overflow: hidden; }
.process__inner { max-width: 1200px; padding-top: 136px; padding-bottom: 136px; }
.process__intro { max-width: 880px; }
.process .section-h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: 0.96; letter-spacing: -0.05em; }
.process-step { min-height: 190px; border-radius: 4px; padding: 24px; }
.process-step__num { border-radius: 50% 50% 50% 4px; font-size: 18px; }
.process-step h3 { font-size: 31px; }
.process-step__mock { border-radius: 3px; }

.proof__inner { max-width: 1320px; padding-top: 136px; padding-bottom: 136px; }
.proof__intro { max-width: 900px; }
.proof .section-h2 { font-size: clamp(3.6rem, 6.5vw, 6.6rem); line-height: 0.88; letter-spacing: -0.06em; }
.proof__stats { border: 0; border-radius: 0; overflow: visible; gap: 1px; background: rgba(255,255,255,0.12); }
.proof-stat { padding: 44px 36px; background: var(--navy-900); }
.proof-stat__v { font-size: clamp(4.5rem, 8vw, 8rem); }
.proof-stat__l { font-size: 20px; }
.case-card { border-radius: 4px; padding: 40px; }

.personas__inner { padding-top: 136px; padding-bottom: 136px; }
.personas .section-h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: 0.95; letter-spacing: -0.05em; }
.persona { border-radius: 4px; padding: 38px; }
.persona:nth-child(2) { background: var(--navy-700); transform: translateY(24px); }
.persona:nth-child(2) h3 { color: var(--white); }
.persona:nth-child(2) p { color: var(--navy-200); }

.cta__band { border-radius: 6px; padding: 78px 64px; box-shadow: 14px 14px 0 var(--orange-600); }
.cta__copy h2 { font-size: clamp(2.8rem, 4.5vw, 4.8rem); line-height: 0.94; letter-spacing: -0.05em; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-right: 0; transform: none; }
  .hero h1 { max-width: 850px; }
  .terminal { transform: rotate(1.5deg); }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__inner { padding-top: 60px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); line-height: 0.86; }
  .hero__sub { margin-top: 28px; padding-left: 16px; }
  .hero__stats { width: 100%; padding: 14px; }
  .hero__stat-v { font-size: 28px; }
  .terminal::after { right: -5px; top: 50px; }
  .momentum-strip { transform: rotate(-2deg) scale(1.04); }
  .transform__inner, .features__inner, .workspace__inner, .process__inner,
  .proof__inner, .personas__inner { padding-top: 96px; padding-bottom: 96px; }
  .transform .section-h2, .features .section-h2, .workspace .section-h2,
  .process .section-h2, .personas .section-h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .proof .section-h2 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .impact { transform: none; }
  .impact__num { font-size: 72px; }
  .persona:nth-child(2) { transform: none; }
  .cta__band { padding: 50px 24px; box-shadow: 7px 7px 0 var(--orange-600); }
}

@media (prefers-reduced-motion: reduce) {
  .momentum-strip__track { animation: none; }
}

/* ---------- 2026 visual refinement: engineered momentum ---------- */
.hero {
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -8% -180px 42%;
  height: 430px;
  border: 1px solid rgba(234, 161, 89, 0.13);
  border-radius: 50%;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 80px rgba(7, 48, 93, 0.12), 0 0 0 160px rgba(7, 48, 93, 0.08);
}
.hero__inner {
  min-height: min(760px, calc(100vh - 96px));
  padding-top: 88px;
  padding-bottom: 112px;
}
.hero h1 { max-width: 700px; font-size: clamp(3.2rem, 5.6vw, 5.35rem); line-height: 0.94; }
.hero__grad { background-image: linear-gradient(105deg, var(--orange-400), var(--orange-600) 60%, var(--white)); }
.hero__sub { max-width: 590px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero__visual { perspective: 1100px; }
.terminal {
  transform: rotateY(-3deg) rotateX(1deg);
  box-shadow: -22px 38px 90px rgba(0, 0, 0, 0.48), 0 0 70px rgba(234, 161, 89, 0.08);
}
.terminal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(7, 48, 93, 0.28);
}
.terminal__row { opacity: 0.84; }
.terminal__row--run, .terminal__row--pr { opacity: 1; }
.delivery-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: calc(100% - 48px);
  margin: 38px auto 0;
}
.delivery-rail > i { height: 1px; background: rgba(255, 255, 255, 0.13); }
.delivery-rail__step { display: grid; gap: 3px; font-family: var(--font-mono); }
.delivery-rail__step span { color: var(--navy-400); font-size: 9px; letter-spacing: 0.08em; }
.delivery-rail__step strong { color: var(--navy-300); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.delivery-rail__step.is-done strong { color: var(--navy-100); }
.delivery-rail__step.is-live strong { color: var(--orange-500); }
.delivery-rail__step.is-live span::before { content: "● "; color: var(--orange-500); }

.logos { position: relative; }
.logos__inner { display: grid; grid-template-columns: auto 1fr; gap: 42px; align-items: center; text-align: left; }
.logos__label { margin: 0; padding-right: 42px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.logos__row { justify-content: flex-start; }
.logos__row span:not(.logos__more) { color: var(--white); font-size: 24px; }

.transform { position: relative; overflow: hidden; }
.transform::before {
  content: "04×";
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-53%);
  color: rgba(7, 48, 93, 0.025);
  font-family: var(--font-display);
  font-size: min(34vw, 430px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.impact__card { transform: rotate(1.4deg); }
.impact__content { transform: rotate(-1.4deg); }

.features { background-image: linear-gradient(180deg, var(--surface-subtle), var(--white)); }
.bento-grid { grid-template-columns: 1.25fr 0.75fr 1fr; grid-auto-rows: minmax(212px, auto); }
.bento__inner { justify-content: space-between; padding: 30px; }
.bento--feature .bento__inner { align-items: flex-start; }
.bento__signal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-300);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bento__signal i { width: 18px; height: 1px; background: rgba(255, 255, 255, 0.18); }
.bento__signal .is-ready { padding: 5px 8px; border-radius: 999px; color: var(--success); background: rgba(46, 158, 107, 0.14); }

.workspace::after {
  content: "WORK / IN PROGRESS";
  position: absolute;
  right: 18px;
  top: 50%;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}
.ws-mock { box-shadow: 0 44px 100px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(255, 255, 255, 0.018); }
.ws-card { transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.ws-card:hover { transform: translateY(-2px); border-color: rgba(234, 161, 89, 0.35); }

.process__intro { margin-bottom: 72px; }
.process__steps { gap: 18px; }
.process__line { display: none; }
.process-step {
  grid-template-columns: 70px 0.9fr 1.1fr;
  gap: 30px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-xs);
}
.process-step__num {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-subtle);
  background: var(--white);
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}
.process-step:nth-child(4) .process-step__num { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.process-step__mock { box-shadow: none; }

.proof__stats { background: rgba(255, 255, 255, 0.025); }
.proof-stat { position: relative; overflow: hidden; }
.proof-stat::after { content: ""; position: absolute; inset: auto 30px 0; height: 3px; background: linear-gradient(90deg, var(--orange-600), transparent); opacity: 0.7; }
.case-card { transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.case-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.065); }

@media (max-width: 960px) {
  .hero__inner { min-height: auto; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .logos__inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .logos__label { padding-right: 0; border-right: 0; }
  .logos__row { justify-content: center; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(3rem, 14vw, 4rem); }
  .hero__pill { align-items: flex-start; border-radius: 16px; }
  .hero__stats { gap: 18px; }
  .delivery-rail { width: 100%; gap: 5px; margin-top: 34px; }
  .delivery-rail__step strong { font-size: 8px; }
  .float-card--br { bottom: 54px; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__signal { flex-wrap: wrap; }
  .process-step { grid-template-columns: 52px 1fr; gap: 18px; padding: 18px; }
  .process-step__mock { grid-column: 1 / -1; }
}

/* Bold pass intentionally wins over the earlier refinement layer. */
.hero__inner { grid-template-columns: 1.16fr 0.84fr; max-width: 1320px; gap: 34px; min-height: min(800px, calc(100vh - 96px)); }
.hero h1 { max-width: 820px; font-size: clamp(4.4rem, 7.5vw, 7.2rem); line-height: 0.82; letter-spacing: -0.065em; }
.hero__grad { background: none; -webkit-text-fill-color: var(--orange-500); color: var(--orange-500); }
.hero__visual { margin-right: -70px; transform: translateY(34px); }
.terminal { transform: rotate(3.5deg) scale(1.04); box-shadow: -22px 38px 90px rgba(0, 0, 0, 0.48), 0 0 70px rgba(234, 161, 89, 0.08); }
.bento__inner { padding: 34px; }
.process-step { grid-template-columns: 70px 0.9fr 1.1fr; min-height: 190px; border-radius: 4px; padding: 24px; }
.process-step__num { border-radius: 50% 50% 50% 4px; }
.process-step__mock { border-radius: 3px; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { margin-right: 0; transform: none; }
  .terminal { transform: rotate(1.5deg); }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); line-height: 0.86; }
  .process-step { grid-template-columns: 52px 1fr; gap: 18px; padding: 18px; }
  .process-step__mock { grid-column: 1 / -1; }
}

/* ---------- Editorial landscape direction ---------- */
:root {
  --editorial-bg: #f4f0e8;
  --editorial-paper: #fbf9f4;
  --editorial-ink: #2f2b26;
  --editorial-muted: #746d64;
  --editorial-line: rgba(47, 43, 38, 0.12);
}
body { background: var(--editorial-bg); color: var(--editorial-muted); }
h1, h2, h3, h4, h5, h6 { color: var(--editorial-ink); }

.nav-wrap { top: 0; padding: 18px 24px 0; }
.nav,
.nav.nav--at-top {
  max-width: 1180px;
  min-height: 58px;
  padding: 8px 12px 8px 18px;
  border: 1px solid rgba(47, 43, 38, 0.1);
  border-radius: 14px;
  background: rgba(251, 249, 244, 0.82);
  box-shadow: 0 8px 30px rgba(47, 43, 38, 0.07);
  backdrop-filter: blur(18px);
}
.nav .wordmark, .nav.nav--at-top .wordmark { color: var(--editorial-ink); }
.nav__links a, .nav.nav--at-top .nav__links a { color: var(--editorial-muted); }
.nav__links a:hover, .nav.nav--at-top .nav__links a:hover { color: var(--editorial-ink); }
.nav .btn--accent { background: var(--editorial-ink); color: var(--editorial-paper); box-shadow: none; }

.hero {
  min-height: 970px;
  color: var(--editorial-ink);
  background: var(--editorial-bg);
  border-bottom: 0;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  background: linear-gradient(180deg, var(--editorial-bg) 0%, rgba(244, 240, 232, 0.12) 26%, rgba(244, 240, 232, 0) 48%), url("/assets/landscape-editorial.webp") center bottom / cover no-repeat;
}
.hero::after { display: none; }
.hero__glow--orange, .hero__glow--navy { display: none; }
.hero__dots {
  opacity: 0.17;
  background-image: radial-gradient(rgba(47, 43, 38, 0.24) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(#000, transparent 52%);
  mask-image: linear-gradient(#000, transparent 52%);
}
.hero__inner {
  display: block;
  max-width: 1180px;
  min-height: auto;
  padding: 108px 32px 78px;
  text-align: center;
}
.hero__pill {
  margin-bottom: 28px;
  border-color: var(--editorial-line);
  background: rgba(255,255,255,0.42);
}
.hero__pill-new { background: transparent; color: var(--editorial-muted); padding-left: 8px; border-right: 1px solid var(--editorial-line); border-radius: 0; }
.hero__pill-text { color: var(--editorial-muted); }
.hero h1 {
  max-width: 850px;
  margin: 0 auto 24px;
  color: var(--editorial-ink);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero__grad {
  padding: 0 0.04em;
  color: #6f6255;
  -webkit-text-fill-color: #6f6255;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.06em;
}
.hero__grad::after { display: none; }
.hero__sub {
  max-width: 620px;
  margin: 0 auto 30px;
  padding: 0;
  border: 0;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero__ctas { justify-content: center; margin: 0; }
.hero .btn--accent { background: var(--editorial-ink); color: var(--editorial-paper); box-shadow: none; }
.hero .btn--inverse-ghost { background: transparent; color: var(--editorial-ink); border-color: var(--editorial-line); }
.hero__stats { display: none; }
.hero__visual {
  width: 100%;
  max-width: 1010px;
  margin: 108px auto 0;
  transform: none;
  perspective: none;
}
.terminal {
  padding: 7px;
  border-radius: 20px;
  transform: none;
  background: rgba(47, 43, 38, 0.66);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 30px 70px rgba(30, 25, 20, 0.28);
  backdrop-filter: blur(18px);
}
.terminal::before, .terminal::after { display: none; }
.terminal__win { border-radius: 14px; background: rgba(42, 37, 32, 0.78); }
.terminal__bar { padding: 15px 18px; }
.terminal__body { min-height: 230px; padding: 24px 28px 28px; text-align: left; }
.delivery-rail {
  width: calc(100% - 52px);
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(42, 37, 32, 0.72);
  backdrop-filter: blur(14px);
}
.float-card { display: none; }

.logos { padding: 0; background: var(--editorial-paper); border: 0; }
.logos__inner { display: block; padding: 36px 32px 44px; text-align: center; }
.logos__label { margin-bottom: 22px; padding: 0; border: 0; color: #9a938a; font-weight: 600; }
.logos__row { justify-content: center; gap: 54px; }
.logos__row span:not(.logos__more) { color: #746d64; font-size: 18px; }
.logos__row .logos__more { color: #aaa39a; font-size: 13px; }

.transform, .features, .process, .personas, .cta { background: var(--editorial-paper); }
.transform::before, .features::before, .workspace::after { display: none; }
.transform__inner, .features__inner, .workspace__inner, .process__inner, .proof__inner, .personas__inner { padding-top: 116px; padding-bottom: 116px; }
.section-h2, .transform .section-h2, .features .section-h2, .workspace .section-h2, .process .section-h2, .proof .section-h2, .personas .section-h2 {
  color: var(--editorial-ink);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.eyebrow, .eyebrow--inverse { color: #8d7b69; }
.transform__lead, .features__aside, .process-step__body, .persona p { color: var(--editorial-muted); }
.transform .section-h2 span { display: inline; color: #7b6a59; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; }
.impact { transform: none; }
.impact__card {
  padding: 34px;
  border-radius: 18px;
  transform: none;
  background: linear-gradient(rgba(46,40,34,0.76), rgba(46,40,34,0.88)), url("/assets/landscape-editorial.webp") center / cover;
  box-shadow: 0 24px 60px rgba(47,43,38,0.16);
}
.impact__content { transform: none; }
.impact__num { font-size: 70px; }

.features { background: #eeeae3; }
.features__head { margin-bottom: 48px; }
.features__aside { font-size: 14px; font-weight: 400; }
.bento-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; grid-auto-rows: auto; }
.bento, .bento:hover { border-radius: 14px; background: transparent; box-shadow: none; transform: none; }
.bento--wide { grid-column: span 1; }
.bento__inner, .bento--feature .bento__inner {
  min-height: 205px;
  padding: 28px;
  border: 1px solid rgba(47,43,38,0.08);
  border-radius: 13px;
  background: rgba(251,249,244,0.88);
  color: var(--editorial-muted);
  flex-direction: column;
  align-items: flex-start;
}
.bento--feature .bento__body h3, .bento__body h3 { color: var(--editorial-ink); font-size: 18px; line-height: 1.2; }
.bento--feature .bento__body p, .bento__body p { color: var(--editorial-muted); font-size: 14px; }
.bento__icon, .bento--feature .bento__icon { width: 42px; height: 42px; border-radius: 10px; background: #e9e4dc; color: #6f6255; }
.bento__dots, .bento__signal, .bento::after { display: none; }

.workspace {
  padding: 92px 0;
  background: linear-gradient(rgba(244,240,232,0.12), rgba(244,240,232,0.12)), url("/assets/landscape-editorial.webp") center / cover no-repeat;
}
.workspace__glow { display: none; }
.workspace__inner { padding-top: 0; padding-bottom: 0; }
.workspace__head { padding: 34px 38px; margin: 0; align-items: center; border-radius: 18px 18px 0 0; background: rgba(251,249,244,0.91); backdrop-filter: blur(16px); }
.workspace .section-h2 { max-width: 720px; }
.workspace .btn--inverse-ghost { background: var(--editorial-ink); color: var(--editorial-paper); border: 0; }
.ws-mock { padding: 10px; border-radius: 0 0 18px 18px; transform: none; background: rgba(47,43,38,0.7); box-shadow: 0 26px 70px rgba(35,30,25,0.25); backdrop-filter: blur(18px); }
.ws-mock__win { border-radius: 12px; background: rgba(42,37,32,0.78); }

.process { background: #f1eee8; }
.process__steps { max-width: 940px; margin-inline: auto; gap: 12px; }
.process-step {
  grid-template-columns: 54px 0.85fr 1.15fr;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(47,43,38,0.09);
  border-radius: 14px;
  background: rgba(251,249,244,0.9);
  box-shadow: 0 8px 28px rgba(47,43,38,0.05);
}
.process-step__num, .process-step:nth-child(4) .process-step__num { width: 42px; height: 42px; border-radius: 50%; border-color: var(--editorial-line); background: var(--editorial-paper); color: var(--editorial-ink); box-shadow: none; }
.process-step h3 { color: var(--editorial-ink); font-size: 21px; }
.process-step__mock { min-height: 132px; border-radius: 10px; background: #3e3933; }

.proof { background: var(--editorial-paper); }
.proof__dots { opacity: 0.12; background-image: radial-gradient(rgba(47,43,38,0.35) 1px, transparent 1px); }
.proof__intro { max-width: 720px; }
.proof__stats { gap: 14px; margin-bottom: 24px; background: transparent; }
.proof-stat { padding: 32px; border: 1px solid var(--editorial-line); border-radius: 14px; background: #eeeae3; }
.proof-stat + .proof-stat { border-left: 1px solid var(--editorial-line); }
.proof-stat__v { color: #6f6255; font-size: clamp(3.2rem, 6vw, 5.4rem); }
.proof-stat__l { color: var(--editorial-ink); }
.proof-stat__d { color: var(--editorial-muted); }
.proof-stat::after { display: none; }
.case-card { padding: 32px; border-color: var(--editorial-line); border-radius: 14px; background: #3e3933; }
.case-card:hover { transform: none; background: #3e3933; }

.persona { border-color: var(--editorial-line); border-radius: 14px; background: #f1eee8; }
.persona:nth-child(2) { transform: none; background: #f1eee8; }
.persona:nth-child(2) h3 { color: var(--editorial-ink); }
.persona:nth-child(2) p { color: var(--editorial-muted); }
.persona__icon { background: #ded8cf; color: #6f6255; }

.cta__band { border-radius: 18px; background: #3e3933; box-shadow: none; }
.cta__copy h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.footer { background: #322e29; }

@media (max-width: 960px) {
  .hero { min-height: 900px; }
  .hero__visual { margin-top: 78px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-wrap { padding-inline: 12px; }
  .hero { min-height: 860px; }
  .hero__inner { padding: 84px 20px 56px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); line-height: 0.96; }
  .hero__visual { margin-top: 64px; }
  .terminal__body { min-height: 210px; padding: 18px; font-size: 10px; overflow: hidden; }
  .delivery-rail { width: 100%; }
  .transform__inner, .features__inner, .workspace__inner, .process__inner, .proof__inner, .personas__inner { padding-top: 82px; padding-bottom: 82px; }
  .bento-grid { grid-template-columns: 1fr; }
  .workspace { padding: 44px 12px; }
  .workspace__inner { padding: 0; }
  .workspace__head { padding: 28px 22px; }
  .process-step { grid-template-columns: 42px 1fr; }
  .process-step__mock { grid-column: 1 / -1; }
  .proof__stats { grid-template-columns: 1fr; }
  .proof-stat + .proof-stat { border-left: 1px solid var(--editorial-line); }
}

/* Editorial palette, returned to the automatIQ blue family. */
:root {
  --editorial-ink: #062b52;
  --editorial-muted: #526b82;
  --editorial-line: rgba(7, 48, 93, 0.14);
}
.hero::before {
  background-image: linear-gradient(180deg, var(--editorial-bg) 0%, rgba(244, 240, 232, 0.12) 26%, rgba(7, 48, 93, 0.18) 100%), url("/assets/landscape-editorial.webp");
  background-blend-mode: normal, luminosity;
}
.hero__grad,
.transform .section-h2 span { color: #315f88; -webkit-text-fill-color: #315f88; }
.terminal { background: rgba(4, 29, 58, 0.7); border-color: rgba(179, 203, 225, 0.24); }
.terminal__win { background: rgba(4, 29, 58, 0.84); }
.delivery-rail { background: rgba(4, 29, 58, 0.76); }
.impact__card {
  background-image: linear-gradient(rgba(4, 29, 58, 0.68), rgba(4, 29, 58, 0.9)), url("/assets/landscape-editorial.webp");
  background-blend-mode: normal, luminosity;
}
.bento__icon, .bento--feature .bento__icon { background: #dde7f0; color: var(--navy-700); }
.workspace {
  background-image: linear-gradient(rgba(7,48,93,0.12), rgba(4,29,58,0.24)), url("/assets/landscape-editorial.webp");
  background-blend-mode: color, luminosity;
}
.ws-mock { background: rgba(4, 29, 58, 0.74); }
.ws-mock__win, .process-step__mock { background: var(--navy-900); }
.proof-stat__v { color: #315f88; }
.case-card, .case-card:hover, .cta__band { background: var(--navy-900); }
.persona__icon { background: #dbe6ef; color: var(--navy-700); }
.footer { background: var(--navy-900); }

/* Ticket → Build → Review → Ship sequence */
.delivery-rail__step {
  position: relative;
  color: var(--navy-300);
  opacity: 0.48;
  transform: translateY(2px);
  animation: delivery-stage 8s var(--ease-out) infinite;
}
.delivery-rail__step.is-done strong,
.delivery-rail__step.is-live strong,
.delivery-rail__step strong { color: inherit; }
.delivery-rail__step.is-live span::before { display: none; }
.delivery-rail__step:nth-of-type(1) { animation-delay: 0s; }
.delivery-rail__step:nth-of-type(2) { animation-delay: 2s; }
.delivery-rail__step:nth-of-type(3) { animation-delay: 4s; }
.delivery-rail__step:nth-of-type(4) { animation-delay: 6s; }
.delivery-rail > i {
  position: relative;
  overflow: hidden;
  background: rgba(179, 203, 225, 0.16);
}
.delivery-rail > i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange-600), var(--navy-200));
  transform: scaleX(0);
  transform-origin: left;
  animation: delivery-line 8s var(--ease-out) infinite;
}
.delivery-rail > i:nth-of-type(1)::after { animation-delay: 1.15s; }
.delivery-rail > i:nth-of-type(2)::after { animation-delay: 3.15s; }
.delivery-rail > i:nth-of-type(3)::after { animation-delay: 5.15s; }
.delivery-rail__step span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--orange-600);
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(234, 161, 89, 0.4);
  vertical-align: middle;
  animation: delivery-pulse 8s ease-out infinite;
  animation-delay: inherit;
}

@keyframes delivery-stage {
  0%, 24% { color: var(--orange-500); opacity: 1; transform: translateY(0); }
  30%, 100% { color: var(--navy-300); opacity: 0.48; transform: translateY(2px); }
}
@keyframes delivery-line {
  0%, 13% { transform: scaleX(0); }
  22%, 82% { transform: scaleX(1); }
  88%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes delivery-pulse {
  0% { opacity: 0; transform: scale(0.6); }
  4% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 5px rgba(234, 161, 89, 0); }
  22%, 100% { opacity: 0; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-rail__step { opacity: 1; transform: none; animation: none; }
  .delivery-rail > i::after, .delivery-rail__step span::after { animation: none; }
}

/* One synchronized run: terminal work above, delivery stages below. */
.delivery-rail__step {
  opacity: 0.42;
  transform: translateY(2px);
  animation-name: delivery-stage-once;
  animation-duration: 0.7s;
  animation-timing-function: var(--ease-out);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.delivery-rail__step:nth-of-type(1) { animation-delay: 0.2s; }
.delivery-rail__step:nth-of-type(2) { animation-delay: 2.25s; }
.delivery-rail__step:nth-of-type(3) { animation-delay: 4.65s; }
.delivery-rail__step:nth-of-type(4) { animation-delay: 7s; }
.delivery-rail > i::after {
  animation-name: delivery-line-once;
  animation-duration: 0.9s;
  animation-timing-function: var(--ease-out);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.delivery-rail > i:nth-of-type(1)::after { animation-delay: 1.25s; }
.delivery-rail > i:nth-of-type(2)::after { animation-delay: 3.55s; }
.delivery-rail > i:nth-of-type(3)::after { animation-delay: 5.9s; }
.delivery-rail__step span::after {
  animation-name: delivery-pulse-once;
  animation-duration: 0.9s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.terminal__row,
.terminal__done {
  opacity: 0;
  transform: translateX(-10px);
  animation: terminal-row-in 0.55s var(--ease-out) 1 forwards;
}
.terminal__row:nth-child(1) { animation-delay: 0.2s; }
.terminal__row:nth-child(2) { animation-delay: 1.15s; }
.terminal__row:nth-child(3) { animation-delay: 2.25s; }
.terminal__row:nth-child(4) { animation-delay: 3.15s; }
.terminal__row:nth-child(5) { animation-delay: 4.1s; }
.terminal__row:nth-child(6) { animation-delay: 5.15s; }
.terminal__done { animation-delay: 7s; }

@keyframes delivery-stage-once {
  0% { color: var(--navy-300); opacity: 0.42; transform: translateY(2px); }
  55% { color: var(--orange-500); opacity: 1; transform: translateY(0); }
  100% { color: var(--navy-100); opacity: 1; transform: translateY(0); }
}
@keyframes delivery-line-once {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}
@keyframes delivery-pulse-once {
  0% { opacity: 0; transform: scale(0.6); }
  45% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 5px rgba(234, 161, 89, 0); }
  100% { opacity: 0; transform: scale(0.8); }
}
@keyframes terminal-row-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-rail__step,
  .terminal__row,
  .terminal__done { opacity: 1; transform: none; animation: none; }
  .delivery-rail > i::after { transform: scaleX(1); animation: none; }
  .delivery-rail__step span::after { display: none; animation: none; }
}
