:root {
  --bg-base:        #050B1F;
  --bg-elevated:    #0A1F44;
  --bg-elevated-2:  #0E2654;
  --gold:           #C9A84C;
  --gold-bright:    #F0C75E;
  --gold-soft:      rgba(201, 168, 76, 0.15);
  --electric:       #4DA8FF;
  --electric-soft:  rgba(77, 168, 255, 0.18);
  --signal-green:   #2DD4BF;
  --signal-amber:   #F59E0B;
  --signal-red:     #EF4444;
  --text-primary:   #F8FAFC;
  --text-secondary: rgba(248, 250, 252, 0.65);
  --text-muted:     rgba(248, 250, 252, 0.42);
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --border-medium:  rgba(255, 255, 255, 0.14);
  --border-glow:    rgba(201, 168, 76, 0.35);
  --glass:          #0E2654;
  --glass-strong:   #14315F;

  --display: 'Geist', 'DM Sans', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(ellipse 1200px 800px at 15% -10%, rgba(10, 31, 68, 0.9), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 5%, rgba(201, 168, 76, 0.06), transparent 55%),
    var(--bg-base);
  background-attachment: fixed;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

::selection { background: var(--gold); color: var(--bg-base); }

/* Accessibility: visually hidden but accessible to screen readers and SEO crawlers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content link - hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--bg-base);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* === TYPOGRAPHY === */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; }

/* Word-by-word reveal utility (kinetic typography) */
.reveal-word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.section-head .eyebrow,
.legal-claim .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-head .eyebrow::before,
.legal-claim .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.6);
  animation: eyebrow-dot-pulse 2.4s ease-out infinite;
}
@keyframes eyebrow-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}
.italic-em { color: var(--gold); font-weight: 700; }

/* === LAYOUT === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* === NAV === */
/* Scroll progress bar - tiny gold line at top of viewport */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-bright));
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px var(--gold-soft);
  transition: width 0.1s linear;
}

nav.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5, 11, 31, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.3s ease;
}
nav.topnav.scrolled { padding: 14px 32px; }
.logomark {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.logomark svg {
  height: 26px;
  width: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logomark .logo-word {
  fill: var(--text-primary);
  transition: fill 0.3s ease;
}
.logomark .logo-mark path {
  fill: var(--gold);
  transition: fill 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.logomark:hover .logo-mark path {
  fill: var(--gold-bright);
}
.logomark:hover svg {
  transform: scale(1.04);
}
/* Subtle breath on the gold mark glyph */
.logomark .logo-mark {
  animation: logo-breathe 4s ease-in-out infinite;
  transform-origin: 31px 28.7px;
}
@keyframes logo-breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-large { padding: 18px 32px; font-size: 16px; }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  box-shadow: 0 0 6px var(--gold);
}
.particle.electric { background: var(--electric); box-shadow: 0 0 6px var(--electric); }

/* === GALAXY BACKGROUND === */
.galaxy {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}

/* Nebula color clouds - deep, slow rotation */
.galaxy-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform;
}
.galaxy-nebula-1 {
  width: 1300px; height: 1300px;
  top: -28%; left: -20%;
  background: radial-gradient(ellipse at center, rgba(140, 100, 240, 0.62) 0%, rgba(95, 110, 230, 0.28) 30%, rgba(95, 110, 230, 0.08) 55%, transparent 75%);
  animation: nebula-drift-1 60s linear infinite;
}
.galaxy-nebula-2 {
  width: 1000px; height: 1000px;
  top: 22%; right: -14%;
  background: radial-gradient(ellipse at center, rgba(190, 140, 250, 0.58) 0%, rgba(160, 110, 235, 0.22) 35%, rgba(160, 110, 235, 0.06) 60%, transparent 75%);
  animation: nebula-drift-2 80s linear infinite;
}
.galaxy-nebula-3 {
  width: 900px; height: 900px;
  bottom: -22%; left: 26%;
  background: radial-gradient(ellipse at center, rgba(200, 110, 250, 0.55) 0%, rgba(140, 70, 240, 0.2) 40%, rgba(140, 70, 240, 0.06) 65%, transparent 80%);
  animation: nebula-drift-3 100s linear infinite;
}
.galaxy-nebula-4 {
  width: 720px; height: 720px;
  top: 52%; left: -10%;
  background: radial-gradient(ellipse at center, rgba(120, 150, 240, 0.42) 0%, rgba(90, 180, 255, 0.16) 40%, transparent 70%);
  animation: nebula-drift-1 90s linear infinite reverse;
}

/* Bright cluster glow hotspots - the bright concentrated cores from the reference */
.galaxy-cluster {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.galaxy-cluster-1 {
  width: 220px; height: 220px;
  top: 22%; left: 35%;
  background: radial-gradient(circle, rgba(230, 195, 255, 0.78) 0%, rgba(210, 155, 255, 0.28) 40%, transparent 70%);
  animation: cluster-pulse 8s ease-in-out infinite;
}
.galaxy-cluster-2 {
  width: 170px; height: 170px;
  top: 48%; right: 25%;
  background: radial-gradient(circle, rgba(220, 180, 250, 0.72) 0%, rgba(190, 140, 240, 0.24) 40%, transparent 70%);
  animation: cluster-pulse 11s ease-in-out 2s infinite;
}
.galaxy-cluster-3 {
  width: 140px; height: 140px;
  bottom: 30%; left: 18%;
  background: radial-gradient(circle, rgba(180, 215, 255, 0.65) 0%, rgba(140, 180, 250, 0.2) 40%, transparent 70%);
  animation: cluster-pulse 14s ease-in-out 4s infinite;
}
.galaxy-cluster-4 {
  width: 130px; height: 130px;
  top: 68%; left: 52%;
  background: radial-gradient(circle, rgba(220, 175, 255, 0.6) 0%, rgba(190, 135, 250, 0.18) 40%, transparent 70%);
  animation: cluster-pulse 12s ease-in-out 6s infinite;
}
.galaxy-cluster-5 {
  width: 100px; height: 100px;
  top: 12%; right: 32%;
  background: radial-gradient(circle, rgba(200, 220, 255, 0.55) 0%, rgba(160, 200, 255, 0.16) 40%, transparent 70%);
  animation: cluster-pulse 10s ease-in-out 1s infinite;
}
@keyframes cluster-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.18); }
}

