:root {
  --bg: #111214;
  --surface: #1a1b1f;
  --border: #2a2c31;
  --text: #e8e8ea;
  --muted: #9a9ca3;
  --accent: #e5484d;
  --accent-hover: #f05a5f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--accent); }
header, main, footer { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.lang { position: absolute; top: 20px; right: 24px; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font: 14px "Segoe UI", system-ui, sans-serif; color: var(--muted); cursor: pointer; }
.lang:hover { color: var(--text); }

header { padding-top: 72px; padding-bottom: 40px; text-align: center; }
.logo { display: inline-flex; align-items: center; gap: 14px; font-size: 40px; font-weight: 700; margin: 0; }
.logo img { border-radius: 11px; }
.tagline { font-size: 20px; color: var(--muted); max-width: 620px; margin: 16px auto 8px; }
.release { color: var(--muted); font-size: 14px; margin: 0; min-height: 1.6em; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.card.featured { border-color: rgba(229, 72, 77, .55); }
.platform { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.card h2 { margin: 4px 0 8px; font-size: 21px; }
.card p { margin: 0 0 18px; color: var(--muted); flex: 1; }
.button {
  display: block;
  text-align: center;
  background: #2a2b30;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 8px;
}
.button:hover { background: #34353b; }
.featured .button { background: var(--accent); color: #fff; }
.featured .button:hover { background: var(--accent-hover); }
.button.disabled { opacity: .45; pointer-events: none; }
.size { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; min-height: 1.4em; }

section.notes, section.help { margin-top: 48px; }
section h2 { font-size: 22px; margin: 0 0 12px; }
.notes ul, .help ol { margin: 0; padding-left: 22px; color: var(--muted); }
.notes li, .help li { margin: 4px 0; }
.muted { color: var(--muted); font-size: 14px; }
code { white-space: nowrap; font: 14px Consolas, "Cascadia Mono", monospace; color: var(--text); background: #24252a; padding: 1px 6px; border-radius: 4px; }

footer { margin-top: 56px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  header { padding-top: 64px; }
  .logo { font-size: 32px; }
  .tagline { font-size: 18px; }
}
