:root{
  --green:#4ea547; --teal:#7cc0b7; --orange:#e4572e; --yellow:#ffc914; --dark:#2e282a;
  --white:#ffffff; --off:#fafaf8; --gray:#f0f0ee; --mid:#6b6663;
  --tint-teal:#d9eeeb; --tint-yellow:#fff1c2; --tint-green:#d6ecd4; --tint-orange:#f9d9cf;
  --display:'Fredoka',system-ui,sans-serif; --body:'Nunito',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--dark);font-family:var(--body);font-size:16px;line-height:1.5}
img{max-width:100%;display:block}
a{color:var(--dark)} a:hover{color:#000}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.08;margin:0}
p{margin:0}
.wrap{max-width:760px;margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px;top:0;background:var(--yellow);padding:8px 12px;z-index:10}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* header */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;max-width:1100px;margin:0 auto}
.site-header .logo{display:flex;align-items:center;min-height:44px;flex:0 0 auto}
.site-header .logo img{height:34px;width:auto}
.desktop-nav{display:flex;align-items:center;gap:4px}
.mobile-nav{display:none}
.desktop-nav a,.mobile-nav>a,.mobile-nav summary,.more-menu nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border-radius:999px;color:var(--dark);font-family:var(--display);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.desktop-nav a:hover,.mobile-nav>a:hover,.mobile-nav summary:hover,.more-menu nav a:hover{background:var(--gray)}
.desktop-nav a.cta,.mobile-nav a.cta{background:#e4572e;color:var(--white)}
.desktop-nav a.cta:hover,.mobile-nav a.cta:hover{background:#d64c24;color:var(--white)}
.site-header nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.mobile-nav summary{list-style:none;background:var(--gray);cursor:pointer}
.mobile-nav summary::-webkit-details-marker{display:none}
.more-menu{position:relative}
.more-menu nav{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;padding:8px;background:var(--white);border-radius:16px;box-shadow:0 12px 30px rgba(46,40,42,.2);z-index:20;display:flex;flex-direction:column}
.more-menu nav a{justify-content:flex-start;border-radius:12px}
@media(max-width:699px){
  .site-header{flex-wrap:wrap;justify-content:flex-start;gap:4px 0;padding:8px 16px 12px}
  .desktop-nav{display:none}
  .mobile-nav{display:flex;align-items:center;justify-content:space-between;gap:0;width:100%;flex:0 0 100%}
  .mobile-nav>a,.mobile-nav summary{padding:0 7px;font-size:14px}
  .mobile-nav a.cta{padding:0 13px}
}

/* shared bits */
.hero{background:var(--teal);padding:28px 0 36px;position:relative;overflow:hidden}
.hero.yellow{background:var(--yellow)}
.hero h1{font-size:clamp(36px,9vw,56px);margin:0 0 14px}
.hero .lede{font-size:17px;max-width:560px;margin:0 0 22px}
.pill{display:inline-block;font-family:var(--display);font-weight:600;font-size:14px;background:var(--white);padding:5px 12px;border-radius:999px;margin:0 0 12px}
.pill.y{background:var(--yellow)}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 24px;border-radius:999px;border:0;background:var(--orange);color:var(--white);font-family:var(--display);font-weight:700;font-size:19px;text-decoration:none;cursor:pointer;width:100%}
.btn:hover{color:var(--white);filter:brightness(.96)}
.btn.dark{background:var(--dark)} .btn.green{background:var(--green);color:var(--dark)} .btn.yellow{background:var(--yellow);color:var(--dark)}
.btn.small{min-height:44px;font-size:16px;width:auto;display:inline-flex}
.btn.outline{background:var(--white);color:var(--dark);border:2px solid var(--dark)}
.note{font-size:14px;font-weight:700;text-align:center;margin-top:10px}
.section{padding:34px 0 0}
.section h2{font-size:28px;margin:0 0 8px}
.section .sub{margin:0 0 16px}
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:22px 20px}
.chip{border:2px solid var(--dark);border-radius:999px;padding:8px 14px;font-weight:800;font-size:14px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(min-width:700px){.grid2.wide{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stampcard{text-decoration:none;color:var(--dark);padding:8px 8px 12px;border:3px dotted var(--teal);border-radius:6px;display:flex;flex-direction:column;background:var(--white)}
.stampcard .art{height:140px;border-radius:4px;background:var(--tint-teal);display:flex;align-items:center;justify-content:center;overflow:hidden}
.stampcard .art img{width:100%;height:100%;object-fit:contain}
.stampcard .art img.cover{object-fit:cover}
.stampcard .art span{font-family:var(--display);font-weight:700;font-size:52px}
.stampcard .meta{font-size:12px;font-weight:800;margin-top:8px}
.stampcard .nm{font-family:var(--display);font-weight:700;font-size:17px;line-height:1.15;margin-top:2px}
.stampcard .who{font-size:13px;line-height:1.35;margin-top:2px}
.ink0{border-color:var(--teal)} .ink1{border-color:var(--yellow)} .ink2{border-color:var(--green)} .ink3{border-color:var(--orange)}
.tint0{background:var(--tint-teal)!important} .tint1{background:var(--tint-yellow)!important} .tint2{background:var(--tint-green)!important} .tint3{background:var(--tint-orange)!important}
.banner{border-radius:22px;padding:20px;display:flex;gap:14px;align-items:center}
.banner img{width:80px;height:auto;flex:0 0 auto}
.banner .t{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.1;margin-bottom:6px}
.bg-yellow{background:var(--yellow)} .bg-teal{background:var(--teal)} .bg-green{background:var(--green)} .bg-off{background:var(--off)}
.steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.steps li{display:flex;gap:12px;align-items:flex-start;background:var(--off);border-radius:16px;padding:14px;font-size:15px;line-height:1.45}
.steps .n{flex:0 0 32px;height:32px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700}
.form{background:var(--white);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:10px}
.form label{font-weight:800;font-size:15px}
.form input{height:52px;border-radius:14px;border:2px solid var(--dark);padding:0 14px;font-size:16px;font-family:var(--body)}
.form .err{color:#a3311a;font-weight:800;font-size:14px;display:none}
.form .fine{font-size:12px;text-align:center}
.done{background:var(--white);border-radius:20px;padding:20px;text-align:center;display:none}
.done .t{font-family:var(--display);font-weight:700;font-size:22px;margin-bottom:6px}
.site-footer{margin-top:44px;padding:28px 20px 44px;background:var(--gray)}
.site-footer .links{max-width:760px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;font-size:15px;font-weight:800}
.site-footer .small-links{max-width:760px;margin:16px auto 0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;font-weight:700}
.site-footer p{max-width:760px;margin:20px auto 0;font-size:13px}

.article-page .article-content{max-width:680px;margin:0 auto;padding:8px 0 28px;font-family:var(--body);line-height:1.7}
.article-page .article-content h1,.article-page .article-content h2,.article-page .article-content h3,.article-page .article-content h4{font-family:var(--display);line-height:1.2;margin:1.35em 0 .55em}
.article-page .article-content h1{font-size:clamp(30px,7vw,40px);margin-top:0}
.article-page .article-content h2{font-size:clamp(23px,5vw,29px)}
.article-page .article-content p{margin:0 0 1em}
.article-page .article-content ul,.article-page .article-content ol{padding-left:1.5em;margin:0 0 1em}
.article-page .article-content li+li{margin-top:.35em}
.article-page .article-content img{max-width:100%;height:auto;border-radius:12px}
.article-page .article-content table{display:block;max-width:100%;overflow-x:auto}
.article-page .article-content a{text-decoration:underline}
.postcard{position:relative;background:var(--white);border-radius:6px;padding:14px;transform:rotate(-2deg);box-shadow:0 10px 24px rgba(46,40,42,.25);margin:0 6px 26px;max-width:520px}
.postcard .top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px dashed #c9c4c0;padding-bottom:10px;margin-bottom:10px;font-family:var(--display);font-weight:600;font-size:13px}
.postcard .top b{font-size:22px;display:block}
.postcard .stamp{width:58px;height:66px;border:3px dotted var(--orange);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:11px;text-align:center;transform:rotate(6deg);background:var(--yellow)}
.postcard .body{display:flex;gap:12px;align-items:center}
.postcard .body img{width:130px;height:150px;object-fit:cover;object-position:bottom;border-radius:4px}
.postcard .body p{font-size:14px;font-style:italic}
.route{position:absolute;left:0;top:300px;width:100%;height:200px;pointer-events:none;opacity:.8}

/* passport */
.passport{background:var(--green);border-radius:18px;padding:16px;box-shadow:0 8px 18px rgba(46,40,42,.18)}
.passport .head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.passport .head .t{font-family:var(--display);font-weight:700;font-size:20px}
.passport .count{width:50px;height:50px;border-radius:25px;background:var(--yellow);border:3px solid var(--dark);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:18px}
.stamps{background:var(--off);border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.stamp-btn{aspect-ratio:1;border-radius:50%;border:3px dashed #c9c4c0;background:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;padding:4px;font-family:var(--body);color:var(--dark);transition:transform .15s}
.stamp-btn .c{font-family:var(--display);font-weight:700;font-size:13px;line-height:1.05;text-align:center}
.stamp-btn .g{font-size:10px;font-weight:800;letter-spacing:.5px}
.stamp-btn .e{font-size:10px;font-weight:700}
.stamp-btn.on{border-style:solid}
.conts{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.conts span{font-size:12px;font-weight:800;padding:5px 9px;border-radius:999px;background:var(--white);border:2px solid var(--dark)}
.conts span.on{background:var(--yellow)}
.conts span.locked{background:var(--gray);border-color:#c9c4c0;color:var(--mid);opacity:.8}

/* episode page */
.player{margin:-34px 12px 0;position:relative;background:var(--white);border-radius:18px;padding:14px;box-shadow:0 10px 24px rgba(46,40,42,.22);display:flex;align-items:center;gap:14px}
.player .play{flex:0 0 56px;height:56px;border-radius:28px;border:0;background:var(--orange);display:flex;align-items:center;justify-content:center;cursor:pointer}
.player .bar{height:8px;border-radius:4px;background:var(--gray);margin-top:8px;overflow:hidden}
.player .bar div{height:100%;width:0;background:var(--green)}
.big-stamp{width:140px;height:140px;margin:0 auto 16px;border-radius:50%;border:4px dashed #c9c4c0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:transform .2s}
.big-stamp.on{border:4px solid var(--orange);background:#e4572e33;transform:rotate(-8deg)}
.facts li .n{background:var(--teal)}

/* quiz */
.quiz{max-width:520px;margin:0 auto;min-height:70vh;display:flex;flex-direction:column}
.quiz .screen{display:none;flex:1;flex-direction:column;gap:14px;padding:22px 20px 28px}
.quiz .screen.on{display:flex}
.quiz .intro{background:var(--teal);border-radius:0 0 28px 28px}
.quiz .art{display:flex;align-items:center;justify-content:center;position:relative;min-height:260px}
.quiz .art .blob{position:absolute;width:240px;height:240px;border-radius:50%;background:var(--white);opacity:.55}
.quiz .art img{position:relative;height:280px;width:auto}
.progress{display:flex;align-items:center;gap:10px}
.progress .track{flex:1;height:12px;border-radius:6px;background:var(--gray);overflow:hidden;border:2px solid var(--dark)}
.progress .fill{height:100%;background:var(--green);width:0;transition:width .25s}
.answers{display:flex;flex-direction:column;gap:12px}
.answer{min-height:64px;text-align:left;padding:12px 16px;border-radius:16px;border:2px solid var(--dark);background:var(--white);font-family:var(--body);font-weight:700;font-size:16px;line-height:1.35;color:var(--dark);cursor:pointer;display:flex;gap:12px;align-items:center}
.answer:hover{background:var(--tint-yellow)}
.answer .l{flex:0 0 32px;height:32px;border-radius:16px;background:var(--white);border:2px solid var(--dark);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:14px}
.linkbtn{background:none;border:0;font-family:var(--body);font-weight:800;font-size:15px;text-decoration:underline;cursor:pointer;color:var(--dark);align-self:flex-start;min-height:44px}
.result-art{align-self:center;width:200px;height:200px;border-radius:24px;border:3px solid var(--dark);box-shadow:5px 5px 0 var(--teal);background:var(--tint-teal);overflow:hidden;display:flex;align-items:center;justify-content:center}
.result-art img{width:100%;height:100%;object-fit:contain}
.result-art span{font-family:var(--display);font-weight:700;font-size:72px}
.why{font-size:14px;text-align:center;background:var(--off);border:2px dashed var(--teal);border-radius:12px;padding:8px 12px}
.search{width:100%;height:50px;border-radius:999px;border:0;padding:0 18px;font-size:16px;font-family:var(--body)}
.filters{display:flex;gap:8px;overflow-x:auto;padding:14px 20px 4px}
.filters button{flex:0 0 auto;height:40px;padding:0 14px;border-radius:999px;border:2px solid var(--dark);background:var(--white);font-family:var(--body);font-weight:800;font-size:14px;cursor:pointer;color:var(--dark)}
.filters button[aria-pressed="true"]{background:var(--dark);color:var(--white)}
.faq{display:flex;flex-direction:column;gap:10px}
.faq div{border:2px solid var(--gray);border-radius:16px;padding:14px}
.faq b{font-family:var(--display);font-size:17px;display:block;margin-bottom:4px}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stats div{background:var(--off);border-radius:16px;padding:16px;font-size:14px;font-weight:800}
.stats b{font-family:var(--display);font-size:28px;display:block}
.tee{position:relative;width:260px;height:280px;margin:0 auto}
.tee svg{position:absolute;inset:0}
.tee img{position:absolute;left:92px;top:52px;width:76px}
.tee .nm{position:absolute;left:0;right:0;top:168px;text-align:center;font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:2px}
.tee .ln{position:absolute;left:60px;right:60px;top:198px;text-align:center;font-size:11px;font-weight:800;line-height:1.3}
.peek{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px}
.peek div{flex:0 0 280px;height:190px;border-radius:10px;border:2px dashed var(--dark);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;font-family:var(--display);font-weight:700}
.goopgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.goopgrid a{text-decoration:none;color:var(--dark);text-align:center;font-family:var(--display);font-weight:700;font-size:14px}
.goopgrid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;border:3px solid var(--white);box-shadow:0 4px 12px rgba(46,40,42,.18);margin-bottom:4px;background:var(--tint-teal)}
@media(min-width:700px){.goopgrid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.quotes{display:grid;gap:12px;margin-top:12px}
@media(min-width:700px){.quotes{grid-template-columns:repeat(3,minmax(0,1fr))}}
.quotes figure{margin:0;background:var(--off);border-radius:18px;padding:16px;border:2px solid var(--gray)}
.quotes blockquote{margin:0 0 8px;font-size:16px;line-height:1.45}
.quotes figcaption{font-size:13px;font-weight:800;color:var(--mid)}
.voicemail{background:var(--tint-teal);border-radius:18px;padding:16px;margin-top:12px}
.voicemail .t{font-family:var(--display);font-weight:700;font-size:17px}
.voicemail audio{width:100%;margin-top:8px}
.peekimgs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.peekimgs img{width:100%;border-radius:10px;border:2px solid var(--gray);background:#fff}
.book-peeks{display:grid;gap:26px}
.book-peek h3{font-family:var(--display);font-size:21px;margin:0 0 10px}
.book-peek-pages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.book-peek-pages img{display:block;width:100%;height:auto;aspect-ratio:800 / 1023;object-fit:cover;border-radius:12px;box-shadow:0 6px 16px rgba(46,40,42,.18)}
@media(max-width:699px){
  .book-peek-pages{display:flex;overflow-x:auto;gap:12px;padding:0 0 10px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .book-peek-pages img{flex:0 0 74%;width:74%;max-width:260px;scroll-snap-align:start}
}
.explorer-complete{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:14px;background:var(--tint-yellow);border:2px solid var(--yellow);border-radius:16px}
.explorer-complete strong{font-family:var(--display);font-size:19px}
.explorer-complete[hidden],.certificate-missing[hidden],.certificate-ready[hidden],.js-stamped[hidden]{display:none!important}
.certificate-page-section{padding-top:26px}
.certificate-page{max-width:980px}
.certificate-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}
.certificate-toolbar label{font-weight:800}
.certificate-toolbar input{flex:1;min-width:170px;height:48px;padding:0 14px;border:2px solid var(--dark);border-radius:12px;font:inherit}
.certificate-card{position:relative;min-height:460px;padding:38px 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow:hidden;text-align:center;background:var(--off);border:12px dashed var(--teal);border-radius:24px;box-shadow:0 0 0 5px var(--orange)}
.certificate-card:before{content:"";position:absolute;inset:12px;border:4px dashed var(--yellow);border-radius:12px;pointer-events:none}
.certificate-card>*{position:relative;z-index:1}
.certificate-logo{width:130px;height:auto;margin-bottom:4px}
.certificate-card h1{font-size:clamp(34px,6vw,56px);color:var(--dark)}
.certificate-name{font-family:var(--display);font-size:clamp(34px,6vw,58px);font-weight:700;color:var(--orange);line-height:1.1}
.certificate-name.is-empty{width:60%;min-height:1.15em;border-bottom:3px solid var(--dark)}
.certificate-award{font-family:var(--display);font-size:clamp(18px,3vw,24px);font-weight:600}
.certificate-stamp-count,.certificate-date{font-weight:800}
.certificate-signature{margin-top:8px;font-family:var(--display);font-weight:600;font-size:18px}
.certificate-missing{max-width:620px;margin:30px auto;padding:24px;background:var(--tint-teal);border-radius:20px}
.certificate-missing h1{font-size:clamp(32px,7vw,46px);margin-bottom:10px}
.certificate-missing p{margin:6px 0}
.certificate-missing-label{font-weight:800}
.certificate-missing ul{margin:6px 0 18px;padding-left:24px}
@page{size:landscape;margin:0}
@media print{
  body *{visibility:hidden!important}
  .site-header,.site-footer,.certificate-toolbar,.certificate-missing{display:none!important}
  #main,.certificate-page-section,.certificate-page,.certificate-app,.certificate-ready{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  .certificate-card,.certificate-card *{visibility:visible!important}
  .certificate-card{position:fixed!important;inset:10mm!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:16mm!important;border-radius:0!important;box-shadow:none!important;break-inside:avoid;page-break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.shop-products{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:700px){.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
.shop-product{border:3px dotted var(--green);border-radius:10px;padding:14px}
.shop-product-title{font-family:var(--display);font-weight:700;font-size:20px;line-height:1.15}
.shop-buy-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.shop-story-kit{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:start}
.shop-story-kit>img{width:92px;height:120px;object-fit:cover;border-radius:4px;box-shadow:0 4px 12px rgba(46,40,42,.18)}
.shop-story-copy{display:flex;flex-direction:column;align-items:flex-start;min-height:120px}
.shop-story-copy h3{margin:0 0 6px}
.shop-story-copy p{font-size:14px;line-height:1.4}
.shop-story-copy .shop-rating{font-size:12px;font-weight:800;margin:8px 0 12px}
.shop-story-copy .btn{margin-top:auto;min-height:42px;padding:0 12px;font-size:15px}
.kit-book-promo{font-size:13px;font-weight:800;margin-top:12px;text-align:center}
.book-promo{font-size:13px;font-weight:800;margin:14px auto 0}
