/* =========================================================
   Kayra Intelligence — landing site (v5 vibrant redesign)
   Aesthetic: modern, photography-forward SaaS
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (data)
   ========================================================= */

/* ─────────── Tokens ─────────── */
:root {
  /* dark (carbon) */
  --gray-900: #0D0D0D;
  --gray-800: #141414;
  --gray-700: #1F1F1F;
  --gray-600: #2B2B2B;

  /* brand / accents */
  --brand: #111111;        /* near-black */
  --brand-deep: #000000;
  --brand-2: #3D3D3D;      /* graphite */
  --silver: #D9D9D9;

  /* text */
  --ink: #101010;
  --slate: #5E5E5E;
  --slate-2: #9B9B9B;
  --inverse: #FFFFFF;
  --inverse-mute: #A6A6A6;

  /* surfaces */
  --paper: #FFFFFF;
  --paper-2: #F6F6F6;
  --paper-3: #ECECEC;
  --line: #E5E5E5;
  --line-2: #F0F0F0;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* status */
  --green: #16B981;
  --amber: #F59E0B;
  --red: #EF4444;

  /* gradients */
  --grad-brand: linear-gradient(135deg, #191919 0%, #3A3A3A 100%);
  --grad-silver: linear-gradient(135deg, #F2F2F2 0%, #8F8F8F 100%);
  --grad-ink: linear-gradient(135deg, #111111 0%, #5A5A5A 100%);
  --grad-hero: radial-gradient(120% 120% at 80% 0%, #2C2C2C 0%, #161616 45%, #0D0D0D 100%);

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 30px 70px -24px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);

  /* type */
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --container-max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 11vw, 132px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─────────── Reset & base ─────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; font-family: var(--display); letter-spacing: -0.02em; }

/* ─────────── Layout primitives ─────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--gray-900); color: var(--inverse); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ─────────── Typography ─────────── */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.028em;
}
.section-deck {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--slate);
  max-width: 56ch;
  margin-top: 20px;
}
.center .section-deck { margin-inline: auto; }
.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--inverse-mute);
  margin-top: 24px;
  max-width: 50ch;
}
.grad-text {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-ink);
}
.center .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--silver); }
.section--dark .eyebrow::before,
.final-cta .eyebrow::before { background: var(--grad-silver); }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(0, 0, 0, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 12px; }

/* ─────────── Header ─────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 28px;
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 26px; width: auto; }
.primary-nav {
  display: flex;
  gap: 30px;
  margin-right: auto;
  margin-left: 44px;
}
.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 0;
  transition: color 0.18s;
}
.primary-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.link-quiet { font-size: 15px; font-weight: 500; color: var(--slate); }
.link-quiet:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 26px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 13px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-nav a.btn { border-bottom: 0; margin-top: 12px; justify-content: center; }

/* ─────────── Media / placeholder system ─────────── */
.media {
  position: relative;
  aspect-ratio: var(--ar, 16 / 9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.media-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.05)),
    repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(0,0,0,0.03) 9px, rgba(0,0,0,0.03) 18px);
  color: var(--slate);
}
.media-ph__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}
.media-ph__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.media-ph__dim { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--brand); }
.media-ph__desc { font-size: 13px; max-width: 32ch; line-height: 1.45; color: var(--slate); }
.media--dark { background: var(--gray-800); border-color: var(--gray-700); }
.media--dark .media-ph { color: var(--inverse-mute); background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)),
    repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(255,255,255,0.03) 9px, rgba(255,255,255,0.03) 18px); }
.media--dark .media-ph__label { color: #fff; }
.media--dark .media-ph__desc { color: var(--inverse-mute); }

/* video play affordance */
.media--video .media-ph__icon::after { content: "►"; font-size: 16px; margin-left: 2px; }

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--inverse);
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px) clamp(72px, 10vw, 132px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 85% 12%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(45% 45% at 12% 90%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(44px, 6vw, 72px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 26px;
}
.hero h1 {
  color: #fff;
  max-width: 21ch;
  margin-inline: auto;
  text-wrap: balance;
}
.hero h1 .grad-text { background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--inverse-mute); margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--inverse-mute);
}
.hero-trust strong { color: #fff; font-weight: 600; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,185,129,0.18); }

.hero-visual { position: relative; width: min(100%, 940px); margin-inline: auto; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
  background: var(--gray-800);
}
.hero-frame > img,
.hero-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.hero-frame .media-ph { z-index: 1; }
.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  color: #fff;
  animation: floaty 5s var(--ease) infinite;
}
.hero-float .dot { width: 7px; height: 7px; border-radius: 50%; }
.hero-float .dot.cyan { background: var(--silver); }
.hero-float .dot.green { background: var(--green); }
.hero-float .dot.amber { background: var(--amber); }
.hero-float small { color: var(--silver); font-size: 9px; display: block; }
.hero-float--tl { top: 18px; left: -26px; }
.hero-float--bl { bottom: 24px; left: -26px; animation-delay: 1s; }
.hero-float--br-top { bottom: 74px; right: -22px; animation-delay: 0.7s; }
.hero-float--br { bottom: 24px; right: -22px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ─────────── Logo / trust strip ─────────── */
.logos { padding-block: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.logos-label { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 28px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 60px); }
.logos-row img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.22s var(--ease), filter 0.22s var(--ease);
  display: block;
}
.logos-row img:hover { opacity: 0.9; filter: grayscale(0); }

