/* ═══════════════════════════════════════════════════════
   EXPERIENCE.CSS — Premium Design System
   Magnex AI · magnexai.com
   Elevated to Awwwards-tier aesthetics
═══════════════════════════════════════════════════════ */

:root {
  --gold:        #c9a84c;
  --gold-2:      #e8c97a;
  --gold-pale:   #f5e8c0;
  --gold-dim:    rgba(201,168,76,0.12);
  --ink:         #020408;
  --ink-2:       #06090f;
  --surface:     rgba(8, 12, 22, 0.72);
  --surface-2:   rgba(14, 18, 30, 0.82);
  --panel:       rgba(10, 14, 24, 0.68);
  --line:        rgba(201,168,76,0.10);
  --line-strong: rgba(201,168,76,0.24);
  --text:        #f0ede4;
  --text-dim:    rgba(240,237,228,0.55);
  --muted:       #7a8090;
  --cool:        #4a8fd9;
  --teal:        #2ecfa8;
  --danger:      #ff5a5a;
  --font-display:"Cormorant Garamond", Georgia, serif;
  --font-body:   "Syne", "Trebuchet MS", sans-serif;
  --font-mono:   "Space Mono", monospace;
  --header-h:    78px;
  --ease:        cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --radius:      2px;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(201,168,76,0.045) 0%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 15% 70%, rgba(74,143,217,0.025) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 88% 40%, rgba(46,207,168,0.03) 0%, transparent 50%),
    linear-gradient(165deg, #000104 0%, #02050d 45%, #000204 100%);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

/* ── Custom cursor ── */
@media (pointer: fine) {
  * { cursor: none !important; }

  .cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 99999;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold-2);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, opacity 0.2s ease, background 0.2s ease, width 0.2s var(--ease), height 0.2s var(--ease);
    will-change: transform;
  }
  .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 99998;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s var(--ease), opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s ease;
    will-change: transform;
  }
  body.cursor-hover .cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold-pale);
  }
  body.cursor-hover .cursor-ring {
    width: 48px; height: 48px;
    border-color: rgba(201,168,76,0.8);
  }
  body.cursor-hidden .cursor-dot,
  body.cursor-hidden .cursor-ring { opacity: 0; }
}

/* Fine grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 20%, transparent 75%);
}

/* Scanline texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

::selection { color: var(--ink); background: var(--gold-2); }

/* ── Screen-reader only ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Skip link ── */
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 999;
  padding: 10px 14px; background: var(--gold-2); color: var(--ink);
  transform: translateY(-140%); transition: transform 0.2s ease;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
}
.skip-link:focus { transform: translateY(0); }

/* ── Site Shell (background layer) ── */
.site-shell {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}

#model-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.82;
}

.grain {
  position: absolute; inset: -20%; opacity: 0.032;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10), transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.08), transparent 1px);
  background-size: 18px 18px, 23px 23px, 31px 31px;
  animation: grainShift 11s steps(6) infinite;
}

.aurora {
  position: absolute; width: 52vw; height: 52vw;
  border-radius: 50%; filter: blur(88px); opacity: 0.06;
  mix-blend-mode: screen;
}
.aurora-one { right: -16vw; top: 4vh; background: var(--cool); animation: driftOne 14s var(--ease) infinite alternate; }
.aurora-two { left: -20vw; bottom: -12vw; background: var(--gold); animation: driftTwo 16s var(--ease) infinite alternate; }

/* ───────────────────────────────────────
   HEADER / NAV
─────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--text);
  background: linear-gradient(180deg, rgba(2,4,8,0.92) 0%, rgba(2,4,8,0.38) 72%, transparent 100%);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  border-bottom: 1px solid rgba(201,168,76,0.12);
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

/* Brand */
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px; text-decoration: none;
}

.brand-logo {
  display: block;
  height: 48px; width: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.20));
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.45));
  opacity: 0.92;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 2px;
  transition: color 0.3s ease;
}
.brand:hover .brand-tagline { color: var(--gold); }

/* Nav */
.site-nav {
  display: flex; align-items: center;
  gap: clamp(18px, 2.8vw, 36px);
}

.site-nav a {
  position: relative;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(240,237,228,0.62);
  transition: color 0.22s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 1px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--gold-2);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after {
  transform: scaleX(1); transform-origin: left;
}

.site-nav .nav-action {
  padding: 11px 20px;
  color: var(--ink); background: var(--gold-2);
  border: 1px solid var(--gold-2);
  font-size: 10px; letter-spacing: 0.14em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 22px rgba(201,168,76,0.22);
}
.site-nav .nav-action::after { display: none; }
.site-nav .nav-action:hover {
  background: var(--gold-pale); border-color: var(--gold-pale);
  box-shadow: 0 6px 32px rgba(201,168,76,0.38); color: var(--ink);
  transform: translateY(-1px);
}

.site-nav a.nav-current {
  color: var(--gold-2);
}
.site-nav a.nav-current::after {
  transform: scaleX(1);
}

/* Mobile toggle */
.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 999px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; cursor: pointer;
  transition: border-color 0.25s ease;
}
.nav-toggle:hover { border-color: rgba(201,168,76,0.3); }
.nav-toggle span {
  display: block; width: 18px; height: 1px;
  background: var(--gold-2); transition: transform 0.25s ease;
}
.nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-toggle span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ───────────────────────────────────────
   HERO
─────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: calc(var(--header-h) + 32px) clamp(22px, 5vw, 80px) 60px;
  overflow: hidden;
}

.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 28vh; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(1,3,7,0.92));
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}

/* ── Hero live panel ── */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}

