/* Product Savants — product lab system */
:root {
  --ink: #0a0f0c;
  --ink-2: #0e1511;
  --panel: #121a16;
  --panel-2: #18231d;
  --panel-3: #1e2c24;
  --line: #24352c;
  --line-hot: #345244;
  --cream: #f4f1e8;
  --cream-dim: #d8d4c8;
  --muted: #8a9b90;
  --faint: #5c6e63;
  --lime: #b8f54a;
  --lime-hot: #cfff6e;
  --lime-dim: rgba(184, 245, 74, 0.12);
  --lime-glow: rgba(184, 245, 74, 0.22);
  --teal: #2bb8a8;
  --teal-dim: rgba(43, 184, 168, 0.14);
  --ember: #ff6b4a;
  --ember-dim: rgba(255, 107, 74, 0.12);
  --amber: #f0b429;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
  --display: "Syne", var(--sans);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --max: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Atmosphere — product lab glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(184, 245, 74, 0.11), transparent 55%),
    radial-gradient(ellipse 40% 35% at 95% 15%, rgba(43, 184, 168, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 40% at 5% 75%, rgba(255, 107, 74, 0.05), transparent 50%),
    radial-gradient(ellipse 60% 50% at 70% 100%, rgba(184, 245, 74, 0.04), transparent 55%),
    var(--ink);
}

/* Subtle grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

img { max-width: 100%; display: block; }
a { color: var(--lime); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--lime-hot); }
button { font-family: inherit; cursor: pointer; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 0.85rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--cream);
}
.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0;
  line-height: 1.65;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.25rem;
}
.section-head > div { max-width: 640px; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(36, 53, 44, 0.85);
  background: rgba(10, 15, 12, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--cream); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 35% 30%, var(--lime-hot), var(--lime) 55%, transparent 56%),
    linear-gradient(145deg, var(--teal), #1a7a70);
  box-shadow: 0 0 0 1px rgba(184, 245, 74, 0.25), 0 4px 16px rgba(184, 245, 74, 0.15);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 11px 8px;
  border-radius: 50% 50% 40% 40%;
  background: var(--ink);
  opacity: 0.85;
}
.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand-text span { color: var(--lime); }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav a {
  color: var(--cream-dim);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--cream); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 0 0 1px rgba(184, 245, 74, 0.3), 0 6px 20px rgba(184, 245, 74, 0.18);
  transition: transform 0.15s var(--ease), background 0.15s ease !important;
}
.nav-cta:hover {
  background: var(--lime-hot) !important;
  color: var(--ink) !important;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(184, 245, 74, 0.2);
}
.btn-lime:hover { background: var(--lime-hot); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-hot);
}
.btn-ghost:hover { border-color: var(--muted); color: var(--cream); background: rgba(255,255,255,0.03); }
.btn-teal {
  background: var(--teal-dim);
  color: var(--teal);
  border-color: rgba(43, 184, 168, 0.35);
}
.btn-teal:hover { background: rgba(43, 184, 168, 0.22); color: #4dd4c4; }
.btn-ember {
  background: var(--ember-dim);
  color: var(--ember);
  border-color: rgba(255, 107, 74, 0.35);
}

/* —— Hero —— */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  color: var(--cream);
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 480px;
}
.stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}
.stat .label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.35rem;
}
.stat .value {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--cream);
}
.stat .value.lime { color: var(--lime); }
.stat .value.teal { color: var(--teal); }
.stat .value.ember { color: var(--ember); }
.stat .sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Lab panel (hero aside) */
.lab-panel {
  background: linear-gradient(165deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(184, 245, 74, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.lab-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.lab-panel-head .title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--lime-dim); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.lab-panel-head .asof {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.pipeline-step {
  background: var(--panel);
  padding: 0.85rem 0.65rem;
  text-align: center;
  position: relative;
}
.pipeline-step .n {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.pipeline-step .name {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.pipeline-step.active {
  background: var(--lime-dim);
}
.pipeline-step.active .name { color: var(--lime); }
.pipeline-step.active .n { color: var(--lime); }

.lab-rows { padding: 0.35rem 0; }
.lab-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(36, 53, 44, 0.6);
}
.lab-row:last-child { border-bottom: 0; }
.lab-row .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.lab-row .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-ideate { background: var(--teal-dim); color: var(--teal); }
.badge-source { background: var(--lime-dim); color: var(--lime); }
.badge-launch { background: var(--ember-dim); color: var(--ember); }
.badge-scale { background: rgba(240, 180, 41, 0.12); color: var(--amber); }
.score {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 2.2ch;
  text-align: right;
}
.score.high { color: var(--lime); }
.score.mid { color: var(--amber); }
.score.low { color: var(--muted); }

/* —— Sections —— */
section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
section.tight { padding-top: 1rem; }
section.band {
  background: linear-gradient(180deg, transparent, rgba(18, 26, 22, 0.65), transparent);
  border-block: 1px solid rgba(36, 53, 44, 0.5);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}
.pillar:hover {
  border-color: var(--line-hot);
  transform: translateY(-2px);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--lime));
  opacity: 0.85;
}
.pillar[data-accent="teal"] { --accent: var(--teal); }
.pillar[data-accent="lime"] { --accent: var(--lime); }
.pillar[data-accent="ember"] { --accent: var(--ember); }
.pillar .icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--lime-dim);
  color: var(--lime);
  font-size: 1.15rem;
}
.pillar[data-accent="teal"] .icon { background: var(--teal-dim); color: var(--teal); }
.pillar[data-accent="ember"] .icon { background: var(--ember-dim); color: var(--ember); }
.pillar h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.pillar ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.pillar li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--lime));
  opacity: 0.7;
}

/* Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.platform-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.platform-card:hover {
  border-color: var(--line-hot);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.platform-card .plat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.platform-card .plat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  background: var(--panel-3);
  color: var(--cream);
  border: 1px solid var(--line);
}
.platform-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.platform-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Method steps */
.method-track {
  display: grid;
  gap: 0;
  position: relative;
}
.method-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.method-step:last-child { border-bottom: 0; }
.method-step .num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
  opacity: 0.9;
}
.method-step h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.method-step p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 62ch;
}
.method-step .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chip {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--cream-dim);
}

/* Genesis offer */
.genesis {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(184, 245, 74, 0.08), transparent 50%),
    var(--panel);
  border: 1px solid var(--line-hot);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  position: relative;
}
.genesis::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, var(--lime-glow), transparent 70%);
  pointer-events: none;
}
.genesis h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.genesis p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 48ch;
}
.genesis-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.g-metric {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.g-metric .v {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.g-metric .l {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.genesis-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Quote */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.quote-block cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Network */
.network-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.network-pill:hover {
  border-color: var(--line-hot);
  color: var(--cream);
}
.network-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.7;
}

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}
.faq-item summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--lime);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 58ch;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--lime-dim), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.cta-band p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 2rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1rem;
}
.page-hero .lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 54ch;
  margin: 0;
  line-height: 1.65;
}

/* Content cards */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.detail-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.detail-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.detail-card p, .detail-card li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.detail-card p { margin: 0; }
.detail-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

/* Flow diagram */
.flow-board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow-x: auto;
}
.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.flow-row:last-child { margin-bottom: 0; }
.flow-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  min-width: 7rem;
}
.flow-node {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--panel-3);
  border: 1px solid var(--line);
  color: var(--cream-dim);
  white-space: nowrap;
}
.flow-node.hot {
  background: var(--lime-dim);
  border-color: rgba(184, 245, 74, 0.35);
  color: var(--lime);
}
.flow-node.teal {
  background: var(--teal-dim);
  border-color: rgba(43, 184, 168, 0.35);
  color: var(--teal);
}
.flow-arrow {
  color: var(--faint);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--cream-dim);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--faint);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--lime); }

/* 404 */
.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.not-found h1 {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.not-found p { color: var(--muted); margin: 0 0 1.5rem; }

/* Tables */
.board-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}
.board-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.board-table th.right, .board-table td.right { text-align: right; }
.board-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(36, 53, 44, 0.55);
  vertical-align: middle;
}
.board-table tr:last-child td { border-bottom: 0; }
.board-table .idea { font-weight: 600; color: var(--cream); }
.board-table .cat { font-size: 0.8rem; color: var(--muted); }
.board-table .num { font-family: var(--mono); font-size: 0.88rem; }

/* Reveal animation — progressive: visible without JS */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .live-dot { animation: none; }
}

/* Focus visibility */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.btn:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .genesis { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(10, 15, 12, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
  }
  .platform-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 48px 1fr; }
  .pipeline-step .name { font-size: 0.68rem; }
  .lab-row { grid-template-columns: 1fr auto; }
  .lab-row .score { display: none; }
}
