
/* C4 · SousKid in the colours of Max's covers (covers-v1, 27.10): cream page, sunny yellow circle behind the real cutout books,
   deep green type and blocks, yellow buy buttons. Red lives only in the logo. Headings in Fredoka, as on the covers. */
:root{--forest:#0B2F24;--green:#123B2F;--leaf:#0B5D45;--sun:#FFC72C;--sun-d:#F2B400;--pink:#FFB3C6;--pink-2:#FFE3EA;--cream:#FFF6E3;--white:#FFFFFF;--grey:#55665F;--line:#EADFC6}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--forest);font:500 17px/1.5 "Manrope",system-ui,sans-serif}
img{max-width:100%;height:auto;display:block}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--forest);outline-offset:3px}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
h1,h2{font-family:"Rubik",system-ui,sans-serif;font-weight:700;letter-spacing:-.02em;line-height:.95;margin:0}
h1{font-size:clamp(46px,14vw,112px)}
h2{font-size:clamp(34px,9.5vw,60px);margin-bottom:18px}
p{margin:0 0 12px}
.top{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-size:14px;font-weight:700}
.top span{color:var(--grey);font-weight:500}

/* hero: the yellow sun + cutout books */
.hero{padding:0 0 30px;text-align:center}
.sun{position:relative;width:min(92vw,440px);aspect-ratio:1/.72;margin:0 auto 4px}
.sun::before{content:"";position:absolute;left:50%;top:0;width:66%;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;background:var(--sun)}
.stack{position:absolute;inset:0}
.b3{position:absolute;bottom:0;width:42%;aspect-ratio:1456/1896;transition:left .45s cubic-bezier(.2,.8,.2,1.1),transform .45s cubic-bezier(.2,.8,.2,1.15),opacity .3s}
.b3 img{width:100%;height:100%}
.b3.main{left:29%;z-index:3}
.b3.build,.b3.sips{left:29%;z-index:2}
.b3.off{opacity:0}
.hero h1{margin-top:6px}
.hero .sub{font-size:17px;color:var(--grey);max-width:340px;margin:8px auto 12px}
.price s{color:var(--grey);font-weight:500;margin-right:6px}
.price .off{display:inline-block;background:var(--pink);color:var(--forest);font-weight:800;font-size:13px;border-radius:20px;padding:2px 8px;margin-left:6px}
.revs{display:grid;gap:12px;margin-top:20px}.rev{margin:0;background:var(--white);border:2px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:14px}.rev p{margin:0;font-size:16px;line-height:1.5}.rev figcaption{display:flex;align-items:center;gap:10px;margin-top:auto;font-weight:700;font-size:14px;color:var(--leaf)}.rev figcaption img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:3px solid var(--leaf);box-sizing:border-box}@media(min-width:900px){.revs{grid-template-columns:repeat(3,1fr)}}
.about-books{font-size:14px;color:var(--grey);margin:12px 0 0}
.about-books button{border:0;background:none;padding:12px 4px;min-height:44px;font:inherit;font-weight:700;color:var(--leaf);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.final .about-books,.final .about-books button{color:var(--cream)}
.bk{position:fixed;inset:0;z-index:70;display:none;align-items:flex-end;justify-content:center;background:rgba(11,47,36,.55)}
.bk.open{display:flex}
.bk-sheet{background:var(--cream);color:var(--forest);width:100%;max-width:560px;max-height:88vh;overflow:auto;border-radius:24px 24px 0 0;padding:20px 18px calc(22px + env(safe-area-inset-bottom));text-align:left}
.bk-top{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;margin-bottom:12px}
.bk-top h3{font-family:"Rubik",sans-serif;font-size:24px;line-height:1.05;margin:0 0 4px}
.bk-top small{color:var(--grey);font-size:14px}
.bk ul{margin:8px 0 14px;padding-left:20px}.bk li{margin:4px 0}
.bk-dishes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 16px}
.bk-dishes img{aspect-ratio:1;object-fit:cover;border-radius:14px}
.bk-dishes span{display:block;font-size:12px;font-weight:700;margin-top:4px;line-height:1.2}
.bk-add{display:block;width:100%;border:0;border-radius:60px;background:var(--sun);color:var(--forest);padding:15px;font:800 17px "Manrope",sans-serif;cursor:pointer;box-shadow:0 4px 0 var(--forest)}
.bk-close{display:block;width:100%;margin-top:10px;border:0;background:none;color:var(--grey);font:700 15px "Manrope",sans-serif;padding:10px;cursor:pointer}
.price{font-size:15px;color:var(--grey);margin-bottom:10px;min-height:22px}
.favs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.favs figure{margin:0}.favs img{aspect-ratio:1;object-fit:cover;border-radius:22px;background:var(--white)}.favs figcaption{font-weight:700;font-size:15px;margin-top:6px}
.swipe{font-size:14px;color:var(--grey);margin:-6px 0 12px}
.peek{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:4px 0 8px}
.peek img{width:100%;height:auto;border-radius:10px;border:2px solid var(--line);box-shadow:0 6px 16px rgba(11,47,36,.12)}@media(min-width:760px){.peek{grid-template-columns:repeat(4,minmax(0,1fr))}}
.price b{color:var(--forest);font-family:"Rubik",sans-serif;font-size:24px;font-weight:700;margin-right:6px}
.buy{display:block;width:100%;max-width:420px;margin:0 auto;border:0;border-radius:60px;background:var(--sun);color:var(--forest);padding:18px 22px;font-size:19px;font-weight:800;cursor:pointer;box-shadow:0 4px 0 var(--forest)}
.buy:hover{background:var(--sun-d)}
.buy:active{transform:translateY(3px);box-shadow:0 1px 0 var(--forest)}
.tiny{font-size:13px;color:var(--grey);margin-top:12px}
.tiny a,details p a{color:var(--leaf);text-decoration:underline}.tiny a:visited,details p a:visited{color:var(--leaf)}.final .tiny a,.final .tiny a:visited{color:inherit}