/* Shooting stars - subtle streaks across the sky */
.shooting-star {
  position: absolute;
  width: 80px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(220, 200, 255, 0.9), rgba(255, 255, 255, 1));
  border-radius: 999px;
  filter: blur(0.3px);
  opacity: 0;
  pointer-events: none;
  transform-origin: right center;
}
.shooting-star::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(200, 160, 255, 0.5);
}
.shooting-star-1 {
  top: 18%; left: 10%;
  transform: rotate(20deg);
  animation: shoot-1 14s ease-in 3s infinite;
}
.shooting-star-2 {
  top: 42%; left: 45%;
  transform: rotate(15deg);
  animation: shoot-2 18s ease-in 9s infinite;
}
.shooting-star-3 {
  top: 65%; right: 12%;
  transform: rotate(25deg);
  animation: shoot-3 22s ease-in 14s infinite;
}
@keyframes shoot-1 {
  0%   { opacity: 0; transform: rotate(20deg) translateX(0); }
  3%   { opacity: 1; }
  10%  { opacity: 0; transform: rotate(20deg) translateX(280px); }
  100% { opacity: 0; transform: rotate(20deg) translateX(280px); }
}
@keyframes shoot-2 {
  0%   { opacity: 0; transform: rotate(15deg) translateX(0); }
  4%   { opacity: 1; }
  11%  { opacity: 0; transform: rotate(15deg) translateX(320px); }
  100% { opacity: 0; transform: rotate(15deg) translateX(320px); }
}
@keyframes shoot-3 {
  0%   { opacity: 0; transform: rotate(25deg) translateX(0); }
  3%   { opacity: 1; }
  9%   { opacity: 0; transform: rotate(25deg) translateX(260px); }
  100% { opacity: 0; transform: rotate(25deg) translateX(260px); }
}
@keyframes nebula-drift-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(60px, 80px) rotate(180deg) scale(1.1); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}
@keyframes nebula-drift-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1.05); }
  50%  { transform: translate(-80px, 40px) rotate(-180deg) scale(0.95); }
  100% { transform: translate(0, 0) rotate(-360deg) scale(1.05); }
}
@keyframes nebula-drift-3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(40px, -60px) rotate(180deg) scale(1.08); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

/* Star field - tiny static dots, multi-layer parallax */
.galaxy-stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  will-change: transform;
}
.galaxy-stars-near {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 27% 41%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.5px 1.5px at 43% 73%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 67% 12%, rgba(255,255,255,0.75), transparent),
    radial-gradient(2px 2px at 81% 56%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 92% 88%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.5px 1.5px at 8% 62%, rgba(255,255,255,0.95), transparent),
    radial-gradient(1px 1px at 35% 8%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 56% 35%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 73% 79%, rgba(255,255,255,0.85), transparent),
    radial-gradient(2px 2px at 19% 91%, rgba(255,255,255,1), transparent),
    radial-gradient(1.5px 1.5px at 49% 22%, rgba(255,255,255,0.95), transparent);
  background-size: 700px 700px;
  animation: stars-drift-near 180s linear infinite;
  opacity: 1;
}
.galaxy-stars-mid {
  background-image:
    radial-gradient(1px 1px at 5% 31%, rgba(201, 168, 76, 0.8), transparent),
    radial-gradient(1px 1px at 28% 67%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 51% 14%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 74% 48%, rgba(77, 168, 255, 0.75), transparent),
    radial-gradient(1px 1px at 88% 23%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 16% 82%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 39% 55%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 62% 91%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 96% 64%, rgba(201, 168, 76, 0.75), transparent),
    radial-gradient(1px 1px at 22% 7%, rgba(255,255,255,0.7), transparent);
  background-size: 500px 500px;
  animation: stars-drift-mid 240s linear infinite;
  opacity: 0.9;
}
.galaxy-stars-far {
  background-image:
    radial-gradient(0.5px 0.5px at 11% 26%, rgba(255,255,255,0.4), transparent),
    radial-gradient(0.5px 0.5px at 38% 53%, rgba(255,255,255,0.35), transparent),
    radial-gradient(0.5px 0.5px at 64% 17%, rgba(255,255,255,0.4), transparent),
    radial-gradient(0.5px 0.5px at 86% 78%, rgba(255,255,255,0.35), transparent),
    radial-gradient(0.5px 0.5px at 23% 84%, rgba(255,255,255,0.4), transparent),
    radial-gradient(0.5px 0.5px at 47% 39%, rgba(255,255,255,0.35), transparent),
    radial-gradient(0.5px 0.5px at 71% 67%, rgba(255,255,255,0.3), transparent),
    radial-gradient(0.5px 0.5px at 93% 9%, rgba(255,255,255,0.4), transparent);
  background-size: 350px 350px;
  animation: stars-drift-far 320s linear infinite;
  opacity: 0.55;
}
@keyframes stars-drift-near {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-700px, -200px, 0); }
}
@keyframes stars-drift-mid {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-500px, -120px, 0); }
}
@keyframes stars-drift-far {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-350px, -80px, 0); }
}

/* Twinkling overlay - a few stars that pulse */
.galaxy-twinkle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* Reduced motion: kill all galaxy animation */
@media (prefers-reduced-motion: reduce) {
  .galaxy-nebula, .galaxy-stars, .galaxy-twinkle {
    animation: none !important;
  }
}

.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-eyebrow { margin-bottom: 32px; }
.hero-eyebrow .dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  margin: 0 14px 2px;
  vertical-align: middle;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(54px, 10vw, 152px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.96;
  margin-bottom: 32px;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}
