/* ═══════════════════════════════════════════════════════════════
   SIENA ENERGY · Design System v2
   Craft cues: Linear · xAI · Quaise · Crusoe
   Theme: Siena navy / signal blue / cyan
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #03060C;
  --bg-1: #070C14;
  --bg-2: #0C121C;
  --bg-3: #121A28;
  --bg-4: #1A2436;
  --line: #1C2A40;
  --line-soft: #141E2E;
  --line-hi: #2E4060;
  --tx: #E9EFF8;
  --tx-2: #8B9BB3;
  --tx-3: #4E5D75;
  --cy: #3EC9D8;
  --bl: #2B9BE8;
  --am: #F5A623;
  --gr: #4DE8A6;
  --vi: #9C8CFF;
  --rd: #E84855;
  --serif: "Fraunces", "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --max: 1180px;
  --max-wide: 1320px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --radius: 10px;
  --radius-sm: 6px;
  --glow-cy: 0 0 60px rgba(62, 201, 216, 0.18);
  --glow-bl: 0 0 80px rgba(43, 155, 232, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100%;
}
/* Ambient grain — GPU cheap, 1 tile */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(43, 155, 232, 0.4); color: #fff; }
:focus-visible { outline: 1.5px solid var(--cy); outline-offset: 3px; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 12px var(--cy);
  flex: none;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}
.fig {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.fig b { color: var(--cy); font-weight: 600; }

h1, .h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
h1 em, .h1 em, h2 em, .h2 em, h3 em {
  font-style: italic;
  color: var(--bl);
  font-weight: 400;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--tx-2);
  max-width: 38rem;
  font-weight: 400;
}
.prose {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--tx-2);
  max-width: 40rem;
}
.prose + .prose { margin-top: 1.05em; }
.prose b, .prose strong { color: var(--tx); font-weight: 560; }
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.pull-quote em { font-style: italic; color: var(--bl); }
.mono { font-family: var(--mono); }

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 48px, var(--max-wide));
  margin-inline: auto;
}
.section {
  padding: clamp(88px, 14vw, 160px) 0;
  position: relative;
}
.section-sm { padding: clamp(56px, 9vw, 100px) 0; }
.section-border { border-top: 1px solid var(--line-soft); }
.section-mesh {
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(43, 155, 232, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(62, 201, 216, 0.04), transparent 50%),
    var(--bg-1);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.bento > * { min-width: 0; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 64px; }
.mb-3 { margin-bottom: 28px; }
.mb-4 { margin-bottom: 40px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  will-change: transform;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, #4AD4E2 0%, var(--cy) 100%);
  color: #031820;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 28px rgba(62, 201, 216, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 40px rgba(62, 201, 216, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--tx);
  border: 1px solid var(--line-hi);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: rgba(62, 201, 216, 0.55);
  color: #fff;
  background: rgba(62, 201, 216, 0.06);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--tx-2);
  border: 1px solid transparent;
  padding-inline: 10px;
}
.btn-ghost:hover { color: var(--cy); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ── Header · xAI / Linear craft ────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: rgba(28, 42, 64, 0.8);
}
.nav-inner {
  width: min(100% - 28px, var(--max-wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  justify-self: start;
  z-index: 2;
}
.logo svg { width: 26px; height: 26px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .t1 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #fff;
}
.logo-text .t2 {
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--bl);
  margin-top: 3px;
}

/* Centered pill nav — Linear / xAI */
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgba(12, 18, 28, 0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.nav-pill a {
  font-size: 12px;
  font-weight: 500;
  color: var(--tx-2);
  padding: 7px 11px;
  border-radius: 999px;
  transition: color 0.2s, background 0.25s var(--ease);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .nav-pill a { padding: 7px 9px; font-size: 11.5px; }
}
.nav-pill a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-pill a[aria-current="page"] {
  color: #fff;
  background: rgba(62, 201, 216, 0.12);
  box-shadow: inset 0 0 0 1px rgba(62, 201, 216, 0.22);
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.nav-right .btn { padding: 9px 15px; font-size: 12.5px; }
.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 28, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}
.menu-btn:hover { border-color: var(--line-hi); background: var(--bg-3); }
.menu-btn i {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--tx);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-btn i + i { margin-top: 5px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Full-screen menu — xAI / product sites */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(3, 6, 12, 0.92);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(43, 155, 232, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 80% 70%, rgba(62, 201, 216, 0.08), transparent 50%);
  pointer-events: none;
}
.menu-panel {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.3s var(--ease), color 0.2s;
  transform: translateY(12px);
  opacity: 0;
}
.menu-overlay.open .menu-links a {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), padding 0.3s var(--ease), color 0.2s;
}
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: 0.04s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: 0.08s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: 0.12s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: 0.16s; }
.menu-overlay.open .menu-links a:nth-child(5) { transition-delay: 0.20s; }
.menu-overlay.open .menu-links a:nth-child(6) { transition-delay: 0.24s; }
.menu-overlay.open .menu-links a:nth-child(7) { transition-delay: 0.28s; }
.menu-links a:hover { padding-left: 10px; color: #fff; }
.menu-links a .ml-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.menu-links a .ml-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tx-3);
  letter-spacing: 0.12em;
}
.menu-links a:hover .ml-num { color: var(--cy); }
.menu-aside {
  padding-top: 12px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.menu-aside .fig { margin-bottom: 16px; }
.menu-aside p {
  font-size: 0.95rem;
  color: var(--tx-2);
  line-height: 1.65;
  max-width: 32ch;
}
.menu-aside .menu-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.menu-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-top: 28px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.38;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero:hover .hero-bg img { transform: scale(1.0); }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,6,12,0.55) 0%, rgba(3,6,12,0.15) 28%, rgba(3,6,12,0.55) 62%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 72% 42%, rgba(43, 155, 232, 0.14), transparent 58%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(62, 201, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 201, 216, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 22px; max-width: 36rem; }
.hero .btn-row { margin-top: 32px; }

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
  backdrop-filter: blur(12px);
}
.hero-stats .stat {
  background: rgba(7, 12, 20, 0.82);
  padding: 18px 20px;
  transition: background 0.3s;
}
.hero-stats .stat:hover { background: rgba(18, 26, 40, 0.95); }
.hero-stats .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 500;
}
.hero-stats .v {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--tx);
  margin-top: 8px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stats .v.cy { color: var(--cy); }
