/* ════════════════════════════════════════════════════════════════════
   KAIZENFLOW — flight-hardware web system
   Near-black canvas · one molten-amber accent · condensed technical type
   Single stylesheet. Custom properties are the only theming surface.
   ════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* canvas + surfaces (kept from the v2 token contract) */
  --void: #060a14;
  --void-88: rgba(6, 10, 20, .88);
  --void-60: rgba(6, 10, 20, .60);
  --void-0: rgba(6, 10, 20, 0);
  --carbon: #0a0f1c;
  --carbon-2: #0d1321;
  --steel: rgba(255, 255, 255, .07);
  --steel-2: rgba(255, 255, 255, .14);

  /* type colors */
  --bone: #e9edf3;
  --bone-dim: #c6cdd8;
  --ash: #8b95a5;
  --ash-dim: #565f6e;

  /* THE accent. one only. molten amber — furnace glow, weld spark. */
  --amber: #ff9e2c;
  --amber-bright: #ffb85c;
  --amber-deep: #d97b12;
  --amber-glow: rgba(255, 158, 44, .16);
  --amber-08: rgba(255, 158, 44, .08);
  --amber-30: rgba(255, 158, 44, .30);

  /* status (data panels only, never decorative) */
  --crit: #ef4444;

  /* type stacks */
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* motion: slow, physics-eased. no bounce. */
  --dur-1: 600ms;
  --dur-2: 900ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1440px;

  --focus-ring: rgba(255, 158, 44, .65);
}

/* ── RESET-ADJACENT BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--void); }
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
input, textarea { caret-color: var(--amber); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #232c3d; border-radius: 3px; }
* { scrollbar-width: thin; scrollbar-color: #232c3d transparent; }

/* plexus background — injected by main.js; sits behind all content and is
   naturally covered by any section that paints its own background */
#bg-plexus { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* hero constellation — vibrant interactive network scoped to the home hero */
.hero-net { position: absolute; inset: 0; z-index: -2; pointer-events: none; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 10px 18px; background: var(--amber); color: var(--void);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
/* Condensed-technical display: Archivo variable, uppercase, engraved. */
.h-display, .h-1, .h-2, .h-3 {
  font-family: var(--font-display);
  font-weight: 640;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: -.015em;
  color: var(--bone);
  text-wrap: balance;
}
.h-display { font-size: clamp(52px, 9.5vw, 148px); }
.h-1 { font-size: clamp(40px, 6vw, 88px); }
.h-2 { font-size: clamp(30px, 4vw, 56px); }
.h-3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.08; }
.h-display em, .h-1 em, .h-2 em, .h-3 em { font-style: normal; color: var(--amber); }

/* §-numbering system, carried over: "§01 / OUTCOMES" */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--amber); flex: none; }
.kicker--bare::before { display: none; }
.kicker b, .kicker span { color: var(--ash); font-weight: 400; }

.sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 560px;
  text-wrap: pretty;
  /* keeps lead copy legible where it sits over busy artwork */
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85), 0 2px 18px rgba(6, 10, 20, .6);
}
.mono-note {
  font-family: var(--font-mono);
  font-size: 10.5px; line-height: 1.7; letter-spacing: .04em;
  color: var(--ash);
}
.mono-note a { color: var(--ash); }
.mono-note a:hover { color: var(--amber); }

/* numbers are proof: tabular everywhere digits appear */
.stat__num, .term__val, .ticker, .calc, .price-card__price {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1;
}

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--bone);
  background: var(--btn-bg);
  border: 1px solid var(--steel-2);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--amber);
  transform: translateX(-101%);
  transition: transform var(--dur-1) var(--ease-io);
}
/* gleam sweeps across the button on hover/focus - motivated, not a perpetual loop */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .30) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 200% 0;
}
.btn:not(.btn--prime)::before { background-image: linear-gradient(115deg, transparent 38%, rgba(255, 184, 92, .22) 50%, transparent 62%); }
.btn:hover::before, .btn:focus-visible::before { animation: btn-shine 1s cubic-bezier(.65, 0, .35, 1); }
@keyframes btn-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -60% 0; }
}
/* primary CTAs carry a quiet furnace glow */
.btn--prime { box-shadow: 0 0 26px -8px var(--amber-30), 0 6px 20px -10px rgba(255, 158, 44, .45); }
.btn:hover { color: var(--void); border-color: var(--amber); }
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: scale(.98); }
.btn--prime { background: var(--amber); border-color: var(--amber); color: var(--void); font-weight: 600; }
.btn--prime::after { background: var(--bone); }
.btn--prime:hover { color: var(--void); }
.btn--lg { padding: 17px 36px; letter-spacing: .22em; }

