:root {
  color-scheme: dark;
  --bg: #09111f;
  --panel: #121b30;
  --panel-2: #19243f;
  --border: #2d3a5f;
  --text: #f6f8fd;
  --muted: #aab4cf;
  --accent: #85e7ff;
  --success: #9ef7bb;
  --warning: #ffd38a;
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(25, 36, 63, 0.95), var(--bg) 38%, #050914 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 900;
}

.nav nav {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text) !important;
}

main,
.footer {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 570px;
  gap: 72px;
  align-items: center;
  min-height: 660px;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.lede,
.section p,
.card p,
.timeline-item p,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 690px;
  font-size: 1.35rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  background: var(--accent);
  color: var(--bg);
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--panel);
}

.terminal-card,
.card,
.timeline,
.code-stack pre,
.roadmap {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(18, 27, 48, 0.88);
  box-shadow: 0 28px 80px var(--shadow);
}

.terminal-card {
  min-height: 410px;
  padding: 28px;
  background: #0b101d;
}

.terminal-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
}

.terminal-dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-card pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--success);
  font-size: 1rem;
  line-height: 1.7;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

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

.card {
  min-height: 165px;
  padding: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

.code-stack {
  display: grid;
  gap: 18px;
}

.code-stack pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: var(--success);
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 36px;
  background: var(--panel-2);
}

.timeline-item span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 900;
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  padding: 42px;
}

.issue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li + li {
  margin-top: 14px;
}

.issue-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(9, 17, 31, 0.45);
  color: var(--text);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 48px 0 72px;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav nav {
    display: flex;
    flex-wrap: wrap;
  }

  .hero {
    gap: 34px;
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .terminal-card {
    padding: 20px;
  }

  .roadmap {
    padding: 24px;
  }
}
