/* ==========================================================================
   TLG | THE LONG GAME REDESIGN STYLE SYSTEM
   Designed by the Top Design Team in the World
   $100M Brand Longevity Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Geist:wght@300;400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,200;0,6..72,300;0,6..72,400;1,6..72,200;1,6..72,300;1,6..72,400&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Layout */
  --nav-height: 76px;

  --bg-obsidian: #0B0C0E; /* Court Black */
  --bg-obsidian-sub: #15181C; /* Slate */
  --bg-card: rgba(21, 24, 28, 0.65); /* Slate transparent */
  --bg-card-hover: rgba(21, 24, 28, 0.85);

  /* Brand Highlight Colors */
  --color-cyber-lime: #00E07A; /* Recovery Green */
  --color-cyber-lime-rgb: 0, 224, 122;
  --color-neon-teal: #00E07A; /* Aliased back to single-accent Recovery Green */
  --color-neon-teal-rgb: 0, 224, 122;
  --color-titanium: #F0F2F1; /* Chalk */
  --color-bone: #EEEADF; /* Bone */
  --color-platinum: #E4E4E7;
  --color-muted: #8E8E93;
  --color-faint: #3A3A3C;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(0, 224, 122, 0.35);

  /* Brand aliases — used throughout index.html, were silently undefined */
  --color-rule: rgba(255, 255, 255, 0.08);
  --color-slate: #15181C;
  --color-chalk: #F0F2F1;

  /* Functional Status Colors */
  --color-coral: #FF3B30;
  --color-coral-rgb: 255, 59, 48;
  --color-emerald: #00E07A;

  /* Typography */
  --font-brand: 'Newsreader', Georgia, serif;
  --font-editorial: 'Newsreader', Georgia, serif;
  --font-ui: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --font-data: 'Geist Mono', monospace; /* alias used in inline styles */

  /* Utilities */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pneumatic: cubic-bezier(0.16, 1, 0.3, 1); /* consolidated alias */
  --transition-slow: 0.6s var(--ease-premium);
  --transition-fast: 0.22s var(--ease-premium);
  --transition-hover: 0.18s var(--ease-premium);
  --glow-shadow: 0 0 30px rgba(0, 224, 122, 0.12); /* Recovery Green */
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));

  /* Enhanced physical glass & luxury UX tokens */
  --glass-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  --border-chamfer: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-prestige: 0 4px 30px rgba(0, 0, 0, 0.6), 0 20px 50px rgba(0, 0, 0, 0.4);
  --ease-pneumatic: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Scroll System --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* scroll-behavior removed — native scroll is sharper for editorial */
  background-color: var(--bg-obsidian);
  color: var(--color-titanium);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-obsidian);
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================================
   SCROLL-DRIVEN REVEAL SYSTEM
   Editorial restraint — translateY 16px, fade, 80ms stagger.
   No bounce, no overshoot. Linear/Vercel cadence.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal[data-stagger="1"] { transition-delay: 80ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 320ms; }
.reveal[data-stagger="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Hero film canplay fade — no hard cut on byte arrival */
.hero-film {
  opacity: 0;
  transition: opacity 0.9s var(--ease-premium);
}
.hero-film.ready { opacity: 1; }

/* Custom Telemetry Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--color-faint);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyber-lime);
}

::selection {
  background: var(--color-cyber-lime);
  color: var(--bg-obsidian);
}

/* --- Layout Systems --- */
.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 2;
}

.wrap-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .wrap { padding: 0 1.5rem; }
  .wrap-narrow { padding: 0 1rem; }
}

/* --- Ambient Glowing Fields (Drifting Bio-Atmosphere) --- */
.ambient-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
  will-change: transform;
}

.blob-green-top {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-cyber-lime) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: driftSlow 25s infinite alternate ease-in-out;
}

/* Violet blob killed — single-accent discipline */
.blob-violet-mid {
  display: none;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-cyber-lime) 0%, transparent 70%);
  top: 35%;
  right: -5%;
  animation: driftSlow 30s infinite alternate-reverse ease-in-out;
}

.blob-green-bottom {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-neon-teal) 0%, transparent 70%);
  bottom: 5%;
  left: -5%;
  animation: driftSlow 28s infinite alternate ease-in-out;
}

@keyframes driftSlow {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, -40px) scale(1.15) rotate(180deg); }
  100% { transform: translate(-30px, 80px) scale(0.9) rotate(360deg); }
}