.hero-live {
  width: 100%;
  background: rgba(8,12,22,0.72);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: 4px;
  padding: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 60px rgba(201,168,76,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-live-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.hero-live-title {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

.hero-live-status {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; color: var(--teal);
}

.hero-live-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(46,207,168,0.7);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-live-feed {
  display: flex; flex-direction: column; gap: 10px;
}

.hero-live-event {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: start; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.07);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  animation: eventIn 0.5s var(--ease) forwards;
}

.hero-live-event:nth-child(1) { animation-delay: 0.2s; }
.hero-live-event:nth-child(2) { animation-delay: 0.7s; }
.hero-live-event:nth-child(3) { animation-delay: 1.2s; }
.hero-live-event:nth-child(4) { animation-delay: 1.7s; }
.hero-live-event:nth-child(5) { animation-delay: 2.2s; }

@keyframes eventIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-live-icon {
  font-size: 13px; line-height: 1.4; user-select: none;
}

.hero-live-body {
  display: flex; flex-direction: column; gap: 2px;
}

.hero-live-label {
  font-size: 11px; font-weight: 600;
  color: var(--text); line-height: 1.3;
}

.hero-live-sub {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--muted); letter-spacing: 0.06em;
}

.hero-live-badge {
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; white-space: nowrap;
  align-self: start;
}

.badge-done {
  background: rgba(46,207,168,0.12);
  color: var(--teal);
  border: 1px solid rgba(46,207,168,0.2);
}

.badge-live {
  background: rgba(201,168,76,0.12);
  color: var(--gold-2);
  border: 1px solid rgba(201,168,76,0.2);
}

.badge-ready {
  background: rgba(74,143,217,0.12);
  color: var(--cool);
  border: 1px solid rgba(74,143,217,0.2);
}

.hero-live-footer {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.08);
  display: flex; align-items: center; justify-content: space-between;
}

.hero-live-uptime {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--muted); letter-spacing: 0.1em;
}

.hero-live-uptime strong {
  color: var(--teal); font-weight: 600;
}

.hero-copy { max-width: 580px; }
.hero-copy, .mission-panel, .scroll-cue { position: relative; z-index: 2; }


/* Eyebrow / kickers */
.eyebrow, .panel-kicker, .system-label {
  margin: 0 0 20px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-2);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before, .panel-kicker::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
  flex-shrink: 0;
}

.hero-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300; line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 55%, var(--gold-pale) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-right: 0.1em;
}

.hero-line {
  max-width: 500px; margin: 28px 0 0;
  color: rgba(240,237,228,0.68);
  font-size: clamp(15px, 1.6vw, 19px); line-height: 1.65;
  font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero Stats */
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display); font-size: 32px;
  font-weight: 500; color: var(--gold-2); line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; color: var(--muted);
  text-transform: uppercase;
}

/* ── Buttons ── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 15px 28px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.32s var(--ease), border-color 0.32s ease,
              background 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
  position: relative; overflow: hidden;
}
.button::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-101%); transition: transform 0.4s var(--ease);
}
.button:hover::before { transform: translateX(0); }

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border-color: transparent;
  box-shadow: 0 8px 36px rgba(201,168,76,0.28), 0 2px 8px rgba(201,168,76,0.12);
}
.button-primary:hover, .button-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 52px rgba(201,168,76,0.40), 0 4px 14px rgba(201,168,76,0.18);
}

.button-ghost {
  color: var(--text); background: rgba(255,255,255,0.025);
  backdrop-filter: blur(18px); border-color: rgba(255,255,255,0.09);
}
.button-ghost:hover, .button-ghost:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-dim); color: var(--gold-2);
}

/* ── Mission Panel ── */
.mission-panel {
  background: rgba(4, 7, 14, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1px;
  padding: 40px; margin-top: auto;
  box-shadow: inset 0 0 40px rgba(201,168,76,0.03), 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.mission-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.2);
  box-shadow: inset 0 0 60px rgba(201,168,76,0.05), 0 30px 60px rgba(0,0,0,0.6);
}

.mission-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-bottom: 24px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.08);
}
.mission-grid div { padding: 20px 14px; background: rgba(4, 7, 15, 0.88); }
.mission-grid strong {
  display: block; margin-bottom: 6px;
  color: var(--gold-2); font-family: var(--font-display);
  font-size: 36px; font-weight: 500; line-height: 0.9;
  letter-spacing: -0.02em;
}
.mission-grid span {
  color: var(--muted); font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
}
.mission-panel p:last-child {
  margin: 0; color: rgba(240,237,228,0.64); line-height: 1.75;
  font-size: 14px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute; left: clamp(22px, 5vw, 80px); bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
}
.scroll-cue span {
  width: 44px; height: 1px; background: var(--gold-2);
  transform-origin: left; animation: pulseLine 2s ease infinite;
}

/* ───────────────────────────────────────
   SIGNAL STRIP (ticker)
─────────────────────────────────────── */
.signal-strip {
  position: relative; z-index: 3; overflow: hidden;
  border-block: 1px solid rgba(201,168,76,0.10);
  background: rgba(3, 6, 12, 0.84);
}
.signal-track {
  display: flex; width: max-content;
  gap: 56px; padding: 18px 0;
  animation: ticker 30s linear infinite;
}
.signal-track span {
  color: rgba(240,237,228,0.48);
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 20px;
}
.signal-track span::before {
  content: '◆'; color: var(--gold); font-size: 6px; opacity: 0.7;
}

/* ───────────────────────────────────────
   SECTION COMMON
─────────────────────────────────────── */
.section {
  position: relative; z-index: 2;
  padding: clamp(96px, 14vw, 160px) clamp(22px, 5vw, 80px);
}

.section-intro {
  max-width: 960px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section-intro h2, .final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.03em;
}

/* Section dividers */
.section::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.12), transparent);
}

/* ───────────────────────────────────────
   SYSTEM SECTION
─────────────────────────────────────── */
.system {
  background: rgba(4, 6, 14, 0.5);
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 6vw, 100px); align-items: start;
}

.system-sticky {
  position: sticky; top: calc(var(--header-h) + 40px);
  padding: 32px 0 0;
}
.system-sticky h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300; line-height: 0.98;
}
.system-sticky p:not(.system-label) {
  max-width: 380px; color: var(--text-dim); line-height: 1.82;
}

.system-tab {
  display: block; width: 100%; text-align: left; background: transparent;
  border: 0; border-left: 2px solid transparent; padding: 14px 20px;
  color: var(--text-dim); font-size: 15px; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans); position: relative;
  overflow: hidden;
}
.system-tab::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(201,168,76,0.12), transparent);
  transform: translateX(-100%); transition: transform 0.4s ease;
  z-index: -1;
}
.system-tab:hover { color: var(--text); padding-left: 28px; }
.system-tab.active {
  color: var(--gold-2); border-left-color: var(--gold-2);
}
.system-tab.active::before { transform: translateX(0); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; color: var(--gold-2);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: gap 0.25s ease;
}
.text-link::after { content: "->"; transition: transform 0.22s ease; }
.text-link:hover { gap: 16px; }
.text-link:hover::after { transform: translateX(4px); }

