:root {
  --bg: #0d0f14;
  --surface: #161a22;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #8b7bff;
  --accent-2: #4fd1c5;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid #ffffff14; position: sticky; top: 0; background: #0d0f14e6; backdrop-filter: blur(8px); z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; }
nav a:hover { color: var(--text); }

.hero { padding: 96px 0 72px; background: radial-gradient(60% 80% at 50% 0%, #8b7bff22, transparent); text-align: center; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; margin: .3em 0; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #ffffff33; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); padding: 20px; }
.download-card h3 { margin: 0 0 6px; }
.download-card p { color: var(--muted); margin: 0; }
code { background: #ffffff14; padding: 1px 6px; border-radius: 4px; }

.section { padding: 56px 16px; }
h2 { font-size: 1.8rem; margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 16px; }
.thumb { aspect-ratio: 16/9; border-radius: 8px; background: linear-gradient(135deg, #8b7bff55, #4fd1c555); margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tag { font-size: .75rem; color: var(--accent-2); border: 1px solid currentColor; padding: 2px 10px; border-radius: 999px; }

.site-footer { border-top: 1px solid #ffffff14; padding: 24px 0; color: var(--muted); font-size: .9rem; text-align: center; }

@media (max-width: 340px) {
  nav a { margin-left: 12px; font-size: .9rem; }
  .logo span { display: none; }
}

@media (max-width: 560px) {
  nav a:not([href="#download"]) { display: none; }
}