/* ─────────── Stat pills row ─────────── */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.metric {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.metric-fig { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1; }
.metric-fig .u { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-label { margin-top: 12px; font-size: 14px; color: var(--slate); line-height: 1.45; }

/* ─────────── Generic card grid ─────────── */
.cards {
  display: grid;
  gap: 20px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(0,0,0,0.07), rgba(0,0,0,0.03));
  color: var(--brand);
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--slate); line-height: 1.55; }
.card-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 16px;
}

/* ─────────── Problem cards (cost of manual) ─────────── */
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cost { padding: 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.cost-fig { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--red); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cost-fig::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--red); }
.cost h3 { font-size: 18px; margin-bottom: 8px; }
.cost p { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* ─────────── Workflow stepper ─────────── */
.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: clamp(40px, 6vw, 64px);
  counter-reset: step;
  position: relative;
}
.stepper li {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.step-dot {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  color: var(--brand);
  position: relative;
  z-index: 2;
}
.stepper li.active .step-dot { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -8px rgba(0,0,0,0.35); }
.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--line));
  z-index: 1;
}
.step-title { font-family: var(--display); font-weight: 600; font-size: 16px; }
.step-sub { font-size: 13px; color: var(--slate); margin-top: 4px; }

/* ─────────── Browser frame (dashboard) ─────────── */
.browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.browser img { width: 100%; height: auto; display: block; }

/* ─────────── Feature rows (app-store alternating) ─────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-media { order: -1; }
.feature-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.feature h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; margin-bottom: 16px; }
.feature p { font-size: 16px; color: var(--slate); line-height: 1.6; max-width: 46ch; }
.feature-list { margin-top: 22px; display: grid; gap: 12px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--ink); }
.feature-list .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(22,185,129,0.12); color: var(--green); font-size: 13px; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }

/* ─────────── Industries ─────────── */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; }
.industry-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.industry h3 { font-size: 21px; margin-bottom: 10px; }
.industry-primary { font-size: 15px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.industry-secondary { font-size: 14px; color: var(--slate); line-height: 1.55; }
.industry--cta { background: var(--gray-900); color: #fff; }
.industry--cta .industry-body { justify-content: center; }
.industry--cta h3 { color: #fff; }
.industry--cta .industry-primary { color: #fff; }
.industry--cta .industry-secondary { color: var(--inverse-mute); margin-bottom: 18px; }
.industry--cta .link-arrow { color: var(--silver); }

/* ─────────── OCA architecture ─────────── */
.oca-diagram { margin: 0 auto clamp(40px, 6vw, 64px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.oca-diagram img { width: 100%; height: auto; display: block; }

/* vertical fallback — displayed instead of the SVG at ≤720px */
.oca-mobile {
  display: none;
  margin: 0 auto clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: 24px 18px;
  text-align: center;
}
.oca-m-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 12px; }
.oca-m-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.oca-m-chips span { font-size: 13px; font-weight: 500; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.oca-m-arrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--slate); margin: 16px 0; }
.oca-m-core { background: var(--grad-brand); color: #fff; border-radius: var(--radius); padding: 18px; }
.oca-m-core p { font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.oca-m-core ul { font-family: var(--mono); font-size: 11px; line-height: 1.9; color: rgba(255, 255, 255, 0.85); }
.oca-m-foot { margin-top: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--slate-2); }

/* ─────────── Deployment timeline ─────────── */
.timeline { position: relative; max-width: 880px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--brand-2));
  opacity: 0.4;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 26px;
  padding: 18px 0;
}
.timeline-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--brand);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--brand);
  z-index: 1;
}
.timeline h3 { font-size: 21px; margin-bottom: 6px; }
.timeline p { font-size: 15px; color: var(--slate); line-height: 1.55; max-width: 60ch; }