/* Sequence steps */
.sequence { border-top: 1px solid var(--line); }

.sequence-step {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 28px; padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sequence-step::after {
  content: ''; position: absolute; left: 0; inset-block: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0; transform: scaleY(0); transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.sequence-step:hover::after { opacity: 1; transform: scaleY(1); }

/* The number column */
.sequence-step > span {
  color: rgba(201,168,76,0.5); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  padding-top: 5px; grid-column: 1;
}
.sequence-step:hover > span { color: var(--gold-2); transition: color 0.2s; }

/* The content column — h3 and p must stay in col 2 */
.sequence-step h3 {
  grid-column: 2;
  margin: 0 0 13px; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.08;
}
.sequence-step p {
  grid-column: 2;
  max-width: 560px; margin: 0; color: var(--text-dim);
  font-size: 15px; line-height: 1.74;
}

/* ───────────────────────────────────────
   AGENT CONSOLE
─────────────────────────────────────── */
.agents {
  background: rgba(6, 9, 18, 0.6);
}

.agent-console {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    rgba(4, 7, 15, 0.60);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  box-shadow:
    0 40px 110px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.agent-console::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(201,168,76,0.35) 40%, rgba(201,168,76,0.35) 60%, transparent 95%);
}

.agent-tabs {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: rgba(201,168,76,0.06);
  border-bottom: 1px solid var(--line);
}

.agent-tab {
  flex: 1 1 150px; min-height: 58px; border: 0;
  color: rgba(240,237,228,0.50);
  background: rgba(5, 8, 18, 0.94);
  cursor: pointer; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: background 0.28s ease, color 0.28s ease;
  position: relative;
}
.agent-tab::after {
  content: ''; position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 1px; background: var(--gold-2);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.agent-tab:hover { color: rgba(240,237,228,0.82); background: rgba(10,14,26,0.96); }
.agent-tab:hover::after { transform: scaleX(1); }
.agent-tab.active {
  color: var(--ink); background: var(--gold-2);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}
.agent-tab.active::after { display: none; }

.agent-body {
  display: grid; grid-template-columns: 1fr 340px;
  background: rgba(4, 7, 14, 0.5);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(201,168,76,0.1);
  min-height: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(201,168,76,0.02);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.agent-body:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 30px 70px rgba(0,0,0,0.8), inset 0 0 60px rgba(201,168,76,0.05);
}

/* Agent visual orb */
.agent-visual {
  position: relative; display: grid;
  place-items: center; overflow: hidden; min-height: 430px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(201,168,76,0.11), transparent 38%),
    radial-gradient(circle at center, rgba(74,143,217,0.06), transparent 60%);
}
.agent-visual::before, .agent-visual::after {
  content: ""; position: absolute;
  border: 1px solid rgba(201,168,76,0.09);
  border-radius: 50%;
}
.agent-visual::before { width: 76%; aspect-ratio: 1; animation: rotateSlow 20s linear infinite; }
.agent-visual::after  { width: 48%; aspect-ratio: 1; animation: rotateSlow 13s linear infinite reverse; }

.core-orbit {
  position: relative; width: min(56vw, 360px); aspect-ratio: 1;
  border-radius: 50%; transform-style: preserve-3d;
  animation: orbitTilt 9s ease-in-out infinite alternate;
}

.node {
  position: absolute; border-radius: 50%; background: var(--gold-2);
  box-shadow: 0 0 32px rgba(232,201,122,0.35);
}
.node-core {
  width: 52px; height: 52px;
  left: calc(50% - 26px); top: calc(50% - 26px);
  background: radial-gradient(circle, #fffad0 0%, var(--gold-2) 40%, rgba(201,168,76,0.12) 74%);
  box-shadow: 0 0 48px rgba(232,201,122,0.45), 0 0 96px rgba(201,168,76,0.18);
}
.node-a { width: 20px; height: 20px; left: 48%; top: 2%; animation: nodeFloat 4.2s ease-in-out infinite; }
.node-b { width: 16px; height: 16px; right: 8%; top: 38%; background: var(--cool); box-shadow: 0 0 24px rgba(74,143,217,0.4); animation: nodeFloat 5.1s 0.4s ease-in-out infinite; }
.node-c { width: 18px; height: 18px; left: 20%; bottom: 9%; background: var(--teal); box-shadow: 0 0 24px rgba(46,207,168,0.35); animation: nodeFloat 4.7s 0.8s ease-in-out infinite; }
.node-d { width: 13px; height: 13px; left: 8%; top: 30%; background: var(--gold); animation: nodeFloat 5.6s 1.2s ease-in-out infinite; }

/* Agent panels */
.agent-panels {
  display: grid; align-items: center;
  padding: clamp(32px, 5vw, 68px);
}
.agent-panel {
  grid-area: 1 / 1; opacity: 0; transform: translateY(16px);
  transition: opacity 0.38s ease, transform 0.38s var(--ease);
}
.agent-panel.active { opacity: 1; transform: translateY(0); }

.agent-panel h3 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 300; line-height: 0.96;
}

.agent-panel ul {
  display: grid; gap: 18px; margin: 36px 0 0;
  padding: 0; list-style: none;
}
.agent-panel li {
  position: relative; padding-left: 30px;
  color: var(--text-dim); line-height: 1.72; font-size: 15px;
}
.agent-panel li::before {
  content: ""; position: absolute; left: 0; top: 0.76em;
  width: 10px; height: 10px;
  border: 1px solid var(--gold-2); transform: rotate(45deg);
  background: rgba(201,168,76,0.06);
}

/* ───────────────────────────────────────
   PROOF SECTION
─────────────────────────────────────── */
.proof {
  background: linear-gradient(180deg,
    rgba(3,5,12,0) 0%,
    rgba(4,7,16,0.62) 40%,
    rgba(3,5,12,0) 100%
  );
}

.proof-rows { border-top: 1px solid var(--line); }

.proof-row {
  display: grid;
  grid-template-columns: 0.46fr 0.9fr 1fr;
  gap: clamp(22px, 4vw, 58px); align-items: start;
  padding: clamp(32px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.proof-row:hover {
  background: rgba(201,168,76,0.025);
}

.proof-row span {
  color: rgba(201,168,76,0.6); font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding-top: 7px;
}
.proof-row h3 {
  margin: 0; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.1;
}
.proof-row p {
  margin: 0; color: var(--text-dim); line-height: 1.78;
}

/* ───────────────────────────────────────
   FAQ
─────────────────────────────────────── */
.faqs { padding-top: 30px; }
.faq-list { max-width: 900px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  padding: 26px 0; border: 0; background: transparent;
  color: var(--text); cursor: pointer; text-align: left;
  font-size: clamp(16px, 1.8vw, 22px); font-weight: 600;
  transition: color 0.2s ease;
}
.faq-item button:hover { color: var(--gold-2); }

.faq-item button::after {
  content: "+"; color: var(--gold-2);
  font-family: var(--font-mono); font-size: 22px;
  transition: transform 0.28s ease; flex-shrink: 0;
}
.faq-item.open button::after { transform: rotate(45deg); }

.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}
.faq-answer > p {
  overflow: hidden; margin: 0;
  color: var(--text-dim); line-height: 1.78;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 28px; }

/* ───────────────────────────────────────
   FINAL CTA
─────────────────────────────────────── */
.final-cta {
  position: relative; z-index: 2; min-height: 82vh;
  display: grid; place-items: center;
  padding: clamp(96px, 14vw, 160px) clamp(22px, 5vw, 80px);
  overflow: hidden;
}

/* Watermark */
.final-cta::before {
  content: "MAGNEX"; position: absolute; left: 50%; top: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.045);
  font-family: var(--font-display);
  font-size: clamp(100px, 24vw, 360px);
  font-weight: 600; letter-spacing: 0.04em;
  transform: translate(-50%, -50%); white-space: nowrap;
  pointer-events: none; user-select: none;
}

/* Radial glow */
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.055), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1;
  max-width: 980px; text-align: center;
}
.cta-inner h2 {
  background: linear-gradient(158deg, #ffffff 0%, rgba(240,237,228,0.88) 55%, rgba(201,168,76,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-inner p:not(.eyebrow) {
  max-width: 640px; margin: 30px auto 0;
  color: var(--text-dim); font-size: 18px; line-height: 1.82;
}
.cta-inner .hero-actions { justify-content: center; }

/* Horizontal rule decoration above CTA */
.final-cta .section-line {
  position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.22), transparent);
}

