:root {
  --bg: #04060b;
  --bg-2: #070b14;
  --surface: #0a1020;
  --surface-2: #0d1426;
  --surface-3: #111a30;
  --line: #18243f;
  --line-2: #1f3158;
  --text: #e6ecf5;
  --text-2: #aab6cc;
  --muted: #6a7894;
  --accent: #2f8bff;
  --accent-2: #5bd3ff;
  --accent-dim: rgba(47, 139, 255, 0.12);
  --danger: #ff4d6d;
  --warn: #ffb546;
  --ok: #41e0a1;
  --grid: rgba(47, 139, 255, 0.06);
  --grid-strong: rgba(47, 139, 255, 0.14);
  --font-sans: "Space Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Global pixel-grid background */
.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47, 139, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(91, 211, 255, 0.06), transparent 60%),
    var(--bg);
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.015) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ============ Navbar ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 6, 11, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  position: relative;
  height: 68px;
  padding-left: 16px;
  padding-right: 24px;
  max-width: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 32px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 5px;
  object-fit: contain;
  background: transparent;
}
.brand-wordmark {
  height: 22px;
  width: auto;
  display: block;
}
.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.brand-name .ai { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.15s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s;
}
.nav-links a:hover::after { right: 0; }

/* ===== Product dropdown ===== */
.nav-item-drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
}
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-drop-trigger svg {
  opacity: 0.65;
  transition: transform 0.22s ease, opacity 0.15s;
}
.nav-item-drop:hover .nav-drop-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 196px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(8, 12, 22, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
}
.nav-item-drop:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover {
  background: rgba(47, 139, 255, 0.10);
  color: var(--text);
}
/* In high-zoom lite mode, drop the dropdown blur to stay smooth. */
.perf-lite .nav-dropdown {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(8, 12, 22, 0.98);
}
/* Mobile sub-items sit indented under their parent group. */
.mobile-menu .mm-sub {
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
}

.nav-cta-group { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cta-group .btn { padding: 7px 12px; font-size: 12.5px; }
.nav-cta-group .btn-primary { padding: 8px 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.18s;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #04060b;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(47,139,255,0.5), 0 8px 24px -8px rgba(47,139,255,0.6);
}
.btn-primary:hover {
  background: #4a9bff;
  box-shadow: 0 0 0 1px rgba(47,139,255,0.8), 0 12px 32px -8px rgba(47,139,255,0.9);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.btn-lg { padding: 14px 22px; font-size: 15px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  width: 38px; height: 38px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-menu { display: none; }

@media (max-width: 920px) {
  .nav-links, .nav-cta-group .btn-ghost-mobile-hide { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    border-top: 1px solid var(--line);
    background: rgba(4,6,11,0.95);
    padding: 16px 32px 24px;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text-2);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
}

/* ============ Section base ============ */
section { position: relative; z-index: 1; }

.section {
  padding: 32px 0 96px;
  position: relative;
}
section[id] { scroll-margin-top: 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 12px var(--accent);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 820px;
  text-wrap: balance;
}
.section-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 720px;
  margin: 0;
  text-wrap: pretty;
}

/* ============ Hero ============ */
.hero { padding: 32px 0 48px; position: relative; overflow: hidden; }
.hero > .container {
  max-width: none;
  padding-left: clamp(24px, 4vw, 72px);
  padding-right: clamp(24px, 4vw, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 68px - 80px);
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 11px 5px 7px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(13, 20, 38, 0.6);
  margin-bottom: 16px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--ok);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px var(--ok);
}
.hero-eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 0 14px;
}
.hero-audience {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 26px;
  padding-left: 13px;
  border-left: 2px solid var(--line-2);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-stats {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 4px;
  max-width: 560px;
  align-items: start;
}
.hero-stat {
  position: relative;
  padding-right: 16px;
}
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stat .v {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex; align-items: baseline; gap: 6px;
}
.hero-stat .v small { font-family: var(--font-mono); font-size: 11px; color: var(--accent-2); font-weight: 500; }
.hero-stat .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.55;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 3.6;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(600px 300px at 70% 20%, rgba(47,139,255,0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(47, 139, 255, 0.12),
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 60px -10px rgba(47, 139, 255, 0.25);

  transform-origin: top left;
  transition:
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1.05),
    opacity 500ms ease-out,
    filter 800ms ease-out;
}
.hero-visual.is-pre {
  transform: scale(0.06);
  opacity: 0;
  filter: blur(2px);
}
.hero-visual.is-in {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}
.hero-visual.is-pre > * {
  opacity: 0;
}
.hero-visual.is-in > * {
  opacity: 1;
  transition: opacity 400ms ease-out 500ms;
}
.hero-visual .pixel-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,139,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}
.hero-visual .scanline {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(91,211,255,0.18), transparent);
  animation: scan 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0%,100% { transform: translateY(-10%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110%); opacity: 0; }
}