.hero h1 .italic-em {
  position: relative;
}
.hero h1 .italic-em::after {
  content: '';
  position: absolute;
  inset: -10px -16px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.28), transparent 65%);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
  border-radius: 50%;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 96px;
  opacity: 0;
}

/* ============ WAITLIST COMPONENT ============ */
.waitlist-shell {
  position: relative;
  height: 64px;
  width: 240px;
  transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: width;
}
.waitlist-shell.expanded {
  width: 460px;
}
.waitlist-shell.success {
  width: 380px;
}

@media (max-width: 540px) {
  .waitlist-shell { width: 220px; }
  .waitlist-shell.expanded { width: calc(100vw - 64px); max-width: 420px; }
  .waitlist-shell.success { width: calc(100vw - 64px); max-width: 380px; }
}

/* Shared "pill" container styles for trigger + form */
.waitlist-trigger,
.waitlist-form,
.waitlist-success {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    box-shadow 0.4s ease;
}

.waitlist-trigger {
  background: var(--gold);
  color: var(--bg-base);
  border: none;
  cursor: pointer;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  padding: 0 28px;
  box-shadow:
    0 8px 24px rgba(201, 168, 76, 0.25),
    0 0 0 0 rgba(201, 168, 76, 0.5);
  overflow: hidden;
  z-index: 3;
}
.waitlist-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.waitlist-trigger:hover {
  box-shadow:
    0 12px 32px rgba(201, 168, 76, 0.4),
    0 0 0 6px rgba(201, 168, 76, 0.08);
  transform: translateY(-1px);
}
.waitlist-trigger:hover::before { opacity: 1; }
.waitlist-trigger > * { position: relative; z-index: 1; }
.waitlist-trigger-text { white-space: nowrap; }
.waitlist-trigger-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  font-weight: 700;
}
.waitlist-trigger:hover .waitlist-trigger-arrow { transform: translateX(4px); }

