:root {
  color-scheme: dark;
  --bg: #080a0b;
  --panel: #111616;
  --panel-2: #17201f;
  --line: #283432;
  --text: #edf7f4;
  --muted: #9aaca7;
  --accent: #50d6a7;
  --blue: #8cb9ff;
  --amber: #e6b65c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  min-height: 78vh;
  align-items: center;
  gap: 32px;
}

.trace-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.hero-copy,
.terminal {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 15px;
}

.lead {
  max-width: 580px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

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

pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  color: var(--accent);
  font: 14px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.install,
.downloads,
.proof {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.steps,
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

article {
  padding: 16px;
}

article span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--accent);
  font-weight: 800;
}

article p,
.downloads p {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

button,
.download {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #062017;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

button.copied {
  border-color: var(--blue);
  background: var(--blue);
}

.downloads {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
}

code {
  color: var(--amber);
  overflow-wrap: anywhere;
}

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

  .hero {
    min-height: auto;
    padding: 42px 0;
  }

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