/* corner brackets */
.brackets::before,
.brackets::after,
.brackets > .br-tl,
.brackets > .br-tr,
.brackets > .br-bl,
.brackets > .br-br {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--accent);
  content: "";
}
.brackets::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.brackets::after { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.brackets > .br-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.brackets > .br-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ============ Card system ============ */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13,20,38,0.7), rgba(10,16,32,0.7));
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(47,139,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card .card-pixel {
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background-image:
    linear-gradient(rgba(47,139,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.10) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(circle at 100% 0%, black 0%, transparent 75%);
  pointer-events: none;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.card-head .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.card-head .card-title {
  margin: 0;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.card-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(47,139,255,0.3);
  border-radius: 8px;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.card.red .card-icon {
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.25);
  color: var(--danger);
}
.card-icon svg { width: 20px; height: 20px; }
.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}

.card.red {
  padding: 22px 22px;
}
.card.red .card-icon {
  width: 40px;
  height: 40px;
}
.card.red .card-icon svg { width: 18px; height: 18px; }
.card.red .card-head {
  gap: 14px;
  margin-bottom: 12px;
}
.card.red .card-title {
  font-size: 17px;
}
.card.red .card-body {
  font-size: 13.5px;
  line-height: 1.55;
}

/* ============ Audience ledger (Users section) ============
   Editorial numbered rows instead of another card grid — large mono index,
   role title, and description separated by hairlines. Reads as a sequence
   (adjuster → SIU → operations) and contrasts with the icon-grids elsewhere. */
.audience-list {
  border-top: 1px solid var(--line);
}
.aud-row {
  display: grid;
  grid-template-columns: 88px minmax(180px, 240px) 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.aud-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.aud-row:hover::before { transform: scaleY(1); }
.aud-row:hover {
  background: linear-gradient(90deg, rgba(47, 139, 255, 0.05), transparent 70%);
}
.aud-index {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--line-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.aud-row:hover .aud-index { color: var(--accent-2); }
.aud-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 4px 0 0;
  color: var(--text);
}
.aud-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 2px 0 0;
  max-width: 640px;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .aud-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0 32px;
  }
  .aud-index { font-size: 26px; }
  .aud-row:hover { background: none; }
}

/* ============ Grids ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .head-text { flex: 1 1 480px; min-width: 0; }
.section-head .head-side { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.18em; }

/* ============ How it works ============ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.flow-step .step-n {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.flow-step .step-n .dot {
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--accent-2);
  background: rgba(47,139,255,0.06);
}
.flow-step h4 {
  font-size: 15px; font-weight: 600; margin: 0 0 8px;
  text-wrap: balance;
}
.flow-step p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.flow-step .step-icon {
  width: 36px; height: 36px;
  margin-bottom: 14px;
  color: var(--accent-2);
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 1;
}
.flow-step:last-child::after { display: none; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step::after {
    top: auto; bottom: -14px; right: 50%;
    width: 1px; height: 14px;
    background: linear-gradient(180deg, var(--accent), transparent);
  }
}

/* ============ Use case grid ============ */
.usecase {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13,20,38,0.5), rgba(10,16,32,0.5));
  transition: border-color 0.2s, background 0.2s;
}
.usecase:hover { border-color: var(--accent); background: linear-gradient(180deg, rgba(47,139,255,0.06), rgba(10,16,32,0.5)); }
.usecase .uc-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(47,139,255,0.3);
  color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.usecase .uc-icon svg { width: 16px; height: 16px; }
.usecase h5 { font-size: 14px; font-weight: 600; margin: 2px 0 4px; letter-spacing: -0.005em; }
.usecase p { font-size: 12.5px; line-height: 1.5; color: var(--text-2); margin: 0; }

/* ============ Roadmap ============ */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 22px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.rm-step {
  position: relative;
  padding: 0 16px 0 0;
}
.rm-step .rm-node {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  z-index: 2;
  margin-bottom: 18px;
}
.rm-step.active .rm-node {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(47,139,255,0.08), 0 0 20px rgba(47,139,255,0.4);
}
.rm-step .rm-phase {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}
.rm-step.active .rm-phase { color: var(--accent-2); }
.rm-step h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.005em; text-wrap: balance; }
.rm-step p { font-size: 13px; line-height: 1.5; color: var(--text-2); margin: 0; max-width: 240px; }
.rm-step .rm-status {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  text-transform: uppercase;
}
.rm-step.active .rm-status { color: var(--accent-2); border-color: rgba(47,139,255,0.4); background: var(--accent-dim); }
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .roadmap::before { display: none; }
  .rm-step { padding: 0; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
  .rm-step .rm-node { margin-bottom: 0; }
}

