*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #211552;
  --bg2: #120e38;
  --card: #1e1a4a;
  --card2: #251f5a;
  --purple: #7c3aed;
  --purple-ll: #a78bfa;
  --gold-l: #fbbf24;
  --teal: #2dd4bf;
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.42);
  --border: rgba(255,255,255,0.1);
  --border-p: rgba(124,58,237,0.4);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
.topnav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(33,21,82,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-p);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem; color: var(--gold-l);
  text-decoration: none;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a, .related-links a {
  color: var(--text-dim); text-decoration: none;
  font-weight: 800; font-size: 0.95rem;
}
.nav-links a:hover, .related-links a:hover { color: var(--purple-ll); }
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.35) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 120px 24px 72px;
}
.hero-inner, .section-inner { max-width: 1040px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(45,212,191,0.12);
  color: var(--teal); border: 1px solid rgba(45,212,191,0.28);
  font-weight: 900; font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 24px;
}
h1, h2, h3 { font-family: 'Fredoka One', cursive; line-height: 1.15; }
h1 {
  max-width: 840px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin-bottom: 24px;
}
.hero-copy {
  max-width: 700px;
  color: var(--text-dim);
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 34px;
}
.badge-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.badge-link {
  display: inline-block; line-height: 0; border-radius: 12px;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}
.badge-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 10px 32px rgba(124,58,237,0.4);
}
.badge-link img { display: block; }
.section { padding: 82px 24px; background: var(--bg2); }
.section:nth-of-type(even) { background: var(--bg); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  align-items: start;
}
.copy-stack { display: grid; gap: 28px; }
.copy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.copy-card h2 { font-size: 1.65rem; color: var(--text); margin-bottom: 18px; }
.copy-card p {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.72;
}
.copy-card p + p { margin-top: 14px; }
.side-panel {
  position: sticky; top: 92px;
  background: linear-gradient(160deg, var(--card2), rgba(124,58,237,0.22));
  border: 1px solid var(--border-p);
  border-radius: 24px;
  padding: 28px;
}
.side-panel h2 { font-size: 1.55rem; color: var(--gold-l); margin-bottom: 14px; }
.side-panel p { color: var(--text-dim); line-height: 1.65; margin-bottom: 22px; }
.pill-list { display: grid; gap: 10px; list-style: none; }
.pill-list li {
  padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim); font-weight: 800;
}
.related-links {
  display: grid; gap: 10px;
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid var(--border);
}
.download-section {
  padding: 90px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(124,58,237,0.45) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  text-align: center;
}
.download-section h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.download-section p {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-size: 1.06rem;
}
.download-section .badge-row { justify-content: center; }
footer {
  background: #07051a;
  border-top: 1px solid var(--border);
  padding: 42px 40px 30px;
  color: var(--text-muted);
}
.footer-inner {
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
}
.footer-row a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 700;
}
.footer-row a:hover { color: var(--purple-ll); }
.footer-copy {
  font-size: 0.82rem; text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px; margin-top: 20px;
}
@media (max-width: 820px) {
  .topnav { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding-top: 78px; }
  .content-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .footer-row { gap: 20px; flex-wrap: wrap; justify-content: center; }
}