/* --- Typography Utilities --- */
/* Newsreader Light editorial — italic emphasis carries weight, not synthetic bold. */
h1, h2, h3, h4, .font-brand {
  font-family: var(--font-brand);
  letter-spacing: -0.025em;
  font-weight: 300;
}
h1 { font-weight: 300; }
h2, h3 { font-weight: 400; }
h4 { font-weight: 500; }

.serif {
  font-family: var(--font-editorial);
  font-weight: 300;
}

.it {
  font-style: italic;
}

/* Single-accent discipline — solid Recovery Green, no gradient. */
.accent-text {
  color: var(--color-cyber-lime);
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-cyber-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyber-lime);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.25rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-lime {
  background-color: var(--color-cyber-lime);
  color: var(--bg-obsidian);
}

.btn-lime:hover {
  background-color: var(--color-titanium);
  box-shadow: 0 0 35px rgba(var(--color-cyber-lime-rgb), 0.35);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-titanium);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-cyber-lime);
  color: var(--color-cyber-lime);
  transform: translateY(-2px);
}

/* --- Editorial Navigation Header --- */
header.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg,
    rgba(11, 12, 14, 0.96) 0%,
    rgba(11, 12, 14, 0.96) 75%,
    rgba(11, 12, 14, 0.82) 100%);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color 0.28s var(--ease-premium), border-color 0.28s var(--ease-premium), padding 0.28s var(--ease-premium);
}

header.navigation.scrolled {
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--color-rule);
}

header.navigation .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  transition: padding 0.28s var(--ease-premium);
}

header.navigation.scrolled .nav-container {
  padding: 0.85rem 0;
}

/* --- Logo / wordmark --- */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-chalk);
  transition: opacity 0.2s var(--ease-premium);
}
.logo-link:hover { opacity: 0.78; }

.logo-link .wordmark {
  display: block;
  width: 168px;
  height: 32px;
  overflow: visible;
}
header.navigation.scrolled .logo-link .wordmark {
  width: 150px;
  height: 28px;
  transition: width 0.28s var(--ease-premium), height 0.28s var(--ease-premium);
}

/* --- Nav links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 242, 241, 0.62);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease-premium);
}

.nav-links a:not(.btn) span {
  display: inline-block;
  position: relative;
}

/* Underline hover — draws from left, single hairline in Recovery Green */
.nav-links a:not(.btn) span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--color-cyber-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease-premium);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--color-chalk);
}
.nav-links a:not(.btn):hover span::after,
.nav-links a:not(.btn).active span::after {
  transform: scaleX(1);
}

/* --- Nav CTA button — editorial pill, restrained --- */
.btn-nav {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-chalk);
  text-decoration: none;
  padding: 0.72rem 1.35rem;
  border: 1px solid rgba(0, 224, 122, 0.4);
  border-radius: 999px;
  background: rgba(0, 224, 122, 0.04);
  transition: border-color 0.22s var(--ease-premium), background-color 0.22s var(--ease-premium), color 0.22s var(--ease-premium);
}
.btn-nav:hover {
  border-color: var(--color-cyber-lime);
  background: rgba(0, 224, 122, 0.1);
  color: var(--color-cyber-lime);
}

/* ============================================================
   FULL-BLEED HERO — video carries the emotional thesis
   ============================================================ */
.hero-fullbleed {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 760px;
  max-height: 920px;
  overflow: hidden;
  background: var(--bg-obsidian);
}
.hero-film-bleed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-premium);
}
.hero-film-bleed.ready { opacity: 1; }

/* Vertical gradient — transparent at top, Court Black at the type baseline */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 12, 14, 0.55) 0%,
      rgba(11, 12, 14, 0.18) 22%,
      rgba(11, 12, 14, 0.30) 52%,
      rgba(11, 12, 14, 0.82) 82%,
      rgba(11, 12, 14, 0.96) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bleed-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height, 76px) + 60px);
  padding-bottom: 7vh;
  overflow: hidden;
}

.hero-bleed-stack {
  max-width: 720px;
  /* Text lands instantly on first paint — video carries the motion */
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(240, 242, 241, 0.62);
  margin-bottom: 1.6rem;
  display: inline-block;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0, 224, 122, 0.45);
}

.hero-bleed-h1 {
  font-family: var(--font-brand);
  font-weight: 200;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-chalk);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-bleed-lede {
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(240, 242, 241, 0.88);
  max-width: 56ch;
  margin-bottom: 2.2rem;
}
.hero-bleed-lede strong { color: var(--color-cyber-lime); font-weight: 400; }