/* ───────────────────────────────────────
   FOOTER
─────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center;
  padding: 32px clamp(22px, 5vw, 80px) 20px;
  border-top: 1px solid var(--line);
  background: rgba(2, 4, 10, 0.92);
}
.site-footer p {
  margin: 0; color: var(--muted); font-size: 12px;
}
.site-footer nav {
  display: flex; justify-content: flex-end; gap: 22px;
}
.site-footer nav a {
  color: var(--muted); font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.site-footer nav a:hover { color: var(--gold-2); }

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; color: rgba(122,128,144,0.5);
  padding-top: 16px; border-top: 1px solid rgba(201,168,76,0.06);
  margin-top: 8px !important;
}
.footer-copy a { color: inherit; transition: color 0.2s ease; }
.footer-copy a:hover { color: var(--muted); }

/* ───────────────────────────────────────
   REVEAL ANIMATIONS
─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s ease, transform 1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-2 { transition-delay: 0.22s; }

/* ───────────────────────────────────────
   KEYFRAMES
─────────────────────────────────────── */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulseLine {
  0%, 100% { transform: scaleX(0.40); opacity: 0.40; }
  50%       { transform: scaleX(1);    opacity: 1; }
}

@keyframes grainShift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-4%, 2%, 0); }
}

@keyframes driftOne {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-8vw, 8vh, 0) scale(1.14); }
}

@keyframes driftTwo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(10vw, -6vh, 0) scale(1.1); }
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

@keyframes orbitTilt {
  from { transform: rotateX(56deg) rotateZ(-8deg); }
  to   { transform: rotateX(63deg) rotateZ(10deg); }
}

@keyframes nodeFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%       { transform: translate3d(11px, -15px, 0) scale(1.14); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  11% { transform: scale(1.18); filter: brightness(1.35); }
  18% { transform: scale(0.96); }
  28% { transform: scale(1.1); filter: brightness(1.22); }
  42% { transform: scale(1); filter: brightness(1); }
}

@keyframes heartRing {
  0% { transform: scale(0.82); opacity: 0; }
  12% { opacity: 0.58; }
  42% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes sideSweep {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0; }
  18% { opacity: 0.92; }
  48% { transform: translateX(210%) translateY(120px); opacity: 0; }
}

/* ───────────────────────────────────────
   HOMEPAGE — PROBLEM SECTION
─────────────────────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.problem-item {
  background: rgba(3,5,12,0.82);
  padding: clamp(32px, 4vw, 52px);
  transition: background 0.3s ease;
}
.problem-item:hover { background: rgba(201,168,76,0.035); }
.problem-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300; line-height: 0.9;
  color: var(--gold-2); margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.problem-item h3 {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 600; line-height: 1.15;
}
.problem-item p {
  margin: 0; color: var(--text-dim);
  line-height: 1.74; font-size: 14px;
}

/* ───────────────────────────────────────
   HOMEPAGE — SYSTEM TEASER
─────────────────────────────────────── */
.system-teaser {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.system-teaser-sticky {
  position: sticky; top: calc(var(--header-h) + 40px);
}
.system-teaser-sticky h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 300; line-height: 0.97;
  letter-spacing: -0.03em;
}
.system-teaser-sticky p {
  color: var(--text-dim); line-height: 1.82;
  max-width: 340px; margin: 0 0 28px;
}

/* Homepage command center */
.command-center {
  background:
    radial-gradient(ellipse 65% 60% at 75% 40%, rgba(201,168,76,0.07), transparent 58%),
    rgba(0,1,5,0.66);
}
.command-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.command-copy h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.command-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 430px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.78;
}
.ops-console {
  position: relative;
  min-height: 520px;
  padding: clamp(22px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.008)),
    rgba(3, 6, 14, 0.78);
  box-shadow: 0 42px 120px rgba(0,0,0,0.72), inset 0 0 80px rgba(201,168,76,0.055);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}