/* ── NAV — invisible until needed ───────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), padding var(--dur-1) var(--ease);
}
.site-nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: var(--void-88);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--steel);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--bone); text-decoration: none;
}
.logo::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.site-nav__links { display: flex; gap: 30px; list-style: none; }
.site-nav__links a {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--bone-dim);
  transition: color .3s;
  padding: 6px 0;
  /* nav floats over the hero's thinnest veil band until .is-scrolled */
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85);
}
.site-nav__links a:hover { color: var(--bone); }
.site-nav__links a[aria-current] { color: var(--amber); }
.site-nav__acts { display: flex; gap: 8px; }
.site-nav__acts .btn { padding: 10px 18px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 16px; background: none; border: 0; cursor: pointer; z-index: 210;
}
.nav-toggle span { height: 1px; background: var(--bone); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── SPLIT HERO + LIVE ARCHITECTURE DIAGRAM (platform) ──────────────── */
.hero-cols {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-diagram { width: 100%; max-width: 560px; justify-self: end; }
.hero-diagram svg { width: 100%; height: auto; overflow: visible; }
.hero-diagram text {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  fill: var(--ash); text-transform: uppercase;
}
.hero-diagram .dg-cap { fill: var(--amber); font-size: 10px; }
.hero-diagram .dg-chip { animation: chip-breathe 3.6s var(--ease-io) infinite; transform-origin: center; transform-box: fill-box; }
.hero-diagram .dg-chip:nth-child(2n) { animation-delay: 1.2s; }
.hero-diagram .dg-chip:nth-child(3n) { animation-delay: 2.4s; }
@keyframes chip-breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@media (max-width: 1080px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero-diagram { justify-self: center; max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-diagram .dg-pulse { display: none; }
  .hero-diagram .dg-chip { animation: none; }
}

/* ── FULL-BLEED SCREEN — one idea per viewport ──────────────────────── */
.screen {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 120px var(--gutter) clamp(72px, 12vh, 140px);
  isolation: isolate;
  overflow: hidden;
}
.screen--center { align-content: center; justify-items: center; text-align: center; }
.screen--hero { align-content: end; }

.media {
  position: absolute; inset: 0; z-index: -3;
  /* hand-authored scene-tone placeholder acts as the blur-up layer */
  background: var(--media-tone, linear-gradient(180deg, #0a0f1c 0%, #060a14 100%));
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur-2) var(--ease);
}
/* blur-up hiding only when JS is present to reveal it (no-JS keeps photos visible) */
.js .media img { opacity: 0; }
.media img.is-loaded { opacity: 1; }
.media--parallax img { height: 116%; will-change: transform; }
@keyframes media-parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .media--parallax img { animation: media-parallax linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* film: darken for legibility + grain for texture */
.veil { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,10,20,.42) 0%, rgba(6,10,20,.18) 40%, rgba(6,10,20,.86) 100%);
}
.veil--flat { background: rgba(6, 10, 20, .55); }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.screen__content { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; display: grid; gap: 28px; justify-items: start; }
.screen--center .screen__content { justify-items: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.screen__content .btn-row { margin-top: 10px; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ash);
}
.scroll-hint::after { content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrolly 2.2s var(--ease-io) infinite; }
@keyframes scrolly { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* ── DARK DATA PANEL ────────────────────────────────────────────────── */
.panel { position: relative; padding: clamp(88px, 14vh, 160px) var(--gutter); }
.panel--line { border-top: 1px solid var(--steel); }
.panel--carbon { background: var(--carbon); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

.panel__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 8vh, 88px); max-width: 980px; }

/* ── TICKER — mission-control chyron ────────────────────────────────── */
.ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  border-top: 1px solid var(--steel);
  background: var(--void-60);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker:focus .ticker__track { animation-play-state: paused; }
.ticker span {
  padding: 12px 30px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash); white-space: nowrap;
}
.ticker b { color: var(--amber); font-weight: 500; }
.ticker i { color: var(--ash-dim); font-style: normal; padding: 0 4px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── GIANT STATS — confidence as data ───────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.stat { display: grid; gap: 12px; align-content: start; }
.stat__num {
  font-family: var(--font-display); font-weight: 660; font-stretch: 116%;
  font-size: clamp(56px, 7.5vw, 124px); line-height: .9; letter-spacing: -.02em;
  color: var(--amber);
  /* no text-transform: unit casing is meaningful (Gt, MWh, h) */
}
.stat__num small { font-size: .38em; font-weight: 560; letter-spacing: 0; color: var(--amber-deep); }
.stat__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.stat__note { font-family: var(--font-mono); font-size: 10px; line-height: 1.65; letter-spacing: .03em; color: var(--ash); max-width: 300px; }

/* flight-test disclaimer strip */
.disclaimer {
  margin-top: clamp(36px, 6vh, 64px); padding-top: 22px;
  border-top: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10px; line-height: 1.75;
  letter-spacing: .05em; color: var(--ash); max-width: 760px;
}
.disclaimer::before { content: '▲ '; color: var(--amber); }

/* fine print that renders over imagery steps up a rung and gets the same
   halo as .sub — flat-panel instances keep the quiet --ash register */
.screen .mono-note, .screen .disclaimer, .screen .stat__note {
  color: var(--bone-dim);
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85), 0 2px 18px rgba(6, 10, 20, .6);
}

/* ── TERMINAL / LEDGER — every number settles ───────────────────────── */
.term {
  background: #070b16;
  border: 1px solid var(--steel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.term__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 20px; border-bottom: 1px solid var(--steel); background: var(--carbon-2);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash);
}
.term__live { color: var(--amber); display: flex; align-items: center; gap: 7px; }
.term__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.6s var(--ease-io) infinite; }
.term__body { padding: 8px 20px 14px; }
.term__row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 118px; align-items: center; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--steel);
}
.term__row:last-child { border-bottom: 0; }
.term__lbl { font-size: 14.5px; color: var(--bone-dim); }
.term__val {
  font-family: var(--font-display); font-weight: 620; font-stretch: 112%;
  font-size: clamp(20px, 2vw, 28px); color: var(--ash); text-align: right;
  transition: color var(--dur-1) var(--ease);
}
.term__pill {
  justify-self: end; padding: 5px 12px; border-radius: 99px; text-align: center;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ash); background: rgba(255, 255, 255, .05);
  transition: color var(--dur-1), background var(--dur-1);
}
.term__pill::before { content: 'pending'; }
.term__scan { display: none; }
@keyframes scan { 0% { transform: translateX(-30%); } 100% { transform: translateX(30%); } }
.term__row.is-settled .term__val { color: var(--amber); }
.term__row.is-settled .term__pill { color: var(--amber); background: var(--amber-glow); }
.term__row.is-settled .term__pill::before { content: 'verified'; }
.term__row.is-settled .term__scan { display: none; }
.term__row--total { border-top: 1px solid var(--steel-2); margin-top: 6px; }
.term__row--total .term__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.term__row--total .term__val { font-size: clamp(30px, 3.4vw, 46px); }
.term__row--total.is-settled .term__pill::before { content: '✓ signed'; }

