/* ═══════════════════════════════════════════════════════════════
   meridian.css — Shared design system for Meridian public pages
   Cold-black ceremonial shell for the Meridian public surface
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

/* ── Design tokens ── */
:root {
  --bg:       #030507;
  --bg-hero:  #020307;
  --fg:       #e5ebf2;
  --accent:   #87d8ff;
  --glow:     #69d8ff;
  --card:     rgba(9, 13, 22, 0.88);
  --card-soft:#091019;
  --border:   #172536;
  --border-strong: #31536f;
  --panel-edge: rgba(135, 216, 255, 0.08);
  --green:    #4caf50;
  --gold:     #ffd54f;
  --warn:     #ffa726;
  --dim:      #8d98a8;
  --dim-soft: #657181;
  --ink:      #0a1119;
  --mono:     'JetBrains Mono', monospace;
  --body:     'IBM Plex Sans', sans-serif;
  --display:  'IBM Plex Sans Condensed', 'Space Grotesk', sans-serif;
}

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

/* ── Base ── */
body {
  font-family: var(--body);
  font-feature-settings: 'ss01', 'cv05';
  letter-spacing: -0.005em;
  background:
    radial-gradient(circle at top center, rgba(105,216,255,0.07), transparent 28%),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.035), transparent 16%),
    linear-gradient(180deg, #05070d 0%, #030507 40%, #020305 100%);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(135,216,255,0.08) calc(50% - 1px), rgba(135,216,255,0.08) calc(50% + 1px), transparent calc(50% + 1px));
  mask: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 12%, rgba(0,0,0,0.7) 88%, transparent 100%);
}
body::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent calc(100% - 1px), rgba(255,255,255,0.03) calc(100% - 1px), rgba(255,255,255,0.03) 100%);
  opacity: 0.5;
}
a { color: var(--accent); }
ul { margin: 0.5rem 0 0.5rem 1.5rem; }
li { padding: 0.2rem 0; }

/* ── Container ── */
.container { max-width: 840px; margin: 0 auto; padding: 2rem 1.5rem; }
.page-home .hero .container,
.page-intro-shell,
.footer {
  max-width: 1120px;
}

/* ── Site header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3,5,7,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: inherit; min-width: 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(10,16,24,0.78), rgba(6,9,14,0.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 26px rgba(0,0,0,0.18);
}
.brand-mark {
  width: 26px; height: 26px; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(135,216,255,0.14));
}
.brand-wordmark { display: block; height: 26px; width: auto; max-width: min(42vw, 180px); }
.site-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  color: var(--dim); text-decoration: none; font-size: 0.78rem; transition: color 0.15s, border-color 0.15s, background 0.15s;
  text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--mono);
  padding: 0.45rem 0.7rem; border: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.current { color: var(--fg); border-color: rgba(135,216,255,0.16); background: rgba(135,216,255,0.04); }
.nav-cta {
  background: linear-gradient(180deg, #9ae3ff, #6ac8f3) !important; color: #02131b !important;
  padding: 0.55rem 0.95rem !important; border-radius: 999px;
  font-weight: 700 !important; transition: background 0.15s !important;
  border-color: transparent !important;
}
.nav-cta:hover { background: #81d4fa !important; color: #000 !important; }

/* ── Hero ── */
.hero {
  padding: 4.8rem 0 2.7rem;
  background: linear-gradient(180deg, rgba(4,6,10,0.82) 0%, rgba(3,5,8,0.35) 45%, transparent 100%);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out both;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 540px 420px at 50% 8%, rgba(135,216,255,0.08) 0%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 28%);
  pointer-events: none;
}
.hero-shell,
.page-intro-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
  padding: 1.75rem;
  background:
    linear-gradient(180deg, rgba(10,14,22,0.96), rgba(5,8,14,0.88)),
    linear-gradient(90deg, rgba(135,216,255,0.03), transparent 30%);
  border: 1px solid rgba(135,216,255,0.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 36px 80px rgba(0,0,0,0.3);
  overflow: hidden;
}
.hero-shell::before,
.page-intro-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), transparent 20%, transparent 80%, rgba(255,255,255,0.05)),
    linear-gradient(180deg, rgba(135,216,255,0.08), transparent 24%);
  pointer-events: none;
}
.hero-shell::after,
.page-intro-shell::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero-copy,
.page-intro-main {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 720px;
}
.hero-home .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(135,216,255,0.06);
  border: 1px solid rgba(135,216,255,0.18);
  border-radius: 20px; padding: 5px 14px;
  font-family: var(--mono);
  font-size: 0.78rem; color: var(--accent);
  margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--glow); flex-shrink: 0;
  animation: live-pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.6rem); color: #fff;
  margin-bottom: 0.9rem; line-height: 1.15;
  letter-spacing: -0.035em; font-weight: 700;
  text-transform: none; max-width: 700px;
  margin-left: 0; margin-right: 0;
}
.hero .tagline {
  font-size: 1.08rem; color: #b4bfcd;
  margin-bottom: 1.7rem; max-width: 640px;
  margin-left: 0; margin-right: 0; line-height: 1.75;
}
.hero .subtitle {
  color: var(--dim); font-size: 1.04rem; max-width: 640px;
}
.hero-dossier,
.page-rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 0 0.25rem;
}
.dossier-kicker,
.rail-kicker {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}
.dossier-block,
.rail-item {
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(8,12,18,0.92), rgba(7,11,17,0.72));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.dossier-label,
.rail-item span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--dim);
  margin-bottom: 0.4rem;
}
.dossier-block strong,
.rail-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.35rem;
}
.dossier-block p,
.rail-item p {
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Eyebrow badge (support page variant) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(0,229,255,0.2);
  background: rgba(0,229,255,0.06);
  color: var(--accent); border-radius: 999px;
  padding: 5px 14px; font-family: var(--mono);
  font-size: 0.78rem; margin-bottom: 1.25rem; letter-spacing: 0.02em;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); }