.ops-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 43%, black 0%, transparent 70%);
}
.ops-console::after {
  content: "";
  position: absolute;
  top: 24%;
  left: -30%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,201,122,0.0), rgba(232,201,122,0.72), transparent);
  animation: sideSweep 4.4s ease-in-out infinite;
}
.ops-topbar,
.ops-grid,
.ops-flow,
.ops-heart {
  position: relative;
  z-index: 1;
}
.ops-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ops-topbar span:first-child { color: var(--gold-2); }
.ops-heart {
  display: grid;
  place-items: center;
  width: min(54vw, 300px);
  aspect-ratio: 1;
  margin: 34px auto 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,201,122,0.16) 0%, rgba(201,168,76,0.045) 36%, transparent 68%);
}
.ops-heart::before,
.ops-heart::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232,201,122,0.18);
  animation: heartRing 2.8s ease-in-out infinite;
}
.ops-heart::before { inset: 18%; }
.ops-heart::after { inset: 3%; animation-delay: 0.18s; }
.ops-heart span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7c8 0%, var(--gold-2) 34%, rgba(201,168,76,0.18) 70%);
  box-shadow: 0 0 42px rgba(232,201,122,0.42), 0 0 120px rgba(201,168,76,0.2);
  animation: heartbeat 2.8s ease-in-out infinite;
}
.ops-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.ops-node {
  position: relative;
  padding: 10px 12px;
  border: 1px solid rgba(201,168,76,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(240,237,228,0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.ops-node:hover,
.ops-node:focus-visible {
  color: var(--gold-2);
  border-color: rgba(232,201,122,0.34);
  transform: translateY(-1px);
}
.ops-node:focus-visible {
  outline: 1px solid rgba(232,201,122,0.5);
  outline-offset: 3px;
}
.ops-node.active {
  color: var(--ink);
  background: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: 0 0 26px rgba(201,168,76,0.34);
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
}
.ops-grid > div {
  min-height: 154px;
  padding: 22px;
  background: rgba(2, 4, 10, 0.86);
}
.ops-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ops-grid strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 300;
  line-height: 1;
}
.ops-grid p {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.62;
}

/* ───────────────────────────────────────
   HOMEPAGE — AGENT OVERVIEW GRID
─────────────────────────────────────── */
.agents-overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.agent-overview-item {
  background: rgba(3,5,12,0.82);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column;
  transition: background 0.3s ease;
}
.agent-overview-item:hover { background: rgba(201,168,76,0.04); }
.agent-overview-num {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; color: rgba(201,168,76,0.45);
  margin: 0 0 18px;
}
.agent-overview-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 300; line-height: 1.05;
}
.agent-overview-item p {
  margin: 0; color: var(--text-dim);
  line-height: 1.7; font-size: 13px;
  flex: 1;
}

/* ───────────────────────────────────────
   HOMEPAGE — RESULTS STRIP
─────────────────────────────────────── */
.results-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 80px);
}
.result-item {
  background: rgba(3,5,12,0.76);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 38px);
  transition: background 0.3s ease;
}
.result-item:hover { background: rgba(201,168,76,0.03); }
.result-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 300; color: var(--gold-2);
  line-height: 0.9; margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.result-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.result-desc {
  margin: 0; color: var(--text-dim);
  font-size: 13px; line-height: 1.65;
}

/* ───────────────────────────────────────
   AGENTS — EDITORIAL LAYOUT
─────────────────────────────────────── */
.agents-hero-h {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300; line-height: 0.94;
  letter-spacing: -0.03em;
}
.agents-hero-h em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 55%, var(--gold-pale) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; padding-right: 0.1em;
}
.agents-hero-sub {
  max-width: 520px; margin: 24px 0 0;
  color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.72;
}
.agents-editorial {
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 80px);
}
.agent-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.3s ease;
}
.agent-item:hover { background: rgba(201,168,76,0.015); }
.agent-item::before {
  content: ''; position: absolute; left: 0; inset-block: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0; transform: scaleY(0); transform-origin: center;
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}
.agent-item:hover::before { opacity: 1; transform: scaleY(1); }
.agent-index {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; color: rgba(201,168,76,0.35);
  padding-top: 10px;
}
.agent-item h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 300; line-height: 0.97;
  letter-spacing: -0.02em;
}
.agent-role-tag {
  display: inline-block; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid rgba(201,168,76,0.22);
  padding: 5px 12px;
}
.agent-desc {
  max-width: 680px; margin: 0 0 32px;
  color: rgba(240,237,228,0.65); line-height: 1.82;
  font-size: clamp(14px, 1.4vw, 16px);
}
.agent-item ul {
  display: grid; gap: 16px; margin: 0; padding: 0; list-style: none;
  max-width: 580px;
}
.agent-item li {
  position: relative; padding-left: 28px;
  color: rgba(240,237,228,0.48); line-height: 1.68; font-size: 14px;
}
.agent-item li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 9px; height: 9px;
  border: 1px solid rgba(201,168,76,0.35); transform: rotate(45deg);
}

/* ───────────────────────────────────────
   PROOF — STAT BAND
─────────────────────────────────────── */
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin: clamp(40px, 6vw, 72px) 0;
}
.proof-stat-item {
  background: rgba(3,5,12,0.8);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  transition: background 0.3s ease;
}
.proof-stat-item:hover { background: rgba(201,168,76,0.035); }
.proof-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300; color: var(--gold-2);
  line-height: 0.9; margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.proof-stat-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.proof-stat-desc {
  margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.65;
}