/* ── HORIZONTAL TIMELINE — live in two weeks ────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); position: relative; counter-reset: phase; }
.timeline::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--steel-2); }
.phase { position: relative; padding-top: 34px; display: grid; gap: 12px; align-content: start; }
.phase::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px;
  border-radius: 50%; border: 1px solid var(--amber); background: var(--void); }
.phase::after { content: ''; position: absolute; top: 4.5px; left: 4.5px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.phase__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.phase__meta b { color: var(--ash); font-weight: 400; margin-left: 12px; }
.phase h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.phase p { font-size: 14.5px; color: var(--bone-dim); line-height: 1.65; max-width: 380px; }
.phase__pts { display: grid; gap: 8px; margin-top: 6px; }
.phase__pts span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ash); display: flex; gap: 9px; }
.phase__pts span::before { content: '▸'; color: var(--amber); }

/* ── SPECIALIST GRID — nine agents ──────────────────────────────────── */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.agent {
  position: relative; background: var(--void); padding: 34px 28px;
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: background var(--dur-1) var(--ease);
}
.agent:hover { background: var(--carbon); }
.agent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-1) var(--ease); }
.agent:hover::before { transform: scaleX(1); }
.agent__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--amber); }
.agent h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: 24px; line-height: 1.02; text-transform: uppercase; letter-spacing: -.005em; }
.agent p { font-size: 13.5px; color: var(--bone-dim); line-height: 1.6; }
.agent__methods { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--steel);
  display: flex; flex-wrap: wrap; gap: 6px;
  opacity: .45; transform: translateY(4px);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.agent:hover .agent__methods { opacity: 1; transform: none; }
.agent__methods span { padding: 4px 9px; background: rgba(255,255,255,.05);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--bone-dim); }

/* ── GLOBE ──────────────────────────────────────────────────────────── */
.globe-section { position: relative; overflow: hidden; }
.globe-stage { position: relative; width: min(920px, 92vw); aspect-ratio: 1; margin: 0 auto; }
.globe-stage::before { content: ''; position: absolute; inset: -14%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(11, 26, 54, .8) 0%, rgba(8, 16, 34, .35) 38%, rgba(6, 10, 20, 0) 62%); }
.globe-stage canvas, .globe-stage .globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-fallback { display: none; }
.globe-stage.is-static .globe-fallback { display: block; }
.globe-cap {
  text-align: center; margin-top: -40px; position: relative; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bone-dim);
}
.globe-cap b { color: var(--amber); font-weight: 500; }

/* earth centerpiece (impact §01) — sourced stats flank the rotating planet */
.earth-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(300px, 620px) minmax(200px, 1fr);
  gap: clamp(24px, 3vw, 56px); align-items: center; }
.earth-grid__col { display: grid; gap: clamp(28px, 5vh, 56px); align-content: center; }
.earth-grid__col--r { justify-items: end; text-align: right; }
.earth-grid .globe-stage { width: 100%; }
.earth-grid .stat__num { font-size: clamp(40px, 3.4vw, 60px); }
@media (max-width: 980px) {
  .earth-grid { grid-template-columns: 1fr 1fr; }
  .earth-grid .globe-stage { grid-column: 1 / -1; grid-row: 1; max-width: 420px; margin: 0 auto; }
  .earth-grid__col--r { justify-items: start; text-align: left; }
}
@media (max-width: 560px) { .earth-grid { grid-template-columns: 1fr; } }

/* connector strip — muted monochrome */
.conn-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--steel); margin-top: clamp(40px, 7vh, 72px); }
.conn-strip span {
  padding: 14px 22px; border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ash);
  transition: color .4s;
}
.conn-strip span:hover { color: var(--bone); }

/* real integration-partner logos (Simple Icons), monochrome; logos only */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(30px, 5vw, 60px);
  padding: 4px 0 clamp(34px, 5vh, 56px); }
.logo-wall__note { width: 100%; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash-dim); margin-bottom: 2px; }
.logo-wall__item { display: inline-flex; align-items: center; color: var(--ash); transition: color .3s var(--ease); }
.logo-wall__item:hover { color: var(--bone); }
.logo-wall svg { height: 26px; width: auto; fill: currentColor; display: block; }


/* ── DEVICE / PRODUCT FRAME ─────────────────────────────────────────── */
.frame {
  position: relative; border: 1px solid var(--steel-2); background: var(--carbon-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8);
}
.frame::before { content: ''; position: absolute; top: -1px; left: -1px; right: auto; width: 44px; height: 1px; background: var(--amber); }
.frame::after { content: ''; position: absolute; top: -1px; left: -1px; width: 1px; height: 44px; background: var(--amber); }
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  border-bottom: 1px solid var(--steel); background: var(--carbon);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); }
.frame__bar::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.frame img { width: 100%; }