.hero-stats .v.gr { color: var(--gr); }

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%, rgba(43, 155, 232, 0.1), transparent 55%),
    radial-gradient(ellipse 35% 40% at 5% 90%, rgba(62, 201, 216, 0.04), transparent 50%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin-top: 14px; max-width: 16ch; }
.page-hero .lead { margin-top: 18px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(18, 26, 40, 0.9), rgba(12, 18, 28, 0.95));
  border: 1px solid var(--line-soft);
  padding: 26px;
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--line-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(3, 6, 12, 0.5);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--cy);
}
.card .icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 10px; }
.card p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--tx-2);
}
.card .card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 560;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-accent { border-top: 2px solid var(--cy); }
.card-accent.am { border-top-color: var(--am); }
.card-accent.gr { border-top-color: var(--gr); }
.card-accent.vi { border-top-color: var(--vi); }
.card-accent.bl { border-top-color: var(--bl); }
.card-link { display: block; height: 100%; }
.card-link:hover { border-color: rgba(62, 201, 216, 0.45); }

/* Glass panel */
.glass {
  background: rgba(12, 18, 28, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Feature media */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--glow-bl);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-media:hover img { transform: scale(1.03); }

/* Gap table */
.gap-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.gap-list .row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: background 0.25s;
}
.gap-list .row:last-child { border-bottom: none; }
.gap-list .row:not(.head):hover { background: rgba(43, 155, 232, 0.04); }
.gap-list .row.head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 600;
  padding-block: 12px;
  background: rgba(3, 6, 12, 0.5);
}
.gap-list .who { color: #fff; font-weight: 560; font-size: 0.95rem; }
.gap-list .sells { color: var(--tx-2); font-size: 0.9rem; }
.gap-list .wont { color: var(--tx-3); font-size: 0.88rem; line-height: 1.55; }

/* Diversity */
.diversity {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.diversity-chart {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.diversity-chart svg { width: 100%; height: auto; }
.diversity-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.diversity-stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.diversity-stat:hover {
  border-color: var(--line-hi);
  transform: translateX(4px);
}
.diversity-stat .num {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.diversity-stat .num.cy { color: var(--cy); }
.diversity-stat .num.gr { color: var(--gr); }
.diversity-stat .num.am { color: var(--am); }
.diversity-stat .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-top: 8px;
  font-weight: 560;
}
.diversity-stat .note {
  font-size: 0.84rem;
  color: var(--tx-2);
  margin-top: 6px;
  line-height: 1.45;
}

/* Platform block */
.platform-block {
  background:
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(43, 155, 232, 0.12), transparent 55%),
    linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-bl);
}
.platform-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 201, 216, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 201, 216, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000, transparent);
}
.platform-block > * { position: relative; }
.platform-preview {
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(62, 201, 216, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.platform-preview:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(62, 201, 216, 0.12);
}
.platform-preview img { width: 100%; height: auto; display: block; }
.platform-preview .sim-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.1);
  color: var(--am);
  border-radius: 999px;
}
.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--am);
  flex: none;
  animation: pulse-dot 2s ease-in-out infinite;
}
.chip.cy {
  border-color: rgba(62, 201, 216, 0.35);
  background: rgba(62, 201, 216, 0.1);
  color: var(--cy);
}
.chip.cy::before { background: var(--cy); }

