:root {
  --bg: #080d19;
  --bg-soft: #111b2e;
  --bg-card: #111b2e;
  --fg: #ffffff;
  --fg-muted: #c5cad8;
  --muted: #8b94ad;
  --accent: #00d4aa;
  --accent-2: #22d3ee;
  --accent-strong: #00d4aa;
  --commodity: #f59e0b;
  --equity: #00d4aa;
  --single: #6b7280;
  --border: #1f2937;
  --danger: #ef4444;
  --max-w: 1100px;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
em {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal; font-weight: 700;
}
.gradient-text {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 90px 24px;
}
.section h2 {
  font-size: 38px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.section .sub {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 17px;
}
.bg-soft {
  background: var(--bg-soft);
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bg-soft .section, .bg-soft > h2, .bg-soft > p {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* HERO */
.hero {
  padding: 28px 24px 120px;
  background:
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 20% 30%, rgba(0, 212, 170, 0.10) 0%, transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.topnav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 2;
}
.brand {
  font-size: 20px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--fg);
}
.brand span {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.cta-sm {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  color: var(--bg) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
}
.cta-sm:hover { opacity: 0.9; color: var(--bg) !important; }

.hero-content {
  max-width: var(--max-w);
  margin: 80px auto 0;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}
.hero-content h1 {
  font-size: 58px;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--fg);
  font-weight: 800;
}
.hero-content .lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 32px;
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.hero-stats span { color: var(--muted); font-size: 14px; margin-top: 4px; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  color: var(--bg) !important;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary.big { padding: 18px 42px; font-size: 18px; }
.btn-secondary {
  background: transparent;
  color: var(--fg) !important;
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent) !important; }
.btn-primary.block, .btn-secondary.block {
  display: block;
  text-align: center;
  margin-top: 24px;
}

/* PROBLEM block */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 8px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  position: relative;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #00d4aa, #22d3ee);
  border-radius: 0 0 2px 2px;
}
.problem-card .tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700; margin-bottom: 10px;
}
.problem-card h3 {
  font-size: 20px; color: var(--fg); font-weight: 700;
  margin-bottom: 12px; line-height: 1.3;
}
.problem-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.problem-card p strong { color: var(--fg); }

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 12px; font-size: 13px; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: rgba(0, 212, 170, 0.3); }
.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--fg);
  font-weight: 700;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}

/* Audience cards */
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease;
}
.audience-card:hover { border-color: rgba(0, 212, 170, 0.4); }
.audience-card .who {
  font-size: 17px; color: var(--fg); font-weight: 700;
}
.audience-card .pain {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.audience-card .pain b { color: #ef4444; font-weight: 600; }
.audience-card .delivers {
  font-size: 14px; color: var(--fg-muted); line-height: 1.55;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.audience-card .delivers b {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* PILOT-ONLY block (replaces public pricing schema until pilot validation) */
.pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .pilot-grid { grid-template-columns: 1fr; }
}
.pilot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pilot-card-featured {
  border-color: rgba(0, 212, 170, 0.4);
  background: linear-gradient(135deg, rgba(0,212,170,0.07), rgba(34,211,238,0.04));
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.12);
}
.pilot-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.pilot-card h3 {
  font-size: 19px;
  color: var(--fg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.pilot-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pilot-card li {
  padding: 7px 0;
  padding-left: 22px;
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.55;
  position: relative;
}
.pilot-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* legacy pricing helpers (kept for any residual reference) */
.pricing { position: relative; padding-top: 48px; }
.pricing.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0,212,170,0.07), rgba(34,211,238,0.04));
  box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.18);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.tier-badge.featured {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  color: var(--bg);
  border-color: transparent;
}
.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}
.pricing ul {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.pricing li {
  padding: 8px 0;
  color: var(--fg-muted);
  font-size: 15px;
  position: relative;
  padding-left: 24px;
}
.pricing li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* FAQ */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
details:hover { border-color: rgba(0, 212, 170, 0.3); }
details[open] {
  background: var(--bg-card);
  border-color: rgba(0, 212, 170, 0.4);
}
summary {
  font-weight: 600;
  font-size: 17px;
  outline: none;
  user-select: none;
  color: var(--fg);
}
details p {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}
details ul {
  padding-left: 24px;
  margin-top: 8px;
  color: var(--fg-muted);
  font-size: 15px;
}

/* CONSOLE PREVIEW gallery (4 mockups) */
.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .console-grid { grid-template-columns: minmax(0, 1fr); }
}
.console-shot {
  margin: 0;
  min-width: 0;                       /* allow grid cell to shrink below intrinsic image width */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.console-shot:hover {
  border-color: rgba(0, 212, 170, 0.4);
  transform: translateY(-2px);
}
.console-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}
.console-shot figcaption {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.console-shot figcaption strong {
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.console-shot figcaption span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* INTAKE FORM */
.intake-form {
  max-width: 640px;
  margin: 32px auto 8px;
  text-align: left;
}
.intake-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .intake-row { grid-template-columns: 1fr; }
}
.intake-form input,
.intake-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.intake-form input:focus,
.intake-form select:focus {
  border-color: var(--accent);
  background: rgba(0, 212, 170, 0.04);
}
.intake-form input::placeholder { color: var(--muted); }
.intake-form select { color: var(--fg-muted); }
.intake-form .btn-primary {
  margin-top: 8px;
  width: 100%;
}

/* CTA */
.cta-section {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,212,170,0.12) 0%, transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.cta-section .inner { max-width: var(--max-w); margin: 0 auto; padding: 90px 24px; }
.cta-section h2 { font-size: 44px; margin-bottom: 16px; color: var(--fg); letter-spacing: -0.02em; }
.cta-section p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.cta-section .micro {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* MAP */
#cluster-map {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.caption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}
.caption strong { color: var(--fg); }

/* ECOSYSTEM */
.ecosystem-band {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding: 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  font-size: 14px; color: var(--muted);
}
.ecosystem-band strong { color: var(--fg); margin-right: 4px; }
.pill {
  display: inline-block; padding: 4px 11px;
  border: 1px solid rgba(0, 212, 170, 0.45);
  background: rgba(0, 212, 170, 0.07);
  border-radius: 999px;
  color: var(--accent); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* FOOTER */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--fg);
  font-size: 15px;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: 13px; }
.disclaimer { font-style: italic; line-height: 1.55; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer-bottom .grad {
  background: linear-gradient(135deg, #00d4aa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