/* ───────────────────────────────────────
   CASE STUDIES — NARRATIVES
─────────────────────────────────────── */
.case-studies-list {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.case-study-item {
  background: rgba(3,5,12,0.82);
  display: grid; grid-template-columns: 0.38fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 5vw, 64px);
  transition: background 0.3s ease;
}
.case-study-item:hover { background: rgba(201,168,76,0.025); }
.case-study-meta { padding-top: 4px; }
.case-study-industry {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.case-study-industry::before {
  content: ''; width: 22px; height: 1px; background: var(--gold);
}
.case-study-item h3 {
  margin: 0 0 12px; font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px); font-weight: 300; line-height: 1.0;
}
.case-study-outcome {
  margin: 0; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
.case-study-body { display: flex; flex-direction: column; gap: 24px; }
.case-study-block { border-left: 1px solid var(--line); padding-left: 24px; }
.case-study-block-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.case-study-block p {
  margin: 0; color: var(--text-dim); line-height: 1.78; font-size: 14px;
}
.case-study-results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.08);
  margin-top: 8px;
}
.case-result {
  background: rgba(4,7,15,0.9);
  padding: 18px 16px;
}
.case-result strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px); font-weight: 400;
  color: var(--gold-2); line-height: 0.9; margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.case-result span {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* ───────────────────────────────────────
   TESTIMONIALS
─────────────────────────────────────── */
.testimonials { background: rgba(3,5,12,0); }

/* Featured pull-quote */
.testimonial-featured {
  position: relative;
  max-width: 860px;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--line);
  background: rgba(4,7,15,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.testimonial-featured::before {
  content: '\201C';
  position: absolute; top: -28px; left: clamp(20px, 5vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  line-height: 1; color: rgba(201,168,76,0.18);
  pointer-events: none; user-select: none;
}
.testimonial-featured blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 300; font-style: italic;
  line-height: 1.48; color: var(--text);
  letter-spacing: -0.01em;
}
.testimonial-featured cite {
  display: block; margin-top: 28px;
  font-style: normal;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2);
}
.testimonial-featured .cite-biz {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* Testimonial grid */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 56px);
}
.testimonial-item {
  background: rgba(3,5,12,0.82);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column;
  transition: background 0.3s ease;
  position: relative;
}
.testimonial-item:hover { background: rgba(201,168,76,0.03); }
.testimonial-item::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 52px; line-height: 0.9;
  color: rgba(201,168,76,0.22);
  display: block; margin-bottom: 12px;
  pointer-events: none;
}
.testimonial-item blockquote {
  margin: 0; flex: 1;
  color: rgba(240,237,228,0.68);
  line-height: 1.8; font-size: 14px;
  font-style: italic;
}
.testimonial-item cite {
  display: block; margin-top: 22px;
  font-style: normal;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2);
}
.testimonial-item .cite-biz {
  display: block; margin-top: 4px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

.proof-disclosure {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--text-dim);
  line-height: 1.78;
}
.proof-snapshot::before { content: none; }
.snapshot-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.proof-snapshot blockquote {
  font-style: normal;
}
.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
}
.snapshot-metrics span {
  display: block;
  padding: 16px;
  background: rgba(2,4,10,0.78);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}
.snapshot-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ───────────────────────────────────────
   PAGE HERO (inner pages)
─────────────────────────────────────── */
.page-hero {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 100px)) clamp(22px, 5vw, 80px) clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300; line-height: 0.94;
  letter-spacing: -0.03em; max-width: 900px;
}
.page-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 55%, var(--gold-pale) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; padding-right: 0.1em;
}
.page-hero p {
  max-width: 560px; margin: 24px 0 0;
  color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.72;
}

/* ───────────────────────────────────────
   PRICING
─────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
  align-items: start;
}
.pricing-tier {
  background: rgba(3,5,12,0.84);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3.5vw, 40px);
  display: flex; flex-direction: column;
  position: relative; transition: background 0.3s ease;
}
.pricing-tier:hover { background: rgba(201,168,76,0.03); }
.pricing-tier.recommended {
  background: rgba(201,168,76,0.045);
  border-top: 2px solid var(--gold-2);
}
.tier-badge {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 22px;
  display: flex; align-items: center; gap: 10px;
}
.tier-badge::before { content:''; width:18px; height:1px; background:var(--gold); flex-shrink:0; }
.tier-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300; line-height: 0.96; letter-spacing: -0.02em;
}
.tier-price {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 300; line-height: 0.88;
  color: var(--gold-2); margin: 22px 0 4px;
  letter-spacing: -0.04em;
}
.tier-price sup { font-size: 0.42em; vertical-align: super; color: var(--gold); }
.tier-period {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.tier-desc {
  color: var(--text-dim); font-size: 14px;
  line-height: 1.74; margin: 0 0 28px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.tier-features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 13px; flex: 1; margin-bottom: 32px;
}
.tier-features li {
  position: relative; padding-left: 24px;
  font-size: 13px; line-height: 1.65;
  color: rgba(240,237,228,0.58);
}
.tier-features li::before {
  content:''; position:absolute; left:0; top:0.72em;
  width:8px; height:8px;
  border: 1px solid rgba(201,168,76,0.3); transform:rotate(45deg);
}
.tier-features li.hi { color: var(--text); }
.tier-features li.hi::before {
  background: rgba(201,168,76,0.15); border-color: var(--gold-2);
}
.tier-cta { margin-top: auto; }

/* Comparison table */
.compare-table {
  width: 100%; border-collapse: collapse;
  margin-top: clamp(48px, 7vw, 80px);
  border: 1px solid var(--line);
}
.compare-table th, .compare-table td {
  padding: 18px clamp(16px,2.5vw,28px);
  text-align: left; border-bottom: 1px solid var(--line);
  font-size: 13px; line-height: 1.5;
}
.compare-table thead th {
  background: rgba(201,168,76,0.06);
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2); border-bottom: 1px solid rgba(201,168,76,0.2);
}
.compare-table tbody tr { background: rgba(3,5,12,0.8); transition: background 0.2s; }
.compare-table tbody tr:hover { background: rgba(201,168,76,0.025); }
.compare-table td:first-child { color: var(--text-dim); }
.compare-table td.val-good { color: var(--teal); font-family: var(--font-mono); font-size: 11px; }
.compare-table td.val-bad  { color: var(--muted);  font-family: var(--font-mono); font-size: 11px; }
.compare-table td.val-mid  { color: var(--gold-2); font-family: var(--font-mono); font-size: 11px; }

