@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

:root {
  --bg:         #181818;
  --surface:    #222222;
  --border:     #2e2e2e;
  --border-hi:  #3d3d3d;
  --text:       #e0e0e0;
  --text-dim:   #9a9a9a;
  --accent:     #4ade80;
  --accent-ink: #0f2417;
  --font:       'JetBrains Mono', monospace;
}

html { background: var(--bg); color: var(--text); font-family: var(--font); }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.65;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

a { color: var(--accent); text-underline-offset: 3px; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero { margin-bottom: 56px; }

h1 {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

section + section { margin-top: 64px; }

h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section > p { max-width: 72ch; }

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
}

.muted { color: var(--text-dim); }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.button:hover { filter: brightness(1.08); }

.button-secondary {
  border-color: var(--border-hi);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover { border-color: var(--text-dim); filter: none; }

.download-list {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  list-style: none;
}

.download-list li + li { border-top: 1px solid var(--border); }

.download-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 11px 16px;
  color: var(--text);
  text-decoration: none;
}

.download-list a:hover { color: var(--accent); }

.download-size { color: var(--text-dim); font-size: 13px; }

.note {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 13px;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

@media (max-width: 600px) {
  main { padding: 40px 16px 32px; }
  .hero { margin-bottom: 36px; }
  section + section { margin-top: 44px; }
  .button { width: 100%; text-align: center; }
}
