:root {
  --bg: #09090b;
  --panel: rgba(18, 18, 23, 0.9);
  --panel-muted: rgba(13, 24, 22, 0.9);
  --border: #26272b;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --accent: #34d399;
  --accent-strong: #10b981;
  --shadow: 0 0 0 1px rgba(52, 211, 153, 0.08), 0 24px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.10), transparent 24%),
    var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.top-links, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.back-link,
.top-links a,
.button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  color: #d4d4d8;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  transition: 180ms ease;
}

.back-link:hover,
.top-links a:hover,
.button:hover {
  border-color: rgba(52, 211, 153, 0.5);
  color: #ecfdf5;
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.10));
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-muted {
  background: var(--panel-muted);
}

.glow {
  position: relative;
  overflow: hidden;
}

.glow::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18), transparent 60%);
  pointer-events: none;
}

.hero {
  padding: 36px;
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead,
.section-copy,
.panel p,
.bullet-list {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  font-size: 1.1rem;
  max-width: 70ch;
  margin: 20px 0 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 38px;
}

.three-up,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 42px 0 18px;
}

.section-copy {
  max-width: 38ch;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.status-stack {
  display: grid;
  gap: 18px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: middle;
}

.status-dot.live { background: var(--accent); box-shadow: 0 0 16px rgba(52, 211, 153, 0.6); }
.status-dot.building { background: #60a5fa; box-shadow: 0 0 16px rgba(96, 165, 250, 0.5); }

.experiment-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.experiment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #d4d4d8;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.card-footer {
  margin-top: auto;
  padding-top: 20px;
}

.card-link {
  font-family: "JetBrains Mono", monospace;
  color: #d1fae5;
  font-size: 13px;
}

@media (max-width: 900px) {
  .two-up,
  .three-up,
  .card-grid,
  .section-header {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1120px); }
  .hero, .panel { padding: 22px; border-radius: 22px; }
  .topbar { flex-direction: column; align-items: stretch; }
}
