:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #1e2423;
  --muted: #5b6460;
  --line: #d9d5c9;
  --paper: #fffdf8;
  --green: #1f7a5a;
  --blue: #2d5fa8;
  --coral: #c95d4b;
  --terminal: #17211e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 6vw;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, white 10%);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.brand:hover {
  color: var(--green);
}

.section {
  padding: 88px 6vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  min-height: calc(100vh - 68px);
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

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

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.terminal {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--terminal) 80%, white 20%);
  border-radius: 8px;
  background: var(--terminal);
  box-shadow: 0 26px 80px rgb(30 36 35 / 18%);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.terminal-bar span:nth-child(2) {
  background: #e8b84f;
}

.terminal-bar span:nth-child(3) {
  background: #4fb071;
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #d7f3df;
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  line-height: 1.65;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.split p,
.card p,
.steps p,
.footer p {
  color: var(--muted);
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.panel {
  padding: 24px;
}

.facts {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

.facts div {
  display: grid;
  gap: 3px;
}

.facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(31 122 90 / 9%), transparent 34%),
    linear-gradient(135deg, rgb(45 95 168 / 10%), transparent 46%),
    var(--paper);
}

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

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

.card {
  min-height: 190px;
  padding: 24px;
}

.card:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.card:nth-child(1) {
  border-top: 4px solid var(--green);
}

.card:nth-child(3) {
  border-top: 4px solid var(--coral);
}

.roadmap {
  padding-bottom: 64px;
}

.steps {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--green);
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
}

.footer {
  padding: 28px 6vw 44px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

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

  .section {
    padding-inline: 22px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}
