:root {
  --purple: #8000A0;
  --purple-dark: #52006B;
  --purple-deep: #2A0038;
  --orange: #FF8C00;
  --yellow: #FFD700;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.78);
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.16);
  --max: 960px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--purple-deep);
  background-image: radial-gradient(ellipse at top, var(--purple) 0%, var(--purple-dark) 45%, var(--purple-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); }
a:hover { color: var(--orange); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
}
.site-header .brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--yellow); }

/* Hero */
.hero {
  text-align: center;
  padding: 24px 0 56px;
}
.hero-logo {
  width: min(320px, 72vw);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}
.hero h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 24px 0 12px;
}
.hero h1 .accent { color: var(--yellow); }
.hero p.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}
.badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #E64A19);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(230, 74, 25, 0.35);
}

/* Steps */
.section-title {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple-dark);
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--text-muted); }

/* Modes */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.mode {
  border-radius: 20px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--card-border);
}
.mode h3 { margin: 0 0 6px; color: var(--yellow); }
.mode p { margin: 0; color: var(--text-muted); }

/* Document pages (privacy, support) */
.doc {
  background: #fff;
  color: #1d1324;
  border-radius: 20px;
  padding: 40px;
  margin: 8px 0 56px;
}
.doc h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  color: var(--purple-dark);
  margin-top: 0;
  line-height: 1.2;
}
.doc h2 { color: var(--purple-dark); margin-top: 32px; font-size: 1.25rem; }
.doc a { color: var(--purple); }
.doc a:hover { color: #E64A19; }
.doc .meta { color: #6b5d75; margin-top: -8px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}
.site-footer nav { margin-bottom: 10px; }
.site-footer nav a {
  color: var(--text-muted);
  margin: 0 10px;
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--yellow); }
.site-footer p { margin: 4px 0; }

@media (max-width: 720px) {
  .steps, .modes { grid-template-columns: 1fr; }
  .doc { padding: 24px 20px; }
  .site-header nav a { margin-left: 14px; }
}
