:root {
  color-scheme: light;
  --ink: #121826;
  --muted: #526070;
  --line: #d9e0ea;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warn: #a16207;
  --bad: #b91c1c;
  --good: #15803d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px 20px;
}

nav div {
  display: flex;
  gap: 18px;
}

.brand {
  font-weight: 800;
}

.hero {
  background: #eef4f2;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1120px;
  min-height: 560px;
  padding: 72px 20px 96px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.97;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

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

.lede {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  max-width: 650px;
}

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

.button {
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  padding: 12px 16px;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.secondary {
  background: #fff;
  border: 1px solid var(--line);
}

.terminal,
.command-panel,
.tabs,
article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.terminal {
  align-self: center;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.12);
  overflow: hidden;
}

.terminal-bar {
  background: #111827;
  display: flex;
  gap: 7px;
  padding: 12px;
}

.terminal-bar span {
  background: #94a3b8;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

pre {
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.band {
  margin: 0 auto;
  max-width: 1120px;
  padding: 72px 20px;
}

.section-heading {
  max-width: 760px;
}

.demo-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  margin-top: 28px;
}

.queue {
  display: grid;
  gap: 14px;
}

.item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.item header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.badge {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
}

.approved {
  background: #dcfce7;
  color: var(--good);
}

.requires_approval {
  background: #fef3c7;
  color: var(--warn);
}

.blocked {
  background: #fee2e2;
  color: var(--bad);
}

.item button,
.tab-buttons button {
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 12px;
}

.item button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.split {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
}

.tab-buttons {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.tab-buttons button {
  background: #e6edf3;
  color: var(--ink);
}

.tab-buttons button.active {
  background: var(--accent);
  color: #fff;
}

.install {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 1fr);
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

article {
  padding: 18px;
}

article p,
.split p,
.item p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .hero-grid,
  .demo-layout,
  .split,
  .install,
  .cards {
    grid-template-columns: 1fr;
  }

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