/* ═══════════════════════════════════════════
   THE STORE — Layout, Typography, Variables
   ═══════════════════════════════════════════ */

:root {
  --gold: #FFD700;
  --gold-acc: #FFC125;
  --neon-blue: #00D4FF;
  --deep-blue: #0A1628;
  --muted-blue: #1A3A5C;
  --border-blue: #1E90FF;
  --text-light: #E8E8E8;
  --text-dim: #888888;
  --success: #00FF88;
  --error: #FF5F56;
  --price-gold: #FFE066;
  --nav-height: 3.5rem;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', 'Monaco', monospace;
  background: var(--deep-blue);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-light);
}

/* ── Container ─────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Sections ──────────────────────────── */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(26, 58, 92, 0.2);
}

.section-title {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title .highlight {
  color: var(--neon-blue);
}

.section-lede {
  font-family: var(--sans);
  text-align: center;
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 700px;
  margin: -0.5rem auto 3rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline {
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.btn-ghost {
  color: var(--text-dim);
  border: 1px solid var(--muted-blue);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text-light);
  border-color: var(--text-dim);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.ascii-banner {
  color: var(--gold);
  font-size: clamp(0.7rem, 2.5vw, 1.4rem);
  line-height: 1.3;
  margin-bottom: 2rem;
  user-select: none;
}

.tagline {
  color: var(--neon-blue);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.subtitle {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ssh-command {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(26, 58, 92, 0.6);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ssh-command:hover,
.ssh-command:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  outline: none;
}

.ssh-command code {
  color: var(--success);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-family: inherit;
}

.copy-feedback {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--success);
  color: var(--deep-blue);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.copy-feedback.show {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   WHAT IS THE STORE — Two Columns
   ═══════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.col p {
  font-family: var(--sans);
  margin-bottom: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.col p:first-of-type {
  color: var(--text-light);
}

/* ── Terminal Mockup ───────────────────── */
.terminal-mockup,
.terminal-demo {
  background: #0D1117;
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(26, 58, 92, 0.4);
  border-bottom: 1px solid var(--border-blue);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #FF5F56; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #27C93F; }

.terminal-title {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-left: auto;
}

.terminal-body {
  padding: 1rem;
  overflow-x: auto;
}

.terminal-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.terminal-text .t-blue { color: var(--neon-blue); }
.terminal-text .t-gold { color: var(--price-gold); }
.terminal-text .t-green { color: var(--success); }

.terminal-prompt {
  color: var(--success);
  margin-right: 0.5rem;
}

/* ═══════════════════════════════════════════
   WHY THIS MATTERS
   ═══════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(26, 58, 92, 0.25);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: var(--border-blue);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.thesis {
  max-width: 800px;
  margin: 0 auto;
}

.thesis p {
  font-family: var(--sans);
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   HOW TO CONNECT
   ═══════════════════════════════════════════ */
.terminal-demo {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.terminal-demo .terminal-body {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  font-size: 1rem;
}

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

.step-card {
  background: rgba(26, 58, 92, 0.3);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: var(--border-blue);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  color: var(--neon-blue);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-card h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-card p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.connect-notes {
  text-align: center;
}

.connect-notes p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════
   PRODUCT CATEGORIES
   ═══════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: rgba(26, 58, 92, 0.25);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card.digital {
  border-color: var(--neon-blue);
}

.category-card.digital:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.category-card.physical {
  border-color: var(--gold-acc);
}

.category-card.physical:hover {
  box-shadow: 0 0 20px rgba(255, 193, 37, 0.15);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-example {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--price-gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════
   AI AGENT MARKETPLACE
   ═══════════════════════════════════════════ */
.section-agents {
  padding: 5rem 0;
}

.agent-panel {
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 0 30px rgba(30, 144, 255, 0.1), inset 0 0 30px rgba(30, 144, 255, 0.03);
}

.agent-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.agent-subtitle {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.agent-col p {
  font-family: var(--sans);
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.agent-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--muted-blue);
}

.agent-feature {
  padding: 1.25rem;
  background: rgba(26, 58, 92, 0.2);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.agent-feature:hover {
  border-color: var(--border-blue);
}

.agent-feature h4 {
  color: var(--neon-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.agent-feature p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PROTOCOLS
   ═══════════════════════════════════════════ */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.protocol-card {
  background: rgba(26, 58, 92, 0.25);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.protocol-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

.protocol-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--deep-blue);
  background: var(--neon-blue);
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.protocol-card h3 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.protocol-card p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.7;
}

.protocol-card code {
  font-size: 0.78rem;
  color: var(--neon-blue);
  background: rgba(0, 212, 255, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

a.protocol-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.protocol-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.03em;
  opacity: 0.7;
  transition: opacity 0.2s, letter-spacing 0.2s;
}

.protocol-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

a.protocol-card:hover .protocol-link {
  opacity: 1;
}

a.protocol-card:hover .protocol-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--muted-blue);
}

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

.footer-brand {
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-heading {
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

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

.footer-col a {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 58, 92, 0.5);
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-bottom a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--neon-blue);
}

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep-blue) 0%, rgba(26, 58, 92, 0.3) 100%);
}

.page-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.page-title .highlight {
  color: var(--neon-blue);
}

.page-subtitle {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */
.content-narrow {
  max-width: 750px;
  margin: 0 auto;
}

.prose p {
  font-family: var(--sans);
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.prose p:first-of-type {
  color: var(--text-light);
}

/* Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.principle-card {
  background: rgba(26, 58, 92, 0.25);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.principle-card:hover {
  border-color: var(--border-blue);
}

.principle-card h3 {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.principle-card p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Thesis */
.thesis-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.thesis-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.thesis-num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-blue);
  border-radius: 8px;
  color: var(--neon-blue);
  font-weight: 700;
  font-size: 1rem;
}

.thesis-point h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.thesis-point p {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Traction */
.traction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.traction-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(26, 58, 92, 0.25);
  border: 1px solid var(--muted-blue);
  border-radius: 8px;
}

.traction-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.traction-label {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.traction-detail {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 2rem 0;
}

/* ═══════════════════════════════════════════
   DOCS PAGE
   ═══════════════════════════════════════════ */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.docs-sidebar-title {
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.docs-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.docs-toc a {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 0.2rem 0;
}

.docs-toc a:hover {
  color: var(--neon-blue);
}

.docs-content {
  min-width: 0;
}

.docs-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(26, 58, 92, 0.5);
}

.docs-section:last-child {
  border-bottom: none;
}

.docs-section h2 {
  color: var(--gold);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.docs-section h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.docs-section p {
  font-family: var(--sans);
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.docs-section ul,
.docs-section ol {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.docs-section li {
  margin-bottom: 0.25rem;
}

.docs-section code {
  font-size: 0.82rem;
  color: var(--neon-blue);
  background: rgba(0, 212, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.code-block {
  background: #0D1117;
  border: 1px solid var(--muted-blue);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  color: var(--text-light);
  background: none;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Docs tables */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.docs-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--muted-blue);
  background: rgba(26, 58, 92, 0.15);
}

.docs-table td {
  padding: 0.5rem 0.75rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(26, 58, 92, 0.3);
  font-family: var(--sans);
  vertical-align: top;
}

.docs-table td code {
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.78rem;
}

.docs-table tr:hover td {
  background: rgba(26, 58, 92, 0.1);
}

/* HTTP method badges */
.method {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-family: 'SF Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.method.get { background: rgba(0, 255, 136, 0.15); color: var(--success); }
.method.post { background: rgba(0, 212, 255, 0.15); color: var(--neon-blue); }
.method.put { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.method.delete { background: rgba(255, 95, 86, 0.15); color: var(--error); }

/* ═══════════════════════════════════════════
   CALLBACK PAGES (thanks/cancelled)
   ═══════════════════════════════════════════ */
.callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: var(--nav-height);
}

.callback-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 500px;
}

.callback-icon {
  font-size: 4rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border-width: 3px;
  border-style: solid;
}

.callback-success {
  color: var(--success);
  border-color: var(--success);
}

.callback-cancel {
  color: var(--error);
  border-color: var(--error);
}

.callback-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.callback-message {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.callback-detail {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.callback-actions {
  margin-bottom: 2.5rem;
}

.callback-ssh {
  padding-top: 1.5rem;
  border-top: 1px solid var(--muted-blue);
}

.callback-ssh p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL (base state)
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-cols {
    grid-template-columns: 1fr;
  }

  .agent-features {
    grid-template-columns: 1fr;
  }

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

  .stats-row {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .traction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    border-bottom: 1px solid var(--muted-blue);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .docs-toc {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .traction-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-links {
    flex-direction: column;
  }

  .thesis-point {
    flex-direction: column;
    gap: 0.75rem;
  }

  .docs-table {
    font-size: 0.75rem;
  }

  .docs-table th,
  .docs-table td {
    padding: 0.4rem 0.5rem;
  }
}