/* Pulse ring (subtle attention) */
.waitlist-trigger::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  border: 1.5px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: waitlist-pulse 2.6s ease-out infinite;
}
@keyframes waitlist-pulse {
  0% { transform: scale(0.96); opacity: 0.6; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Form (hidden by default) */
.waitlist-form {
  background: rgba(10, 31, 68, 0.7);
  border: 1.5px solid var(--gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 8px 0 22px;
  gap: 10px;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(201, 168, 76, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.waitlist-shell.expanded .waitlist-trigger {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}
.waitlist-shell.expanded .waitlist-form {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition-delay: 0.15s;
}
.waitlist-shell.expanded .waitlist-form.invalid {
  animation: shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border-color: var(--signal-red);
}
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

.waitlist-prefix {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--gold);
  font-weight: 500;
  user-select: none;
  opacity: 0.7;
}
.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0;
  height: 100%;
  caret-color: var(--gold);
}
.waitlist-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.waitlist-submit {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-base);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.waitlist-submit:hover {
  background: var(--gold-bright);
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
}
.waitlist-submit:active { transform: scale(0.96); }
.waitlist-submit svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.submit-arrow { opacity: 1; }
.submit-check { opacity: 0; transform: scale(0.6); }
.waitlist-submit.loading .submit-arrow { animation: arrow-spin 0.8s ease-in-out infinite; }
@keyframes arrow-spin {
  0% { transform: translateX(0) rotate(0); opacity: 1; }
  50% { transform: translateX(20px) rotate(0); opacity: 0; }
  51% { transform: translateX(-20px) rotate(0); opacity: 0; }
  100% { transform: translateX(0) rotate(0); opacity: 1; }
}

/* Success state */
.waitlist-success {
  background: rgba(45, 212, 191, 0.08);
  border: 1.5px solid var(--signal-green);
  color: var(--signal-green);
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(45, 212, 191, 0.1);
}
.waitlist-success svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.waitlist-shell.success .waitlist-trigger,
.waitlist-shell.success .waitlist-form {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
}
.waitlist-shell.success .waitlist-success {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition-delay: 0.1s;
}
.waitlist-shell.success .waitlist-success svg {
  animation: check-draw 0.6s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

.waitlist-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.waitlist-shell.success ~ .waitlist-meta {
  opacity: 0;
  transform: translateY(4px);
}

/* === HERO CANVAS (3 floating cards) === */
.hero-canvas {
  position: relative;
  height: 540px;
  margin-top: 40px;
  perspective: 1800px;
  transform-style: preserve-3d;
  opacity: 0;
}
.hero-canvas svg.connections {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-canvas svg.connections path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  filter: drop-shadow(0 0 4px var(--gold-soft));
}

.hero-card {
  position: absolute;
  background:
    linear-gradient(135deg, #14315F 0%, #0E2654 60%, #0A1F44 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 22px;
  width: 280px;
  z-index: 2;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(201, 168, 76, 0.06),
    0 0 0 1px rgba(201, 168, 76, 0.12) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset;
  transform-style: preserve-3d;
  animation: card-breathe 6s ease-in-out infinite;
}
.hero-card.card-2 { animation-delay: 2s; }
.hero-card.card-3 { animation-delay: 4s; }
@keyframes card-breathe {
  0%, 100% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.75),
      0 0 60px rgba(201, 168, 76, 0.06),
      0 0 0 1px rgba(201, 168, 76, 0.12) inset,
      0 1px 0 0 rgba(255, 255, 255, 0.12) inset;
  }
  50% {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.75),
      0 0 80px rgba(201, 168, 76, 0.14),
      0 0 0 1px rgba(201, 168, 76, 0.22) inset,
      0 1px 0 0 rgba(255, 255, 255, 0.18) inset;
  }
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 120% 60% at top, rgba(201, 168, 76, 0.12), transparent 50%),
    radial-gradient(ellipse 100% 80% at bottom right, rgba(77, 168, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card.card-1 { top: 0; left: calc(50% - 440px); transform: rotateX(8deg) rotateY(-6deg) translateZ(20px); }
.hero-card.card-2 { top: 0; right: calc(50% - 440px); transform: rotateX(8deg) rotateY(6deg) translateZ(20px); }
.hero-card.card-3 { width: 260px; bottom: 0; left: 50%; transform: translateX(-50%) translateY(20px) rotateX(-4deg) translateZ(40px); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.card-badge.green { background: rgba(45, 212, 191, 0.18); color: var(--signal-green); }
.card-badge.amber { background: rgba(245, 158, 11, 0.18); color: var(--signal-amber); }
.card-badge.red   { background: rgba(239, 68, 68, 0.18);  color: var(--signal-red); }

.card-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.card-meta  { font-size: 12px; color: rgba(248, 250, 252, 0.55); margin-bottom: 16px; }

.coverage-ring {
  display: flex; align-items: center; gap: 16px;
}
.ring-svg { width: 64px; height: 64px; }
.ring-bg, .ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}
.ring-bg { stroke: rgba(255, 255, 255, 0.12); }
.ring-fill {
  stroke: var(--gold);
  stroke-width: 7;
  stroke-dasharray: 175.9;
  stroke-dashoffset: 175.9;  /* Start empty - JS animates to 22.9 (87%) */
  transform-origin: center;
  transform: rotate(-90deg);
}
.ring-pct {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.ring-meta { font-size: 12px; color: rgba(248, 250, 252, 0.7); }

.risk-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.risk-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(248, 250, 252, 0.85);
  padding: 8px 12px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--border-subtle);
  opacity: 0;
}
.risk-row > span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.risk-row.crit { border-left-color: var(--signal-red); }
.risk-row.crit > span:last-child { color: var(--signal-red); }
.risk-row.high { border-left-color: var(--signal-amber); }
.risk-row.high > span:last-child { color: var(--signal-amber); }
.risk-row.med  { border-left-color: var(--electric); }
.risk-row.med > span:last-child { color: var(--electric); }

.timeline { display: flex; flex-direction: column; gap: 10px; }
.timeline-item {
  display: flex; gap: 10px;
  font-size: 12px; color: var(--text-secondary);
  opacity: 0;
}
.tl-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 5px; box-shadow: 0 0 6px var(--gold-soft); }
.tl-dot.green { background: var(--signal-green); box-shadow: 0 0 6px rgba(45, 212, 191, 0.4); }

@media (max-width: 1100px) {
  .hero-canvas { height: auto; perspective: none; transform: none; }
  .hero-card { position: static; transform: none !important; width: 100%; max-width: 480px; margin: 0 auto 16px; }
}

.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  opacity: 0;
  z-index: 5;
}
.scroll-cue svg { width: 14px; height: 14px; animation: bounce 2.4s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* === SECTION HEADER PATTERN === */
.section-pad { padding: 140px 0; }
.section-pad-sm { padding: 96px 0; }
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.3;
  margin: 0 auto;
  max-width: 600px;
}

.section-head { text-align: center; margin-bottom: 80px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 24px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.section-head p {
  max-width: 640px; margin: 0 auto;
  font-size: 19px; color: var(--text-secondary);
}

/* === SECTION 2: THE RISK SPREAD (split-pin) === */
.risk-spread {
  background: var(--bg-base);
  position: relative;
}
.risk-spread-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.risk-pin {
  position: sticky;
  top: 120px;
  padding: 80px 0;
}
.risk-pin .eyebrow { margin-bottom: 24px; }
.risk-pin h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.risk-scroll { padding: 80px 0; }
.risk-scene {
  background:
    linear-gradient(135deg, #14315F 0%, #0E2654 60%, #0A1F44 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
}
.risk-scene::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.2));
  opacity: 0.6;
}
.risk-scene-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.risk-scene blockquote {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.risk-scene cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.risk-stat {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.risk-stat-num {
  font-family: var(--display);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.risk-stat-num.settled {
  animation: sheen-sweep 1.4s ease-out;
}
.risk-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .risk-spread-grid { grid-template-columns: 1fr; gap: 0; }
  .risk-pin { position: relative; top: auto; padding: 60px 0 0; }
}

.merge-line {
  text-align: center;
  margin-top: 40px;
  padding: 60px 0;
}
.merge-line p {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.merge-line p span { color: var(--gold); }

/* === SECTION 3: THESIS === */
.thesis {
  background: var(--bg-base);
  text-align: center;
}
.thesis h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin-bottom: 40px;
}
.thesis h2 .line { display: block; }
.thesis h2 .line-2 { color: var(--gold); font-weight: 700; }
.thesis-body {
  max-width: 700px;
  margin: 0 auto 80px;
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.thesis-body strong {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--display);
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

.trinity {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 480px;
  margin: 0 auto;
}
.trinity svg.lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.trinity svg.lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 0 6px var(--gold-soft));
}
.trinity-node {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  box-shadow:
    0 0 0 4px rgba(201, 168, 76, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.8);
}
.trinity-node svg { width: 22px; height: 22px; margin-bottom: 8px; stroke: var(--gold); }
.node-insurance { top: 0; left: 50%; transform: translateX(-50%) scale(0.8); }
.node-contracts { bottom: 40px; left: 0; }
.node-claims    { bottom: 40px; right: 0; }

.trinity-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-soft) 60%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--bg-base);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: core-pulse 3s ease-in-out infinite;
}
.trinity-core::before,
.trinity-core::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  pointer-events: none;
}
.trinity-core::before { animation: core-ripple 3s ease-out infinite; }
.trinity-core::after  { animation: core-ripple 3s ease-out 1.5s infinite; }
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 60px rgba(201, 168, 76, 0.7); }
}
@keyframes core-ripple {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (max-width: 700px) {
  .trinity { height: 420px; max-width: 360px; }
  .trinity-node { width: 100px; height: 100px; font-size: 10px; }
  .trinity-node svg { width: 18px; height: 18px; }
}

/* === SECTION 4: BENTO === */
.bento {
  background: var(--bg-base);
}
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  height: 760px;
}
.bento-card {
  background:
    linear-gradient(135deg, #14315F 0%, #0E2654 60%, #0A1F44 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 168, 76, 0.06) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
}
.bento-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.15) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 100% 50% at top, rgba(201, 168, 76, 0.06), transparent 50%);
  pointer-events: none;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card.large { grid-row: span 2; }