/* ── Scan-line overlay ── */
.scan-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,229,255,0.015) 2px,
    rgba(0,229,255,0.015) 4px
  );
  pointer-events: none;
  animation: scanLine 8s linear infinite;
}

/* ── CTA buttons ── */
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.hero-copy .cta-group { justify-content: flex-start; }
.cta-section .cta { margin: 0.5rem; }
.cta {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.2s;
}
.cta-primary { background: var(--accent); color: #000; }
.cta-primary:hover { background: #81d4fa; box-shadow: 0 0 20px rgba(0,229,255,0.2); }
.cta-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.cta-outline:hover { background: rgba(0,229,255,0.08); box-shadow: 0 0 15px rgba(0,229,255,0.1); }
.cta-note { color: var(--dim); font-size: 0.85rem; }

/* ── Headings ── */
h1 { font-family: var(--display); color: #fff; font-size: 2.2rem; line-height: 1.14; letter-spacing: -0.03em; margin-bottom: 0.9rem; text-transform: none; }
h2 {
  font-family: var(--mono);
  font-size: 0.78rem; color: var(--accent);
  margin: 3rem 0 1rem; padding: 0.65rem 0 0 0;
  border-top: 1px solid rgba(135,216,255,0.18);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
}
.subtitle { color: var(--dim); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: linear-gradient(180deg, rgba(9,13,21,0.92), rgba(5,8,13,0.94));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: 0; padding: 1.25rem; margin-bottom: 1rem;
  position: relative; overflow: hidden;
}
.card::before,
.feature-card::before,
.price-card::before,
.battlecard::before,
.brief-box::before,
.channel::before,
.notice::before,
.blocker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.card h3 { color: #fff; font-size: 1rem; margin-bottom: 0.55rem; }
.card strong { color: #fff; }
.card p { color: var(--dim); font-size: 0.93rem; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }

/* ── Pilot intake form ── */
.intake-form { display: grid; gap: 1rem; margin-top: 1rem; }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 720px) {
  .intake-grid { grid-template-columns: 1fr; }
}
.intake-field { display: flex; flex-direction: column; gap: 0.35rem; }
.intake-field label { color: var(--dim); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); }
.intake-field input,
.intake-field textarea { width: 100%; background: rgba(3,5,7,0.72); border: 1px solid rgba(135,216,255,0.14); color: var(--fg); padding: 0.75rem 0.85rem; border-radius: 0; font: inherit; }
.intake-field input:focus,
.intake-field textarea:focus { outline: none; border-color: rgba(135,216,255,0.45); box-shadow: 0 0 0 2px rgba(135,216,255,0.08); }
.intake-actions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.intake-status { color: var(--dim); font-size: 0.86rem; }

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.feature-card {
  background: linear-gradient(180deg, rgba(8,12,18,0.92), rgba(6,9,14,0.96));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0; padding: 1.15rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.feature-card:hover { border-color: rgba(135,216,255,0.28); box-shadow: 0 12px 26px rgba(0,0,0,0.18); transform: translateY(-2px); }
.feature-card h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.feature-card p { color: var(--dim); font-size: 0.88rem; line-height: 1.55; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.price-card {
  background: linear-gradient(180deg, rgba(8,12,18,0.92), rgba(5,8,14,0.96));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0; padding: 1.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.price-card.featured { border-color: rgba(135,216,255,0.38); box-shadow: 0 18px 40px rgba(6,25,35,0.28); }
.price-card h3 { color: #fff; margin-bottom: 0.5rem; }
.price-amount { font-size: 1.8rem; color: var(--accent); font-weight: 700; letter-spacing: -0.02em; }
.price-period { color: var(--dim); font-size: 0.9rem; }
.price-features { list-style: none; margin: 1rem 0; text-align: left; font-size: 0.9rem; }
.price-features li { padding: 0.3rem 0; }
.price-features li::before { content: "\2192 "; color: var(--accent); }

/* ── Tags ── */
.tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; padding: 2px 8px; border-radius: 3px; font-weight: 600; letter-spacing: 0.02em; }
.tag-free { display: inline-block; background: #0a1f0a; color: var(--green); padding: 3px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.tag-live { display: inline-block; background: #0a1f0a; color: var(--green); padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.tag-building { display: inline-block; background: #1f1f0a; color: var(--gold); padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.tag-auto { background: #0a1f0a; color: var(--green); }
.tag-manual { background: #1f1f0a; color: #ffd54f; }
.tag-planned { background: #0a1520; color: var(--accent); }

/* ── Layer diagram ── */
.layer-stack { margin: 1.25rem 0; font-family: var(--mono); font-size: 0.82rem; }
.layer {
  background: var(--card); border: 1px solid var(--border);
  padding: 0.65rem 1rem; margin-bottom: 2px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s, box-shadow 0.15s;
}
.layer:hover { background: #0e0e1a; box-shadow: inset 2px 0 0 var(--glow); }
.layer:first-child { border-radius: 8px 8px 0 0; }
.layer:last-child { border-radius: 0 0 8px 8px; margin-bottom: 0; }
.layer-name { color: #fff; font-weight: 600; }
.layer-desc { color: var(--dim); font-size: 0.78rem; }

/* ── Steps ── */
.steps { counter-reset: step; list-style: none; margin: 1rem 0; padding: 0; }
.steps li { counter-increment: step; padding: 0.75rem 0 0.75rem 3rem; position: relative; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0;
  width: 2rem; height: 2rem; background: var(--accent); color: #000;
  border-radius: 50%; text-align: center; line-height: 2rem;
  font-weight: 700; font-size: 0.9rem;
}
.steps li strong { color: #fff; }

/* ── Sample box ── */
.sample-box {
  background: #060810; border: 1px solid var(--border); border-radius: 8px;
  padding: 1.25rem; margin: 1rem 0; white-space: pre-wrap;
  font-family: var(--mono); font-size: 0.875rem;
  line-height: 1.55; color: #c9d1d9; max-height: 480px; overflow-y: auto;
}
.sample-meta { color: var(--dim); font-size: 0.82rem; margin-top: 0.5rem; }

/* ── FAQ ── */
details { margin-bottom: 0.5rem; }
summary {
  cursor: pointer; padding: 0.75rem 0; color: #fff;
  font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--glow); font-size: 1.1rem; transition: transform 0.2s; }
details[open] summary::after { content: '\2212'; }
summary:hover { color: var(--accent); }
details p { padding: 0 0 1rem 0; color: var(--dim); }

/* ── Notice / blocker ── */
.notice, .blocker {
  background: linear-gradient(180deg, rgba(20,15,8,0.92), rgba(13,10,6,0.96));
  border: 1px solid rgba(255, 183, 77, 0.16);
  border-radius: 0; padding: 1rem 1.25rem; margin: 1.5rem 0;
  font-size: 0.92rem;
  position: relative; overflow: hidden;
}
.notice strong, .blocker strong { color: var(--warn); }

/* ── Footer ── */
.footer {
  margin: 4rem auto 0; padding: 1.8rem 1.5rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(9,12,18,0.92), rgba(5,8,13,0.96));
  color: #5c6877; font-size: 0.85rem; text-align: center;
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.footer a { color: var(--dim); text-decoration: none; }
.footer a:hover { color: var(--fg); }
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 1rem;
}
.footer-brand img { height: 28px; width: auto; }
.footer-lockup { height: 48px; width: auto; }
.footer-wordmark { display: flex; flex-direction: column; gap: 0; line-height: 1; }
.footer-name {
  font-family: var(--display);
  color: #888; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-sub {
  font-family: var(--mono);
  color: #444; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 2px;
}
.footer-links {
  display: flex; gap: 1.25rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 0.75rem;
}

/* ── Page width / shell variants ── */
.page-home .container { max-width: 820px; }
.page-demo .container { max-width: 960px; }
.page-pilot .container { max-width: 900px; }
.page-support .container { max-width: 900px; }
.page-pilot .page-intro h1 { font-size: 1.8rem; }
.page-support .hero { padding: 4.25rem 0 2rem; }
.page-pilot .card.text-center .cta { margin: 0.5rem 0.5rem 0.5rem 0; }

/* ── Dev section ── */
.dev-toggle { color: var(--dim); cursor: pointer; font-size: 0.9rem; margin-top: 1rem; user-select: none; }
.dev-toggle:hover { color: var(--fg); }
.dev-section { display: none; }
.dev-section.open { display: block; }
pre {
  background: #060810; border: 1px solid var(--border);
  padding: 1rem; border-radius: 6px; overflow-x: auto;
  margin: 0.5rem 0; font-size: 0.84rem; line-height: 1.5;
}
code { background: #0e0e1a; padding: 2px 6px; border-radius: 3px; font-size: 0.88rem; }

/* ── Trust row ── */
.trust {
  display: flex; gap: 1.75rem; justify-content: center;
  flex-wrap: wrap; margin: 1.75rem 0;
  font-family: var(--mono);
  color: var(--dim); font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.trust span { display: flex; align-items: center; gap: 0.4rem; }
.trust span::before { content: '\00B7'; color: var(--glow); }

/* ── Wallet ── */
.wallet { word-break: break-all; font-family: var(--mono); color: var(--accent); font-size: 0.84rem; }

/* ── Channel list (support page) ── */
.channel-list { display: grid; gap: 0.85rem; margin-top: 1rem; }
.channel {
  background: linear-gradient(180deg, rgba(8,12,18,0.94), rgba(4,7,12,0.98));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  padding: 1rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.channel strong { color: #fff; display: block; margin-bottom: 0.35rem; }
.channel p { color: var(--dim); font-size: 0.92rem; }

/* ── Misc lists ── */
.rule-list, .next-steps { margin: 0.75rem 0 0 1.2rem; color: var(--fg); }
.rule-list li, .next-steps li { padding: 0.22rem 0; }

/* ── Findings / structured intelligence output ── */
.finding { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.finding:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.finding-title { color: #fff; font-weight: 600; margin-bottom: 0.3rem; }
.finding-body { color: var(--fg); font-size: 0.92rem; }
.finding-source { color: var(--dim); font-size: 0.82rem; margin-top: 0.25rem; }

/* ── Category tags ── */
.tag-pricing { background: #0a1520; color: var(--accent); }
.tag-product { background: #0a1f0a; color: var(--green); }
.tag-deprecation { background: #1f1508; color: var(--warn); }
.tag-strategy { background: #1a0a2a; color: #ce93d8; }

/* ── Data tables ── */
.data-table,
.offer-table,
.roster {
  background: linear-gradient(180deg, rgba(7,11,17,0.9), rgba(4,7,12,0.94));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.data-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.92rem; }
.data-table th {
  text-align: left;
  color: var(--accent);
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(135,216,255,0.16);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-family: var(--mono);
}
.data-table td { padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.01); }
.data-table tbody tr:hover td { background: rgba(135,216,255,0.035); }

/* ── Brief box (intelligence output container) ── */
.brief-box {
  background: linear-gradient(180deg, rgba(8,12,18,0.96), rgba(4,7,12,0.98));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  padding: 1.5rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.brief-box::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.035);
  pointer-events: none;
}
.brief-box > * {
  position: relative;
  z-index: 1;
}
.brief-box h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }

/* ── Action items ── */
.action-item { padding: 0.3rem 0; }
.action-item::before { content: "\2192 "; color: var(--accent); }

/* ── Risk callout ── */
.risk-box { background: #100e08; border: 1px solid #2a2010; border-radius: 6px; padding: 0.75rem 1rem; margin-top: 0.75rem; font-size: 0.9rem; }
.risk-box strong { color: var(--warn); }

/* ── Battlecard ── */
.battlecard { background: linear-gradient(180deg, rgba(8,12,18,0.92), rgba(5,8,13,0.96)); border: 1px solid rgba(255,255,255,0.05); border-radius: 0; overflow: hidden; margin: 1rem 0; position: relative; }
.battlecard-header { background: #0a0a18; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.battlecard-header h4 { color: #fff; font-size: 1.1rem; margin: 0; }
.battlecard-meta { color: var(--dim); font-size: 0.82rem; margin-top: 0.25rem; }
.battlecard-body { padding: 1.25rem; }
.battlecard-section { margin-bottom: 1rem; }
.battlecard-section:last-child { margin-bottom: 0; }
.battlecard-section h5 { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.battlecard-item { padding: 0.3rem 0; font-size: 0.92rem; }
.battlecard-item::before { content: "- "; color: var(--accent); }

/* ── Delivery flow visual ── */
.delivery-visual { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0.5rem; margin: 1.5rem 0; text-align: center; font-size: 0.85rem; }
.delivery-node {
  background: linear-gradient(180deg, rgba(9,13,21,0.95), rgba(5,8,13,0.94));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  padding: 0.9rem 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.delivery-node strong { color: #fff; display: block; }
.delivery-arrow { color: var(--accent); font-size: 1.2rem; }

/* ── Confidence badge ── */
.confidence { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; }
.confidence-high { background: #0a1f0a; color: var(--green); }
.confidence-medium { background: #1f1f0a; color: #ffd54f; }

/* ── Step label ── */
.step-label { display: inline-block; background: var(--accent); color: #000; font-weight: 700; font-size: 0.8rem; padding: 2px 10px; border-radius: 4px; margin-bottom: 0.5rem; }

/* ── Card header ── */
.card-header { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Status colors ── */
.status-active { color: var(--green); }
.status-warn { color: var(--warn); }

/* ── CTA section (full-width call-to-action block) ── */
.cta-section { text-align: center; margin: 3rem 0 2rem; padding: 2rem; background: linear-gradient(180deg, rgba(7,11,18,0.92), rgba(4,7,12,0.98)); border: 1px solid rgba(255,255,255,0.05); border-radius: 0; position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-section h2 { border-left: none; margin-bottom: 0.75rem; padding-left: 0; text-align: center; }

/* ── Offer table (pilot page) ── */
.offer-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.offer-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.offer-table td:first-child {
  color: var(--dim);
  width: 34%;
  font-weight: 600;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.offer-table tr:last-child td { border-bottom: none; }

/* ── Utilities ── */
.dim { color: var(--dim); }
.small { font-size: 0.92rem; }
.text-center { text-align: center; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 0.75rem; }
.mt-lg { margin-top: 1rem; }
.mt-xl { margin-top: 1.5rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 0.75rem; }
.mb-lg { margin-bottom: 1rem; }
.mb-xl { margin-bottom: 1.5rem; }

/* ── Agent roster table ── */
.roster { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.roster td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.roster tr:last-child td { border-bottom: none; }
.roster td:first-child { width: 36%; }
.roster .agent-name { color: #fff; font-weight: 600; }
.roster .agent-role { color: var(--dim); }

/* ── Section intro ── */
.section-intro { color: var(--dim); margin-bottom: 1rem; }

/* ── Full-width CTA button ── */
.cta-block { width: 100%; display: block; text-align: center; }

/* ── Brief-box labels (demo page) ── */
.brief-label { margin-top: 1rem; font-size: 0.95rem; }
.brief-label-accent { margin-top: 1rem; font-size: 0.95rem; color: var(--accent); }

/* ── Status utilities ── */
.status-warn { color: var(--warn); }
.note { color: var(--dim); font-size: 0.85rem; font-style: italic; margin: 0.5rem 0; }

/* ── Dev section overrides ── */
.dev-section h3 { margin: 1.5rem 0 0.5rem; }
.dev-section .card { font-size: 0.9rem; }
.dev-section > p { color: var(--dim); font-size: 0.9rem; }

/* ── Hero mark — warrior mark prominent in hero ── */
.hero-mark {
  display: block; margin: 0 auto 1.5rem;
  width: 72px; height: 72px;
  filter: drop-shadow(0 0 20px rgba(0,229,255,0.4));
  animation: glowPulse 3s ease-in-out infinite;
}
.hero-lockup {
  display: block; margin: 0 auto 1.4rem;
  width: min(380px, 74vw); height: auto;
  filter: drop-shadow(0 0 24px rgba(135,216,255,0.14));
}
.hero-mark-sm { width: 48px; height: 48px; margin-bottom: 1.1rem; }
.page-wordmark {
  display: block; margin: 0 auto 1.15rem;
  width: min(260px, 66vw); height: auto;
  filter: drop-shadow(0 0 18px rgba(0,229,255,0.1));
}
.hero-copy .hero-lockup,
.page-intro-main .page-wordmark {
  margin-left: 0;
  margin-right: 0;
}
.page-intro-main .eyebrow,
.hero-copy .hero-badge {
  justify-content: flex-start;
}

/* ── Page intro — full-width branded entry for inner pages ── */
.page-intro {
  padding: 3.8rem 1.5rem 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(4,6,10,0.82) 0%, rgba(3,5,8,0.18) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 2.5rem;
  position: relative; overflow: hidden;
}
.page-intro::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 280px at 50% 0%, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-intro h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); max-width: 680px; margin: 0 0 0.9rem; }
.page-intro .subtitle { max-width: 580px; margin: 0; }

/* ── h3 baseline ── */
h3 { font-family: var(--display); color: #fff; font-size: 1rem; margin: 1.1rem 0 0.4rem; }

/* ── Card paragraph spacing ── */
.card p + p { margin-top: 0.6rem; }
.card strong + p { margin-top: 0.5rem; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0,229,255,0.1); }
  50% { box-shadow: 0 0 50px rgba(0,229,255,0.2); }
}
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header-inner {
    padding: 0.7rem 1rem 0.9rem;
    gap: 0.7rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .brand {
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
  }
  .brand-mark { display: block; width: 24px; height: 24px; }
  .brand-wordmark {
    display: block;
    height: 20px;
    max-width: min(62vw, 190px);
  }
  .site-nav {
    width: 100%;
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    padding: 0.6rem 0.45rem;
    border-color: rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.015);
  }
  .nav-cta {
    display: flex !important;
    grid-column: 1 / -1;
    border-radius: 0;
    min-height: 42px;
    background: linear-gradient(180deg, rgba(135,216,255,0.2), rgba(106,200,243,0.12)) !important;
    color: var(--fg) !important;
    border-color: rgba(135,216,255,0.2) !important;
  }
  .hero-shell,
  .page-intro-shell { grid-template-columns: 1fr; gap: 1rem; padding: 1.2rem; }
  .hero-copy,
  .page-intro-main { text-align: left; }
  .hero-badge, .eyebrow {
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    line-height: 1.35;
    font-size: 0.72rem;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .pricing-grid, .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.6rem; }
  .hero-lockup { width: min(280px, 80vw); }
  .page-wordmark { width: min(220px, 72vw); }
  .container { padding: 1.5rem 1rem 2rem; }
  .delivery-visual { grid-template-columns: 1fr; }
  .delivery-arrow { transform: rotate(90deg); }
  .footer { padding-left: 1rem; padding-right: 1rem; }
  .data-table,
  .offer-table,
  .roster {
    display: block;
    overflow: visible;
    border: none;
    background: none;
    box-shadow: none;
  }
  .data-table thead { display: none; }
  .data-table tbody,
  .data-table tr,
  .data-table td,
  .offer-table tbody,
  .offer-table tr,
  .offer-table td,
  .roster tbody,
  .roster tr,
  .roster td {
    display: block;
    width: 100%;
  }
  .data-table tr,
  .offer-table tr,
  .roster tr {
    margin: 0 0 0.8rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(7,11,17,0.92), rgba(4,7,12,0.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  }
  .data-table td,
  .offer-table td,
  .roster td {
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: none !important;
  }
  .data-table td:last-child,
  .offer-table td:last-child,
  .roster td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.18rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .data-table tbody tr:nth-child(odd) td,
  .data-table tbody tr:hover td {
    background: none !important;
  }
  .offer-table td:first-child {
    width: auto;
    min-width: 0;
    margin-bottom: 0.1rem;
    color: var(--accent);
    padding-top: 0;
  }
  .roster td:first-child {
    width: auto;
    padding-top: 0;
  }
  .roster .agent-name {
    display: block;
    margin-bottom: 0.12rem;
    font-size: 1rem;
  }
}
