:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5c5d62;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dedbd2;
  --leaf: #2f6f4e;
  --ember: #e15d3b;
  --amber: #f1b64a;
  --terminal: #111313;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 64px clamp(20px, 6vw, 88px);
  overflow: hidden;
  background: var(--terminal);
}

.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(17, 19, 19, 0.94), rgba(17, 19, 19, 0.76) 47%, rgba(17, 19, 19, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: #e7e1d4;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.command-row,
.copy-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(720px, 100%);
}

code {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.38);
  color: #f8f4e9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
}

button,
.hero-actions a {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button {
  background: var(--amber);
  color: #171411;
}

button[data-copied="true"] {
  background: #7fda9b;
}

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

.hero-actions a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
  text-decoration: none;
}

.band {
  padding: 84px clamp(20px, 6vw, 88px);
}

.band.compact {
  background: #f1efe8;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1.14fr);
  gap: 32px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-head .eyebrow {
  color: var(--ember);
}

.steps,
.feature-grid,
.mcp-layout {
  max-width: 1180px;
  margin: 0 auto;
}

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

article,
.feature-grid p,
.mcp-layout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article {
  padding: 22px;
}

.step-index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--leaf);
  font-weight: 900;
}

.copy-line {
  grid-template-columns: minmax(0, 1fr);
}

.copy-line code {
  overflow-wrap: anywhere;
  white-space: normal;
}

.copy-line button {
  width: 100%;
}

.copy-line code {
  border-color: #d8d4c9;
  background: #191b1b;
}

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

.feature-grid p {
  min-height: 132px;
  margin: 0;
  padding: 22px;
  color: #262626;
  font-size: 1.04rem;
  line-height: 1.45;
}

.mcp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  padding: 26px;
}

.mcp-layout p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tool-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-list li {
  border: 1px solid #d8d4c9;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfaf7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .hero {
    min-height: 780px;
    padding-top: 96px;
  }

  .hero-shade {
    background: rgba(17, 19, 19, 0.78);
  }

  .section-head,
  .steps,
  .feature-grid,
  .mcp-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid p {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .band {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .command-row code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .command-row button {
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }
}
