:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #5f6f82;
  --line: #d9e1ea;
  --panel: #ffffff;
  --wash: #f4f7fb;
  --green: #188a45;
  --blue: #215ea8;
  --aqua: #1c9aa5;
  --violet: #8256d0;
  --orange: #b45b1c;
  --red: #b3261e;
  --dark: #17202a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wash);
  color: var(--ink);
}

a {
  color: var(--blue);
}

button,
input,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.brand {
  color: var(--ink);
  font-weight: 850;
  font-size: 1.05rem;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.nav a {
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--aqua);
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: var(--aqua);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

main,
.demo-copy,
.launch-copy,
.demo-control,
.panel,
.launch-panel,
.launch-media,
.field,
.field-grid,
.stat-grid,
.link-stack,
.check-list,
.json-preview,
.terminal {
  min-width: 0;
}

h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 68ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 18px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 0 15px;
  font-weight: 800;
  text-decoration: none;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
}

.button.secondary {
  background: #ffffff;
  color: var(--blue);
}

.button.tertiary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.demo-hero,
.launch-hero {
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 56px);
}

.demo-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
}

.launch-hero {
  grid-template-columns: minmax(420px, 0.88fr) minmax(420px, 720px);
}

.launch-copy {
  max-width: 760px;
}

.demo-control,
.panel,
.launch-panel,
.launch-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(37, 50, 66, 0.1);
}

.demo-control {
  padding: 20px;
}

.field,
.field-grid {
  display: grid;
  gap: 8px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.field span,
.switches legend {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
}

.switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.switches label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

.demo-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(34px, 5vw, 58px);
}

.panel,
.launch-panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(24, 138, 69, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.pill.muted {
  border-color: var(--line);
  background: #edf3f9;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  min-height: 76px;
  color: var(--muted);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::before {
  display: none;
}

.timeline strong {
  color: var(--ink);
}

.timeline p {
  margin: 5px 0 0;
  line-height: 1.45;
}

.dot {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  z-index: 1;
}

.timeline li.is-done .dot {
  border-color: var(--green);
  background: var(--green);
}

.timeline li.is-active .dot {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(33, 94, 168, 0.14);
}

.timeline li.is-waiting .dot {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(180, 91, 28, 0.15);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.stat-grid span {
  display: block;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 850;
}

.stat-grid small {
  color: var(--muted);
  font-weight: 750;
}

.json-preview,
.terminal {
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: var(--dark);
  color: #c5f4d4;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: auto;
}

.json-preview {
  min-height: 300px;
  white-space: pre;
}

.terminal {
  white-space: normal;
  overflow-wrap: anywhere;
}

.proof-strip,
.release-band {
  display: grid;
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(42px, 6vw, 76px);
}

.proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-strip article,
.release-band div {
  border-top: 3px solid var(--aqua);
  background: #ffffff;
  padding: 18px;
}

.proof-strip article:nth-child(2),
.release-band div:nth-child(2) {
  border-top-color: var(--orange);
}

.proof-strip article:nth-child(3),
.release-band div:nth-child(3) {
  border-top-color: var(--violet);
}

.proof-strip span,
.release-band span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.proof-strip p,
.release-band p,
.launch-panel p,
.check-list {
  color: var(--muted);
  line-height: 1.55;
}

.proof-strip p,
.launch-panel p,
.release-band p {
  margin: 8px 0 0;
}

.launch-media {
  margin: 0;
  overflow: hidden;
}

.launch-media img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.launch-media figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  line-height: 1.45;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(34px, 5vw, 58px);
}

.launch-panel.wide {
  grid-column: span 2;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.link-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.link-stack a {
  display: flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #f8fafc;
  font-weight: 750;
  text-decoration: none;
}

.release-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

@media (max-width: 1180px) {
  .launch-hero {
    grid-template-columns: 1fr;
  }

  .launch-media {
    max-width: 900px;
  }
}

@media (max-width: 1100px) {
  .launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar,
  .demo-hero,
  .launch-hero,
  .demo-workbench,
  .proof-strip,
  .launch-grid,
  .release-band {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .launch-panel.wide {
    grid-column: auto;
  }

  h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 560px) {
  .field-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .actions,
  .demo-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