section{padding:56px 0}
.alt{background:var(--white)}
.lead{font-size:20px;line-height:1.45;max-width:540px}
.trio{margin:6px -16px 14px;text-align:center}.trio img{width:100%;max-width:440px;height:auto;display:inline-block}
.blist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.blist li{min-width:0}.blist button{white-space:normal;box-sizing:border-box}.blist span{min-width:0}
.blist button{display:flex;align-items:center;gap:14px;width:100%;min-height:88px;padding:12px 14px;border:0;border-radius:20px;font:inherit;text-align:left;cursor:pointer;color:var(--grey);font-size:14.5px;line-height:1.4}
.blist li:nth-child(1) button{background:#DCEBE2}.blist li:nth-child(2) button{background:#FFE9A8}.blist li:nth-child(3) button{background:var(--pink-2)}
.blist img{flex:0 0 56px;width:56px;min-width:56px;max-width:56px;height:auto;border-radius:4px;box-shadow:0 4px 10px rgba(11,47,36,.25)}
.blist span{flex:1}.blist b{display:block;font-family:"Rubik",sans-serif;font-size:19px;font-weight:700;color:var(--forest);margin-bottom:2px;line-height:1.2}
.blist i{font-style:normal;font-size:26px;color:var(--leaf);font-weight:700}
.blist li.off button{opacity:.5;filter:saturate(.4)}.blist li:not(.off) b::after{content:' ✓';color:var(--leaf)}
.shelf{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:16px;margin:0 -16px;padding:4px 16px 12px}
.shelf article{flex:0 0 78%;max-width:320px;scroll-snap-align:start}
.shelf .cov{border-radius:24px;padding:20px 34px 14px;margin-bottom:12px}
.shelf article:nth-child(1) .cov{background:#DCEBE2}
.shelf article:nth-child(2) .cov{background:#FFE9A8}
.shelf article:nth-child(3) .cov{background:var(--pink-2)}
.shelf h3{font-family:"Rubik",sans-serif;font-size:22px;font-weight:700;margin:0 0 4px}
.shelf p{color:var(--grey);font-size:15px}
.week{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.week figure{margin:0}
.week img{aspect-ratio:3/4;object-fit:cover;border-radius:12px}
.week figcaption{font-size:12px;margin-top:6px;line-height:1.3}
.week b{display:block;font-size:14px}
.kids{display:grid;grid-template-columns:1fr;gap:20px;align-items:center}
.kids img{border-radius:24px;aspect-ratio:1;object-fit:cover}
.kids h2{margin-bottom:16px}
.line{display:grid;grid-template-columns:70px minmax(0,1fr);column-gap:14px;align-items:center;margin-top:10px;padding:14px 18px;background:var(--white);border:2px solid var(--line);border-radius:18px;font-size:17px;line-height:1.35}
.line b{font-family:"Rubik",sans-serif;font-weight:700;font-size:26px;line-height:1;white-space:nowrap;color:var(--leaf)}
details{border-bottom:2px solid var(--line)}
summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;padding:16px 0;min-height:52px}
summary::after{content:"+";font-weight:800;font-size:22px;line-height:1}
details[open] summary::after{content:"−"}
details p{margin:0 0 16px;color:var(--grey)}
.final{background:var(--green);color:var(--cream);text-align:center}
.final h2{color:var(--sun)}
.final .buy{box-shadow:0 4px 0 #000}
.final .price,.final .price b,.final .tiny{color:var(--cream)}
.final .final .final .bundle{width:min(86vw,520px);margin:0 auto 10px}
.sticky{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:20;display:flex;align-items:center;gap:12px;background:var(--forest);color:var(--white);border-radius:60px;padding:8px 8px 8px 20px;transform:translateY(140%);transition:transform .25s}
.sticky.show{transform:none}
.sticky span{flex:1;font-weight:700;font-size:15px}
.sticky button{border:0;border-radius:40px;background:var(--sun);color:var(--forest);padding:12px 18px;font-weight:800;cursor:pointer}
.recipe{display:grid;gap:22px}
.recipe .ph{border-radius:24px;aspect-ratio:1;object-fit:cover;width:100%}
.recipe h3{font-family:"Rubik",sans-serif;font-weight:700;font-size:clamp(30px,8vw,44px);line-height:1;margin:0 0 10px}
.facts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.facts span{background:var(--white);border:2px solid var(--line);border-radius:30px;padding:4px 12px;font-size:14px;font-weight:700}
.help{background:var(--pink-2);border-radius:18px;padding:14px 16px;margin:14px 0 4px;font-size:16px}
.help b{display:block;font-weight:800}
.recipe h4{font-weight:800;font-size:19px;margin:20px 0 6px}
.recipe ul{margin:0;padding-left:20px}.recipe li{margin:4px 0}
.recipe ol{margin:0;padding:0;list-style:none;counter-reset:m}
.recipe ol li{counter-increment:m;display:grid;grid-template-columns:34px 1fr;gap:8px;margin:0 0 10px}
.recipe ol li::before{content:counter(m);width:28px;height:28px;border-radius:50%;background:var(--sun);color:var(--forest);display:grid;place-items:center;font-weight:800;font-size:14px}
.tip{color:var(--grey);font-size:15px;margin-top:6px}
.from{margin-top:18px;padding-top:16px;border-top:2px solid var(--line);font-size:15px;color:var(--grey)}
footer{padding:30px 16px 110px;text-align:center;font-size:13px;color:var(--grey)}
footer a{color:inherit;display:inline-block;padding:10px 6px}
@media (min-width:860px){.kids{grid-template-columns:1fr 1fr}.recipe{grid-template-columns:5fr 7fr;align-items:start}.recipe .ph{position:sticky;top:20px}.week{gap:12px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* set picker (29.10, Anatolii): stacked cards instead of pill buttons — what is inside each set, old price struck through,
   the saving in words. 2 books is the default and the most popular; all 3 is the best value. No choice of the second book. */
.plans{display:grid;gap:14px;max-width:440px;margin:14px auto 16px;text-align:left}
.plan{position:relative;display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:12px;width:100%;padding:16px 14px;border:2px solid var(--line);border-radius:20px;background:var(--white);cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}
.plan[aria-checked=true]{border-color:var(--forest);box-shadow:0 0 0 2px var(--forest),0 6px 18px rgba(11,47,36,.12);background:#FFFDF6}
.plan[aria-checked=true]::after{content:"";position:absolute;right:-9px;top:-9px;width:24px;height:24px;border-radius:50%;background:var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.pl-covers{position:relative;height:66px}
.pl-covers img{position:absolute;top:0;left:8px;width:46px;height:auto;border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.pl-covers.two img:first-child{left:0;transform:rotate(-6deg)}.pl-covers.two img:last-child{left:16px;top:3px;transform:rotate(5deg)}
.pl-covers.three img:nth-child(1){left:-2px;transform:rotate(-9deg)}.pl-covers.three img:nth-child(2){left:9px;top:2px;z-index:1}.pl-covers.three img:nth-child(3){left:20px;top:4px;transform:rotate(9deg)}
.pl-txt b{display:block;font-family:"Rubik",sans-serif;font-size:21px;line-height:1.1}
.pl-txt small{display:block;font-size:13px;line-height:1.3;color:var(--grey);margin-top:3px}
.pl-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}
.pl-price s{font-size:14px;color:var(--grey);text-decoration-color:#C0392B;text-decoration-thickness:2px}
.pl-price b{font-family:"Rubik",sans-serif;font-size:26px}
.pl-price i{font-style:normal;font-size:12px;font-weight:800;color:var(--leaf);background:#E3F3EA;border-radius:12px;padding:2px 8px;margin-top:4px;white-space:nowrap}
.tag{position:absolute;top:-12px;left:16px;font-style:normal;font-size:12px;font-weight:800;letter-spacing:.02em;line-height:1;padding:6px 10px;border-radius:20px;background:var(--forest);color:var(--cream)}
.tag.best{background:var(--sun);color:var(--forest)}
.final .plan{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:var(--cream)}
.final .plan[aria-checked=true]{background:rgba(255,255,255,.12);border-color:var(--sun);box-shadow:0 0 0 2px var(--sun)}
.final .plan[aria-checked=true]::after{background-color:var(--sun);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B2F24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.final .pl-txt small,.final .pl-price s{color:rgba(255,246,227,.7)}
.final .pl-price i{background:rgba(255,199,44,.18);color:var(--sun)}
.final .tag{background:var(--cream);color:var(--forest)}.final .tag.best{background:var(--sun)}
@media(max-width:360px){.plan{grid-template-columns:50px 1fr auto;gap:8px;padding:14px 10px}.pl-covers img{width:38px}.pl-txt b{font-size:18px}.pl-price b{font-size:22px}}
