@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Nunito:wght@500;700;800&display=swap");
:root { --ink: #1b1d3a; --muted: #555a7a; --bg: #fffaf2; --violet: #7b4fe0; --blue: #3b6cf6; --yellow: #ffd23f; --orange: #ef6c2f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
body.big-text { font-size: 22px; }
body.contrast { --muted: #000; background: #fff; }
body.contrast .ccard, body.contrast .modal, body.contrast .bubble { border: 3px solid #000 !important; }
body.calm *, body.calm *::before { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
h1, h2, h3, .logo { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; margin: 0 0 .5rem; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
.b1 { width: 420px; height: 420px; background: #c9d8ff; top: -120px; left: -100px; }
.b2 { width: 360px; height: 360px; background: #ffe7a8; top: 30%; right: -120px; animation-delay: -4s; }
.b3 { width: 380px; height: 380px; background: #d8f3e3; bottom: -140px; left: 30%; animation-delay: -8s; }
.float { position: absolute; font-size: 2rem; opacity: .7; animation: bob 6s ease-in-out infinite; }
.f1 { top: 12%; left: 6%; } .f2 { top: 22%; right: 10%; animation-delay: -2s; } .f3 { top: 70%; left: 8%; animation-delay: -3s; } .f4 { top: 60%; right: 6%; animation-delay: -1s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
@keyframes bob { 50% { transform: translateY(-14px); } }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .7rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 242, .85); backdrop-filter: blur(10px); border-bottom: 1px solid #0000000d; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--violet); text-decoration: none; display: flex; align-items: center; gap: .3rem; }
.logo em { color: var(--orange); font-style: normal; }
.logo-star { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--yellow); color: var(--ink); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
nav { display: flex; gap: .3rem; margin-left: auto; }
nav button { background: none; border: 0; padding: .5rem .8rem; border-radius: 999px; font-weight: 800; color: var(--ink); }
nav button:hover { background: #fff; }
.tools { display: flex; gap: .4rem; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 3px 10px #0001; font-size: 1.2rem; transition: transform .2s; }
.icon-btn:hover { transform: scale(1.1) rotate(-6deg); }
.a11y { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: .7rem 1rem; background: #fff; border-radius: 18px; box-shadow: 0 6px 20px #0001; font-weight: 700; }
.a11y input { width: 20px; height: 20px; vertical-align: middle; }

.hero { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.hero-text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-text > *:nth-child(2) { animation-delay: .1s; } .hero-text > *:nth-child(3) { animation-delay: .2s; } .hero-text > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.kicker { display: inline-block; background: #fff; padding: .3rem .9rem; border-radius: 999px; font-weight: 800; color: var(--violet); font-size: .85rem; box-shadow: 0 3px 10px #0001; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h1 span { background: linear-gradient(90deg, var(--orange), #e0457b, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.row-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.btn-main, .btn-alt, .btn-ghost, .btn-card { border: 0; border-radius: 999px; padding: .85rem 1.4rem; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.btn-main { background: var(--c, var(--blue)); color: #fff; box-shadow: 0 6px 0 #0003; }
.btn-alt { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #c99b00; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 3px 12px #0002; }
.btn-main:hover, .btn-alt:hover, .btn-ghost:hover { transform: translateY(-3px); }
.btn-main:active, .btn-alt:active { transform: translateY(3px); box-shadow: 0 2px 0 #0003; }

.hero-art { position: relative; animation: rise 1s .2s both; }
.greeter { position: absolute; top: -10px; right: 0; width: 150px; background: none; border: 0; padding: 0; z-index: 2; }
.greeter .buddy { width: 110px; animation: hop 2.4s ease-in-out infinite; }
.bubble { background: #fff; border-radius: 22px; padding: 1rem 1.2rem; box-shadow: 0 8px 24px #0001; position: relative; }
.bubble p { margin: 0 0 .6rem; }
.bubble.small { font-size: .85rem; font-weight: 800; padding: .5rem .7rem; margin-bottom: .3rem; }
.kids { width: 100%; margin-top: 90px; }
.kid { animation: hop 2s ease-in-out infinite; transform-box: fill-box; }
@keyframes hop { 50% { translate: 0 -8px; } }
.buddy .arm { transform-origin: 80px 62px; }
.buddy.waving .arm { animation: wave 1s ease-in-out infinite; }
@keyframes wave { 50% { transform: rotate(-25deg); } }

.section { max-width: 1200px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 3rem); }
.title { font-size: clamp(2rem, 4vw, 2.8rem); }
.lead { color: var(--muted); max-width: 60ch; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 1.5rem; }
.ccard { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 1.2rem; box-shadow: 0 10px 30px #1b1d3a14;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.ccard:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 20px 40px #1b1d3a22; }
.cart { height: 140px; border-radius: 22px; background: radial-gradient(circle at 30% 30%, #fff8, transparent 50%), var(--s); display: grid; place-items: center; margin-bottom: 1rem; overflow: hidden; position: relative; }
.cart::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 14px solid var(--c); opacity: .15; bottom: -90px; right: -40px; }
.cart span { font-size: 4rem; transition: transform .4s; }
.ccard:hover .cart span { transform: scale(1.2) rotate(10deg); }
.ccard h3 { font-size: 1.3rem; color: var(--c); }
.ccard p { color: var(--muted); flex: 1; margin: 0 0 1rem; }
.btn-card { background: var(--s); color: var(--c); align-self: flex-start; }
.btn-card:hover { background: var(--c); color: #fff; }

.incl { background: linear-gradient(135deg, #e3ecff, #ece5ff); border-radius: 36px; padding: clamp(1.5rem, 4vw, 3rem); }
.pillars { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1rem 0 1.5rem; }
.pillars li { background: #fff; padding: .8rem 1rem; border-radius: 18px; font-weight: 700; }
.foot { text-align: center; padding: 2rem; color: var(--muted); font-weight: 700; }

.overlay { position: fixed; inset: 0; z-index: 50; background: #1b1d3a88; display: grid; place-items: center; padding: .8rem; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(760px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 30px; padding: clamp(1rem, 3vw, 1.8rem); animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: .7rem; }
.modal-head h2 { flex: 1; font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--c); margin: 0; }
.modal-icon { font-size: 2.2rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.tabs button { border: 0; background: var(--s); color: var(--ink); border-radius: 999px; padding: .5rem .9rem; font-weight: 800; }
.tabs button.on { background: var(--c); color: #fff; }
.panel { animation: rise .4s both; }
.poster { text-align: center; background: linear-gradient(160deg, var(--s), #fff); border: 3px dashed var(--c); border-radius: 26px; padding: 2rem 1rem; }
.poster-icon { font-size: 5rem; animation: hop 2s infinite; }
.poster-tag { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .8rem; color: var(--c); }
.poster h3 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.poster .row-btns { justify-content: center; }
.say { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.say .buddy { width: 110px; flex-shrink: 0; }
.say .bubble { flex: 1; min-width: 220px; background: var(--s); }
.choices { display: grid; gap: .7rem; margin-top: 1rem; }
.choice { text-align: left; border: 3px solid var(--s); background: #fff; border-radius: 20px; padding: 1rem; font-weight: 800; transition: transform .2s, border-color .2s; }
.choice:hover { border-color: var(--c); transform: translateX(4px); }
.choice.right { background: #d6f5e3; border-color: #22a06b; animation: pop .3s; }
.choice.wrong { background: #ffe1e1; border-color: #e5484d; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.ending { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 20px; font-weight: 700; animation: pop .4s; }
.ending.good { background: #d6f5e3; } .ending.bad { background: #fff3d6; }
.checks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checks label { display: flex; gap: .8rem; align-items: center; background: var(--s); padding: .9rem 1rem; border-radius: 18px; font-weight: 700; cursor: pointer; }
.checks input { width: 26px; height: 26px; accent-color: var(--c); flex-shrink: 0; }
.checks label.done { text-decoration: line-through; opacity: .7; }
.ok-msg { font-weight: 800; color: #157347; margin-top: 1rem; }
.progress { font-weight: 800; color: var(--c); }
.win { text-align: center; } .win .buddy { width: 120px; } .win p { font-size: 2rem; margin: .3rem 0; }
.challenge { text-align: center; background: var(--s); border-radius: 26px; padding: 2rem 1rem; }
.challenge .big { font-size: 1.3rem; font-weight: 800; }
@media print { .top, .bg, .tabs, .row-btns, .modal-head .icon-btn, main, .foot { display: none !important; } .overlay { position: static; background: none; } }
