:root {
  color-scheme: dark;
  --bg: #0e1014;
  --panel: #171b22;
  --panel-2: #101820;
  --text: #f3f1ec;
  --muted: #a9b1bd;
  --line: #2f3742;
  --gold: #d7b45f;
  --cyan: #78c6d8;
  --green: #7bd88f;
  --red: #e27d72;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
footer a {
  text-underline-offset: 4px;
}

.hero,
.band,
.split {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 76px);
  padding: 42px 0 70px;
}

.hero.compact {
  min-height: auto;
  padding-top: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.button.secondary {
  background: #12161d;
}

.terminal-figure {
  margin: 0;
}

.terminal-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #05070a;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.band {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 28px;
}

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

.proof-grid article,
.limits-list,
.demo-output {
  border: 1px solid var(--line);
  background: var(--panel);
}

.proof-grid article {
  min-height: 190px;
  padding: 22px;
}

.status {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.status.pass {
  color: var(--green);
}

.status.warn {
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  padding: 70px 0 92px;
  border-top: 1px solid var(--line);
}

.split p,
.proof-grid p {
  color: var(--muted);
}

.limits-list {
  padding: 22px;
}

.limits-list p {
  margin-bottom: 14px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.command-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.command-card.active {
  border-color: var(--cyan);
  background: var(--panel-2);
}

.command-card span,
.command-card strong {
  display: block;
}

.command-card span {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.demo-output {
  min-height: 220px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
}

footer {
  min-height: 86px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header,
  footer,
  .hero,
  .band,
  .split {
    width: min(100% - 24px, 680px);
  }

  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .proof-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }
}