/* Note */
.note {
  padding: 14px 16px;
  background: rgba(43, 155, 232, 0.05);
  border-left: 2px solid var(--bl);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--tx-2);
  line-height: 1.6;
}
.note b { color: var(--tx); }
.note.am {
  background: rgba(245, 166, 35, 0.05);
  border-left-color: var(--am);
}
.note.gr {
  background: rgba(77, 232, 166, 0.05);
  border-left-color: var(--gr);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.step:hover {
  border-color: rgba(62, 201, 216, 0.35);
  transform: translateY(-4px);
}
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cy);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--tx-2); line-height: 1.6; }

/* Layers */
.layers {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.layer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  align-items: start;
  transition: background 0.25s, padding-left 0.3s var(--ease);
}
.layer:last-child { border-bottom: none; }
.layer:hover {
  background: var(--bg-3);
  padding-left: 28px;
}
.layer .n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cy);
  padding-top: 2px;
}
.layer h3 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 560;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.layer p { font-size: 0.88rem; color: var(--tx-2); line-height: 1.55; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 55% 80% at 50% 100%, rgba(43, 155, 232, 0.14), transparent 55%),
    var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin: 18px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* Footer */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--tx-2);
  margin-top: 18px;
  line-height: 1.45;
  font-style: italic;
  letter-spacing: -0.02em;
}
.footer-brand .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tx-3);
  margin-top: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}