.bento-card .eyebrow { margin-bottom: 16px; }
.bento-card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.bento-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative;
}
.bento-arrow {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.bento-card:hover .bento-arrow {
  transform: translateX(8px);
}
.bento-link:hover .bento-arrow {
  transform: translateX(12px);
}

.demo-stage {
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

/* Demo 1: Insurance scan */
.demo-policy {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 18px;
  height: 100%;
  display: flex; flex-direction: column; gap: 10px;
}
.demo-row {
  display: flex; justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.demo-row span:first-child { color: var(--text-muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.demo-row span:last-child { color: var(--text-primary); font-weight: 500; }
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  filter: drop-shadow(0 0 8px var(--gold));
  top: 0;
  opacity: 0;
  pointer-events: none;
}
.demo-alert {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  font-size: 12px;
  color: var(--signal-red);
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
}
.demo-alert .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal-red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: alert-pulse 1.5s infinite;
}
@keyframes alert-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Demo 2: Clause + gap */
.demo-clause {
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--signal-red);
  border-radius: 4px;
  padding: 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
}
.demo-clause .highlight {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  position: relative;
}
.demo-clause .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.demo-clause .highlight.drawn::after {
  transform: scaleX(1);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.gap-panel {
  margin-top: 12px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 4px;
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0;
  transform: translateY(8px);
}
.gap-panel.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gap-panel-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.gap-panel-value { color: var(--signal-red); font-weight: 600; font-family: var(--mono); font-size: 13px; }

/* Demo 3: Case timeline */
.case-timeline { display: flex; flex-direction: column; gap: 12px; }
.case-tl-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
  transition: opacity 0.5s ease;
}
.case-tl-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.case-tl-row.done .case-tl-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-base);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}
.case-tl-row.done .case-tl-label { color: var(--text-primary); }
.case-tl-row.active .case-tl-num {
  background: var(--electric-soft);
  border-color: var(--electric);
  color: var(--electric);
  box-shadow: 0 0 12px rgba(77, 168, 255, 0.5);
  animation: tl-active-pulse 1.6s ease-in-out infinite;
}
@keyframes tl-active-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.case-tl-label, .case-tl-amount {
  transition: color 0.5s ease;
}
.case-tl-label { color: var(--text-muted); flex: 1; }
.case-tl-amount { font-family: var(--mono); font-size: 11px; color: var(--text-secondary); }

@media (max-width: 1000px) {
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .bento-card.large { grid-row: span 1; }
}

/* === SECTION 5: SCROLL-PINNED CONNECTION STORY === */
.connection-story {
  background: var(--bg-base);
  position: relative;
}
.connection-pin-wrapper {
  position: relative;
  height: 200vh;
}
.connection-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  width: 100%;
  align-items: center;
}
.connection-canvas {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  height: 540px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.canvas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 100%;
}
.canvas-panel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  transition: all 0.6s ease;
}
.canvas-panel.highlight {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-soft);
}
.panel-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.panel-policy-card {
  background: rgba(255,255,255,0.04);
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  border-left: 2px solid var(--signal-green);
  transition: all 0.5s ease;
}
.panel-policy-card.expiring {
  border-left-color: var(--signal-amber);
  background: rgba(245, 158, 11, 0.08);
  animation: expiry-pulse 2s ease-in-out infinite;
}
@keyframes expiry-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}
.policy-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.policy-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; font-family: var(--mono); }

.contract-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  padding: 7px 8px;
  border-radius: 3px;
  margin-bottom: 4px;
  background: rgba(255,255,255,0.025);
  transition: all 0.5s ease;
}
.contract-row.linked {
  background: rgba(201, 168, 76, 0.12);
  border-left: 2px solid var(--gold);
}
.contract-row span:first-child { color: var(--text-secondary); }
.contract-row span:last-child { color: var(--text-muted); font-family: var(--mono); font-size: 10px; }

/* Live data: case load list with rotating spotlight */
.case-load-list {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.8;
}
.case-load-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 1px 4px;
  border-radius: 3px;
  transition: background 0.5s ease, color 0.5s ease;
}
.case-load-row.spotlit {
  background: rgba(201, 168, 76, 0.08);
  color: var(--text-secondary);
}
.case-load-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.case-load-row.spotlit .case-load-dot {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}
.case-load-more { opacity: 0.5; padding-left: 4px; }

/* Trend chart with live pulse */
.trend-chart .trend-line {
  opacity: 0.85;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: trend-draw 2.5s 0.3s ease-out forwards;
}
.trend-chart .trend-area {
  opacity: 0;
  animation: trend-fill 1.5s 2.2s ease-out forwards;
}
.trend-chart .trend-pulse {
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--gold));
}
.trend-chart.armed .trend-pulse {
  opacity: 1;
  animation: trend-pulse-anim 1.8s 2.5s ease-out infinite;
}
@keyframes trend-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes trend-fill {
  to { opacity: 1; }
}
@keyframes trend-pulse-anim {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}
.trend-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  margin-top: 6px;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: trend-meta-in 0.6s 2.4s ease-out forwards;
}
@keyframes trend-meta-in {
  to { opacity: 1; }
}

.exposure-callout {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  padding: 18px;
  background: rgba(10, 31, 68, 0.95);
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.exposure-callout.visible { opacity: 1; transform: translateY(0); transition: all 0.6s 0.3s ease; }
.exposure-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.exposure-value {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
  letter-spacing: -0.025em;
  font-weight: 700;
}
.exposure-cta {
  display: inline-block;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg-base);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--sans);
  pointer-events: none;
  user-select: none;
}

.connection-line-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}
.connection-line-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 4px var(--gold-soft));
  transition: stroke-dashoffset 1.2s ease;
}

.connection-copy { padding: 0 20px; }
.beat {
  margin-bottom: 50px;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}
