@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --background: #07100d;
  --surface: rgba(15, 29, 24, 0.78);
  --surface-solid: #0e1b17;
  --border: rgba(157, 255, 210, 0.14);
  --text: #edf7f2;
  --muted: #9eb5aa;
  --accent: #5cf2a7;
  --accent-dark: #102d21;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 5%, rgba(42, 208, 130, 0.13), transparent 36%),
    radial-gradient(circle at 10% 45%, rgba(49, 129, 91, 0.12), transparent 38%),
    var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

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

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(92, 242, 167, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 242, 167, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px;
  background: rgba(7, 16, 13, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-dark);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

.brand-name {
  font-size: 18px;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0 70px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.hero-text,
.section-copy,
.download-section p {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #06100c;
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

.button.large {
  min-height: 58px;
  width: 100%;
}

.release-note {
  margin-top: 18px;
  color: #789185;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(5, 12, 10, 0.88);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #42534b;
}

.terminal-top p {
  margin: 0 0 0 8px;
  color: #748a7f;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 26px;
  color: #cce6d9;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.75;
}

.prompt {
  color: var(--accent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stats article {
  padding: 28px;
  border-right: 1px solid var(--border);
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 130px 0 30px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-number {
  margin-bottom: 50px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.command-list {
  display: grid;
  gap: 14px;
}

.command-block {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.command-block span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

code {
  font-family: "JetBrains Mono", monospace;
}

.command-block code,
.download-panel code {
  overflow-x: auto;
  padding: 14px;
  border-radius: 9px;
  background: rgba(0,0,0,0.22);
  color: var(--accent);
  white-space: nowrap;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  align-items: center;
  margin: 130px 0 80px;
  padding: 48px;
  border: 1px solid rgba(92, 242, 167, 0.25);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(92,242,167,0.1), rgba(11,24,19,0.85));
  box-shadow: var(--shadow);
}

.download-panel {
  display: grid;
  gap: 14px;
}

.download-panel small {
  color: var(--muted);
  line-height: 1.5;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 28px 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

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

  .hero {
    gap: 45px;
    padding-top: 70px;
  }

  .terminal-card {
    transform: none;
  }

  .stats,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  nav {
    display: none;
  }

  main {
    padding: 0 18px;
  }

  h1 {
    font-size: 48px;
  }

  .stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stats article:last-child {
    border-bottom: 0;
  }

  .download-section {
    padding: 28px;
  }

  footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}
