:root {
  --cream: #fff7ea;
  --white: #ffffff;
  --ink: #3a2f4d;
  --muted: #7a6f88;
  --mint: #8fd3c1;
  --peach: #ffb59a;
  --sky: #9cc8f0;
  --butter: #ffd66b;
  --lilac: #c8b6ef;
  --plum: #6b4fa3;
  --line: #efe4d3;
  --max: 1160px;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--round); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.1rem; line-height: 1.25; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hl { color: var(--plum); background: linear-gradient(transparent 62%, var(--butter) 62% 90%, transparent 90%); padding: 0 .1em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }

.announce { margin: 0; background: var(--ink); color: var(--cream); text-align: center; font-weight: 700; font-size: .86rem; padding: 8px 16px; }

.btn { display: inline-block; padding: .9em 1.7em; border-radius: 999px; background: var(--plum); color: var(--white); font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 5px 0 #4d3680; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #4d3680; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #4d3680; }
.btn:focus-visible, .age-btn:focus-visible, .world:focus-visible, .add:focus-visible, .cart:focus-visible, .nav a:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

.sticker { display: inline-block; font-weight: 800; font-size: .86rem; padding: .4em 1em; border-radius: 999px; background: var(--butter); transform: rotate(-3deg); box-shadow: 0 3px 0 rgba(58,47,77,.12); margin-bottom: 18px; }
.s2 { background: var(--mint); transform: rotate(2deg); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,247,234,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.wordmark b { color: var(--plum); }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 800; font-size: .98rem; padding: .45em .95em; border-radius: 999px; }
.nav a:nth-child(1):hover { background: var(--mint); } .nav a:nth-child(2):hover { background: var(--sky); } .nav a:nth-child(3):hover { background: var(--peach); } .nav a:nth-child(4):hover { background: var(--butter); }
.cart { position: relative; display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; padding: .45em .9em; border-radius: 999px; background: var(--white); box-shadow: 0 3px 0 var(--line); }
.cart svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.900; stroke-linejoin: round; stroke-linecap: round; }
.cart.has-items { background: var(--butter); }

.hero { position: relative; background: var(--cream); padding: 40px 0 90px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero-art { position: relative; height: 400px; }
.blob { position: absolute; padding: 28px; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; }
.blob svg { width: 100%; }
.b1 { width: 250px; height: 250px; left: 10%; top: 2%; background: var(--lilac); animation: bob 6s ease-in-out infinite; }
.b2 { width: 180px; height: 180px; right: 0; top: 38%; background: var(--mint); animation: bob 7s ease-in-out infinite reverse; }
.b3 { width: 170px; height: 170px; left: 0; bottom: 0; background: var(--sky); animation: bob 8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }
.deco { position: absolute; z-index: 0; }
.d-star { width: 46px; left: 46%; top: 30px; animation: spin 14s linear infinite; }
.d-cloud { width: 150px; right: 6%; top: 24px; opacity: .9; }
.d-dot { width: 18px; left: 4%; bottom: 120px; }
@keyframes spin { to { transform: rotate(360deg); } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }

.worlds { padding: 20px 0 10px; }
.worlds-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.world { font: inherit; color: var(--ink); text-align: left; display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 26px; border: 3px solid transparent; cursor: pointer; transition: transform .15s, border-color .15s; }
.world svg { grid-row: span 2; width: 92px; height: 92px; background: rgba(255,255,255,.55); border-radius: 22px; padding: 6px; }
.world strong { font-size: 1.2rem; align-self: end; }
.world span { color: var(--ink); opacity: .75; font-size: .92rem; align-self: start; }
.world:hover { transform: translateY(-3px) rotate(-.5deg); }
.world.is-active { border-color: var(--ink); }
.w-mint { background: #d8f1ea; } .w-sky { background: #dcebfa; } .w-peach { background: #ffe5db; }

.shop { padding: 60px 0 90px; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.shop-head h2 { margin-bottom: 0; }
.ages { display: flex; flex-wrap: wrap; gap: 8px; }
.age-btn { font: inherit; font-weight: 700; font-size: .95rem; padding: .55em 1.1em; border-radius: 16px; border: 3px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: transform .12s; }
.age-btn b { font-size: 1.1rem; }
.age-btn:hover { transform: translateY(-2px); }
.age-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.filter-note { margin: 14px 0 0; color: var(--muted); font-weight: 700; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.product { display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--line); border-radius: 28px; padding: 16px 16px 18px; transition: transform .15s, border-color .15s; }
.product:hover { transform: translateY(-4px) rotate(.4deg); border-color: var(--ink); }
.product-art { position: relative; border-radius: 20px; padding: 18px; margin-bottom: 14px; }
.product-art svg { width: 100%; max-width: 160px; aspect-ratio: 1; margin: 0 auto; }
.t-mint { background: #d8f1ea; } .t-peach { background: #ffe5db; } .t-sky { background: #dcebfa; } .t-butter { background: #fff1c7; } .t-lilac { background: #ebe3fb; }
.age { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--white); font-weight: 800; transform: rotate(8deg); box-shadow: 0 3px 0 rgba(58,47,77,.12); }
.desc { color: var(--muted); font-size: .95rem; }
.warn { margin: -4px 0 12px; font-size: .8rem; font-weight: 700; color: #a04a2a; }
.foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 1.4rem; font-weight: 800; }
.add { font: inherit; font-weight: 800; font-size: .9rem; padding: .6em 1.1em; border-radius: 999px; border: 0; background: var(--butter); color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 #e2b53e; }
.add:hover { background: #ffe08c; }

.about { position: relative; background: var(--lilac); padding: 110px 0 90px; overflow: hidden; }
.wave-top { top: -1px; bottom: auto; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-inner > div > p { font-size: 1.1rem; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promises li { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: 24px; padding: 16px 20px; box-shadow: 0 5px 0 rgba(58,47,77,.12); }
.promises li:nth-child(2) { transform: translateX(22px); }
.promises strong { display: block; font-size: 1.1rem; }
.promises em { font-style: normal; color: var(--muted); }
.ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-size: 1.4rem; }
.i1 { background: var(--butter); } .i2 { background: var(--mint); } .i3 { background: var(--peach); }

.contact { background: var(--cream); padding: 80px 0; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact p { color: var(--muted); max-width: 32em; margin-bottom: 1.6em; }

.site-footer { background: var(--white); border-top: 3px dashed var(--line); font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; }
.footer-inner .wordmark { font-size: 1.2rem; }
.footer-inner p { margin: 0; }

@media (max-width: 960px) {
  .nav { display: none; }
  .cart { margin-left: auto; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .worlds-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { height: 320px; max-width: 420px; width: 100%; margin: 0 auto; }
  .b1 { width: 200px; height: 200px; } .b2 { width: 150px; height: 150px; } .b3 { width: 140px; height: 140px; }
  .promises li:nth-child(2) { transform: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 70px; }
  .wordmark { font-size: 1.25rem; }
  .brand img { width: 40px; height: 40px; }
  .announce { font-size: .78rem; }
  .products { grid-template-columns: 1fr; }
  .d-cloud { width: 100px; }
  .ages { gap: 6px; }
  .age-btn { padding: .5em .8em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