.hero-fullbleed .hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  right: 2.4rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 242, 241, 0.55);
  text-decoration: none;
  transition: color 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
}
.hero-scroll-cue svg { animation: scrollCueBob 2.6s var(--ease-premium) infinite; }
.hero-scroll-cue:hover { color: var(--color-cyber-lime); transform: translateY(-2px); }
@keyframes scrollCueBob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(4px); opacity: 1; }
}

@media (max-width: 768px) {
  .hero-fullbleed { height: 92vh; min-height: 580px; }
  .hero-bleed-content { padding-bottom: 5.5vh; padding-left: 1.4rem; padding-right: 1.4rem; }
  .hero-scroll-cue { right: 1.2rem; bottom: 1.6rem; }
  .hero-bleed-h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  /* Stronger scrim on mobile — small screens need the contrast */
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(11, 12, 14, 0.65) 0%,
        rgba(11, 12, 14, 0.30) 30%,
        rgba(11, 12, 14, 0.55) 60%,
        rgba(11, 12, 14, 0.93) 88%,
        rgba(11, 12, 14, 1) 100%);
  }
  .hero-bleed-lede { font-size: 0.95rem; line-height: 1.55; }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-chalk);
  padding: 8px;
  position: relative;
  z-index: 1010;
  transition: color 0.2s var(--ease-premium);
}
.mobile-menu-toggle:hover { color: var(--color-cyber-lime); }

/* Mobile drawer — full-screen, dark, editorial */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1005;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 5.5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-premium);
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer .mobile-link {
  font-family: var(--font-brand);
  font-weight: 200;
  font-size: 2.2rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-chalk);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-rule);
  transition: color 0.2s var(--ease-premium), padding-left 0.2s var(--ease-premium);
}
.mobile-drawer .mobile-link:hover,
.mobile-drawer .mobile-link:active {
  color: var(--color-cyber-lime);
  padding-left: 0.4rem;
}
.mobile-drawer .mobile-cta {
  margin-top: 1.8rem;
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 0.95rem 1.6rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-drawer { display: flex; }
  .logo-link .wordmark { width: 144px; height: 28px; }
}
body.menu-open { overflow: hidden; }

/* --- Hero Section --- */
section.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 40% at 50% 60%, rgba(var(--color-cyber-lime-rgb), 0.03), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero-left p {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--color-platinum);
  margin-bottom: 3rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.metric-panel {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.5s var(--ease-pneumatic);
}

.metric-panel:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 40px rgba(0, 224, 122, 0.08), var(--border-chamfer);
  transform: translateY(-4px);
}

.metric-panel .value {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-panel .label {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

/* Key Visual Container */
.hero-right {
  position: relative;
}

.visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 1 / 1;
}

.visual-frame img,
.visual-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  display: block;
}

.visual-frame:hover img {
  transform: scale(1.03);
}

.visual-frame video.hero-film {
  /* Slight zoom keeps composition tight despite 16:9 → 1:1 crop */
  transform: scale(1.02);
}

.visual-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0) 60%, rgba(8, 8, 10, 0.85) 100%);
  pointer-events: none;
}

.visual-overlay-telemetry {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(8, 8, 10, 0.75);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-family: var(--font-brand);
  color: var(--color-cyber-lime);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.telemetry-body {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-titanium);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-left p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-right { max-width: 500px; margin: 0 auto; }
}

/* --- Section Formatting --- */
section.sec {
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.sec-header {
  margin-bottom: 4.5rem;
  text-align: center;
}

.sec-header h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.15;
  max-width: 25ch;
  margin: 0 auto;
}

.stick-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.stick-side {
  position: sticky;
  top: 120px;
}

.body-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  color: var(--color-platinum);
}

.body-lg strong {
  font-weight: 600;
  color: var(--color-titanium);
}

@media (max-width: 900px) {
  .stick-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stick-side { position: relative; top: 0; }
}

/* --- Large Telemetry Number Block (The Copenhagen Case) --- */
.telemetry-bignum-wrap {
  text-align: center;
  padding: 3rem 0;
  background: radial-gradient(circle at center, rgba(var(--color-cyber-lime-rgb), 0.05), transparent 60%);
}

