:root {
  --bg: #0d1117;
  --bg-alt: #101820;
  --panel: #131c24;
  --line: #22303c;
  --text: #e6edf3;
  --muted: #8b96a3;
  --green: #7ee787;
  --amber: #f2b544;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

img, svg, video { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 480px at 70% -160px, rgba(126, 231, 135, .10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1060px, calc(100% - 2.5rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #04140a; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 17, 23, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--green); }
.brand-mark {
  width: 18px; height: 18px; display: inline-block;
  background:
    linear-gradient(var(--green), var(--green)) 0 0 / 6px 6px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 6px 6px / 6px 6px no-repeat,
    linear-gradient(var(--green), var(--green)) 12px 12px / 6px 6px no-repeat;
}
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: .92rem; }
nav a:hover { color: var(--green); text-decoration: none; }

.hero { padding: 4rem 0 2.5rem; text-align: center; }
.pill {
  display: inline-block; margin: 0 0 1.2rem; padding: .28rem .85rem;
  border: 1px solid rgba(126, 231, 135, .45); border-radius: 999px;
  color: var(--green); font-family: var(--mono); font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.08; margin: 0 0 1.1rem; letter-spacing: -.02em;
}
.lede { font-size: 1.1rem; color: #c7d0d9; max-width: 46rem; margin: 0 auto 1.8rem; }
.cta-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 0 0 2.4rem; }

.btn {
  display: inline-block; padding: .78rem 1.4rem; border-radius: .55rem;
  font-weight: 700; font-size: .98rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #04140a; box-shadow: 0 8px 30px rgba(126, 231, 135, .22); }
.btn-primary:hover { background: #a5f3ac; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { border-color: var(--green); }

figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border-radius: .7rem; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: .88rem; margin-top: .6rem; text-align: center; }
.hero-shot { max-width: 900px; margin: 0 auto; }
.hero-shot img { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

.honest {
  max-width: 46rem; margin: 1.8rem auto 0; padding: 1rem 1.2rem;
  border: 1px solid rgba(242, 181, 68, .35); border-radius: .6rem;
  background: rgba(242, 181, 68, .06); color: #d7c9ac; font-size: .95rem;
}
.honest strong { color: var(--amber); }

.section { padding: 3.8rem 0; }
.section.alt {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 2.6rem 2.1rem;
  margin-block: 1.6rem;
}
.section h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); margin: 0 0 .8rem; letter-spacing: -.01em; }
.section-lede { color: #c0c9d2; max-width: 44rem; margin: 0 0 2rem; }

.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.edition { background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; padding: 1.4rem; }
.edition h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.edition-meta { font-family: var(--mono); color: var(--amber); font-size: .8rem; margin: 0 0 .8rem; }
.edition p { margin: 0; color: #c0c9d2; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; padding: 1.3rem; }
.card h3 { margin: .1rem 0 .6rem; font-size: 1.08rem; }
.card p { margin: 0; color: #c0c9d2; font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.stat { text-align: center; border: 1px solid var(--line); border-radius: .6rem; padding: 1.1rem .7rem; background: var(--panel); }
.stat-value { display: block; font-family: var(--mono); font-size: 1.7rem; color: var(--green); }
.stat-label { color: var(--muted); font-size: .82rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; align-items: start; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; padding: 1.2rem; min-width: 0; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); color: var(--amber); font-size: .85rem; display: block; margin-bottom: .4rem; }
.steps h3 { margin: .1rem 0 .4rem; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.4rem; }
.download-card {
  display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: .7rem;
  color: var(--text); transition: border-color .15s ease, transform .15s ease;
}
.download-card:hover { border-color: var(--green); text-decoration: none; transform: translateY(-2px); }
.download-card .os { font-weight: 700; font-size: 1.05rem; }
.download-card .arch { color: var(--muted); font-size: .85rem; font-family: var(--mono); }

pre {
  max-width: 100%;
  background: #090d12; border: 1px solid var(--line); border-radius: .6rem;
  padding: 1rem 1.1rem; overflow-x: auto; font-size: .87rem; line-height: 1.55;
}
code { font-family: var(--mono); font-size: .92em; color: var(--green); }
pre code { color: #d7e0e8; }
.muted { color: var(--muted); font-size: .92rem; }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; }
summary::marker { color: var(--green); }
details p { color: #c0c9d2; margin: .7rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2.3rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; padding: 0; margin: 1rem 0; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--green); }

@media (max-width: 860px) {
  .editions, .cards, .stats, .steps, .download-grid { grid-template-columns: 1fr; }
  .section.alt { padding: 1.9rem 1.2rem; }
  nav { gap: .8rem; font-size: .9rem; }
  .hero { padding-top: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .download-card { transition: none; }
}

.shot-wide { max-width: 640px; margin: 0 auto 2rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { min-width: 0; }
.gallery img { width: 100%; height: auto; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; }
}