/* ── DEVICE STAGE — the product on branded hardware, drawn in HTML ──── */
.devices { position: relative; perspective: 1700px; width: min(1060px, 100%); }
.device { transform-style: preserve-3d; }
.device--monitor { width: min(880px, 94%); animation: dev-float 9s var(--ease-io) infinite alternate; }
.device__tilt { transform: rotateX(5deg) rotateY(-7deg); transform-style: preserve-3d; }
.device__screen {
  position: relative; padding: clamp(7px, 1vw, 12px); border-radius: 12px;
  border: 1px solid var(--steel-2);
  background: linear-gradient(160deg, rgba(19, 28, 48, .5) 0%, rgba(10, 15, 28, .42) 55%, rgba(7, 11, 22, .38) 100%);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  box-shadow: 0 70px 150px -50px rgba(0, 0, 0, .95),
              inset 0 0 0 1px rgba(255, 255, 255, .03),
              0 0 110px -60px var(--amber-30);
}
/* glass screens — dashboard surfaces go translucent so the scene reads through */
.device .dash { background: rgba(7, 11, 22, .40); }
.device .dash__side { background: rgba(10, 15, 28, .48); }
.device .dash__kpi { background: rgba(7, 11, 22, .44); }
.device .dash__strip { background: rgba(10, 15, 28, .48); }
/* power LED on the bottom bezel */
.device__screen::after {
  content: ''; position: absolute; left: 50%; bottom: 3.5px; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 7px var(--amber);
}
.device__screen .dash { box-shadow: none; border-color: var(--steel); border-radius: 5px; overflow: hidden; }

.device--tablet { position: absolute; right: clamp(-8px, 2vw, 48px); bottom: -6px;
  width: clamp(210px, 27vw, 320px); z-index: 2;
  animation: dev-float 7s var(--ease-io) 1.4s infinite alternate; }
.device--tablet .device__tilt { transform: rotateX(4deg) rotateY(16deg) rotateZ(1.5deg) translateZ(70px); }
.device--tablet .device__screen { border-radius: 16px; padding: 8px; }
/* front camera on the top bezel instead of a LED */
.device--tablet .device__screen::after { bottom: auto; top: 3.5px; background: #33415c; box-shadow: none; }

@keyframes dev-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 880px) {
  .devices { perspective: none; }
  .device--monitor { width: 100%; animation: none; }
  .device__tilt, .device--tablet .device__tilt { transform: none; }
  .device--tablet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .device--monitor, .device--tablet { animation: none; }
}

/* ── DASHBOARD MOCK — the product, drawn in HTML ────────────────────── */
.dash {
  border: 1px solid var(--steel-2); background: #070b16; text-align: left;
  box-shadow: 0 80px 160px -60px rgba(0, 0, 0, .95);
  font-size: 12px; line-height: 1.45;
}
.dash__body { display: grid; grid-template-columns: 212px 1fr; }
.dash__side { border-right: 1px solid var(--steel); background: var(--carbon); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; min-height: 100%; }
.dash__logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.dash__logo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dash__group { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ash-dim); padding: 12px 8px 6px; }
.dash__item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 4px; color: var(--bone-dim); font-size: 11.5px; }
.dash__item i { font-style: normal; color: var(--ash-dim); font-size: 10px; width: 12px; }
.dash__item.is-active { background: var(--amber-08); color: var(--amber); }
.dash__item.is-active i { color: var(--amber); }
.dash__badge { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; color: var(--amber); background: var(--amber-glow); border-radius: 9px; padding: 1px 7px; }
.dash__kai { margin-top: 18px; border-top: 1px solid var(--steel); padding: 12px 10px 4px; font-size: 11px; color: var(--bone-dim); }
.dash__kai b { display: block; font-weight: 500; color: var(--bone); }
.dash__kai span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--ash); text-transform: uppercase; }

.dash__main { padding: 16px 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dash__title { font-size: 15px; font-weight: 500; color: var(--bone); }
.dash__sub { font-size: 11px; color: var(--ash); }
.dash__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dash__chip { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dim); border: 1px solid var(--steel); padding: 4px 9px; white-space: nowrap; }
.dash__chip b { color: var(--amber); font-weight: 500; }
.dash__chip--live { color: var(--amber); border-color: var(--amber-30); }