.telemetry-bignum {
  font-family: var(--font-brand);
  font-size: clamp(7rem, 20vw, 18rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.8;
  color: var(--color-cyber-lime);
  filter: drop-shadow(0 0 40px rgba(var(--color-cyber-lime-rgb), 0.18));
}

.telemetry-bignum-label {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin-top: 1.5rem;
}

/* --- Biometric Simulator v2 (Calculator Redesign) --- */
.simulator-panel {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-pneumatic);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.sim-output-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Premium Biometric Circular Meter */
.circular-meter {
  position: relative;
  width: 260px;
  height: 260px;
  margin-bottom: 2rem;
}

.circular-meter svg {
  transform: rotate(-90deg);
}

.meter-track {
  stroke: var(--color-faint);
}

.meter-fill {
  stroke: url(#cyberGrad);
  stroke-dasharray: 691;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(var(--color-cyber-lime-rgb), 0.4));
}

.meter-fill.warning {
  stroke: url(#coralGrad);
  filter: drop-shadow(0 0 8px rgba(var(--color-coral-rgb), 0.4));
}

.meter-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meter-value {
  font-family: var(--font-brand);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-cyber-lime);
  transition: color 0.4s;
}

.meter-value.warning {
  color: var(--color-coral);
}

.meter-label {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

.sim-retained-bar-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.sim-retained-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-cyber-lime), var(--color-neon-teal));
  box-shadow: 0 0 15px var(--color-cyber-lime);
  transition: width 0.8s var(--ease-premium);
}

.sim-retained-bar.warning {
  background: linear-gradient(90deg, var(--color-coral), #FF8866);
  box-shadow: 0 0 15px var(--color-coral);
}

/* Biometric Diagnostic text */
.biometric-diagnostics {
  font-family: var(--font-editorial);
  font-size: 1.3rem;
  color: var(--color-titanium);
  min-height: 80px;
  transition: color 0.4s;
}

.biometric-diagnostics.warn {
  color: var(--color-coral);
}

/* Interactive Slider Panel */
.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.slider-labels .val {
  color: var(--color-cyber-lime);
}

/* High-End Telemetry Slider CSS */
.premium-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-faint);
  outline: none;
  transition: var(--transition-fast);
}

.premium-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-cyber-lime);
  cursor: pointer;
  border: 4px solid var(--bg-obsidian);
  box-shadow: 0 0 15px var(--color-cyber-lime);
  transition: var(--transition-fast);
}

.premium-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sim-injury-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.injury-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.injury-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.injury-card.active {
  border-color: var(--color-coral);
  background: rgba(255, 59, 48, 0.08);
}

.injury-card .info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.injury-card .name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-titanium);
}

.injury-card.active .name {
  color: #FFA39E;
}

.injury-card .cost {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-muted);
}

.injury-card.active .cost {
  color: var(--color-coral);
}

.injury-card .status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-faint);
  transition: var(--transition-fast);
}

.injury-card.active .status-indicator {
  background-color: var(--color-coral);
  border-color: var(--color-coral);
  box-shadow: 0 0 10px var(--color-coral);
}

.sim-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.btn-reset {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}

.btn-reset:hover {
  color: var(--color-cyber-lime);
}

@media (max-width: 1024px) {
  .simulator-panel { padding: 2rem; }
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 500px) {
  .sim-injury-grid { grid-template-columns: 1fr; }
}

/* --- App-Style Protocol Explorer --- */
.explorer-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.explorer-tab {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.2rem 2.2rem;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.explorer-tab:hover {
  border-color: var(--color-border-hover);
  color: var(--color-titanium);
}

.explorer-tab.active {
  background: var(--color-cyber-lime);
  color: var(--bg-obsidian);
  border-color: var(--color-cyber-lime);
  box-shadow: var(--glow-shadow);
}

.protocol-view {
  display: none;
  animation: fadeIn 0.8s var(--ease-premium);
}

.protocol-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.protocol-card {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.5s var(--ease-pneumatic);
  position: relative;
  overflow: hidden;
}

.protocol-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 40px rgba(0, 224, 122, 0.08), var(--border-chamfer);
  transform: translateY(-4px);
}

.protocol-card .card-number {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  color: var(--color-cyber-lime);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.protocol-card h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-titanium);
}

.protocol-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.protocol-card .resilience-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.protocol-card .resilience-list li {
  font-size: 0.85rem;
  color: var(--color-platinum);
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.protocol-card .resilience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyber-lime);
  box-shadow: 0 0 6px var(--color-cyber-lime);
}

@media (max-width: 1024px) {
  .protocol-grid { grid-template-columns: 1fr; }
  .explorer-tabs-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .explorer-tab {
    padding: 0.8rem 1.4rem;
    font-size: 0.75rem;
    flex: 1 1 30%;
    text-align: center;
  }
}

