:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #122018;
  --muted: #5f7066;
  --line: #dce5df;
  --green: #15803d;
  --blue: #2563eb;
  --code: #0b1014;
}

* { box-sizing: border-box; }

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

a { color: var(--green); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

nav a { text-decoration: none; }

.hero,
.section,
footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0 40px;
}

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

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

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

.hero-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(18, 32, 24, 0.18);
}

.section {
  padding: 62px 0;
}

.section-head {
  margin-bottom: 22px;
}

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

.grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.grid strong,
.grid span {
  display: block;
}

.grid span {
  margin-top: 10px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 28px;
  align-items: start;
}

.terminal {
  overflow: hidden;
  border-radius: 8px;
  background: var(--code);
  color: #dcfce7;
  box-shadow: 0 20px 54px rgba(18, 32, 24, 0.16);
}

.terminal.wide {
  width: 100%;
}

.dots {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.dots i:nth-child(2) { background: #f59e0b; }
.dots i:nth-child(3) { background: #22c55e; }

pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .hero,
  .split,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}
