:root {
  --bg: #0a0d0b;
  --panel: #0e1310;
  --panel2: #111712;
  --ink: #e4ece5;
  --muted: #97a59b;
  --line: #253229;
  --green: #98f69c;
  --green2: #6edf74;
  --black: #050705;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1.65;
}
a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(10,13,11,.94);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--green2);
  color: var(--green);
  font-size: .76rem;
}
nav { display: flex; gap: 20px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
nav a:hover { color: var(--green); }

nav a.nav-highlight {
  color: var(--green);
  font-weight: 800;
  border: 1px solid var(--green2);
  padding: 7px 10px;
}
nav a.nav-highlight:hover {
  background: var(--green);
  color: var(--black);
}

.hero {
  padding: 92px 0 80px;
}
.simple-hero {
  min-height: auto;
}
.hero-copy {
  max-width: 760px;
}
.kicker, .eyebrow, .platform {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 800;
}
.hero h1 {
  margin: 14px 0 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.lead {
  margin: 0;
  color: #bcc8bf;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}
.button.primary {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}
.button.ghost:hover,
.button.primary:hover {
  opacity: .92;
}
.micro {
  margin-top: 14px;
  color: #708178;
  font-size: .78rem;
}

.statement {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.statement h2, .section-title h2, .quickstart h2 {
  margin: 8px 0 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.statement p, .section-title > p:last-child, .download-card p, .platform-card p, footer p {
  color: var(--muted);
}
.mini-code {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 22px;
}
.mini-code code,
.boot-note code,
.quickstart pre {
  border: 1px solid var(--line);
  background: #060806;
  color: var(--green);
}
.mini-code code {
  padding: 9px 12px;
}
.mini-code span { color: #758379; font-size: .82rem; }

.section {
  padding: 92px 0;
}
.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.feature-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 0;
}
.number {
  color: #66766d;
  font-size: .72rem;
}
.feature-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.02rem;
}
.feature-grid p {
  margin: 0;
  font-size: .88rem;
}

.pixel-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.pixel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.download-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
}
.download-card:hover,
.platform-card:hover,
.feature-grid article:hover {
  border-color: #425447;
}
.filetype {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #334038;
  color: var(--green);
  font-size: .74rem;
}
.download-card h3 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
}
.download-card p {
  min-height: 0;
}
.download-card strong {
  color: var(--green);
  font-size: .8rem;
}
.boot-note {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.boot-note span {
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .12em;
}
.boot-note code { padding: 4px 8px; }
.boot-note p {
  margin: 0;
  font-size: .82rem;
}

.main-downloads {
  display: grid;
  gap: 12px;
}
.platform-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
}
.platform-card h3 {
  margin: 5px 0 2px;
  font-size: 1.28rem;
}
.platform-card b {
  color: var(--green);
  white-space: nowrap;
  font-size: .82rem;
}
.platform-card.docs {
  background: transparent;
}

.quickstart {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 84px 0 96px;
}
.quickstart pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  line-height: 1.9;
}
.quote {
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.quote blockquote {
  max-width: 860px;
  margin: 0 auto 10px;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: #c9d6cc;
}
.quote cite {
  color: #708178;
  font-style: normal;
  font-size: .78rem;
}

footer {
  padding: 30px 0 56px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: end;
}
footer b {
  color: var(--green);
  font-size: .78rem;
  letter-spacing: .1em;
}
footer p {
  font-size: .75rem;
}
.footer-links {
  display: flex;
  gap: 14px;
}
.footer-links a {
  color: var(--muted);
  font-size: .75rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }
.copyright { margin: 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .feature-grid,
  .pixel-grid,
  .quickstart,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .boot-note {
    grid-template-columns: 1fr;
  }
  .platform-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .topbar { padding: 0 12px; }
  .hero { padding: 72px 0 64px; }
  .section, .pixel-section, .statement { padding: 64px 0; }
  .footer-links { flex-direction: column; gap: 6px; }
}