/* --- Interactive Evidence Hub (Scientific Citations) --- */
.science-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.science-filter-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  border-radius: 20px;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.science-filter-btn:hover {
  color: var(--color-titanium);
  border-color: var(--color-muted);
}

.science-filter-btn.active {
  background: rgba(0, 224, 122, 0.1);
  color: var(--color-cyber-lime);
  border-color: var(--color-cyber-lime);
}

.citations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.citation-card {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.5s var(--ease-pneumatic);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.citation-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 40px rgba(0, 224, 122, 0.08), var(--border-chamfer);
  transform: translateY(-4px);
}

.citation-card.filtered-out {
  display: none;
}

.citation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.citation-stat {
  font-family: var(--font-brand);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-cyber-lime);
}

.citation-sparkline {
  width: 140px;
  height: 48px;
  opacity: 0.85;
}

.citation-sparkline svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.citation-sparkline path.line {
  stroke: var(--color-cyber-lime);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.citation-sparkline path.area {
  fill: url(#sparkGrad);
}

.citation-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-platinum);
  margin-bottom: 2rem;
}

.citation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.citation-source {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.citation-badge {
  font-family: var(--font-brand);
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .citations-grid { grid-template-columns: 1fr; }
  .science-filters { flex-wrap: wrap; }
}

/* --- Dr. Joe's Timeline (Elite Credentials) --- */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-faint);
  transform: translateX(-50%);
}

.timeline-node {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 4rem;
}

.timeline-node:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 44%;
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.5s var(--ease-pneumatic);
}

.timeline-content:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 40px rgba(0, 224, 122, 0.08), var(--border-chamfer);
  transform: translateY(-4px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  border: 2px solid var(--color-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.timeline-node:hover .timeline-dot {
  border-color: var(--color-cyber-lime);
  box-shadow: 0 0 12px var(--color-cyber-lime);
}

.timeline-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-faint);
  transition: var(--transition-fast);
}

.timeline-node:hover .timeline-dot::after {
  background: var(--color-cyber-lime);
}

.timeline-year {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-cyber-lime);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .timeline-line { left: 24px; }
  .timeline-node {
    flex-direction: row !important;
    margin-bottom: 3rem;
  }
  .timeline-content { width: 85%; margin-left: 3rem; }
  .timeline-dot { left: 24px; transform: translateX(-50%); }
}

/* --- 3Dperspective Book Spotlight --- */
.book-spotlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* CSS 3Dperspective Book Container */
.book-perspective-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.book-3d-box {
  position: relative;
  width: 280px;
  height: 380px;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.8s var(--ease-premium);
  cursor: pointer;
}

.book-perspective-stage:hover .book-3d-box {
  transform: rotateY(-5deg) rotateX(5deg) scale(1.03);
}

.book-side {
  position: absolute;
  inset: 0;
  border-radius: 8px 12px 12px 8px;
  overflow: hidden;
  box-shadow: 15px 25px 50px rgba(0, 0, 0, 0.7);
}

.book-cover-front {
  transform: translateZ(12px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.book-cover-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Book Spine (3D Depth Effect) */
.book-spine-depth {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px; /* Thickness matches translateZ */
  height: 100%;
  background: linear-gradient(90deg, #121214, #1D1D22);
  transform: rotateY(-90deg) translateZ(12px);
  transform-origin: left center;
  z-index: 1;
}

.book-pages-side {
  position: absolute;
  top: 4px;
  right: 0;
  width: 20px;
  height: calc(100% - 8px);
  background: repeating-linear-gradient(90deg, #e4e4e7, #e4e4e7 1px, #16161a 1px, #16161a 3px);
  transform: rotateY(90deg) translateZ(268px);
  border-radius: 0 4px 4px 0;
  box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Accordion Component */
.accordion-wrapper {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-titanium);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  color: var(--color-cyber-lime);
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--color-muted);
  transition: transform 0.4s var(--ease-premium);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--color-cyber-lime);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-premium);
}

.accordion-item.active .accordion-content {
  max-height: 250px;
}

.accordion-content-inner {
  padding: 0 2rem 1.5rem 2rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-muted);
  border-top: 1px solid transparent;
}

@media (max-width: 900px) {
  .book-spotlight-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .book-perspective-stage { order: -1; }
}

/* --- Interactive FAQ Modal / Work Section --- */
section.cta-footer {
  text-align: center;
  padding: 10rem 0;
  background: radial-gradient(circle at center, rgba(var(--color-neon-teal-rgb), 0.05), transparent 70%);
}

section.cta-footer h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto 2.5rem;
}