.footer-brand .meta a:hover { color: var(--cy); }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--tx-2);
  padding: 5px 0;
  transition: color 0.2s, transform 0.25s var(--ease);
}
.footer-col a:hover { color: var(--cy); transform: translateX(3px); }
.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 32px;
}
.footer-legal p {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--tx-3);
  max-width: 95ch;
}
.footer-legal .copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--tx-3);
  margin-bottom: 10px;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 560;
  margin-bottom: 8px;
}
.field label .req { color: var(--cy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(12, 18, 28, 0.8);
  border: 1px solid var(--line);
  color: var(--tx);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(62, 201, 216, 0.55);
  box-shadow: 0 0 0 3px rgba(62, 201, 216, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238B9BB3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note { font-size: 0.84rem; color: var(--tx-3); line-height: 1.5; }
.form-success {
  display: none;
  padding: 22px;
  border: 1px solid rgba(77, 232, 166, 0.3);
  background: rgba(77, 232, 166, 0.07);
  color: var(--gr);
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: var(--radius);
}
.form-success.show { display: block; }
.form.sent .form-fields { display: none; }

/* Insights */
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.insight-card:hover {
  border-color: rgba(62, 201, 216, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.insight-card .thumb {
  aspect-ratio: 16/10;
  background: var(--bg-3);
  overflow: hidden;
  position: relative;
}
.insight-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.7s var(--ease), opacity 0.3s;
}
.insight-card:hover .thumb img {
  transform: scale(1.05);
  opacity: 1;
}
.insight-card .body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 560;
  margin-bottom: 10px;
}
.insight-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.insight-card p {
  font-size: 0.9rem;
  color: var(--tx-2);
  line-height: 1.6;
  flex: 1;
}
.insight-card .link {
  font-size: 13px;
  font-weight: 560;
  color: var(--cy);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insight-card .link svg { transition: transform 0.3s var(--ease); }
.insight-card:hover .link svg { transform: translateX(3px); }

/* Founder */
.founder {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 36px);
}
.founder-mark {
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 40% 40%, rgba(43, 155, 232, 0.22), transparent 60%),
    var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-mark svg { width: 64px; height: 64px; }
.founder .name {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.founder .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cy);
  font-weight: 560;
  margin-bottom: 16px;
}
.founder p {
  font-size: 0.96rem;
  color: var(--tx-2);
  line-height: 1.7;
  max-width: 62ch;
}
.founder p + p { margin-top: 12px; }
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.creds span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--tx-3);
  border: 1px solid var(--line);
  padding: 6px 10px;
  background: var(--bg-1);
  border-radius: 999px;
}

/* Qualifier */
.qualifier {
  border: 1px solid var(--line);
  background: var(--bg-1);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.qualifier h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 560;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.qualifier p {
  font-size: 0.94rem;
  color: var(--tx-2);
  line-height: 1.65;
  max-width: 70ch;
}

/* Tables */
.term-table {
  width: 100%;
  border-collapse: collapse;
}
.term-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.term-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 0.92rem;
  color: var(--tx-2);
  line-height: 1.55;
}
.term-table td:first-child {
  color: var(--tx);
  font-weight: 560;
  white-space: nowrap;
  width: 22%;
}
.term-table tr:last-child td { border-bottom: none; }
.term-table tbody tr { transition: background 0.2s; }
.term-table tbody tr:hover { background: rgba(43, 155, 232, 0.03); }

/* ── 3D District Stage ────────────────────────────────────────
   Geometry: real face elements (not pseudo) + 2D label overlay.
   Labels live outside the rotated scene so text never sinks into 3D.
   ──────────────────────────────────────────────────────────── */
.district-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 60% 50% at 50% 70%, rgba(43, 155, 232, 0.12), transparent 60%),
    linear-gradient(180deg, #0A1018, #05080F);
  min-height: 480px;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 42%;
  box-shadow: var(--glow-bl);
}
.district-stage .stage-label {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.district-stage .stage-hint {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 20;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.district-3d {
  position: absolute;
  inset: 8% 5% 18% 5%;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-34deg);
  transition: transform 0.12s linear;
  will-change: transform;
  transform-origin: 50% 50%;
}
.iso-ground {
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  top: 50%;
  margin: -170px 0 0 -170px;
  border: 1px solid rgba(62, 201, 216, 0.14);
  background:
    radial-gradient(circle, rgba(62, 201, 216, 0.07), transparent 62%),
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(62,201,216,0.05) 26px, rgba(62,201,216,0.05) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 26px, rgba(62,201,216,0.05) 26px, rgba(62,201,216,0.05) 27px);
  transform: translateZ(0);
}

/* Nodes placed in the rotated plane */
.iso-node {
  position: absolute;
  transform-style: preserve-3d;
  width: 0;
  height: 0;
}
.iso-node.plant { left: 50%; top: 50%; z-index: 4; }
.iso-node.n1 { left: 22%; top: 30%; z-index: 3; }
.iso-node.n2 { left: 74%; top: 28%; z-index: 3; }
.iso-node.n3 { left: 48%; top: 74%; z-index: 2; }