/* ============ Diff cards (with corner marks) ============ */
.diff-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  overflow: hidden;
}
.diff-card .diff-mark {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.diff-card .diff-mark::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
.diff-card h4 { font-size: 19px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.diff-card p { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 0; }
.diff-card .diff-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47,139,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 30%, black);
}

/* ============ Motive section ============ */
:root {
  --red-deep: #d63b58;
  --red-deeper: #b32945;
  --red-glow: rgba(214, 59, 88, 0.18);
}

.motive {
  position: relative;
  overflow: hidden;
}
.motive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}
.motive-body {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-2);
  text-wrap: pretty;
}
.motive-body > .motive-bubble {
  margin-top: auto; /* push bubble to bottom — aligns with bottom of quote */
}
.motive-visual {
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(214,59,88,0.06), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  padding: 36px 36px 30px;
  display: flex;
  align-items: center;
}
.motive-quote .mq-frame {
  width: 100%;
}
@media (max-width: 1020px) {
  .motive-grid { grid-template-columns: 1fr; gap: 48px; }
}

.motive-body {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-2);
  text-wrap: pretty;
}
.motive-body p { margin: 0 0 18px; }
.motive-body p:last-child { margin-bottom: 0; }

.red-accent {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.red-emph {
  color: var(--accent);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 65%, rgba(47, 139, 255, 0.18) 65%);
  padding: 0 2px;
}
.red-trio {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 4px 0 0;
  font-weight: 600;
}
.red-trio span {
  color: var(--red-deep);
  font-size: 17px;
  letter-spacing: -0.005em;
}
.red-trio span + span::before {
  content: "·";
  margin-right: 12px;
  color: var(--line-2);
}

/* Stat callouts */
.motive-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(13,20,38,0.55), rgba(10,16,32,0.55));
  position: relative;
}
.motive-stats::before {
  content: "VERISK · MARCH 17, 2026";
  position: absolute;
  top: -8px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  background: var(--bg);
  padding: 0 8px;
}
@media (max-width: 720px) {
  .motive-stats { grid-template-columns: 1fr 1fr; }
}

.stat-cell {
  padding: 14px 12px 12px;
  border-radius: 8px;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.stat-cell:hover {
  border-color: rgba(214, 59, 88, 0.4);
  background: rgba(214, 59, 88, 0.04);
}
.stat-cell .stat-v {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--red-deep);
  text-shadow: 0 0 18px var(--red-glow);
}
.stat-cell .stat-k {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-2);
}

/* Founder voice block */
.founder-voice {
  position: relative;
  border-left: 2px solid var(--red-deep);
  padding: 6px 0 6px 22px;
  margin: 8px 0 8px;
  background: linear-gradient(90deg, rgba(214,59,88,0.05), transparent 80%);
}
.founder-voice .voice-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--red-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.founder-voice .voice-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red-deep);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--red-deep);
}
.founder-voice p {
  font-style: italic;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  font-weight: 400;
}
.founder-voice p:last-child { margin-bottom: 0; }