/* ─────────── Validation (dark stat band) ─────────── */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line-dark);
}
.stat-fig {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card .label { margin-top: 18px; font-size: 15px; color: var(--inverse-mute); line-height: 1.5; max-width: 30ch; }

/* ─────────── Roadmap ─────────── */
.roadmap-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.roadmap-stage {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.roadmap-stage.active { background: var(--grad-brand); border-color: transparent; box-shadow: var(--shadow-glow); }
.roadmap-stage.active h3, .roadmap-stage.active .rm-num, .roadmap-stage.active p { color: #fff; }
.rm-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 14px; }
.roadmap-stage h3 { font-size: 16px; line-height: 1.2; margin-bottom: 8px; }
.roadmap-stage p { font-size: 13px; color: var(--slate); line-height: 1.45; }
.rm-now { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); background: #fff; padding: 3px 8px; border-radius: 999px; }

/* ─────────── Final CTA ─────────── */
.final-cta { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; padding-block: clamp(80px, 12vw, 150px); text-align: center; }
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta h2 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.02; color: #fff; max-width: 18ch; margin-inline: auto; }
.final-cta p { margin: 24px auto 38px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,0.88); line-height: 1.6; }
.cta-foot { margin-top: 28px; font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.8); }
.cta-foot a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); }

/* ─────────── Footer ─────────── */
.site-footer { background: var(--gray-900); color: var(--inverse); padding-block: 72px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { height: 26px; width: auto; margin-bottom: 18px; }
.footer-tag { font-size: 15px; color: var(--inverse-mute); max-width: 30ch; line-height: 1.55; }
.footer-heading { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 18px; }
.footer-col li { padding: 6px 0; }
.footer-col a { font-size: 15px; color: var(--inverse-mute); transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.footer-rule { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 14px; }
.footer-legal { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--slate-2); }
.footer-legal a { color: var(--inverse-mute); }
.footer-legal a:hover { color: #fff; }

/* ─────────── Section background video (flow.mp4) ─────────── */
.has-bg-video { position: relative; overflow: hidden; }
.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.has-bg-video .container { position: relative; z-index: 1; }

/* ─────────── Lane cinematic band (lane.mp4) ─────────── */
.lane-band {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
  line-height: 0;
}
.lane-video {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  opacity: 0.9;
}
.lane-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.06) 55%, rgba(10,10,10,0.82) 100%),
    linear-gradient(rgba(10,10,10,0.50) 0%, transparent 28%, transparent 68%, rgba(10,10,10,0.65) 100%);
  pointer-events: none;
}
.lane-caption {
  position: absolute;
  bottom: clamp(24px, 4.5vw, 60px);
  left: clamp(24px, var(--gutter), 80px);
  color: #fff;
  max-width: 46ch;
  line-height: normal;
}
.lane-caption h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 10px;
}
.lane-caption p { font-size: 16px; color: var(--inverse-mute); line-height: 1.55; }

@media (max-width: 720px) {
  /* Stack the caption below the video so longer copy never gets clipped */
  .lane-band { line-height: normal; }
  .lane-video { aspect-ratio: 16 / 10; }
  .lane-overlay { background: linear-gradient(rgba(10,10,10,0.30), rgba(10,10,10,0.78)); }
  .lane-caption {
    position: relative;
    z-index: 2;
    bottom: auto;
    left: auto;
    max-width: none;
    padding: 20px var(--gutter) 28px;
  }
  .lane-caption h2 { font-size: clamp(20px, 5.6vw, 26px); margin-bottom: 8px; }
  .lane-caption p { font-size: 14px; line-height: 1.5; }
}

/* ─────────── Reveal animation ─────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-float--tl { left: 10px; }
  .hero-float--bl { left: 10px; }
  .hero-float--br-top { right: 10px; }
  .hero-float--br { right: 10px; }
  .cards-4, .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(3, 1fr); }
  .stepper { grid-template-columns: repeat(5, 1fr); }
  .roadmap-track { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: 0; }
  .stat-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[data-open="true"] { display: flex; }

  /* Compact hero chips; damage tags hug the bottom-right corner (cover the
     source-video watermark) and stay put — no float animation. */
  .hero-float { padding: 5px 8px; gap: 6px; font-size: 8px; border-radius: 8px; }
  .hero-float small { font-size: 7px; }
  .hero-float .dot { width: 5px; height: 5px; }
  .hero-float--tl { top: 10px; left: 10px; }
  .hero-float--bl { animation: none; bottom: 8px; left: 8px; }
  .hero-float--br-top,
  .hero-float--br { animation: none; right: 8px; }
  .hero-float--br-top { bottom: 44px; }
  .hero-float--br { bottom: 8px; }

  .cards-3, .cards-4, .cost-grid, .industry-grid, .metric-row { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .stepper li { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 8px 0; text-align: left; }
  .stepper li .step-dot { margin: 0; grid-row: 1 / span 2; align-self: center; }
  .stepper li .step-title { grid-column: 2; align-self: end; }
  .stepper li .step-sub { grid-column: 2; align-self: start; }
  .stepper li::after { display: none; }

  .oca-diagram { display: none; }
  .oca-mobile { display: block; }
  .roadmap-track { grid-template-columns: 1fr; }
  .stat-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-rule { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

::selection { background: var(--brand); color: #fff; }
