:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0d12;
  color: #e8edf5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, #17304a 0, transparent 35rem),
    #0a0d12;
}

main {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

h1 {
  max-width: 14ch;
  margin: 0.25rem 0 1rem;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 { margin: 0 0 1rem; font-size: 1.15rem; }

p { line-height: 1.65; }

.eyebrow {
  margin: 0;
  color: #69e6c3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede { max-width: 65ch; color: #b8c3d4; font-size: 1.12rem; }

section {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #263346;
  border-radius: 16px;
  background: rgba(14, 20, 29, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

dl, ul { margin-bottom: 0; }

dl div,
.evidence div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid #202b3b;
}

dl div:first-child,
.evidence div:first-child { border-top: 0; }

dt, .evidence strong { color: #98a7ba; }

dd { margin: 0; }

.confirmed { color: #69e6c3; font-weight: 800; }

code, pre {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
}

code { color: #c6b8ff; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #69e6c3;
  color: #07110f;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.45;
}

.stage-label {
  margin: 1.25rem 0 0.6rem;
  color: #98a7ba;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-label:first-child { margin-top: 0; }

pre {
  min-height: 7.5rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: #b8c3d4;
}

iframe {
  width: 100%;
  min-height: 12rem;
  border: 1px solid #34465e;
  border-radius: 12px;
  background: #101722;
}

.mock {
  min-height: 100vh;
  padding: 1.25rem;
  background: #101722;
}

@media (max-width: 680px) {
  .demo-grid { grid-template-columns: 1fr; }
  dl div, .evidence div { grid-template-columns: 1fr; gap: 0.25rem; }
}