.beat.active { opacity: 1; }
.beat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}
.beat p {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.32;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .connection-pin-wrapper { height: auto; }
  .connection-pin { position: relative; top: auto; height: auto; padding: 60px 0; }
  .connection-grid { grid-template-columns: 1fr; gap: 40px; }
  .connection-canvas { height: 420px; }
}

/* === SECTION 6: CLAIMS PORTAL === */
.claims-section {
  background:
    linear-gradient(to bottom, var(--bg-base) 0%, var(--bg-elevated) 50%, var(--bg-base) 100%);
  position: relative;
}
.claims-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.claims-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 80px 0;
}
.claims-stat {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--glass);
}
.claims-stat-num {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 88px);
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.claims-stat-num.settled {
  animation: sheen-sweep 1.4s ease-out;
}
.claims-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}
@media (max-width: 800px) { .claims-stats { grid-template-columns: 1fr; gap: 16px; } }

.claims-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.claims-feature {
  background: var(--glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.claims-feature::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--gold-soft), transparent 40%);
  opacity: 0;
  transform: translate(-100%, -100%);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.claims-feature:hover::before {
  opacity: 0.6;
  transform: translate(0, 0);
}
.claims-feature:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.claims-feature .icon {
  width: 36px; height: 36px;
  margin-bottom: 20px;
  color: var(--gold);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.claims-feature:hover .icon {
  transform: scale(1.12) rotate(-6deg);
}
.claims-feature h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.claims-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
@media (max-width: 1000px) { .claims-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .claims-features { grid-template-columns: 1fr; } }

.section-cta-row { text-align: center; margin-top: 40px; }

/* === SECTION 7: MANAGED CLAIMS === */
.managed {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.managed-card {
  max-width: 1080px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, rgba(201, 168, 76, 0.1), transparent 60%),
    var(--bg-elevated);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: 80px 60px;
  position: relative;
  transform: perspective(1800px) rotateY(0deg);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.2) inset;
}
.managed-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 40px;
  width: 120px;
  height: 4px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 20px var(--gold-soft);
}
.managed-card h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 28px;
}
.managed-card h2 .em { color: var(--gold); font-weight: 700; }
.managed-card .lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 16px;
}
.managed-card .lead strong {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 1em;
  letter-spacing: -0.015em;
}
.managed-list {
  list-style: none;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.managed-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.managed-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.managed-list .check svg {
  width: 12px; height: 12px;
  stroke: var(--gold);
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.managed-list li.drawn .check svg {
  animation: check-draw-in 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.managed-list li.drawn .check {
  animation: check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes check-draw-in {
  to { stroke-dashoffset: 0; }
}
@keyframes check-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 700px) {
  .managed-card { padding: 50px 28px; }
  .managed-list { grid-template-columns: 1fr; }
}

/* === SECTION 8: HOW IT FITS === */
.how-fits {
  background: var(--bg-base);
}
.flow-diagram {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 60px 0;
}
.flow-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.flow-input, .flow-output {
  background: var(--glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}
.flow-input .icon, .flow-output .icon {
  width: 32px; height: 32px;
  margin: 0 auto 14px;
  color: var(--gold);
}
.flow-input .label, .flow-output .label {
  font-family: var(--display);
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.flow-bar {
  background:
    linear-gradient(to right,
      var(--gold) 0%,
      var(--gold-bright) 50%,
      var(--gold) 100%
    );
  background-size: 200% 100%;
  animation: bar-shimmer 4s ease-in-out infinite;
  color: var(--bg-base);
  border-radius: 10px;
  padding: 28px 40px;
  text-align: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.25);
  opacity: 0;
}
@keyframes bar-shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}
.audit-bar {
  background: rgba(0,0,0,0.3);
  border: 1px dashed var(--border-medium);
  border-radius: 8px;
  padding: 20px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 60px;
  opacity: 0;
}
.audit-bar .em { color: var(--gold); }
.flow-finale {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text-primary);
  opacity: 0;
}
.flow-finale .em { color: var(--gold); font-weight: 700; }
@media (max-width: 700px) {
  .flow-row { grid-template-columns: 1fr; }
}

/* === SECTION 9: TWO MODES === */
.modes {
  background: var(--bg-base);
}
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.mode-card {
  border-radius: 16px;
  padding: 48px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mode-card:hover { transform: translateY(-6px) rotate(-0.5deg); }
.mode-card.dark {
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  color: var(--text-primary);
}
.mode-card.gold {
  background:
    linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--bg-base);
}
.mode-card .eyebrow { color: inherit; opacity: 0.7; margin-bottom: 20px; }
.mode-card.gold .eyebrow { color: var(--bg-base); }
.mode-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 32px;
}
.mode-card ul { list-style: none; }
.mode-card li {
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid currentColor;
  border-color: rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 12px;
}
.mode-card.gold li { border-color: rgba(5, 11, 31, 0.15); }
.mode-card li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.mode-card.dark li::before { background: var(--gold); }
.modes-footer {
  text-align: center;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 40px;
  letter-spacing: -0.01em;
}
@media (max-width: 800px) {
  .modes-grid { grid-template-columns: 1fr; }
  .mode-card { padding: 36px 28px; }
}

/* === SECTION 9.5: LEGAL LAYER (TIERED CAPABILITY) === */
.legal-layer {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.legal-layer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05), transparent 60%);
  pointer-events: none;
}
.legal-layer .container { position: relative; z-index: 1; }

