:root {
  --bg: #05030a;
  --ink: #f4f0ff;
  --muted: rgba(244, 240, 255, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --violet: #7c4dff;
  --cyan: #67e8f9;
  --gold: #fde68a;
  --pink: #f472b6;
  --card: rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 10px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(253, 230, 138, 0.28);
  background: rgba(253, 230, 138, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
}

h1 {
  margin: 18px 0 10px;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

h1 span:first-child {
  background: linear-gradient(90deg, #e9d5ff, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 span:last-child {
  background: linear-gradient(90deg, #f472b6, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn.primary {
  color: white;
  background: linear-gradient(135deg, #7c4dff, #5b21b6);
  box-shadow: 0 10px 28px rgba(124, 77, 255, 0.35);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  padding-bottom: 72px;
}

.card, .prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p, .prose p, .prose li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.prose { padding: 28px; margin-bottom: 80px; }
.prose h1, .prose h2 { letter-spacing: -0.03em; }
.prose h2 { margin-top: 1.6em; }
.prose p { margin: 0.8em 0; }
.prose ul { padding-left: 1.15em; }
.prose a { color: var(--cyan); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

footer a { color: inherit; }

@media (max-width: 640px) {
  .links { display: none; }
  .hero { padding-top: 48px; }
}
