:root {
  --bg-void: #04070d;
  --bg-surface: #080f1d;
  --bg-elevated: rgba(11, 20, 36, 0.88);
  --border-dim: rgba(0, 240, 255, 0.16);
  --border-bright: rgba(0, 240, 255, 0.48);
  --border-magenta: rgba(255, 46, 147, 0.38);
  --cyan: #00f0ff;
  --emerald: #00ff9d;
  --magenta: #ff2e93;
  --amber: #ffb800;
  --text-primary: #eef6ff;
  --text-secondary: #bad0e6;
  --text-muted: #88a4bf;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --glow-cyan: 0 0 22px rgba(0, 240, 255, 0.22);
  --glow-emerald: 0 0 22px rgba(0, 255, 157, 0.24);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(0, 240, 255, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 40% at 88% 12%, rgba(255, 46, 147, 0.07), transparent 58%),
    linear-gradient(180deg, #04070d 0%, #070e1b 55%, #04070d 100%);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 32px;
  }
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 2px,
    rgba(0, 240, 255, 0.014) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
}

.hud-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

/* Top Telemetry Header */
.telemetry-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-sigil {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.desktop-nav a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.desktop-nav a:hover {
  color: var(--cyan);
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-cta {
  background: var(--emerald);
  color: #03110b;
  border-color: var(--emerald);
  box-shadow: var(--glow-emerald);
}

.btn-cta:hover {
  background: #2bffae;
  box-shadow: 0 0 28px rgba(0, 255, 157, 0.38);
}

.btn-outline {
  background: rgba(0, 240, 255, 0.06);
  color: var(--cyan);
  border-color: var(--border-bright);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.14);
  box-shadow: var(--glow-cyan);
}

.btn-magenta {
  background: rgba(255, 46, 147, 0.1);
  color: #ff77ba;
  border-color: var(--border-magenta);
}

.btn-magenta:hover {
  background: rgba(255, 46, 147, 0.2);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
}

.tag-cyan {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.tag-emerald {
  color: var(--emerald);
  background: rgba(0, 255, 157, 0.09);
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.tag-magenta {
  color: #ff77ba;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.32);
}

/* Hero Section */
.hero {
  padding: 32px 0 44px;
  border-bottom: 1px solid var(--border-dim);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }
}

.terminal-kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 .accent-cyan {
  color: var(--cyan);
}

.hero h1 .accent-magenta {
  color: var(--magenta);
}

.hero-definition {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 58ch;
}

.hero-definition strong {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.telemetry-strip span strong {
  color: var(--text-primary);
}

/* Hero Banner Media Frame */
.banner-frame {
  position: relative;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #03060c;
  box-shadow: var(--glow-cyan);
}

.banner-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
}

.banner-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(4, 7, 13, 0.94);
  border-top: 1px solid var(--border-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.banner-hud-bar .live-tag {
  color: var(--emerald);
  font-weight: 700;
}

/* Section Layout (No Cards Everywhere) */
.hud-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border-dim);
}

.section-header {
  margin-bottom: 28px;
}

.section-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 68ch;
  font-size: 1.12rem;
  line-height: 1.65;
}

/* Featured Protocol Module (Interactive Conversion Container) */
.protocol-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--glow-cyan);
}

@media (min-width: 820px) {
  .protocol-panel {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 32px;
  }
}

.protocol-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.protocol-panel h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.protocol-copy {
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.68;
  margin-bottom: 18px;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.spec-list li .icon {
  color: var(--emerald);
  margin-top: 3px;
}

.protocol-action-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 255, 157, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(4, 12, 20, 0.9);
}

.action-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-dim);
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.action-stat-row span:first-child {
  color: var(--text-muted);
}

.action-stat-row span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.science-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 184, 0, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(255, 184, 0, 0.05);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.science-note strong {
  color: var(--amber);
}

/* Comparison Table (AI SEO Extractable Structure) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
}

.hud-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.04rem;
  text-align: left;
}

.hud-table th {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.06);
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-dim);
}

.hud-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text-secondary);
}

.hud-table tr:last-child td {
  border-bottom: none;
}

.hud-table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* Editorial Split Columns for Observer Dossiers */
.dossier-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .dossier-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.dossier-entry {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 480px) {
  .dossier-entry {
    grid-template-columns: 1fr;
  }
}

.dossier-portrait {
  width: 108px;
  height: auto;
  aspect-ratio: 600 / 1076;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  object-fit: cover;
  object-position: top center;
  display: block;
}

.dossier-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--emerald);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dossier-entry h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.dossier-entry p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.dossier-facts {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  display: grid;
  gap: 5px;
}

/* Referral & Dispatch Loop */
.referral-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 820px) {
  .referral-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.console-box {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.console-box h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.console-box p {
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.68;
  margin-bottom: 18px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hud-input {
  flex: 1 1 200px;
  min-width: 0;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  background: #04070d;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
}

.hud-input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-status {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  min-height: 18px;
  color: var(--emerald);
}

/* Native HTML <details> FAQ Accordions (Zero-JS Required) */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  background: rgba(8, 15, 29, 0.72);
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--border-bright);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  padding: 32px 20px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.disclosure-note {
  line-height: 1.65;
  max-width: 90ch;
}

/* Mobile Sticky Bottom Nav */
.mobile-hud-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(4, 7, 13, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-bright);
  padding: 8px 4px;
}

.mobile-hud-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
}

.mobile-hud-nav a:hover {
  color: var(--cyan);
}

@media (min-width: 768px) {
  .mobile-hud-nav {
    display: none;
  }
}

/* HumanBot AI Visual Frame */
.ai-visual-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: var(--bg-panel);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.08);
}

.ai-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  right: 16px;
  bottom: 74px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: rgba(9, 15, 29, 0.92);
  backdrop-filter: blur(10px);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(0, 240, 255, 0.14);
}

@media (min-width: 768px) {
  .scroll-top-btn {
    right: 24px;
    bottom: 24px;
  }
}
