:root {
  --bg: #070912;
  --panel: #0f1424;
  --panel-2: #141a2e;
  --text: #eef2ff;
  --muted: #9aa6c7;
  --line: #232a44;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(900px 500px at 8% 8%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 18, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.02em; }

.brand svg { width: 28px; height: 28px; }

.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }

.nav-links { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.nav-cta:hover { border-color: var(--violet); }

.hero { padding: 78px 0 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.03em; }

h1 { font-size: clamp(40px, 6vw, 72px); max-width: 850px; margin-top: 18px; }

h1 .grad {
  background: linear-gradient(105deg, #fff 10%, #c4b5fd 45%, #67e8f9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 22px 0 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: linear-gradient(135deg, var(--violet), #6d28d9); color: white; box-shadow: 0 14px 40px rgba(109, 40, 217, 0.32); }

.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }

.btn-ghost:hover { border-color: var(--cyan); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 12px; }

.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(52, 211, 153, 0.6); }

.section { padding: 54px 0; border-top: 1px solid var(--line); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }

.section-head p { color: var(--muted); max-width: 480px; margin: 0; font-size: 14px; }

h2 { font-size: clamp(26px, 3vw, 38px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25); margin-bottom: 16px; }

.card h3 { font-size: 16px; margin-bottom: 8px; }

.card p { margin: 0; color: var(--muted); font-size: 14px; }

.download {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.download-panel, .license-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.download-panel h3, .license-panel h3 { font-size: 20px; margin-bottom: 8px; }

.download-panel p, .license-panel p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 10px;
  font-size: 13px;
}

.file-row span:first-child { color: var(--text); font-weight: 600; }

.file-row span:last-child { color: var(--muted); }

.hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); word-break: break-all; }

form { display: grid; gap: 12px; }

label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }

.notice { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; min-height: 44px; }

.notice.ok { border-color: rgba(52,211,153,0.35); color: var(--ok); background: rgba(52,211,153,0.06); }

.notice.bad { border-color: rgba(248,113,113,0.35); color: #fca5a5; background: rgba(248,113,113,0.06); }

.muted { color: var(--muted); font-size: 12px; }

.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 12px; }

.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.footer a:hover { color: var(--text); }

.page { padding: 64px 0 80px; }

.page h1 { font-size: clamp(32px, 4vw, 48px); max-width: 720px; }

.page .lede { margin-top: 16px; }

.legal { max-width: 760px; color: var(--muted); font-size: 14px; }

.legal h2 { color: var(--text); font-size: 18px; margin: 28px 0 8px; }

.legal p, .legal li { margin: 0 0 12px; }

.legal ul { padding-left: 20px; }

@media (max-width: 860px) {
  .cards, .download { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
}