/* ───────────────────────────────────────
   PRICING TEASER (homepage)
─────────────────────────────────────── */
.pricing-teaser-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px,6vw,72px);
}
.pricing-teaser-item {
  background: rgba(3,5,12,0.84);
  padding: clamp(28px,3.5vw,48px) clamp(22px,3vw,38px);
  display: flex; flex-direction: column;
  position: relative; transition: background 0.3s;
}
.pricing-teaser-item:hover { background: rgba(201,168,76,0.03); }
.pricing-teaser-item.recommended {
  background: rgba(201,168,76,0.04);
  border-top: 2px solid var(--gold-2);
}
.pricing-teaser-badge {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 10px;
}
.pricing-teaser-tier {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.pricing-teaser-price {
  font-family: var(--font-display);
  font-size: clamp(40px,5vw,68px);
  font-weight: 300; line-height: 0.9;
  color: var(--gold-2); margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.pricing-teaser-price span {
  font-size: 0.35em; letter-spacing: 0; color: var(--muted);
  vertical-align: middle; margin-left: 4px;
}
.pricing-teaser-desc {
  color: var(--text-dim); font-size: 14px;
  line-height: 1.72; margin: 0 0 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
  flex: 1;
}
.pricing-teaser-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.pricing-teaser-list li {
  position: relative; padding-left: 20px;
  font-size: 12px; line-height: 1.6;
  color: rgba(240,237,228,0.55);
}
.pricing-teaser-list li::before {
  content:''; position:absolute; left:0; top:0.7em;
  width:6px; height:6px;
  border:1px solid rgba(201,168,76,0.35); transform:rotate(45deg);
}
.pricing-teaser-roi {
  margin-top: clamp(32px,4vw,52px);
  padding: clamp(24px,3vw,40px) clamp(24px,3vw,40px);
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
}
.pricing-teaser-roi-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0; flex: 0 0 100%;
}
.pricing-teaser-roi-line {
  margin: 0; color: var(--text-dim);
  font-size: clamp(14px,1.5vw,16px); line-height: 1.72;
  flex: 1 1 360px;
}
.pricing-teaser-roi-line strong { color: var(--text); }
.pricing-teaser-roi .text-link { flex: 0 0 auto; white-space: nowrap; }

/* ───────────────────────────────────────
   ABOUT — BRAND, VALUES, PROCESS
─────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px,6vw,72px);
}
.value-item {
  background: rgba(3,5,12,0.82);
  padding: clamp(28px,4vw,48px) clamp(20px,3vw,36px);
  transition: background 0.3s;
}
.value-item:hover { background: rgba(201,168,76,0.03); }
.value-num {
  font-family: var(--font-display);
  font-size: clamp(40px,5vw,64px);
  font-weight:300; color:rgba(201,168,76,0.25);
  line-height:0.9; margin:0 0 16px;
  letter-spacing:-0.03em;
}
.value-item h3 {
  margin:0 0 12px; font-family:var(--font-display);
  font-size:clamp(20px,2.2vw,30px); font-weight:300; line-height:1.1;
}
.value-item p { margin:0; color:var(--text-dim); font-size:13px; line-height:1.74; }

/* Tech stack */
.stack-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:var(--line); border:1px solid var(--line);
  margin-top:clamp(40px,6vw,72px);
}
.stack-item {
  background:rgba(3,5,12,0.82);
  padding:clamp(22px,3vw,36px) clamp(20px,3vw,36px);
  transition:background 0.3s;
}
.stack-item:hover { background:rgba(201,168,76,0.03); }
.stack-name {
  font-family:var(--font-display);
  font-size:clamp(18px,2vw,26px); font-weight:300; margin:0 0 8px;
}
.stack-role {
  font-family:var(--font-mono); font-size:9px;
  letter-spacing:0.18em; text-transform:uppercase;
  color:var(--gold-2); display:block; margin-bottom:10px;
}
.stack-item p { margin:0; color:var(--text-dim); font-size:13px; line-height:1.65; }

/* Contact form */
.contact-form {
  max-width:700px;
  background:rgba(4,7,15,0.5);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  border:1px solid var(--line);
  padding:clamp(36px,5vw,60px);
  margin-top:clamp(40px,6vw,72px);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.form-group label {
  font-family:var(--font-mono); font-size:9px;
  letter-spacing:0.18em; text-transform:uppercase; color:var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--text); padding:14px 16px;
  border-radius:2px; outline:none;
  font-family:var(--font-body); font-size:14px;
  transition:border-color 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--gold); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group select option { background:var(--ink); color:var(--text); }
.form-success {
  max-width: 700px;
  padding: 28px 32px;
  border: 1px solid rgba(46,207,168,0.24);
  background:
    linear-gradient(135deg, rgba(46,207,168,0.11), rgba(201,168,76,0.04)),
    rgba(3,6,12,0.82);
  box-shadow: 0 18px 48px rgba(0,0,0,0.36), inset 0 0 44px rgba(46,207,168,0.04);
}
.form-success:focus { outline: 1px solid rgba(46,207,168,0.44); outline-offset: 4px; }
.form-success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  line-height: 1;
}
.form-success p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--text-dim);
  line-height: 1.7;
}
.form-assurance {
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}
.form-assurance a { color: var(--gold-2); border-bottom: 1px solid rgba(201,168,76,0.28); }

/* ───────────────────────────────────────
   INTEGRATIONS GRID (system page)
─────────────────────────────────────── */
.integrations-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px,6vw,72px);
}
.integration-category {
  background: rgba(3,5,12,0.82);
  padding: clamp(22px,3vw,38px) clamp(20px,3vw,32px);
  transition: background 0.3s;
}
.integration-category:hover { background: rgba(46,207,168,0.03); }
.integration-cat-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
}
.integration-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.integration-list li {
  font-size: 13px; color: var(--text-dim); line-height: 1.4;
  padding-left: 16px; position: relative;
}
.integration-list li::before {
  content:''; position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px;
  border-radius: 50%; background: rgba(46,207,168,0.35);
}

/* ───────────────────────────────────────
   DEPLOYMENT TIMELINE (system page)
─────────────────────────────────────── */
.timeline {
  margin-top: clamp(40px,6vw,72px);
  display: grid; gap: 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px,4vw,56px);
}
.timeline-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: clamp(16px,3vw,40px);
  padding: clamp(28px,3.5vw,48px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-marker { position: relative; }
.timeline-marker::before {
  content:''; position: absolute;
  left: calc(-1 * clamp(24px,4vw,56px) - 5px);
  top: 10px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.timeline-week {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); display: block; padding-top: 12px;
}
.timeline-content h3 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(18px,2.2vw,26px);
  font-weight: 300; line-height: 1.1;
}
.timeline-content p {
  margin: 0; color: var(--text-dim);
  font-size: 14px; line-height: 1.78;
}