/* Closing line */
.motive-close {
  margin-top: 64px;
  padding: 56px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background:
    radial-gradient(600px 220px at 50% 50%, rgba(214,59,88,0.10), transparent 70%);
}
.motive-close::before,
.motive-close::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: var(--red-deep);
  box-shadow: 0 0 10px var(--red-glow);
}
.motive-close::before { top: -1px; }
.motive-close::after  { bottom: -1px; }
.motive-close h3 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.motive-close h3 .em {
  background: linear-gradient(180deg, var(--red-deep), var(--red-deeper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.motive-close-stats {
  margin-top: 56px;
  padding: 36px 40px 32px;
  text-align: left;
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(214,59,88,0.10), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.motive-close-stats::before,
.motive-close-stats::after {
  width: 80px;
}
.mcs-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 32px;
  position: relative;
}
.mcs-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mcs-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgba(214, 59, 88, 0.38);
  background: rgba(214, 59, 88, 0.10);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0a9b6;
}
.mcs-badge svg {
  color: var(--red-deep);
  flex-shrink: 0;
}
.mcs-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
}
.mcs-dot {
  width: 7px; height: 7px;
  background: var(--red-deep);
  border-radius: 1px;
  box-shadow: 0 0 10px var(--red-deep);
}
.mcs-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.motive-stats-close {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  grid-template-columns: repeat(6, 1fr);
}
.motive-stats-close::before { display: none; }
@media (max-width: 1100px) {
  .motive-stats-close { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .motive-stats-close { grid-template-columns: repeat(2, 1fr); }
  .motive-close-stats { padding: 28px 22px 24px; }
}

/* Motive visual — authentication watch / geometry */
.motive-visual {
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(214,59,88,0.06), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  padding: 36px 36px 30px;
  display: flex;
  align-items: center;
}

/* OpenAI bubble used standalone in the right column */
.motive-bubble-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 32px;
}
.motive-bubble-side p {
  font-size: 16px;
}

/* OpenAI / industry-signal bubble */
.motive-bubble {
  position: relative;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red-deep);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(214,59,88,0.06), transparent 70%),
    linear-gradient(180deg, rgba(13,20,38,0.55), rgba(10,16,32,0.55));
  padding: 22px 26px;
  overflow: hidden;
}
.motive-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214,59,88,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,59,88,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 100% 0%, black, transparent 70%);
  pointer-events: none;
}
.motive-bubble .mb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 10px;
}
.motive-bubble .mb-date {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}
.motive-bubble .mb-dot {
  width: 6px; height: 6px;
  background: var(--red-deep);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--red-deep);
}
.motive-bubble p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  text-wrap: pretty;
}
@media (max-width: 1020px) {
  .motive-visual-stack { position: relative; top: 0; }
  .motive-visual { padding: 28px 24px; }
  .motive-bubble { padding: 18px 22px; }
}
.motive-visual .v-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(214,59,88,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,59,88,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Quote card */
.motive-quote .mq-frame {
  position: relative;
  z-index: 1;
}
.motive-quote .mq-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 90px;
  line-height: 0.7;
  color: var(--red-deep);
  opacity: 0.55;
  margin-bottom: 4px;
  user-select: none;
}
.motive-quote .mq-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 18px;
  font-style: italic;
  font-weight: 400;
  text-wrap: pretty;
}
.motive-quote .mq-body p:last-child { margin-bottom: 0; }
.motive-quote .mq-attrib {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.motive-quote .mq-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}
.motive-quote .mq-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 1020px) {
  .motive-visual { position: relative; top: 0; padding: 32px 28px; }
  .motive-quote .mq-mark { font-size: 70px; }
  .motive-quote .mq-body p { font-size: 16px; }
  .motive-visual-stack { gap: 14px; }
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes tick {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============ Team section ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.team-grid-solo { grid-template-columns: minmax(0, 420px); justify-content: center; }
.team-grid-solo .team-card-ceo { transform: none; }
.team-grid-solo .team-card-ceo:hover { transform: translateY(-3px); }

.team-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15,22,42,0.85), rgba(10,16,32,0.85));
  padding: 32px 28px 28px;
  box-shadow:
    0 0 0 1px rgba(47,139,255,0.04),
    0 20px 60px -30px rgba(0,0,0,0.7);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.team-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(47,139,255,0.10),
    0 30px 70px -30px rgba(0,0,0,0.8),
    0 0 50px -20px rgba(214,59,88,0.25);
}
/* Featured CEO card — lighter, accent-tinted background + slightly larger so it reads as the lead. */
.team-card-ceo {
  background: linear-gradient(180deg, rgba(26,40,72,0.95), rgba(18,30,56,0.95));
  border-color: var(--line-2);
  transform: scale(1.05);
  box-shadow:
    0 0 0 1px rgba(47,139,255,0.18),
    0 24px 70px -30px rgba(0,0,0,0.85),
    0 0 60px -18px rgba(47,139,255,0.35);
}
.team-card-ceo:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(47,139,255,0.28),
    0 34px 80px -30px rgba(0,0,0,0.9),
    0 0 70px -16px rgba(47,139,255,0.45);
}
.team-card .tc-bracket {
  position: absolute;
  top: 12px; right: 12px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}
.team-card .tc-bracket-bl {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
  opacity: 0.5;
}
.team-card .tc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47,139,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}

.tc-avatar {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background:
    radial-gradient(circle at 30% 25%, #2a3957, #14203a 60%, #0c1428 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 4px rgba(47,139,255,0.05),
    0 0 30px -8px rgba(47,139,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tc-avatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px dashed rgba(91,211,255,0.18);
  pointer-events: none;
}
.tc-avatar svg {
  width: 48px; height: 48px;
  color: var(--muted);
  opacity: 0.55;
}
.tc-avatar .tc-initials {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.tc-avatar .tc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-body { text-align: center; }
.tc-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--text);
}
.tc-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.tc-school {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.tc-school strong { color: var(--text-2); font-weight: 500; }
.tc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  text-align: left;
  text-wrap: pretty;
}

.team-note {
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(214,59,88,0.05), transparent 60%),
    linear-gradient(180deg, rgba(13,20,38,0.5), rgba(10,16,32,0.5));
  border-left: 2px solid var(--red-deep);
  position: relative;
}
.team-note p {
  font-style: italic;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
  max-width: 880px;
}
.team-note .tn-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--red-deep);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.team-note .tn-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red-deep);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--red-deep);
}
@media (max-width: 700px) {
  .team-note { padding: 22px 24px; }
}