section.cta-footer p {
  color: var(--color-platinum);
  margin-bottom: 3.5rem;
}

/* --- Footer Area --- */
footer.premium-footer {
  background-color: var(--bg-obsidian-sub);
  border-top: 1px solid var(--color-border);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-titanium);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-cyber-lime);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.8;
}

.footer-bottom p {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .footer-links-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TLG Premium Glassmorphism, Mouse Spotlight, and Perspective Mesh
   ========================================================================== */

.glass-premium {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.5s var(--ease-pneumatic);
}

.glass-premium:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 40px rgba(0, 224, 122, 0.08), var(--border-chamfer);
  transform: translateY(-4px);
}

/* Hero grid mesh + mouse spotlight disabled — tech-startup tells, dropped for editorial restraint */
.hero-grid-mesh { display: none; }
.mouse-spotlight { display: none; }

/* ==========================================================================
   TLG High-Persuasion Clinical Section Styling
   ========================================================================== */

.tlg-telemetry-label {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.tlg-editorial-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: var(--color-titanium);
}

.tlg-glow-text {
  color: var(--color-cyber-lime);
  text-shadow: 0 0 20px rgba(0, 224, 122, 0.2);
}

.tlg-body-technical {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-platinum);
  margin-bottom: 2rem;
  font-weight: 300;
}

.tlg-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.tlg-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tlg-metric-box:hover {
  border-color: var(--color-cyber-lime);
  background: rgba(0, 224, 122, 0.02);
}

.tlg-metric-num {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-cyber-lime);
  margin-bottom: 0.5rem;
}

.tlg-metric-lbl {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tlg-body-clinical-fine {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.tlg-editorial-quote {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-style: italic;
  border-left: 2px solid var(--color-cyber-lime);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  color: var(--color-titanium);
}

.tlg-quote-author {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.tlg-biometric-list {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.tlg-biometric-list li {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--color-platinum);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.tlg-biometric-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyber-lime);
  box-shadow: 0 0 6px var(--color-cyber-lime);
}

.tlg-lime-text {
  color: var(--color-cyber-lime);
  font-weight: 600;
}

/* steppers styling */
.tlg-pathway-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.tlg-pathway-step {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: 12px;
  align-items: center;
  transition: all 0.3s ease;
}

.tlg-pathway-step:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.tlg-step-num {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cyber-lime);
  border: 1px solid rgba(0, 224, 122, 0.3);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0, 224, 122, 0.05);
}

.tlg-step-text {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-platinum);
}

.tlg-callout-box {
  background: rgba(0, 224, 122, 0.04);
  border: 1px solid rgba(0, 224, 122, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-platinum);
  margin-top: 2rem;
}

.tlg-science-card, .tlg-joint-card, .tlg-neuro-card {
  margin-top: 2rem;
  width: 100%;
}

/* ==========================================================================
   TLG Daily Readiness HUD Widget Styles
   ========================================================================== */

.hud-panel {
  margin-top: 3rem;
  padding: 3rem;
  border-radius: 24px;
}

.hud-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .hud-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hud-section-title {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-section-title span.badge {
  color: var(--color-cyber-lime);
  font-size: 0.75rem;
  border: 1px solid rgba(0, 224, 122, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 224, 122, 0.05);
}

.hud-controls {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.hud-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hud-input-label {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-titanium);
  display: flex;
  justify-content: space-between;
}

.hud-input-label span.value-readout {
  color: var(--color-cyber-lime);
}

.hud-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Checklist and custom selectors */
.hud-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hud-checkbox-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 10px;
  color: var(--color-platinum);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease-pneumatic);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hud-checkbox-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.hud-checkbox-btn.selected {
  border-color: var(--color-cyber-lime);
  background: rgba(0, 224, 122, 0.05);
  color: var(--color-titanium);
}

.hud-checkbox-btn.selected .checkbox-dot {
  background: var(--color-cyber-lime);
  box-shadow: 0 0 10px var(--color-cyber-lime);
}

.checkbox-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-faint);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Binary Switch Group */
.hud-switch-group {
  display: flex;
  gap: 1.5rem;
}

.hud-switch-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 10px;
  color: var(--color-muted);
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-pneumatic);
}

.hud-switch-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hud-switch-btn.active {
  border-color: var(--color-cyber-lime);
  background: rgba(0, 224, 122, 0.05);
  color: var(--color-titanium);
  box-shadow: 0 0 20px rgba(0, 224, 122, 0.05);
}

