:root {
  color-scheme: dark;
  --ink: #f8f7f2;
  --muted: #aaa9a2;
  --accent: #ffdd35;
  --panel: #171815;
  --line: #30312b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 20%, #313514 0, transparent 28rem),
    #0d0e0c;
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main { width: min(1120px, calc(100% - 40px)); margin: auto; }
nav, footer { display: flex; align-items: center; justify-content: space-between; }
nav { min-height: 80px; border-bottom: 1px solid var(--line); }
a { color: inherit; text-decoration: none; }
nav > a:last-child, footer a { color: var(--muted); }
.brand { display: flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 800; }
.brand img { width: 31px; height: 31px; }

.hero { position: relative; max-width: 820px; padding: 100px 0 72px; }
.hero-logo { position: absolute; z-index: -1; right: -220px; top: 42px; width: 410px; opacity: .12; filter: grayscale(1); }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 14px 0 22px; font-size: clamp(54px, 8vw, 92px); line-height: .95; letter-spacing: -.06em; }
.intro { max-width: 650px; color: var(--muted); font-size: clamp(18px, 2.2vw, 23px); }
.release-status { margin-top: 28px; color: var(--accent); font-size: 14px; }

.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
article { min-height: 285px; padding: 28px; background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: 16px; }
.os { color: var(--accent); font-size: 34px; }
h2 { margin: 20px 0 6px; font-size: 25px; }
article p { min-height: 48px; margin: 0 0 28px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { padding: 10px 14px; background: var(--accent); color: #151508; border-radius: 8px; font-size: 14px; font-weight: 800; }
.links a.secondary { background: #292a25; color: var(--ink); }

.screenshots { padding-top: 110px; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 55px); line-height: 1; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
figure { overflow: hidden; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 70px rgb(0 0 0 / 30%); }
.window-bar { display: flex; gap: 6px; align-items: center; height: 32px; padding: 0 13px; background: #242520; border-bottom: 1px solid var(--line); }
.window-bar span { width: 8px; height: 8px; background: #55564f; border-radius: 50%; }
figure img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 672; }
figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 14px; }
footer { margin-top: 70px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  .downloads { grid-template-columns: 1fr; }
  article { min-height: auto; }
  .hero-logo { right: -160px; }
  .screenshots { padding-top: 80px; }
  .screenshot-grid { grid-template-columns: 1fr; }
}
