:root {
  --bg: #0b0d12;
  --text: #eef1f6;
  --muted: #8a93a3;
  --line: #1d222c;
  --green: #28c878;
  --blue: #146ec8;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(600px 400px at 50% 30%, rgba(40, 200, 120, 0.10), transparent 70%),
    radial-gradient(700px 500px at 50% 45%, rgba(20, 110, 200, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

/* ---------- Home ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.logo {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 20px 60px -10px rgba(20, 110, 200, 0.55);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

h1 {
  margin-top: 28px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tagline {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
}

.download {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(40, 200, 120, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.download:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(40, 200, 120, 0.75);
}

.download svg { width: 20px; height: 20px; }

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* ---------- Source page ---------- */

.source-page { max-width: 960px; width: 100%; margin: 0 auto; padding: 32px 24px 48px; }

.source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.raw {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

pre {
  background: #10131a;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  overflow: auto;
  font: 13px/1.55 "Cascadia Code", Consolas, monospace;
  color: #c9d1dc;
  tab-size: 4;
}