.hud-switch-btn.active.warn-red {
  border-color: var(--color-coral);
  background: rgba(255, 59, 48, 0.08);
  color: var(--color-titanium);
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.05);
}

/* URS Scorecard Output styles */
.hud-output-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.urs-ring-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
}

.urs-ring-container svg {
  transform: rotate(-90deg);
}

.urs-ring-track {
  stroke: var(--color-faint);
}

.urs-ring-fill {
  stroke: url(#cyberGrad);
  stroke-dasharray: 565;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s var(--ease-pneumatic);
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(var(--color-cyber-lime-rgb), 0.35));
}

.urs-ring-fill.warn-yellow {
  stroke: #FFD100;
  filter: drop-shadow(0 0 10px rgba(255, 209, 0, 0.35));
}

.urs-ring-fill.warn-red {
  stroke: var(--color-coral);
  filter: drop-shadow(0 0 10px rgba(var(--color-coral-rgb), 0.35));
}

.urs-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.urs-score {
  font-family: var(--font-brand);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-titanium);
}

.urs-label {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.urs-status-badge {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}

.urs-status-badge.green {
  background: rgba(48, 209, 88, 0.1);
  border-color: rgba(48, 209, 88, 0.2);
  color: var(--color-emerald);
}

.urs-status-badge.yellow {
  background: rgba(255, 209, 0, 0.1);
  border-color: rgba(255, 209, 0, 0.2);
  color: #FFD100;
}

.urs-status-badge.red {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.2);
  color: var(--color-coral);
}

.urs-clinical-advice {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-platinum);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.urs-action-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ==========================================================================
   TLG Age-Banded Strength & Balance Explorer Styles
   ========================================================================== */

.explorer-subheading {
  text-align: center;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyber-lime);
  margin-top: -3.5rem;
  margin-bottom: 3.5rem;
}

.age-tabs-bar {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 0.4rem;
  border-radius: 14px;
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.age-tabs-bar::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.age-tab {
  flex: 1;
  min-width: 110px;
  background: transparent;
  border: none;
  padding: 1rem 0.5rem;
  border-radius: 10px;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-pneumatic);
  text-align: center;
}

.age-tab:hover {
  color: var(--color-titanium);
  background: rgba(255, 255, 255, 0.02);
}

.age-tab.active {
  background: rgba(0, 224, 122, 0.06);
  border: 1px solid rgba(0, 224, 122, 0.15);
  color: var(--color-cyber-lime);
}

.age-tab-num {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.age-tab-label {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.age-explorer-content {
  display: none;
}

.age-explorer-content.active {
  display: block;
}

.age-content-header {
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--color-cyber-lime);
  padding-left: 1.5rem;
}

.age-content-header h3 {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-titanium);
  margin-bottom: 0.5rem;
}

.age-content-header p {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--color-platinum);
  font-weight: 300;
}

.age-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.age-accordion-item {
  background: linear-gradient(135deg, rgba(15, 15, 19, 0.7) 0%, rgba(8, 8, 10, 0.9) 100%), var(--glass-noise);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-prestige), var(--border-chamfer);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  transition: all 0.4s var(--ease-pneumatic);
}

.age-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.age-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.age-header-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.age-header-num {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.age-accordion-item.active .age-header-num {
  color: var(--color-cyber-lime);
  border-color: rgba(0, 224, 122, 0.3);
  background: rgba(0, 224, 122, 0.05);
}

.age-header-text h4 {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-titanium);
}

.age-accordion-icon {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-muted);
  transition: transform 0.4s var(--ease-pneumatic);
}

.age-accordion-item.active .age-accordion-icon {
  transform: rotate(45deg);
  color: var(--color-cyber-lime);
}

.age-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-pneumatic);
}

.age-accordion-item.active .age-accordion-content {
  max-height: 800px;
}

.age-accordion-inner {
  padding: 0 2rem 2rem 5.25rem;
  border-top: 1px solid transparent;
}

.age-accordion-item.active .age-accordion-inner {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.age-exercises-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.age-exercises-box h5 {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cyber-lime);
  margin-bottom: 1rem;
}

.age-exercises-list {
  list-style: none;
}

.age-exercises-list li {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--color-platinum);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.age-exercises-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--color-cyber-lime);
}