.legal-claim {
  text-align: center;
  margin-bottom: 90px;
}
.legal-claim .eyebrow {
  display: inline-block;
  margin-bottom: 28px;
}
.legal-claim h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 980px;
  margin: 0 auto 28px;
}
.legal-claim p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.tier {
  padding: 48px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.5s ease;
}
.tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.tier.drawn::before { transform: scaleX(1); }
.tier > * {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tier:hover > .tier-num { transform: translateY(-3px); }
.tier:hover > h4 { transform: translateY(-5px); }
.tier:hover > p { transform: translateY(-2px); }
.tier:hover > .tier-list { transform: translateY(-1px); }
.tier:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}
.tier:hover {
  background: rgba(255, 255, 255, 0.025);
}
.tier-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-num::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-soft);
}
.tier h4 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.tier p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}
.tier-list {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
}
.tier-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.tier-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* The third tier (counsel escalation) gets distinctive treatment */
.tier.tier-counsel {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
}
.tier.tier-counsel .tier-num { color: var(--gold-bright); }
.tier.tier-counsel .tier-num::before { background: var(--gold-bright); }
.tier.tier-counsel h4 { color: var(--gold-bright); }

/* Connecting flow indicators between tiers */
.tier:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--bg-base);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  z-index: 2;
}

@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .tier:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .tier:not(:last-child)::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -10px;
    transform: translateX(50%);
  }
}

.legal-footer {
  text-align: center;
  margin-top: 60px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.legal-footer .em {
  color: var(--gold);
  font-weight: 600;
}

/* === SECTION 10: PROOF === */
.proof {
  background: var(--bg-base);
  text-align: center;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 100px;
}
.proof-num {
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 144px);
  color: var(--gold);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
  position: relative;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-num.settled {
  animation: sheen-sweep 1.4s ease-out;
}
@keyframes sheen-sweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.proof-label {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  max-width: 200px;
  margin: 0 auto;
}
@media (max-width: 800px) { .proof-stats { grid-template-columns: 1fr; gap: 60px; } }

.testimonial-stage {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    filter 0.5s ease;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.testimonial.exiting {
  opacity: 0;
  transform: translateY(-30px) scale(0.98);
  filter: blur(4px);
}
.testimonial blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.testimonial cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.testimonial-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 40px;
}
.testimonial-dots button {
  width: 28px; height: 2px;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}
.testimonial-dots button.active { background: var(--gold); }

.logo-marquee {
  margin-top: 100px;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
  position: relative;
}
.logo-marquee::before, .logo-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-base), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-base), transparent); }
.logo-track {
  display: flex; gap: 80px; align-items: center;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-mark {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.logo-mark:hover { opacity: 1; color: var(--text-primary); }

/* === SECTION 11: EARLY ACCESS === */
.early-access {
  background: var(--bg-base);
  text-align: center;
}
.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 60px 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 40px;
  width: 80px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 16px var(--gold-soft);
}
.pricing-card .eyebrow {
  display: inline-block;
}
.pricing-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.pricing-card > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.55;
}
.perk-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.perk-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.perk-list li strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.perk-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.perk-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
}
@media (max-width: 700px) {
  .perk-list { grid-template-columns: 1fr; }
  .pricing-card { padding: 44px 28px; }
}