.dash__kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.dash__kpi { background: #070b16; padding: 11px 13px; display: grid; gap: 2px; min-width: 0; }
.dash__kpi .k { display: flex; justify-content: space-between; gap: 6px;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.dash__kpi .k b { color: var(--amber); font-weight: 500; letter-spacing: .04em; }
.dash__kpi .v { font-family: var(--font-display); font-stretch: 114%; font-weight: 640; font-size: 23px; line-height: 1.05; color: var(--bone); }
.dash__kpi .v small { font-size: 10px; font-weight: 400; font-stretch: 100%; color: var(--ash); margin-left: 3px; letter-spacing: 0; }
.dash__kpi .t { font-size: 9.5px; color: var(--ash-dim); }

.dash__cols { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; align-items: start; }
.dash__panel { border: 1px solid var(--steel); min-width: 0; }
.dash__panel-head { display: flex; justify-content: space-between; gap: 10px; padding: 9px 13px; border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.dash__panel-head b { color: var(--amber); font-weight: 500; }
.dash__row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: baseline; padding: 9px 13px; border-bottom: 1px solid var(--steel); }
.dash__row:last-child { border-bottom: 0; }
.dash__rank { font-family: var(--font-mono); font-size: 9px; color: var(--ash-dim); }
.dash__opp { min-width: 0; font-size: 11.5px; color: var(--bone); }
.dash__opp small { display: block; font-size: 9.5px; color: var(--ash); }
.dash__usd { font-family: var(--font-display); font-stretch: 112%; font-weight: 620; font-size: 14px; color: var(--amber); }
.dash__conf { font-family: var(--font-mono); font-size: 8.5px; color: var(--ash); white-space: nowrap; }
.dash__row--feed { grid-template-columns: 1fr auto; }

.dash__strip { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; padding: 11px 18px;
  border-top: 1px solid var(--steel-2); background: var(--carbon);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.dash__strip b { color: var(--amber); font-weight: 500; }
.dash__strip .live { color: var(--amber); display: flex; align-items: center; gap: 6px; }
.dash__strip .live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: pulse 1.6s var(--ease-io) infinite; }

@media (max-width: 1080px) {
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__cols { grid-template-columns: 1fr; }
}

/* compact variant for the tablet screen */
.dash--mini { font-size: 10px; border-radius: 10px; }
.dash--mini .dash__body { grid-template-columns: 1fr; }
.dash--mini .dash__main { padding: 12px 12px 14px; gap: 10px; }
.dash--mini .dash__kpis { grid-template-columns: 1fr 1fr; }
.dash--mini .dash__kpi .v { font-size: 19px; }
.dash--mini .dash__panel-head { padding: 7px 10px; }
.dash--mini .dash__row { padding: 7px 10px; gap: 8px; }

/* ── ROI CALCULATOR — machined controls ─────────────────────────────── */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.calc__controls { display: grid; gap: 34px; }
.calc__ctl label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.calc__ctl output { font-family: var(--font-display); font-weight: 640; font-stretch: 112%; font-size: 24px; color: var(--amber); letter-spacing: 0; }
.calc input[type=range] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 22px; background: transparent; cursor: pointer;
}
.calc input[type=range]::-webkit-slider-runnable-track { height: 2px;
  background: linear-gradient(90deg, var(--amber) var(--fill, 50%), var(--steel-2) var(--fill, 50%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -8px; border-radius: 50%;
  background: linear-gradient(145deg, #3a4356, #171d2b);
  border: 1px solid var(--amber); box-shadow: 0 0 0 3px var(--void), 0 0 14px var(--amber-30); }
.calc input[type=range]::-moz-range-track { height: 2px; background: var(--steel-2); }
.calc input[type=range]::-moz-range-progress { height: 2px; background: var(--amber); }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(145deg, #3a4356, #171d2b);
  border: 1px solid var(--amber); box-shadow: 0 0 0 3px var(--void), 0 0 14px var(--amber-30); }
.calc__ctl .ticks { display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--ash); }

.calc__out { position: relative; border: 1px solid var(--steel); background: var(--carbon); padding: clamp(28px, 3.5vw, 44px); }
.calc__out::before { content: ''; position: absolute; top: -1px; left: -1px; width: 44px; height: 1px; background: var(--amber); }
.calc__out::after { content: ''; position: absolute; top: -1px; left: -1px; width: 1px; height: 44px; background: var(--amber); }
.calc__out-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 16px; }
.calc__big { font-family: var(--font-display); font-weight: 680; font-stretch: 114%;
  font-size: clamp(56px, 6vw, 92px); line-height: 1; letter-spacing: -.02em; color: var(--amber); }
.calc__range { font-family: var(--font-mono); font-size: 11px; color: var(--bone-dim); margin: 10px 0 28px; }
.calc__rows { display: grid; gap: 13px; border-top: 1px solid var(--steel); padding-top: 22px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; }
.calc__row .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.calc__row .v { font-family: var(--font-display); font-weight: 600; font-stretch: 112%; font-size: 21px; color: var(--bone); }
.calc__foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; line-height: 1.7; color: var(--ash); }
.calc__out .btn { margin-top: 26px; }

/* ── PRICING — minimal cards ────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.price-card { position: relative; background: var(--void); padding: clamp(32px, 3.4vw, 48px) clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; transition: background var(--dur-1) var(--ease); }
.price-card:hover { background: var(--carbon); }
.price-card--hot { background: var(--carbon); }
.price-card--hot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--amber); }
.price-card__badge { position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--amber); text-transform: uppercase; }
.price-card__name { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); margin-bottom: 22px; }
.price-card__price { font-family: var(--font-display); font-weight: 640; font-stretch: 114%;
  font-size: clamp(34px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; }
.price-card__price small { display: block; margin-top: 9px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; color: var(--bone-dim); text-transform: uppercase; }
.price-card__desc { font-size: 13.5px; font-weight: 400; color: var(--bone-dim); line-height: 1.6;
  margin: 22px 0; padding: 22px 0; border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; align-content: start; }
.price-card li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--bone); display: flex; gap: 11px; }
.price-card li::before { content: '+'; color: var(--amber); flex: none; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 17px; font-weight: 400; color: var(--bone); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 22px; line-height: 1; color: var(--amber); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--amber); }
.faq details p { padding: 0 0 24px; max-width: 680px; font-size: 15px; line-height: 1.7; color: var(--bone-dim); }

/* ── BADGES ─────────────────────────────────────────────────────────── */
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 6px 12px; border: 1px solid var(--steel-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim); text-decoration: none; transition: border-color .3s, color .3s; }
.badge:hover { border-color: var(--amber); color: var(--amber); }
.badge--cta { color: var(--amber); border-color: var(--amber-30); }