/* ───────────────────────────────────────
   CONTACT PAGE
─────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 420px;
  gap: clamp(40px,6vw,80px);
  align-items: start;
  margin-top: clamp(40px,6vw,72px);
}
.contact-form-col { min-width: 0; }
.contact-info-col { min-width: 0; }
.contact-steps { display: grid; gap: 28px; margin-top: 24px; }
.contact-step {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
  align-items: start;
}
.contact-step-num {
  font-family: var(--font-display);
  font-size: clamp(28px,3vw,38px);
  font-weight: 300; color: rgba(201,168,76,0.3);
  line-height: 0.9; margin-top: 4px;
}
.contact-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(16px,1.8vw,20px);
  font-weight: 300; line-height: 1.15;
}
.contact-step p {
  margin: 0; color: var(--text-dim);
  font-size: 13px; line-height: 1.74;
}
.contact-direct-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(18px,2.2vw,26px);
  font-weight: 300; color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 12px;
}
.contact-direct-email:hover {
  color: var(--gold-pale); border-color: var(--gold);
}

/* ───────────────────────────────────────
   RESPONSIVE — Mobile (≤ 980px)
─────────────────────────────────────── */
@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .hero {
    grid-template-columns: 1fr;
  }
  .hero-right { display: none; }

  .nav-toggle {
    display: flex;
    position: relative; z-index: 22;
  }

  .site-nav {
    position: fixed; inset: 0; z-index: 21;
    display: grid; align-content: center;
    justify-items: start; gap: 24px;
    padding: 96px 26px 40px;
    background: rgba(2, 4, 10, 0.97);
    backdrop-filter: blur(32px);
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
  }
  .nav-open .site-nav { transform: translateX(0); }
  .site-nav a { font-size: 17px; }
  .hero { align-items: end; padding-top: calc(var(--header-h) + 44px); }
  .system-grid, .agent-body { grid-template-columns: 1fr; }
  .system-sticky { position: relative; top: auto; }
  .agent-visual { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
  .agents-overview-grid { grid-template-columns: 1fr 1fr; }
  .results-strip { grid-template-columns: 1fr 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .system-teaser { grid-template-columns: 1fr; }
  .system-teaser-sticky { position: relative; top: auto; }
  .command-layout { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .case-study-item { grid-template-columns: 1fr; }
  .agent-item { grid-template-columns: 1fr; }
  .agent-index { display: none; }
  .integrations-grid { grid-template-columns: 1fr 1fr; }
  .pricing-teaser-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 100px 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .agents-overview-grid { grid-template-columns: 1fr; }
  .results-strip { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .case-study-results { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-marker::before { display: none; }
}

/* ── Small Mobile (≤ 620px) ── */
@media (max-width: 620px) {
  .brand-logo { height: 36px; }
  .brand-tagline { display: none; }

  .hero {
    min-height: 100svh;
    align-items: center;
    padding-inline: 20px;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 28px;
  }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(44px, 13.8vw, 58px); line-height: 0.98; }
  .hero-line {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 8px; letter-spacing: 0.12em; }
  .eyebrow { margin-bottom: 14px; letter-spacing: 0.18em; }
  .mission-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding-inline: 20px; }
  .ops-console { min-height: auto; }
  .ops-heart { width: min(76vw, 240px); }
  .ops-flow { justify-content: flex-start; }
  .snapshot-metrics { grid-template-columns: 1fr; }

  .sequence-step { grid-template-columns: 1fr; gap: 12px; }

  .agent-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .agent-tab { flex-basis: auto; }
  .agent-panels { padding: 28px 22px 36px; }
  .agent-panel h3 { font-size: 36px; }

  .final-cta { text-align: left; }
  .cta-inner { text-align: left; }
  .cta-inner .hero-actions { justify-content: stretch; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  #model-canvas { opacity: 0.22; }
}

/* ───────────────────────────────────────
   CHATBOT UI
─────────────────────────────────────── */
.chat-panel {
  position: fixed; bottom: 96px; right: 24px;
  width: 380px; height: 440px;
  background: rgba(4,7,12,0.92);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 60px rgba(201,168,76,0.08);
  border-radius: 8px;
  display: flex; flex-direction: column;
  z-index: 10000; overflow: hidden;
  transform: translateY(12px) scale(0.97);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: auto;
}
.chat-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: var(--gold); color: var(--ink);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10001;
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.chat-btn:hover {
  background: var(--gold-2);
  box-shadow: 0 12px 40px rgba(201,168,76,0.55);
  transform: translateY(-2px);
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.4);
}
.chat-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; color: var(--gold-2);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulseLine 2s infinite;
}
.chat-body {
  flex: 1; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-msg {
  padding: 12px 16px; border-radius: 4px; font-size: 14px; line-height: 1.5;
  max-width: 85%;
}
.chat-msg.user {
  background: rgba(255,255,255,0.08); color: var(--text);
  align-self: flex-end; border-bottom-right-radius: 0;
}
.chat-msg.bot {
  background: rgba(201,168,76,0.1); color: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.2);
  align-self: flex-start; border-bottom-left-radius: 0;
}
.chat-input-area {
  padding: 16px; background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.chat-privacy {
  font-size: 10px; letter-spacing: 0.04em;
  color: rgba(122,128,144,0.7); text-align: center;
  margin: 8px 0 0; padding: 0;
}
.chat-input-area input {
  width: 100%; padding: 12px 60px 12px 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); border-radius: 2px; outline: none; font-family: var(--font-sans);
}
.chat-input-area input:focus { border-color: var(--gold); }
.chat-input-area button {
  position: absolute; right: 24px; top: 26px;
  background: none; border: none; color: var(--gold-2);
  font-size: 14px; font-weight: 600; cursor: pointer; text-transform: uppercase;
}
.chat-typing {
  font-size: 12px; color: var(--text-dim); font-style: italic;
  position: absolute; top: -20px; left: 16px; opacity: 0; transition: opacity 0.3s;
}
.chat-typing.show { opacity: 1; }

/* ───────────────────────────────────────
   STICKY MOBILE CTA
─────────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 14px 20px;
  background: rgba(4, 7, 12, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(201,168,76,0.2);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
  /* Prevent chat button from being hidden behind sticky CTA */
  .chat-btn { bottom: 84px; }
  .chat-panel { bottom: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