/* === SECTION 12: FINAL CTA === */
.final-cta {
  background: var(--bg-base);
  min-height: 100vh;
  display: flex; align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-orb {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-soft) 30%, transparent 70%);
  filter: blur(120px);
  opacity: 0.25;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-rotate 20s linear infinite;
  z-index: 0;
}
@keyframes orb-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}
.final-cta-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
}
.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(52px, 10vw, 128px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin-bottom: 36px;
}
.final-cta h2 .three-strike {
  position: relative;
  color: var(--gold);
  font-weight: 700;
  display: inline-block;
}
.final-cta h2 .three-strike::after {
  content: '';
  position: absolute;
  top: 50%; left: -8%; right: -8%;
  height: 3px;
  background: var(--gold);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform 0.8s 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.final-cta h2 .three-strike.struck::after { transform: translateY(-50%) scaleX(1); }
.final-cta h2 .one-replacement {
  display: inline-block;
  font-family: var(--display);
  color: var(--gold-bright);
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 1s ease;
  text-shadow: 0 0 40px var(--gold-soft);
}
.final-cta h2 .one-replacement.visible { opacity: 1; transform: translateY(0); }
.final-cta p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}
.final-ctas { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* === FOOTER === */
footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  max-width: 1100px;
}
.footer-brand .logomark { margin-bottom: 20px; }
.footer-brand .logomark svg { height: 32px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-fine {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-fine .disclaimer {
  max-width: 600px;
  opacity: 0.75;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* === COMPREHENSIVE MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  /* Container & section paddings */
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 56px 0; }

  /* Nav */
  nav.topnav { padding: 14px 20px; }
  nav.topnav.scrolled { padding: 10px 20px; }
  .logomark svg { height: 22px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 13px; }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); letter-spacing: -0.04em; }
  .hero-sub { font-size: 17px; padding: 0 8px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-canvas { padding: 0 4px; }
  .hero-card { padding: 18px; max-width: 100% !important; }

  /* Hero card breathing pause on mobile to save battery */
  .hero-card { animation: none; }

  /* Section heads */
  .section-head { margin-bottom: 48px; }
  .section-head h2 { font-size: clamp(32px, 8vw, 44px); }
  .risk-pin h2 { font-size: clamp(30px, 7.5vw, 42px); }
  .thesis h2 { font-size: clamp(36px, 9vw, 56px); }
  .legal-claim h2 { font-size: clamp(32px, 8vw, 48px); }
  .managed-card h2 { font-size: clamp(36px, 9vw, 52px); }
  .final-cta h2 { font-size: clamp(40px, 11vw, 64px); padding: 0 8px; }

  /* Risk spread - convert to vertical stack, no sticky */
  .risk-spread-grid { grid-template-columns: 1fr; gap: 40px; }
  .risk-pin { position: relative !important; top: auto !important; padding: 40px 0 0; }
  .risk-scroll { padding: 0; }
  .risk-scene { padding: 24px; margin-bottom: 24px; }
  .risk-scene blockquote { font-size: 18px; }
  .risk-stat-num { font-size: 44px; }

  /* Trinity - smaller */
  .trinity { height: 380px; max-width: 320px; }
  .trinity-node { width: 90px; height: 90px; font-size: 9px; }
  .trinity-node svg { width: 16px; height: 16px; }
  .trinity-core { width: 64px; height: 64px; font-size: 9px; }

  /* Bento - single column always on mobile */
  .bento-grid { grid-template-columns: 1fr !important; height: auto !important; gap: 16px; }
  .bento-card { padding: 28px 22px; }
  .bento-card.large { grid-row: auto !important; }
  .bento-card h3 { font-size: clamp(24px, 6vw, 30px); }

  /* Connection story - already handled by JS as static, but tighten visuals */
  .connection-pin { padding: 40px 0; }
  .connection-canvas { height: 380px; padding: 20px; }
  .canvas-grid { gap: 10px; }
  .canvas-panel { padding: 12px; }
  .panel-label { font-size: 8px; margin-bottom: 8px; }
  .exposure-callout { padding: 12px; }
  .exposure-value { font-size: 18px; }
  .exposure-cta { padding: 8px 12px; font-size: 11px; }
  .beat p { font-size: 18px; }

  /* Claims */
  .claims-stats { gap: 12px; }
  .claims-stat { padding: 28px 20px; }
  .claims-features { gap: 12px; }
  .claims-feature { padding: 22px; }

  /* Managed */
  .managed-card { padding: 40px 24px; transform: none; }

  /* Flow diagram */
  .flow-diagram { padding: 30px 0; }
  .flow-row { gap: 12px; }
  .flow-input, .flow-output { padding: 16px; }
  .flow-input .label, .flow-output .label { font-size: 14px; }
  .flow-bar { padding: 18px 24px; font-size: 17px; margin-bottom: 36px; }
  .audit-bar { padding: 14px 20px; font-size: 11px; }
  .flow-finale { font-size: clamp(22px, 6vw, 30px); }

  /* Modes */
  .modes-grid { gap: 16px; }
  .mode-card { padding: 28px 22px; }

  /* Legal layer tiers */
  .tier { padding: 32px 24px; }
  .tier h4 { font-size: 22px; }

  /* Proof */
  .proof-stats { gap: 40px; margin-bottom: 60px; }
  .proof-num { font-size: clamp(64px, 16vw, 110px); letter-spacing: -0.05em; }
  .testimonial-stage { min-height: 240px; }
  .testimonial blockquote { font-size: clamp(20px, 5.5vw, 26px); padding: 0 4px; }
  .logo-marquee { margin-top: 60px; padding: 24px 0; }

  /* Pricing card */
  .pricing-card { padding: 36px 24px; }

  /* Final CTA */
  .final-cta { min-height: auto; padding: 80px 0; }
  .final-orb { width: 420px; height: 420px; filter: blur(80px); }

  /* Footer */
  footer { padding: 56px 0 32px; }
  .footer-grid { gap: 32px; margin-bottom: 36px; }
  .footer-fine { flex-direction: column; align-items: flex-start; }

  /* Waitlist - widen so the email input is comfortable */
  .waitlist-shell { width: 100%; max-width: 380px; }
  .waitlist-shell.expanded { width: calc(100vw - 40px); max-width: 460px; }
  .waitlist-trigger { font-size: 15px; padding: 0 22px; }

  /* Disable scroll progress bar on mobile - cleaner */
  .scroll-progress { height: 2px; }

  /* Hero parallax on mobile - just kill it for stability */
  .hero-canvas, #hero-headline, #hero-sub, #hero-ctas, .galaxy { transform: none !important; }

  /* Galaxy - lighter on mobile */
  .galaxy { opacity: 0.7; }
  .galaxy-nebula-3, .galaxy-nebula-4 { display: none; }
  .shooting-star { display: none; }
  .galaxy-cluster-2, .galaxy-cluster-3, .galaxy-cluster-4, .galaxy-cluster-5 { display: none; }
}

/* Small mobile (phones under 400px) */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  nav.topnav { padding: 12px 16px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 12px; }
  .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .hero-sub { font-size: 16px; }
  .section-pad { padding: 64px 0; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .bento-card { padding: 24px 18px; }
  .risk-stat-num { font-size: 38px; }
  .proof-num { font-size: clamp(56px, 17vw, 96px); }
  .final-cta h2 { font-size: clamp(36px, 12vw, 56px); }
  .managed-card { padding: 32px 20px; }
  .managed-card h2 { font-size: clamp(32px, 9vw, 44px); }
  .pricing-card { padding: 28px 20px; }
  .perk-list { grid-template-columns: 1fr !important; }
}

/* Touch devices: kill hover effects that don't work well on touch */
@media (hover: none) and (pointer: coarse) {
  .bento-card:hover, .claims-feature:hover, .tier:hover, .mode-card:hover {
    transform: none;
  }
  .hero-card { animation: none; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particle, .scroll-cue svg { animation: none !important; }
}

/* === Post-launch restructure additions (2026-08-28) === */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.page-first { padding-top: 200px; }
a.mode-card { display: block; color: inherit; text-decoration: none; }
a.mode-card .bento-link { margin-top: 24px; display: inline-flex; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.mode-card.gold .bento-link { color: #050B1F; }

.nav-links a[aria-current="page"] { color: var(--text-primary); }

/* Mobile fix (2026-08-29): below 1100px the canvas was pinned to 420px while its
   2-col grid needs more, so panels overflowed and the absolutely-positioned
   exposure callout sat on top of the contract rows. Let it flow instead. */
@media (max-width: 1100px) {
  .connection-canvas { height: auto; }
  .exposure-callout { position: static; margin-top: 16px; }
}

/* === Contact form (2026-08-29) === */
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-row input, .form-row textarea {
  background: var(--bg-elevated); border: 1px solid var(--border-medium); border-radius: 8px;
  padding: 14px 16px; color: var(--text-primary); font-family: var(--sans); font-size: 15px;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { align-self: flex-start; }
.form-status { font-size: 14px; color: var(--text-muted); min-height: 20px; }
.final-cta .contact-form { max-width: 520px; margin: 44px auto 0; text-align: left; }
.contact-form .form-lead { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-bottom: 4px; }
.contact-form.compact .btn { align-self: center; }
