/* Colour and Learn Kids storefront
   Playroom look that matches the products: sky-blue, sunny yellow, chunky ink outlines, bouncy buttons. */
:root {
  --ink: #26323c;
  --muted: #55636f;
  --paper: #ffffff;
  --cream: #fffaf0;
  --sky: #8fd3f6;
  --sky2: #d8f1fd;
  --sun: #f8d63c;
  --sunDeep: #f3b52b;
  --pink: #ec4f8f;
  --pinkSoft: #fde4ee;
  --green: #3c9a52;
  --greenSoft: #e5f5e2;
  --purple: #7b4fc9;
  --red: #e4493b;
  --rule: #e6dccb;
  --radius: 22px;
  --shadow: 0 6px 0 var(--ink);
  --display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { display: inline-block; font: 700 0.85rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); background: var(--pinkSoft);
  border: 2px solid var(--pink); border-radius: 999px; padding: 7px 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.center.sec-head { justify-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.05rem/1 var(--display); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; padding: 15px 26px; box-shadow: 0 5px 0 var(--ink); cursor: pointer;
  transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn.sun { background: var(--sun); }
.btn.pink { background: var(--pink); color: #fff; }
.btn.ink { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #0d1418; }
.btn.small { font-size: 0.95rem; padding: 11px 18px; box-shadow: 0 4px 0 var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 4px solid var(--sky); outline-offset: 3px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btns { justify-content: center; }

/* header */
.topbar { background: var(--ink); color: #fff; text-align: center; font: 700 0.92rem/1.3 var(--display); padding: 9px 16px; }
.topbar a { color: var(--sun); }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, 0.94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--display); }
.brand img { width: 52px; height: 52px; }
.brand span b { color: var(--pink); }
nav.main { display: flex; align-items: center; gap: 6px; }
nav.main a { text-decoration: none; font: 600 1.02rem/1 var(--display); padding: 10px 14px; border-radius: 999px; }
nav.main a:hover { background: var(--sky2); }
nav.main a[aria-current="page"] { background: var(--sun); border: 2px solid var(--ink); padding: 8px 12px; }
nav.main .btn { margin-left: 6px; }
@media (max-width: 760px) {
  header.site .wrap { flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px 0; }
  .brand img { width: 42px; height: 42px; }
  .brand { font-size: 1.1rem; }
  nav.main { width: 100%; justify-content: center; gap: 2px; }
  nav.main a { font-size: 0.95rem; padding: 8px 10px; }
  nav.main .btn { display: none; }
}

/* hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 70%, var(--cream) 100%); position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { -webkit-text-stroke: 0; }
.hero h1 .hl { color: var(--pink); }
.hero h1 .hl2 { background: var(--sun); padding: 0 10px; border-radius: 14px; border: 3px solid var(--ink); display: inline-block; transform: rotate(-2deg); }
.hero .lead { color: #2f4150; margin: 18px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; font: 600 0.98rem/1.2 var(--display); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 0.95rem; }
.cloud { position: absolute; background: #fff; border-radius: 80px; opacity: .9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.a { width: 190px; height: 58px; top: 8%; left: -40px; } .cloud.a::before { width: 84px; height: 84px; left: 30px; top: -42px; } .cloud.a::after { width: 104px; height: 104px; left: 82px; top: -58px; }
.cloud.b { width: 150px; height: 46px; top: 18%; right: 4%; } .cloud.b::before { width: 66px; height: 66px; left: 22px; top: -34px; } .cloud.b::after { width: 80px; height: 80px; left: 62px; top: -44px; }
.stack { position: relative; aspect-ratio: 1.05; max-width: 560px; justify-self: center; width: 100%; }
.stack img { position: absolute; width: 64%; border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 10px 0 rgba(38, 50, 60, .25); background: #fff; }
.stack img:nth-child(1) { left: 0; top: 4%; transform: rotate(-7deg); }
.stack img:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); }
.stack img:nth-child(3) { left: 18%; bottom: 0; transform: rotate(-1deg); width: 66%; z-index: 2; }
.sticker { position: absolute; z-index: 3; right: 2%; bottom: 10%; width: 118px; height: 118px; border-radius: 50%; background: var(--pink); color: #fff; border: 4px solid var(--ink);
  display: grid; place-items: center; text-align: center; font: 700 1.05rem/1.05 var(--display); transform: rotate(10deg); box-shadow: 0 6px 0 var(--ink); }
.sticker b { display: block; font-size: 1.9rem; }

/* feature cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g3, .g2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature { display: grid; gap: 10px; align-content: start; }
.feature .ic { width: 58px; height: 58px; border-radius: 18px; border: 3px solid var(--ink); display: grid; place-items: center; font-size: 1.8rem; }
.feature p { color: var(--muted); }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 34px; text-align: center; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink); display: grid; place-items: center; font: 700 1.5rem/1 var(--display); }
.step p { color: var(--muted); margin-top: 6px; }

/* product cards */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); transition: transform .15s; }
.product:hover { transform: translateY(-4px) rotate(-0.4deg); }
.product .cover { position: relative; aspect-ratio: 1; background: var(--sky2); border-bottom: 3px solid var(--ink); }
.product .cover img { width: 100%; height: 100%; object-fit: cover; }
.product .tag { position: absolute; left: 12px; top: 12px; font: 700 0.8rem/1 var(--display); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 10px; }
.product .body { padding: 18px 18px 20px; display: grid; gap: 10px; align-content: start; }
.product h3 { font-size: 1.32rem; }
.product .sub { color: var(--muted); font-size: 0.97rem; }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 0.95rem; }
.product li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
.price { display: flex; align-items: baseline; gap: 10px; font: 700 1.7rem/1 var(--display); margin-top: 4px; }
.price s { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.product .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.product .actions .btn { flex: 1 1 auto; }

/* everything bundle */
.mega { background: linear-gradient(135deg, #fff4bf 0%, #ffe1ee 100%); border: 4px solid var(--ink); border-radius: 30px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 8px 0 var(--ink);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 44px); align-items: center; position: relative; }
@media (max-width: 860px) { .mega { grid-template-columns: 1fr; } }
.mega .covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega .covers img { border: 3px solid var(--ink); border-radius: 12px; aspect-ratio: 1; object-fit: cover; background: #fff; }
.mega .covers img:nth-child(odd) { transform: rotate(-3deg); } .mega .covers img:nth-child(even) { transform: rotate(3deg); }
.mega h2 { margin: 12px 0 10px; }
.mega .price { font-size: 2.6rem; margin: 14px 0 6px; }
.save { display: inline-block; background: var(--green); color: #fff; font: 700 0.95rem/1 var(--display); border-radius: 999px; padding: 8px 14px; border: 2px solid var(--ink); }
.mega ul { padding: 0; margin: 12px 0 20px; list-style: none; display: grid; gap: 5px; }
.mega li::before { content: "★"; color: var(--sunDeep); margin-right: 8px; }

/* reviews */
.reviews { background: var(--ink); color: #fff; }
.reviews .card { background: #fff; color: var(--ink); box-shadow: 0 6px 0 var(--sun); border-color: var(--sun); display: grid; gap: 14px; }
.stars { color: var(--sunDeep); font-size: 1.3rem; letter-spacing: 3px; }
.quote { font: 500 1.12rem/1.55 var(--body); }
.who { font: 700 1rem/1.2 var(--display); color: var(--pink); }
.reviews h2 { color: #fff; }
.reviews .lead { color: #c9d6df; }

/* band */
.band { background: var(--sun); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 600 1.12rem/1.3 var(--display); padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.6rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* footer */
footer.site { background: #1c262e; color: #dbe5ec; padding: 48px 0 30px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
footer.site a { color: #dbe5ec; text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: var(--sun); }
footer.site .brand { color: #fff; margin-bottom: 12px; }
.mail { display: inline-flex !important; align-items: center; gap: 8px; background: var(--sun); color: var(--ink) !important; font: 700 1rem/1 var(--display); padding: 12px 16px !important; border-radius: 999px; margin-top: 10px; }
footer.site .wrap.copy { display: block; }
.player, #everything, #faq { scroll-margin-top: 96px; }
.copy { border-top: 1px solid #344451; margin-top: 30px; padding-top: 18px; font-size: 0.88rem; color: #9fb0bd; text-align: center; }

/* shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filters button { font: 700 1rem/1 var(--display); background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 11px 18px; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pagehead { background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 100%); padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 4vw, 50px); border-bottom: 3px solid var(--ink); }

/* try page */
.samples { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
@media (max-width: 1000px) { .samples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sample { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 8px 8px 10px; cursor: pointer; font: inherit; color: var(--ink); display: grid; gap: 6px; text-align: center; transition: transform .12s; }
.sample:hover { transform: translateY(-3px); }
.sample[aria-pressed="true"] { background: var(--sun); box-shadow: 0 0 0 4px var(--pink); }
.sample img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.sample b { font: 700 0.95rem/1.15 var(--display); }
.sample small { font: 600 0.78rem/1.2 var(--body); color: var(--muted); }
.player { background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.player-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; border-bottom: 3px solid var(--ink); background: var(--greenSoft); }
.player-head h3 { font-size: 1.25rem; }
.player-head p { color: var(--muted); font-size: 0.95rem; }
.player iframe { width: 100%; height: min(86vh, 900px); border: 0; display: block; background: #fff; }
.player .loading { display: grid; place-items: center; height: 300px; font: 600 1.1rem var(--display); color: var(--muted); }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px dashed var(--sunDeep); border-radius: 16px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.97rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* sample player: full screen mode */
.player.big { position: fixed; inset: 0; z-index: 1000; margin: 0; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; width: 100%; height: 100%; height: 100dvh; }
.player.big .player-head { padding: 8px 12px; }
.player.big .player-head p { display: none; }
.player.big iframe { flex: 1; height: auto; min-height: 0; }
.player:fullscreen { width: 100%; height: 100%; }
body.player-open { overflow: hidden; }
.player.big .player-head { flex-wrap: nowrap; gap: 8px; }
.player.big .player-head .btns { display: flex; flex-wrap: nowrap; gap: 8px; }
.player.big .player-head .btn { padding: 7px 14px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 640px) { .player.big .player-head > div:first-child { display: none; } .player.big .player-head { justify-content: center; } }
@media (max-width: 640px) { .player.big .player-head .btn { padding: 6px 12px; font-size: 0.85rem; } }