/* ── DATA TABLE ─────────────────────────────────────────────────────── */
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber); padding: 13px 16px; border-bottom: 1px solid var(--steel-2); }
.table td { font-size: 14px; font-weight: 400; color: var(--bone); padding: 13px 16px;
  border-bottom: 1px solid var(--steel); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table figcaption, .table caption { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  color: var(--ash); margin-top: 10px; text-align: left; caption-side: bottom; padding-top: 10px; }

/* ── SPEC SHEET (security) ──────────────────────────────────────────── */
.spec-sheet { border-top: 1px solid var(--steel); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(26px, 4vh, 44px) 0; border-bottom: 1px solid var(--steel); }
.spec-row > .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); padding-top: 5px; }
.spec-row h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 10px; }
.spec-row p { color: var(--bone-dim); font-size: 15px; max-width: 640px; }
.spec-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spec-row .tags span { padding: 6px 12px; border: 1px solid var(--steel-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }

/* ── CARD GRID (academy paths, solutions industries) ────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 13px;
  background: var(--void); padding: 34px 28px; min-height: 220px;
  text-decoration: none; transition: background var(--dur-1) var(--ease); }
.card:hover { background: var(--carbon); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-1) var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card__kick { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.card h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: 22px; line-height: 1.04; text-transform: uppercase; }
.card p { font-size: 13.5px; color: var(--bone-dim); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 16px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ash); display: flex; justify-content: space-between; gap: 10px; }
.card__foot b { color: var(--amber); font-weight: 500; }

/* ── FEATURE ROW (platform: one per viewport) ───────────────────────── */
.feature { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature:nth-child(even) { direction: rtl; }
.feature:nth-child(even) > * { direction: ltr; }
.feature__copy { display: grid; gap: 18px; justify-items: start; }

/* ── FORMS (contact) ────────────────────────────────────────────────── */
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.field input, .field select, .field textarea {
  background: var(--carbon); border: 1px solid var(--steel-2); color: var(--bone);
  padding: 13px 15px; font-size: 15px; font-weight: 400; border-radius: 0;
  transition: border-color .3s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field textarea { min-height: 130px; resize: vertical; }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; align-items: center;
  gap: clamp(32px, 5vw, 80px); padding: 140px var(--gutter) 80px; max-width: var(--wrap); margin: 0 auto; }
.split .globe-stage { width: 100%; }

/* form error banner (role=alert inside .form) */
.form [role="alert"] { border: 1px solid var(--crit); background: rgba(239, 68, 68, .07);
  padding: 12px 15px; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--bone); }

/* visually hidden, available to AT */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer { position: relative; border-top: 1px solid var(--steel); background: var(--void); overflow: hidden; }
.site-footer__grid { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) var(--gutter);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.site-footer__brand p { font-size: 13px; color: var(--bone-dim); max-width: 280px; line-height: 1.65; margin-top: 16px; }
.site-footer h2, .site-footer h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer ul a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--bone-dim); text-decoration: none; transition: color .25s; }
.site-footer ul a:hover { color: var(--amber); }
.site-footer__legal {
  position: relative; z-index: 1; border-top: 1px solid var(--steel);
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(28px, 5vh, 44px) var(--gutter);
  display: grid; gap: 18px;
}
.site-footer__legal p {
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: normal; line-height: 1.7; text-transform: none;
  color: var(--ash);
}
.site-footer__legal a { color: var(--bone-dim); text-decoration: none; }
.site-footer__legal a:hover { color: var(--amber); }
.site-footer__bottom { position: relative; z-index: 1; border-top: 1px solid var(--steel);
  padding: 18px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--ash); }
