/* Colourful kids design (owner 2026-11-26 "Yes, switch it" + "Yes, switch them"): LIVE on start.html (home, /), index.html,
   science.html, dashboard.html and lesson.html. The kids-*.html files are the earlier sample copies. */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&display=swap");
:root{--k-orange:#FF7A1A;--k-pink:#FF4F9A;--k-purple:#8B5CF6;--k-teal:#14B8A6;--k-sky:#22A7F0;--k-green:#4CC72B;--k-lemon:#FFD21F}
html{background:#1E1B6E}
body{background:
  radial-gradient(520px 340px at 8% 6%,#FF5FA2aa 0,transparent 60%),
  radial-gradient(560px 360px at 96% 8%,#22D3C5aa 0,transparent 60%),
  radial-gradient(620px 420px at 70% 104%,#FFB020aa 0,transparent 60%),
  radial-gradient(520px 380px at 2% 100%,#8B5CF6cc 0,transparent 60%),
  linear-gradient(160deg,#3A1683,#1E1B6E 55%,#123A7A) fixed!important}
/* top bar on the sky */
.topbar{background:transparent!important;border-bottom:2px solid #ffffff2e!important;position:relative;z-index:2}
.topbar .wordmark{color:#fff!important;font-family:"Baloo 2",Manrope,sans-serif;font-size:22px!important}
.topbar .wordmark em{color:var(--k-lemon)!important}
.topbar .tagline{color:#ffffffbb!important}
.topbar a:not(.brand),.topbar button{color:#fff!important}
.sample-tag{background:var(--k-pink)!important;color:#fff!important}
/* the page content sits on a white paper card with a rainbow edge */
main{position:relative;z-index:1;background:#FFFDF6;border:4px solid #fff;border-radius:28px;margin:22px auto 40px!important;box-shadow:0 10px 0 #5B1F7A55,0 24px 48px #00000055;overflow:hidden}
main::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:linear-gradient(90deg,var(--k-pink),var(--k-orange),var(--k-lemon),var(--k-green),var(--k-sky),var(--k-purple))}
@media (min-width:1240px){main{max-width:1180px}}
@media (max-width:1240px){main{margin:16px 14px 32px!important}}
/* headings */
main h1,main h2{font-family:"Baloo 2",Manrope,sans-serif!important;letter-spacing:0!important}
main h1{font-size:44px!important}
.k-rb span:not(.k-word){display:inline-block;color:var(--k)!important;-webkit-text-fill-color:var(--k);animation:kHop 1.8s ease-in-out infinite;animation-delay:calc(var(--i) * .07s);text-shadow:0 3px 0 #00000022}
@keyframes kHop{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-7px) rotate(-4deg)}}
.kicker{color:var(--k-pink)!important;font-weight:800}
/* level ladder: each level its own colour */
.ladder .lvl{border:3px solid #fff!important;border-radius:18px!important;background:linear-gradient(180deg,var(--c2),var(--c))!important;color:#fff;box-shadow:0 6px 0 var(--cd)!important;transition:transform .15s}
.ladder .lvl:hover{transform:translateY(-3px) rotate(-.6deg)}
.ladder .lvl *{color:#fff!important}
.ladder .lvl b{font-family:"Baloo 2",Manrope,sans-serif;font-size:18px!important;text-shadow:0 2px 0 var(--cd)}
.ladder .lvl[aria-pressed="true"]{outline:4px solid var(--k-lemon);outline-offset:3px}
.ladder .lvl::after{display:none}
.ladder .lvl:nth-child(6n+1){--c:#FF7A1A;--c2:#FFB066;--cd:#B54500}
.ladder .lvl:nth-child(6n+2){--c:#FF4F9A;--c2:#FF9CC6;--cd:#A3195A}
.ladder .lvl:nth-child(6n+3){--c:#8B5CF6;--c2:#B79CFF;--cd:#4C2A9E}
.ladder .lvl:nth-child(6n+4){--c:#14B8A6;--c2:#5EE6D6;--cd:#0B6E63}
.ladder .lvl:nth-child(6n+5){--c:#22A7F0;--c2:#7FD0FF;--cd:#0D5E91}
.ladder .lvl:nth-child(6n+6){--c:#4CC72B;--c2:#9BEB6E;--cd:#2A7A12}
/* lesson cards: coloured edges that cycle */
.cards>.card{border:3px solid var(--c)!important;border-radius:20px!important;box-shadow:0 6px 0 var(--c)!important;transition:transform .15s}
.cards>a.card:hover{transform:translateY(-4px) rotate(-.5deg)}
.cards>.card:nth-child(6n+1){--c:#FF9A4D}.cards>.card:nth-child(6n+2){--c:#FF7AB5}.cards>.card:nth-child(6n+3){--c:#A98BFF}
.cards>.card:nth-child(6n+4){--c:#3FD1C2}.cards>.card:nth-child(6n+5){--c:#5BBEF5}.cards>.card:nth-child(6n+6){--c:#7AD84F}
.cards>.card .thumb.pic{border:0!important;background:#fff!important}
.card h4{font-family:"Baloo 2",Manrope,sans-serif}
.status b,.next-tag{background:var(--k-lemon)!important;color:#3B2208!important;border-radius:10px!important}
.month-head .mn{color:var(--k-purple)!important}
.fact{border:2px solid #E9DCF7!important;color:var(--k-purple)!important;font-weight:700}
/* buttons */
.btn-lemon,.btn.go,.btn.primary{background:linear-gradient(90deg,#FF4F9A,#FF7A1A,#FFD21F,#4CC72B,#22A7F0,#8B5CF6)!important;background-size:200% 100%!important;animation:kSlide 4s linear infinite;border:0!important;border-radius:16px!important;color:#fff!important;text-shadow:0 2px 0 #00000059;font-weight:800!important;box-shadow:0 6px 0 #5B1F7A!important}
@keyframes kSlide{to{background-position:200% 0}}
.btn:not(.btn-lemon):not(.go){border-radius:14px!important;border:2px solid #E9DCF7!important;font-weight:800}
/* floating decorations */
.k-deco{position:fixed;pointer-events:none;z-index:0}
.k-deco.sp{width:18px;height:18px;animation:kTwinkle 2.4s ease-in-out infinite}.k-deco.sp svg{display:block;width:18px;height:18px}
@keyframes kTwinkle{50%{transform:scale(.4) rotate(45deg);opacity:.3}}
.k-deco.fl{width:52px;opacity:.9;animation:kFloat 6s ease-in-out infinite}
@keyframes kFloat{50%{transform:translateY(-14px) rotate(-10deg)}}
@media (max-width:760px){main h1{font-size:34px!important}.k-deco.fl{width:34px;opacity:.6}}
@media (prefers-reduced-motion:reduce){.k-deco,.k-rb span,.btn-lemon,.btn.go{animation:none!important}}
/* dashboard: side menu on the sky, coloured number tiles */
.side{background:transparent!important;border-right:0!important;position:relative;z-index:1}
.side .brand b{color:#fff!important;font-family:"Baloo 2",Manrope,sans-serif;font-size:20px}
.side .brand em{color:var(--k-lemon)!important}
.side nav a{color:#fff!important;font-weight:800!important}
.side nav a:hover{background:#ffffff22!important}
.shell>main{margin:14px 14px 30px 0!important}
.stats .stat{color:#fff!important;border:3px solid #fff;box-shadow:0 6px 0 var(--cd);background:linear-gradient(180deg,var(--c2),var(--c))!important;text-shadow:0 2px 0 var(--cd)}
.stats .stat *{color:#fff!important}
.stats .stat b{font-family:"Baloo 2",Manrope,sans-serif}
.stats .stat:nth-child(1){--c:#FF7A1A;--c2:#FFB066;--cd:#B54500}.stats .stat:nth-child(2){--c:#FF4F9A;--c2:#FF9CC6;--cd:#A3195A}
.stats .stat:nth-child(3){--c:#8B5CF6;--c2:#B79CFF;--cd:#4C2A9E}.stats .stat:nth-child(4){--c:#14B8A6;--c2:#5EE6D6;--cd:#0B6E63}
@media (max-width:900px){.shell>main{margin:10px!important}}
/* start page header button keeps dark text on its lemon fill; menu toggle stays white */
.topbar .ol-button{color:#fff!important;background:linear-gradient(90deg,#FF4F9A,#FF7A1A,#FFD21F,#4CC72B,#22A7F0,#8B5CF6)!important;background-size:200% 100%!important;animation:kSlide 4s linear infinite;text-shadow:0 2px 0 #00000059;box-shadow:0 5px 0 #5B1F7A!important;border:0!important}
/* ---------- HOME PAGE (start.html is a dark page): no cream card - the content sits right on the sky so its light text stays readable ---------- */
main:has(.ol-home){background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible;max-width:none!important;margin:0!important;border-radius:0}
main:has(.ol-home)::before{display:none}
.ol-home{position:relative;z-index:1}
.ol-home h1,.ol-home h2{font-family:"Baloo 2",Manrope,sans-serif!important;letter-spacing:0!important}
.ol-home .ol-eyebrow,.ol-home .ol-section-heading>span,.ol-home [class*="kicker"]{color:#FFE14D!important}
.ol-home p,.ol-home .ol-lead{color:#F3EEFF!important}
.ol-home .ol-button{background:linear-gradient(90deg,#FF4F9A,#FF7A1A,#FFD21F,#4CC72B,#22A7F0,#8B5CF6)!important;background-size:200% 100%!important;animation:kSlide 4s linear infinite;color:#fff!important;text-shadow:0 2px 0 #00000059;box-shadow:0 6px 0 #5B1F7A!important;border:0!important;border-radius:16px!important;font-weight:800!important}
.ol-home .ol-play{color:#fff!important;font-weight:800}
.ol-home .ol-benefits{border-color:#ffffff40!important}
.ol-home .ol-benefits *{color:#fff!important}
/* the six activity cards: each its own bright colour, white words */
.ol-home .ol-activity{border:3px solid #fff!important;border-radius:22px!important;background:linear-gradient(180deg,var(--c2),var(--c))!important;box-shadow:0 7px 0 var(--cd),0 14px 26px #0000004d!important;transition:transform .15s}
.ol-home .ol-activity:hover{transform:translateY(-4px) rotate(-.6deg)}
.ol-home .ol-activity,.ol-home .ol-activity *{color:#fff!important}
.ol-home .ol-activity h3{font-family:"Baloo 2",Manrope,sans-serif;font-size:1.5em;text-shadow:0 3px 0 var(--cd)}
.ol-home .ol-activity .ol-tile-icon{background:#fff!important;box-shadow:0 4px 0 var(--cd)}
.ol-home .ol-activity .ol-tile-icon *{color:var(--cd)!important;stroke:var(--cd)}
.ol-home .ol-activity .ol-card-action{border-top-color:#ffffff66!important}
.ol-home .ol-lilac{--c:#8B5CF6;--c2:#B79CFF;--cd:#4C2A9E}.ol-home .ol-orange{--c:#FF7A1A;--c2:#FFB066;--cd:#B54500}
.ol-home .ol-mint{--c:#14B8A6;--c2:#5EE6D6;--cd:#0B6E63}.ol-home .ol-lemon{--c:#E8B400;--c2:#FFD84D;--cd:#8A6400}
.ol-home .ol-peach{--c:#FF4F9A;--c2:#FF9CC6;--cd:#A3195A}.ol-home .ol-blue{--c:#22A7F0;--c2:#7FD0FF;--cd:#0D5E91}
.ol-home .ol-track-note,.ol-home .ol-availability{color:#ffffffcc!important}
/* shoe panel, Maya, grown-ups: glassy panels on the sky */
.ol-home .ol-shoe-panel{border:3px solid #ffffffaa!important;border-radius:24px!important;box-shadow:0 10px 30px #0000004d}
.ol-home .ol-text-link{color:#FFE14D!important;font-weight:800}
.ol-home .ol-steps *{color:#fff!important}
.ol-home .ol-maya,.ol-home .ol-parents,.ol-home .ol-feature{border-color:#ffffff33!important}
.ol-home .ol-parent-rows>*{border-color:#ffffff33!important}
.ol-home .ol-parent-rows *{color:#fff!important}
/* closing banner: rainbow */
.ol-home .ol-closing{background:linear-gradient(110deg,#FF4F9A,#FF7A1A 35%,#FFD21F 65%,#4CC72B)!important;border:4px solid #fff!important;border-radius:26px!important;box-shadow:0 8px 0 #5B1F7A}
.ol-home .ol-closing,.ol-home .ol-closing *:not(a){color:#fff!important;text-shadow:0 2px 0 #00000040}
.ol-home .ol-closing a{background:#fff!important;color:#B54500!important;font-weight:800;border-radius:14px!important}
.ol-footer,.ol-footer *{color:#ffffffcc!important;border-color:#ffffff33!important}
main:has(.ol-home){max-width:1260px!important;margin:0 auto!important;padding:0 28px!important}
/* bottom banner title stays plain white on the rainbow, so it never blends in */
.ol-home .ol-closing .k-rb span{color:#fff!important;-webkit-text-fill-color:#fff;text-shadow:0 3px 0 #00000055}
.ol-home .ol-shoe-panel *{text-shadow:none}
.k-rb .k-word{display:inline-block;white-space:nowrap;animation:none!important;color:inherit}
/* yellow card: dark words, so they never fade into the yellow */
.ol-home .ol-lemon,.ol-home .ol-lemon *{color:#3B2208!important;text-shadow:none!important}
.ol-home .ol-lemon .ol-card-action{border-top-color:#3B220833!important}
/* orange card: a deeper orange so white words stay clear */
.ol-home .ol-orange{--c:#E85D00;--c2:#FF8A33}
/* header Sign in button: see-through on the sky with white words (never white on white) */
.topbar .btn:not(.btn-lemon){background:#ffffff22!important;color:#fff!important;border:2px solid #ffffff77!important}
