:root {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #101a2b;
  --surface-2: #142238;
  --line: #253654;
  --text: #eef5ff;
  --muted: #9aaac1;
  --accent: #38e28a;
  --accent-2: #57b8ff;
  --warn: #ffd166;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(56, 226, 138, 0.16), transparent 32rem),
    linear-gradient(135deg, #08111f 0%, #10172a 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar,
.hero,
.section,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand,
.nav,
.actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px var(--accent);
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 48px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font: 700 13px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 750;
}

.primary {
  background: var(--accent);
  color: #04110a;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.terminal {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 14, 26, 0.9);
  box-shadow: 0 28px 90px var(--shadow);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.terminal-bar span:first-child {
  background: #ff6b6b;
}

.terminal-bar span:nth-child(2) {
  background: var(--warn);
}

.terminal-bar span:last-child {
  background: var(--accent);
}

pre {
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  color: #d8ffe8;
  font: 15px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 26, 43, 0.78);
}

.card p,
.steps {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 44px;
}

.steps {
  margin: 0;
  padding-left: 22px;
}

.steps li + li {
  margin-top: 10px;
}

code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--accent);
}

@media (max-width: 820px) {
  .topbar,
  .hero,
  .section,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }
}