/* Prism — cube-style faces centered on origin, bottom on ground (z=0).
   --w width (X), --d depth (Y), --h height (Z / up) */
.iso-prism {
  --w: 72px;
  --d: 54px;
  --h: 40px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d;
  /* lift so bottom sits on ground plane */
  transform: translateZ(calc(var(--h) / 2));
}
.iso-node.plant .iso-prism {
  --w: 112px;
  --d: 80px;
  --h: 52px;
}
.iso-prism .face {
  position: absolute;
  border: 1px solid rgba(62, 201, 216, 0.55);
  box-sizing: border-box;
  backface-visibility: visible;
}
/* Front (+Z in cube local before parent tilt… use standard cube map) */
.iso-prism .face.front {
  width: var(--w);
  height: var(--h);
  left: 0;
  top: 0;
  background: linear-gradient(180deg, #2A384C 0%, #121A24 100%);
  transform: rotateY(0deg) translateZ(calc(var(--d) / 2));
}
/* Right side */
.iso-prism .face.side {
  width: var(--d);
  height: var(--h);
  left: calc((var(--w) - var(--d)) / 2);
  top: 0;
  background: linear-gradient(180deg, #1A2634 0%, #0C121A 100%);
  border-color: rgba(62, 201, 216, 0.4);
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
}
/* Top */
.iso-prism .face.top {
  width: var(--w);
  height: var(--d);
  left: 0;
  top: calc((var(--h) - var(--d)) / 2);
  background: linear-gradient(145deg, #3A5168 0%, #1C2A3A 100%);
  border-color: rgba(62, 201, 216, 0.65);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Accent variants */
.iso-prism.accent-cy .face.top {
  background: linear-gradient(145deg, #2A4A54, #152830);
  border-color: rgba(62, 201, 216, 0.75);
}
.iso-prism.accent-cy .face.front {
  background: linear-gradient(180deg, #1E3844, #101C24);
  border-color: rgba(62, 201, 216, 0.5);
}
.iso-prism.accent-cy .face.side { border-color: rgba(62, 201, 216, 0.4); }
.iso-prism.accent-gr .face.top {
  background: linear-gradient(145deg, #2A4A3C, #142820);
  border-color: rgba(77, 232, 166, 0.65);
}
.iso-prism.accent-gr .face.front {
  background: linear-gradient(180deg, #1A3830, #0E1C18);
  border-color: rgba(77, 232, 166, 0.45);
}
.iso-prism.accent-gr .face.side { border-color: rgba(77, 232, 166, 0.35); }
.iso-prism.accent-vi .face.top {
  background: linear-gradient(145deg, #3A3A54, #1C1C30);
  border-color: rgba(156, 140, 255, 0.65);
}
.iso-prism.accent-vi .face.front {
  background: linear-gradient(180deg, #2A2A40, #141420);
  border-color: rgba(156, 140, 255, 0.45);
}
.iso-prism.accent-vi .face.side { border-color: rgba(156, 140, 255, 0.35); }
.iso-node.plant .iso-prism .face.top {
  background: linear-gradient(145deg, #3A5A72, #1A3040);
  border-color: rgba(43, 155, 232, 0.8);
}
.iso-node.plant .iso-prism .face.front {
  background: linear-gradient(180deg, #2A4050, #142028);
  border-color: rgba(43, 155, 232, 0.55);
}

/* Chimneys above top face */
.iso-prism .chimney {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 58%;
  top: 30%;
  margin-left: -6px;
  background: linear-gradient(180deg, #3EC9D8, #1a3040);
  border: 1px solid rgba(62, 201, 216, 0.6);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2 + 10px));
}
.iso-prism .chimney.s2 {
  left: 42%;
  top: 52%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2 + 8px));
  opacity: 0.9;
}

/* Pipes on ground plane */
.iso-pipe {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(62, 201, 216, 0.85), transparent);
  transform-origin: left center;
  opacity: 0.75;
  animation: pipe-flow 2.8s linear infinite;
  transform: translateZ(2px);
}
.iso-pipe.p1 {
  width: 150px;
  left: 36%;
  top: 42%;
  transform: translateZ(2px) rotate(28deg);
}
.iso-pipe.p2 {
  width: 140px;
  left: 52%;
  top: 40%;
  transform: translateZ(2px) rotate(-30deg);
}
.iso-pipe.p3 {
  width: 110px;
  left: 48%;
  top: 52%;
  transform: translateZ(2px) rotate(86deg);
}
@keyframes pipe-flow {
  0%, 100% { opacity: 0.4; filter: brightness(0.85); }
  50% { opacity: 0.95; filter: brightness(1.35); }
}

/* 2D labels — never inside the 3D transform tree */
.district-labels {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}
.district-labels .dl {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx);
  white-space: nowrap;
  padding: 4px 8px;
  background: rgba(5, 8, 15, 0.82);
  border: 1px solid var(--line-hi);
  transform: translate(-50%, -100%);
}
.district-labels .dl.plant {
  left: 50%;
  top: 38%;
  color: var(--cy);
  border-color: rgba(62, 201, 216, 0.45);
}
.district-labels .dl.n1 {
  left: 28%;
  top: 30%;
  color: #3EC9D8;
  border-color: rgba(62, 201, 216, 0.4);
}
.district-labels .dl.n2 {
  left: 74%;
  top: 28%;
  color: #4DE8A6;
  border-color: rgba(77, 232, 166, 0.4);
}
.district-labels .dl.n3 {
  left: 48%;
  top: 68%;
  color: #9C8CFF;
  border-color: rgba(156, 140, 255, 0.4);
}

/* Animated sparkline bars in hero meta */
.spark-inline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  margin-top: 8px;
}
.spark-inline i {
  flex: 1;
  background: linear-gradient(180deg, var(--cy), rgba(62, 201, 216, 0.2));
  border-radius: 1px 1px 0 0;
  min-width: 3px;
  animation: bar-breathe 2.4s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes bar-breathe {
  0%, 100% { transform: scaleY(0.85); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Live ticker strip */
.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 12, 20, 0.8);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
  will-change: transform;
}
.ticker-track b { color: var(--cy); font-weight: 600; }
.ticker-track span { color: var(--tx-2); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section header with FIG */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.sec-head .left { max-width: 36rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }

/* Chart path draw */
.chart-draw {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.chart-draw.in { stroke-dashoffset: 0; }

/* Progress ring for KPI */
.ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(var(--cy) var(--p, 0%), var(--line) 0);
  display: grid;
  place-items: center;
  flex: none;
}
.ring::after {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-2);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--bl), var(--cy));
  z-index: 300;
  transform-origin: left;
  box-shadow: 0 0 12px rgba(62, 201, 216, 0.5);
  pointer-events: none;
}

/* Cursor glow (desktop only) */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 155, 232, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
  will-change: left, top;
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-pill { display: none; }
  .menu-btn { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-row,
  .platform-block,
  .diversity,
  .grid-2,
  .menu-panel { grid-template-columns: 1fr; }
  .menu-aside { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 1; }
  .span-12 { grid-column: span 2; }
  .hero-stats { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .gap-list .row { grid-template-columns: 1fr; gap: 6px; }
  .gap-list .row.head { display: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 720px) {
  .wrap, .wrap-wide { width: min(100% - 28px, var(--max)); }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .span-12 { grid-column: span 1; }
  .hero { padding-bottom: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .nav-right .btn-secondary { display: none; }
  .term-table, .term-table thead, .term-table tbody, .term-table th, .term-table td, .term-table tr {
    display: block;
  }
  .term-table thead { display: none; }
  .term-table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
  .term-table td {
    border: none;
    padding: 4px 0;
    white-space: normal;
    width: auto !important;
  }
  .district-stage { min-height: 320px; }
  .district-3d { transform: rotateX(58deg) rotateZ(-28deg) scale(0.72) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .chart-draw { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
