:root {
  --purple: #7b42d9;
  --purple-dark: #6532b8;
  --ink: #2d1b69;
  --muted: #5b4a8f;
  --bg: #f9f5ff;
  --card: #fff;
  --pink: #ff7ab6;
  --yellow: #ffd23f;
  --teal: #3cc6b5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--ink); margin: 0; line-height: 1.6; }
a { color: var(--purple); font-weight: bold; }
img, svg { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; border-bottom: 2px solid #efe6ff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { font-size: 20px; text-decoration: none; color: var(--purple); white-space: nowrap; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--purple); }

/* Buttons */
.btn { display: inline-block; background: var(--purple); color: #fff; text-decoration: none; font-weight: bold; font-size: 18px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; box-shadow: 0 6px 0 var(--purple-dark); transition: transform .1s, box-shadow .1s; }
.btn:hover { background: var(--purple-dark); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--purple-dark); }
.btn.ghost { background: #fff; color: var(--purple); box-shadow: 0 6px 0 #e3d4ff; }

/* Hero */
.hero { text-align: center; padding: 64px 0 48px; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); color: var(--purple); margin: 0 0 8px; line-height: 1.1; }
.hero .tagline { font-size: clamp(20px, 3vw, 26px); margin: 0 0 8px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.doodles { font-size: 44px; letter-spacing: 14px; margin-bottom: 12px; }
.doodles span { display: inline-block; animation: bounce 2.4s ease-in-out infinite; }
.doodles span:nth-child(2) { animation-delay: .3s; }
.doodles span:nth-child(3) { animation-delay: .6s; }
.doodles span:nth-child(4) { animation-delay: .9s; }
@keyframes bounce { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .doodles span { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 48px 0; }
h2 { color: var(--purple); font-size: clamp(26px, 4vw, 34px); text-align: center; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 24px; padding: 28px 24px; box-shadow: 0 8px 30px rgba(123, 66, 217, 0.12); }
.card .emoji { font-size: 40px; line-height: 1; }
.card h3 { margin: 12px 0 6px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: bold; font-size: 20px; display: grid; place-items: center; }
.band { background: #fff; }
.parents { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.parents li { background: var(--bg); border-radius: 16px; padding: 16px 18px; }
.center { text-align: center; }

/* FAQ */
details { background: #fff; border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(123, 66, 217, 0.08); }
summary { font-weight: bold; cursor: pointer; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Legal / content pages */
.page { max-width: 760px; margin: 40px auto; background: #fff; border-radius: 24px; padding: 40px clamp(20px, 5vw, 48px); box-shadow: 0 8px 30px rgba(123, 66, 217, 0.12); }
.page h1 { color: var(--purple); margin-top: 0; line-height: 1.2; }
.page h2 { text-align: left; font-size: 22px; margin: 32px 0 8px; }
.page .updated { color: var(--muted); font-size: 14px; margin-top: -8px; }
.page .summary { background: var(--bg); border-radius: 16px; padding: 16px 20px; }
.page ul { padding-left: 22px; }

/* Forms */
form label { display: block; font-weight: bold; margin: 16px 0 6px; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 2px solid #e3d4ff; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--purple); }
form textarea { min-height: 140px; resize: vertical; }
form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; }
form .checkbox input { width: auto; margin-top: 5px; }
form button { margin-top: 20px; }
.hidden { display: none; }
.notice { background: #e8fbf8; border: 2px solid var(--teal); border-radius: 16px; padding: 16px 20px; }
.notice.error { background: #fff0f6; border-color: var(--pink); }

/* Footer */
.site-footer { background: var(--ink); color: #e9e1ff; padding: 36px 0; margin-top: 40px; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; font-weight: normal; margin-right: 16px; }
.site-footer p { margin: 4px 0; }