/* small US flag beside the copyright — nod to the Minneapolis, USA HQ */
.site-footer__bottom p:first-child::after {
  content: ''; display: inline-block; width: 19px; height: 10px;
  margin-left: 10px; vertical-align: -1px; opacity: .85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100'%3E%3Crect width='190' height='100' fill='%23e9edf3'/%3E%3Cg fill='%23b22234'%3E%3Crect width='190' height='7.7'/%3E%3Crect y='15.4' width='190' height='7.7'/%3E%3Crect y='30.8' width='190' height='7.7'/%3E%3Crect y='46.2' width='190' height='7.7'/%3E%3Crect y='61.5' width='190' height='7.7'/%3E%3Crect y='76.9' width='190' height='7.7'/%3E%3Crect y='92.3' width='190' height='7.7'/%3E%3C/g%3E%3Crect width='76' height='53.8' fill='%233c3b6e'/%3E%3Cg fill='%23e9edf3'%3E%3Ccircle cx='10' cy='9' r='3.2'/%3E%3Ccircle cx='24' cy='9' r='3.2'/%3E%3Ccircle cx='38' cy='9' r='3.2'/%3E%3Ccircle cx='52' cy='9' r='3.2'/%3E%3Ccircle cx='66' cy='9' r='3.2'/%3E%3Ccircle cx='17' cy='22' r='3.2'/%3E%3Ccircle cx='31' cy='22' r='3.2'/%3E%3Ccircle cx='45' cy='22' r='3.2'/%3E%3Ccircle cx='59' cy='22' r='3.2'/%3E%3Ccircle cx='10' cy='35' r='3.2'/%3E%3Ccircle cx='24' cy='35' r='3.2'/%3E%3Ccircle cx='38' cy='35' r='3.2'/%3E%3Ccircle cx='52' cy='35' r='3.2'/%3E%3Ccircle cx='66' cy='35' r='3.2'/%3E%3Ccircle cx='17' cy='46' r='3.2'/%3E%3Ccircle cx='31' cy='46' r='3.2'/%3E%3Ccircle cx='45' cy='46' r='3.2'/%3E%3Ccircle cx='59' cy='46' r='3.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-globe { position: absolute; right: -140px; bottom: -260px; width: 560px; height: 560px;
  opacity: .5; pointer-events: none; z-index: 0; }

/* ── SCROLL-EXPANSION CLOSER ────────────────────────────────────────────
   The final screen starts as a clipped rectangle and opens to full-bleed
   as you scroll; content fades in at the crescendo. Driven per-frame by
   main.js via --xc (clip inset), --xz (image zoom), --xo (content). */
/* default = static open section (no-JS / unsupported / reduced-motion) */
.expando { position: relative; }
.expando .screen { position: relative; min-height: 80svh; clip-path: none; }
.expando .media img { transform: none; transform-origin: center; }
.expando .screen__content { opacity: 1; transform: none; }
@keyframes expando-clip { from { clip-path: inset(16%); } to { clip-path: inset(0%); } }
@keyframes expando-zoom { from { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes expando-content { 0%, 45% { opacity: 0; transform: translateY(26px); } 75%, 100% { opacity: 1; transform: none; } }
/* scroll-scrubbed reveal where CSS scroll-driven animations exist (replaces the JS scroll listener) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .expando { height: 240vh; view-timeline-name: --expando; view-timeline-axis: block; }
    .expando .screen { position: sticky; top: 0; min-height: 100svh; height: 100svh;
      animation: expando-clip linear both; animation-timeline: --expando; animation-range: contain; }
    .expando .media img { will-change: transform;
      animation: expando-zoom linear both; animation-timeline: --expando; animation-range: contain; }
    .expando .screen__content {
      animation: expando-content linear both; animation-timeline: --expando; animation-range: contain; }
    @media (max-width: 880px) { .expando { height: 175vh; } }
  }
}

/* ── SCROLL-EXPANSION HERO ──────────────────────────────────────────────
   A small centered media card grows to full-bleed as the headline halves
   slide apart; the dek lands once expanded. Driven per-frame by main.js
   via --xp (progress 0→1) and --xq (dek/content fade). */
/* default = static stacked hero, everything visible (no-JS / unsupported / reduced-motion) */
.xhero { position: relative; }
.xhero__stage {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px var(--gutter) 72px;
}
.xhero__kick { order: 0; margin-bottom: 20px; z-index: 3; }
.xhero__title { order: 1; position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.xhero__l, .xhero__r { display: block; transform: none; }
.xhero__card {
  --cw: min(540px, 62vw); --ch: 46svh;
  order: 2; margin-top: 32px; position: relative; z-index: 1;
  width: 100%; max-width: 960px; height: 56svh; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .75);
}
.xhero__card picture, .xhero__card img { width: 100%; height: 100%; object-fit: cover; }
.xhero__tint { position: absolute; inset: 0; background: rgba(4, 7, 15, .30); }
.xhero__hint { display: none; }  /* was "Scroll to expand" - a banned scroll cue */
.xhero__after {
  order: 3; margin-top: 28px; z-index: 3;
  display: grid; justify-items: center; gap: 20px; text-align: center;
}
.xhero__after .sub { max-width: 640px; }
@keyframes xhero-l { from { transform: none; } to { transform: translateX(-100vw); } }
@keyframes xhero-r { from { transform: none; } to { transform: translateX(100vw); } }
@keyframes xhero-card { from { width: var(--cw); height: var(--ch); border-radius: 14px; }
  to { width: 100vw; height: 100svh; border-radius: 0; } }
@keyframes xhero-tint { from { background: rgba(4, 7, 15, .60); } to { background: rgba(4, 7, 15, .24); } }
@keyframes xhero-after { 0%, 78% { opacity: 0; transform: translateY(22px); } 100% { opacity: 1; transform: none; } }
/* scroll-scrubbed reveal where supported (replaces the JS scroll listener) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .xhero { height: 240vh; view-timeline-name: --xhero; view-timeline-axis: block; }
    .xhero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0 var(--gutter); }
    .xhero__kick { position: absolute; top: 92px; margin: 0; }
    .xhero__l { animation: xhero-l linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; will-change: transform; }
    .xhero__r { animation: xhero-r linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; will-change: transform; }
    .xhero__card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; max-width: none;
      animation: xhero-card linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; }
    .xhero__tint { animation: xhero-tint linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; }
    .xhero__after { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9svh, 96px); padding: 0 var(--gutter); margin: 0;
      animation: xhero-after linear both; animation-timeline: --xhero; animation-range: contain; }
    @media (max-width: 880px) { .xhero { height: 180vh; } .xhero__card { --cw: 78vw; --ch: 36svh; } }
  }
}

/* ── GLOWING BORDERS ────────────────────────────────────────────────────
   Pointer-tracking conic border glow on the box components, in brand
   colors (one amber accent, deep to bright). main.js drives --gs
   (pointer angle) and --ga (active); @property lets CSS tween the angle. */
@property --gs { syntax: '<number>'; inherits: true; initial-value: 0; }
.term { position: relative; }
.card::after, .agent::after, .price-card::after, .term::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  border: 2px solid transparent;
  background: conic-gradient(from calc((var(--gs) - 90) * 1deg),
      transparent 0deg, var(--amber-deep) 28deg, var(--amber) 58deg, var(--amber-bright) 90deg,
      var(--amber) 122deg, var(--amber-deep) 152deg, transparent 180deg) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: var(--ga, 0);
  transition: opacity .35s ease, --gs .55s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .card::after, .agent::after, .price-card::after, .term::after { display: none; }
}

/* ── REVEAL SYSTEM ──────────────────────────────────────────────────── */
/* reveal hiding is gated on the .js flag so no-JS visitors see everything */
.js .rv { opacity: 0; transform: translateY(26px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.rv--d1.is-in { transition-delay: 90ms; }
.rv--d2.is-in { transition-delay: 180ms; }
.rv--d3.is-in { transition-delay: 270ms; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .agents, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .spec-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 880px) {
  .site-nav__links, .site-nav__acts { display: none; }
  .nav-toggle { display: flex; }
  .site-nav__links.is-open {
    display: flex; position: fixed; top: 60px; left: 0; right: 0; z-index: 205;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: var(--void-88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--steel);
  }
  .site-nav__links.is-open li { border-bottom: 1px solid var(--steel); }
  .site-nav__links.is-open a { display: block; padding: 16px var(--gutter); font-size: 12px; }
  .site-nav__links.is-open li:last-child { border-bottom: 0; }
  /* the primary CTA rides along with the open mobile menu */
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 205;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--void-88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border-top: 1px solid var(--steel);
  }
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts .btn { width: 100%; justify-content: center; }
  .screen { min-height: 80svh; }
  .screen--hero { min-height: 100svh; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { display: none; }
  .calc { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; padding-top: 110px; }
  .ticker span { padding: 10px 18px; font-size: 9px; }
  .term__row { grid-template-columns: 1fr auto 92px; gap: 10px; }
}
@media (max-width: 560px) {
  .agents, .cards, .cards--4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .screen { padding-bottom: 88px; }
  .footer-globe { display: none; }
}

/* ── REDUCED MOTION — everything calms down ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .media--parallax img { height: 100%; transform: none !important; }
  .ticker__track { animation: none; flex-wrap: wrap; }
  .agent__methods { opacity: 1; transform: none; }
  .media img { opacity: 1; }
}

/* ── REDUCED TRANSPARENCY ─ glass surfaces fall back to solid fills ── */
@media (prefers-reduced-transparency: reduce) {
  .site-nav.is-scrolled, .site-nav__links.is-open,
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--void);
  }
  .device__screen { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--carbon-2); }
}

/* ── DOCUMENT / CONTENT PAGES (privacy, terms, about, resources, guides,
   academy course pages) — long-form prose + centered CTAs ──────────────── */
.doc { max-width: 760px; display: grid; gap: 18px; }
.doc > p { color: var(--bone-dim); font-size: 15.5px; line-height: 1.78; }
.doc ul { display: grid; gap: 10px; padding-left: 20px; margin-top: 2px; }
.doc li { color: var(--bone-dim); font-size: 15px; line-height: 1.6; }
.doc li::marker { color: var(--amber); }
.doc a { color: var(--amber); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.spec-row .doc { margin: 0; max-width: 640px; gap: 12px; }
.spec-row .doc > p { font-size: 15px; line-height: 1.7; }
.cta-block { max-width: 720px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta-block .btn-row { justify-content: center; }
.meta-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-bar .badge b { color: var(--amber); font-weight: 500; margin-right: 6px; }
.cards--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── COURSE READER (academy /learn/ pages) — sidebar TOC + one module at a
   time with localStorage progress. No-JS shows every module stacked. ────── */
.course { display: grid; grid-template-columns: 268px 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: start; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(96px, 13vh, 140px) var(--gutter) clamp(64px, 10vh, 104px); }
.course__toc { display: grid; gap: 3px; align-content: start; }
.course__back { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ash); text-decoration: none; display: inline-flex;
  gap: 8px; margin-bottom: 16px; }
.course__back:hover { color: var(--amber); }
.course__meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ash-dim); margin-bottom: 12px; }
.course__prog { height: 3px; background: var(--steel); margin-bottom: 18px; overflow: hidden; }
.course__prog i { display: block; height: 100%; width: 0; background: var(--amber); box-shadow: 0 0 8px var(--amber-30); transition: width var(--dur-1) var(--ease); }
.toc__item { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline;
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--bone-dim);
  padding: 9px 10px; border-radius: 5px; transition: background .25s, color .25s; }