#problem.section {
  padding: 24px 0 64px;
}
#problem .section-head {
  margin-bottom: 24px;
}
#problem .section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
}
#problem .section-lede {
  font-size: 15px;
  line-height: 1.55;
  max-width: 640px;
}
.problem-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 28px;
  border-top: 1px solid rgba(255, 77, 109, 0.25);
  border-bottom: 1px solid rgba(255, 77, 109, 0.18);
  background: linear-gradient(180deg, rgba(255,77,109,0.025), transparent 80%);
}
.problem-stats::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px; bottom: 38px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,77,109,0.25), transparent);
}
.problem-stat {
  padding: 22px 24px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.problem-stat .ps-v {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--danger);
  text-shadow: 0 0 24px rgba(255, 77, 109, 0.25);
  white-space: nowrap;
}
.problem-stat .ps-u {
  color: rgba(255, 77, 109, 0.55);
  font-size: 0.5em;
  margin-left: 2px;
  vertical-align: top;
  letter-spacing: 0;
}
.problem-stat .ps-k {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}
.problem-stats-source {
  position: absolute;
  bottom: 8px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
@media (max-width: 760px) {
  .problem-stats { grid-template-columns: 1fr; }
  .problem-stats::before { display: none; }
  .problem-stat { border-bottom: 1px solid rgba(255,77,109,0.18); padding: 24px 20px; }
  .problem-stat:last-child { border-bottom: 0; }
  .problem-stats-source { position: static; padding: 10px 20px 14px; }
}

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 72px 56px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(47,139,255,0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47,139,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,139,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  position: relative;
  text-wrap: balance;
}
.final-cta p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  text-wrap: pretty;
}
.final-cta .btns { display: inline-flex; gap: 12px; position: relative; flex-wrap: wrap; justify-content: center; }
@media (max-width: 700px) { .final-cta { padding: 56px 28px; } }

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-inner .brand-mark { width: 34px; height: 34px; }
.footer-inner .brand-wordmark { height: 22px; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.footer-email {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-email a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.footer-email a:hover { color: var(--text); }

/* ============ Tweaks panel customization ============ */

/* utilities */
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.dim { color: var(--text-2); }

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 40px; }
  .final-cta { padding: 56px 24px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; }
}

/* ============ Zoom-safe lite mode ============ */
/* Activated by the zoom guard in index.html once zoom crosses ~1.4x.
   Disables GPU-composited effects that overflow the max texture size at
   high zoom (which made the page lag and blank out). Visuals are kept as
   close as possible with cheap fallbacks. */
.perf-lite .nav {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(4, 6, 11, 0.96) !important;
}
/* Fixed full-viewport overlay layers — the blend/mask layer is the worst
   offender at high zoom. Drop the blend mode and masking. */
.perf-lite .page::before {
  mask-image: none !important;
  -webkit-mask-image: none !important;
  opacity: 0.35;
}
.perf-lite .page::after {
  display: none !important;
}
/* Pause continuously-running animations; they keep heavy layers live. */
.perf-lite .scanline,
.perf-lite [class*="ring"],
.perf-lite .pulse,
.perf-lite .pulse::after {
  animation: none !important;
}
/* Collapse large blurred shadows into cheap hairline borders. */
.perf-lite .hero-visual,
.perf-lite .team-card,
.perf-lite .btn-primary {
  box-shadow: 0 0 0 1px var(--line-2) !important;
}
/* Neutralize any active CSS blur filters. */
.perf-lite [style*="blur"],
.perf-lite .hero-visual.is-pre,
.perf-lite .hero-visual.is-in {
  filter: none !important;
}

/* ============ Scroll reveal ============ */
/* Text blocks and cards start offset + faded, then ease into place when
   they enter the viewport. The IntersectionObserver in app.jsx toggles
   `.in-view` on enter AND removes it on exit, so the reveal re-fires every
   time the element scrolls back into view (including scrolling back up). */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.66s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.66s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Respect reduced-motion and high-zoom lite mode — show everything, no motion. */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.perf-lite .reveal {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0ms !important;
}
