/* Design tokens, reset, typography and shared utilities. */
:root {
  --purple: #6c3cf0;
  --purple-dark: #3b1d8f;
  --pink: #ff5fa2;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --green: #2ec4a6;
  --blue: #3fa9ff;
  --ink: #26214a;
  --muted: #5f5a7d;
  --cream: #fff9f0;
  --night: #1d1838;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(59, 29, 143, .45);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5rem; }
h3 { font-size: 1.35rem; margin: .6rem 0 .4rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: min(1140px, 92%); margin-inline: auto; }
section { padding: 96px 0; position: relative; }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.rainbow-text {
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink), #b98bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 560px) {
  section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