.age-coach-box {
  background: rgba(255, 255, 255, 0.01);
  border-left: 3px solid var(--color-muted);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.age-accordion-item.active .age-coach-box {
  border-left-color: var(--color-cyber-lime);
}

.age-coach-title {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.age-accordion-item.active .age-coach-title {
  color: var(--color-cyber-lime);
}

.age-coach-desc {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-platinum);
}

/* Annual Assessment Drawer Callout */
.clinical-callout-drawer {
  margin-top: 3.5rem;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 900px) {
  .clinical-callout-drawer {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }
}

.callout-drawer-left {
  flex: 1;
}

.callout-drawer-badge {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cyber-lime);
  background: rgba(0, 224, 122, 0.08);
  border: 1px solid rgba(0, 224, 122, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.callout-drawer-left h4 {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-titanium);
  margin-bottom: 0.5rem;
}

.callout-drawer-left p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-platinum);
}

.callout-drawer-right {
  flex-shrink: 0;
}

/* --- Sovereign Registry Modal --- */
.registry-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-premium);
  padding: 1.5rem;
}

.registry-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.registry-modal {
  background: rgba(15, 15, 19, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-prestige);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s var(--ease-premium);
  overflow: hidden;
}

.registry-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-noise);
  pointer-events: none;
  opacity: 0.5;
}

.registry-modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyber-lime), var(--color-neon-teal));
}

.registry-modal-backdrop.active .registry-modal {
  transform: translateY(0) scale(1);
}

.registry-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--ease-premium);
}

.registry-modal-close:hover {
  color: var(--color-cyber-lime);
  border-color: rgba(0, 224, 122, 0.3);
  background: rgba(0, 224, 122, 0.05);
}

.registry-modal h3 {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-titanium);
}

.registry-modal p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.registry-form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.registry-form-label {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.registry-form-input,
select.registry-form-input,
textarea.registry-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--color-titanium);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-premium);
  -webkit-appearance: none;
  appearance: none;
}
textarea.registry-form-input { resize: vertical; min-height: 96px; line-height: 1.5; }
select.registry-form-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%2300E07A' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}
select.registry-form-input option { background: var(--bg-obsidian-sub); color: var(--color-titanium); }

.registry-form-input:focus {
  outline: none;
  border-color: var(--color-cyber-lime);
  box-shadow: 0 0 15px rgba(0, 224, 122, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.registry-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.registry-success-state.active {
  display: block;
}

.registry-success-state svg {
  color: var(--color-cyber-lime);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 224, 122, 0.3));
}

.registry-success-state h4 {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-titanium);
}

.registry-success-state p {
  margin-bottom: 0;
}

/* ==========================================================================
   TLG BIOMECHANICAL CYBER-SILHOUETTE SCANNER & E2E ALIAS STYLES
   ========================================================================== */

@keyframes tech-pulse {
  0% { opacity: 0.3; r: 12px; }
  50% { opacity: 0.7; r: 16px; }
  100% { opacity: 0.3; r: 12px; }
}

.tech-ring {
  transition: all 0.3s var(--ease-premium);
}

.joint-node-group.active .tech-ring {
  animation: tech-pulse 3s ease-in-out infinite;
  stroke: var(--color-cyber-lime) !important;
  opacity: 0.8 !important;
}

.clinical-override-active .joint-node-group.active .tech-ring {
  stroke: var(--color-coral) !important;
}

.joint-node {
  transition: transform 0.3s var(--ease-premium), stroke 0.3s, fill 0.3s;
}

.joint-node.active {
  fill: var(--color-cyber-lime) !important;
  stroke: var(--color-cyber-lime) !important;
  filter: drop-shadow(0 0 8px rgba(0, 224, 122, 0.6));
}

.clinical-override-active .joint-node.active {
  fill: var(--color-coral) !important;
  stroke: var(--color-coral) !important;
  filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.6));
}

/* Bi-directional state highlight for checklist buttons */
.hud-checkbox-btn.selected {
  border-color: var(--color-cyber-lime) !important;
  color: var(--color-cyber-lime) !important;
  background: rgba(0, 224, 122, 0.05) !important;
}

.clinical-override-active .hud-checkbox-btn.selected {
  border-color: var(--color-coral) !important;
  color: var(--color-coral) !important;
  background: rgba(255, 59, 48, 0.05) !important;
}

/* E2E Compatibility Aliases */
.raised-panel, .metric-panel, .simulator-panel {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-fast);
}

.clinical-override-active .raised-panel,
.clinical-override-active .metric-panel,
.clinical-override-active .simulator-panel,
.clinical-override-active .telemetry-card {
  border-color: rgba(255, 59, 48, 0.15) !important;
}

/* Pulsing text during warning status */
.clinical-override-active .color-coral {
  color: var(--color-coral) !important;
}