.toc__item:hover { background: var(--carbon); color: var(--bone); }
.toc__item.is-active { background: var(--amber-08); color: var(--amber); }
.toc__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--ash); }
.toc__item.is-active .toc__num { color: var(--amber); }
.toc__item.is-done .toc__num { color: var(--amber); }
.toc__item.is-done .toc__num::after { content: '✓'; margin-left: 3px; }

.course__main { min-width: 0; }
.js .lesson { display: none; }
.js .lesson.is-active { display: block; }
.lesson { max-width: 720px; }
.lesson + .lesson { margin-top: 64px; }
.js .lesson + .lesson { margin-top: 0; }
.lesson__eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.lesson h2 { font-family: var(--font-display); font-weight: 640; font-stretch: 116%;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--bone); }
.lesson h2:focus { outline: none; }
.lesson__section { margin-top: 30px; display: grid; gap: 14px; }
.lesson__section h3 { font-family: var(--font-display); font-weight: 600; font-stretch: 112%;
  font-size: clamp(17px, 1.8vw, 21px); text-transform: uppercase; letter-spacing: -.005em; color: var(--bone); }
.lesson__section p { color: var(--bone-dim); font-size: 15.5px; line-height: 1.78; }
.lesson__section ul { display: grid; gap: 9px; padding-left: 20px; }
.lesson__section li { color: var(--bone-dim); font-size: 15px; line-height: 1.6; }
.lesson__section li::marker { color: var(--amber); }
.takeaway { margin-top: 30px; border-left: 2px solid var(--amber); background: var(--amber-08);
  padding: 16px 20px; }
.takeaway b { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 7px; }
.takeaway p { color: var(--bone-dim); font-size: 14.5px; line-height: 1.7; }
.course__nav { display: none; justify-content: space-between; gap: 12px; margin-top: 48px;
  border-top: 1px solid var(--steel); padding-top: 26px; }
.js .course__nav { display: flex; }
.course__nav .btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 880px) {
  .course { grid-template-columns: 1fr; }
  .course__toc { position: static; }
}
