@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&display=swap');

/* The printable pack belongs to the same moonlit world as the books. */
.bedtime-pack-page{--pack-cream:#fff8e9;--pack-purple:#665089;--pack-muted:#56617a;background:#fff8ee}
.bedtime-pack-page main h1,.bedtime-pack-page main h2,.bedtime-pack-page main h3{font-family:'Fredoka','Nunito Sans',sans-serif;font-weight:500;text-wrap:balance}
.bedtime-pack-page main a:focus-visible,.bedtime-pack-page main summary:focus-visible{outline:3px solid #a97523;outline-offset:5px}
.pack-hero{position:relative;isolation:isolate;overflow:hidden;color:var(--pack-cream);background:linear-gradient(100deg,#0b173bed,#15234bd9),url('/assets/hero-moonlit-village.webp') center 55%/cover;padding:52px 0 72px}
.pack-hero::after{content:'';position:absolute;inset:0;z-index:-1;opacity:.2;background-image:radial-gradient(circle,#ffe7a4 0 1px,transparent 2px);background-size:79px 83px;pointer-events:none}
.pack-hero-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:center}
.pack-introduction{min-width:0}
.pack-gift-label{display:inline-flex;align-items:center;gap:8px;border:1px solid #ccbde24f;border-radius:30px;background:#fff4cf0b;color:#ffe7a4;padding:7px 13px;font-size:12px;font-weight:800;margin-bottom:18px}
.pack-gift-label span{font:23px/1 Georgia,serif}
.pack-introduction h1{font-size:clamp(40px,4.7vw,59px);line-height:1.08;letter-spacing:-.02em;max-width:570px}
.pack-hero-copy{font-size:16px;line-height:1.7;color:#eee7f5;max-width:390px;margin-top:20px}
.pack-download-group{max-width:355px;margin-top:26px;text-align:center}
.bedtime-pack-page .button.pack-download{width:100%;min-height:58px;padding:15px 18px;border:1px solid #ffe7aa;border-radius:17px;background:#ffe4a0;color:#172653;font-size:16px;line-height:1.4;box-shadow:0 5px 0 #bd954e}
.bedtime-pack-page .button.pack-download:hover{background:#fff0c5}
.pack-download span{font-size:23px;line-height:1}
.pack-file-note{font-size:12px;line-height:1.6;color:#eee7f5;margin-top:14px}
.pack-open-pdf{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;color:#f9edcf;font-size:13px}
.pack-fan{width:100%;max-width:470px;height:450px;position:relative;margin:auto;filter:drop-shadow(0 18px 24px #02081c5c)}
.pack-sheet{position:absolute;width:57%;height:auto;left:21.5%;top:28px;border-radius:3px;box-shadow:0 6px 14px #080d393b}
.pack-sheet-cover{z-index:3;transform:rotate(-2deg)}
.pack-sheet-trail{z-index:1;transform:translate(-26%,10%) rotate(-16deg)}
.pack-sheet-colouring{z-index:2;transform:translate(25%,12%) rotate(14deg)}
.pack-sticker{position:absolute;right:0;bottom:6px;z-index:4;display:grid;place-content:center;width:108px;height:108px;transform:rotate(9deg);border:2px dashed #998454;outline:5px solid #ffe7a9;border-radius:50%;background:#ffe7a9;color:#28355b;text-align:center;font:500 21px/1.08 'Fredoka',sans-serif}
.pack-discover{padding:54px 0 58px;background:linear-gradient(#eee8fa,#faf5fb 58%,#fff8ee)}
.pack-cloud-panel{max-width:1000px;padding:40px 42px;background:#fffdf8;border:1px solid #dcd2eb;border-radius:46px 50px 38px 38px;text-align:center;box-shadow:0 9px 34px #4b387c09}
.pack-small-heading{font-size:12px;font-weight:800;letter-spacing:.035em;color:#725a89;margin-bottom:10px}
.pack-cloud-panel h2{font-size:46px;line-height:1.15}
.pack-subtitle{font-size:16px;color:#66517e;font-weight:800;margin-top:14px}
.pack-intro-copy{max-width:590px;margin:15px auto 0;font-size:16px;line-height:1.75;color:var(--pack-muted)}
.pack-contents{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;list-style:none;padding:0;max-width:710px;margin:24px auto 0}
.pack-contents li{display:inline-flex;align-items:center;gap:6px;background:#f0e9f8;border-radius:20px;padding:8px 13px;font-size:13px;font-weight:700}
.pack-contents li:nth-child(2n){background:#e8f2ed}.pack-contents li:nth-child(3n){background:#fff0d3}
.pack-contents span{color:#79628b}
.pack-preview-heading{margin:34px 0 18px}.pack-preview-heading h3{font-size:26px}.pack-preview-heading p{font-size:14px;color:#60617c;margin-top:6px}
.pack-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;text-align:left}
.pack-preview-card{min-width:0;background:#f4eff9;border:1px solid #dfd4ec;border-radius:20px;overflow:hidden}
.pack-preview-card:nth-child(2){background:#edf4ef;border-color:#d7e5dc}.pack-preview-card:nth-child(3){background:#fff4e1;border-color:#eddfc5}
.pack-preview-card summary{cursor:pointer;padding:16px;list-style:none;min-height:48px}.pack-preview-card summary::-webkit-details-marker{display:none}
.pack-preview-thumb{display:flex;justify-content:center;margin-bottom:16px}.pack-preview-thumb img{width:min(100%,170px);height:auto;box-shadow:0 5px 12px #29375c26;border:1px solid #fff}
.pack-preview-label{display:block;font-weight:800;font-size:14px;line-height:1.5}
.pack-preview-action{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:12px;line-height:1.5;color:#655775;margin-top:6px}
.pack-preview-action b{display:grid;place-items:center;flex-shrink:0;font-size:23px;line-height:1;width:25px;height:25px;border-radius:50%;background:#ffffffb8;font-weight:400}
.pack-preview-card[open] .pack-preview-action b{transform:rotate(45deg)}
.pack-page-large{width:calc(100% - 20px);height:auto;margin:0 auto 10px;border:1px solid #d9d4e1;border-radius:3px}
.pack-printing{display:flex;gap:14px;max-width:720px;margin:28px auto;text-align:left;padding:20px 22px;border-radius:22px;background:#f2edf7}
.pack-print-star{color:#a67927;font-size:29px;line-height:1.2}.pack-printing h3{font-size:22px;line-height:1.3}.pack-printing p{font-size:14px;line-height:1.7;color:#52607b;margin-top:8px}
.bedtime-pack-page .pack-cloud-panel>.pack-download{max-width:360px;background:#665089;color:#fff;border-color:#665089;box-shadow:0 5px 0 #493564}.bedtime-pack-page .pack-cloud-panel>.pack-download:hover{background:#59427d}
.pack-use-note{font-size:12px;color:#62647b;line-height:1.7;margin-top:17px}
.pack-story-section{padding:8px 0 58px;background:#fff8ee}.pack-story-heading{text-align:center;max-width:620px;margin:0 auto 28px}.pack-story-heading h2{font-size:43px;line-height:1.15}.pack-story-heading>p:last-child{font-size:16px;color:var(--pack-muted);line-height:1.75;margin-top:14px}
.pack-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;max-width:900px;margin:auto}
.pack-book-card{min-width:0;border:1px solid #dfd5e9;border-radius:25px;overflow:hidden;background:#fffdf9;display:flex;flex-direction:column}
.pack-book-cover{display:flex;align-items:center;justify-content:center;padding:25px;background:#e9f1ec;text-decoration:none}.pack-book-moon{background:#eee6f7}
.pack-book-cover img{width:min(100%,245px);height:auto;box-shadow:5px 9px 17px #17265330;border-radius:3px;transform:rotate(-3deg)}.pack-book-moon img{transform:rotate(3deg)}
.pack-book-copy{padding:25px;display:flex;flex-direction:column;flex-grow:1}.pack-book-number{font-size:11px;font-weight:800;color:#78606f;margin-bottom:8px}.pack-book-copy h3{font-size:31px;line-height:1.15}.pack-book-copy>p:not(.pack-book-number){font-size:15px;color:var(--pack-muted);line-height:1.7;margin:13px 0 22px}
.bedtime-pack-page .button.pack-book-link{min-height:52px;margin-top:auto;background:#665089;border-color:#665089;color:#fff;border-radius:15px;font-size:15px}.bedtime-pack-page .button.pack-book-link:hover{background:#51406e}
.pack-back-world{display:flex;align-items:center;justify-content:center;gap:8px;max-width:340px;min-height:48px;margin:25px auto 0;font-size:15px;font-weight:800;color:#5d497c;text-align:center}
.pack-club{background:#eae2f4;padding:38px 0}.pack-club-inner{display:flex;align-items:flex-start;gap:25px;max-width:750px}.pack-club-moon{font:70px/1 Georgia,serif;color:#7c6598;flex-shrink:0}.pack-club h2{font-size:33px;line-height:1.15}.pack-club p:not(.pack-small-heading){font-size:15px;color:#53607b;line-height:1.7;margin-top:13px}.bedtime-pack-page .pack-club .button{margin-top:20px;min-height:52px;border-radius:15px;background:#665089;border-color:#665089;color:#fff}
.bedtime-pack-page .shop-nav [aria-current='page']{color:#ffe7a4}
@media(max-width:900px){.pack-hero-layout{gap:16px}.pack-introduction h1{font-size:43px}.pack-fan{height:360px}.pack-sticker{width:86px;height:86px;font-size:18px;right:2px;bottom:9px}.pack-cloud-panel{padding:32px 26px}}
@media(max-width:650px){
 .pack-hero{padding:27px 0 36px}.pack-hero-layout{display:flex;flex-direction:column;gap:0;text-align:center}.pack-introduction{display:contents}.pack-gift-label{order:1;font-size:11px;margin-bottom:13px}.pack-introduction h1{order:2;font-size:clamp(33px,9vw,43px);line-height:1.07;max-width:410px;margin-inline:auto}.pack-hero-copy{order:3;font-size:15px;line-height:1.6;max-width:335px;margin:14px auto 0}.pack-download-group{order:4;width:100%;max-width:355px;margin:22px auto 0}.pack-fan{order:5;width:310px;max-width:calc(100% - 12px);height:265px;margin:17px auto 0;filter:drop-shadow(0 10px 16px #02081c4d)}.pack-sheet{top:10px;width:54%;left:23%}.pack-sticker{width:72px;height:72px;font-size:15px;right:7px;bottom:0;outline-width:3px;border-width:1px}.bedtime-pack-page .button.pack-download{min-height:56px;font-size:16px}.pack-file-note{margin-top:14px}
 .pack-discover{padding:29px 0 38px}.pack-cloud-panel{padding:27px 18px 30px;border-radius:32px 35px 28px 28px}.pack-small-heading{font-size:11px}.pack-cloud-panel h2{font-size:34px}.pack-subtitle{font-size:14px;line-height:1.6;margin-top:12px}.pack-intro-copy{font-size:15px;line-height:1.75;margin-top:12px}.pack-contents{gap:7px;margin-top:19px}.pack-contents li{font-size:12px;padding:7px 10px}.pack-preview-heading{margin:27px 0 15px}.pack-preview-heading h3{font-size:24px}.pack-preview-heading p{font-size:13px}.pack-previews{grid-template-columns:1fr;gap:12px}.pack-preview-card{border-radius:18px}.pack-preview-card summary{display:grid;grid-template-columns:64px minmax(0,1fr);gap:15px;align-items:center;padding:12px}.pack-preview-thumb{margin:0}.pack-preview-thumb img{width:64px;height:auto}.pack-preview-label{font-size:14px;line-height:1.4}.pack-preview-action{font-size:12px;margin-top:9px}.pack-page-large{width:calc(100% - 16px);margin-bottom:8px}.pack-printing{margin:22px auto;padding:17px 15px;gap:10px;border-radius:18px}.pack-printing h3{font-size:21px}.pack-print-star{font-size:24px}.pack-use-note{font-size:11px;line-height:1.8;margin-top:15px}
 .pack-story-section{padding:4px 0 37px}.pack-story-heading{margin-bottom:22px}.pack-story-heading h2{font-size:32px}.pack-story-heading>p:last-child{font-size:15px}.pack-book-grid{grid-template-columns:1fr;gap:19px;max-width:380px}.pack-book-cover{padding:23px}.pack-book-cover img{width:210px;max-width:100%}.pack-book-copy{padding:22px}.pack-book-copy h3{font-size:29px}.pack-back-world{font-size:14px}.pack-club{padding:30px 0}.pack-club-inner{gap:14px}.pack-club-moon{font-size:44px}.pack-club h2{font-size:28px}.pack-club p:not(.pack-small-heading){font-size:14px}
}
@media(max-width:359px){.pack-gift-label{font-size:10px}.pack-introduction h1{font-size:32px}.pack-cloud-panel{padding-inline:14px}.pack-preview-card summary{grid-template-columns:55px minmax(0,1fr);gap:11px}.pack-preview-thumb img{width:55px}.pack-preview-label{font-size:13px}.pack-club-moon{display:none}}
@media(prefers-reduced-motion:reduce){.bedtime-pack-page *, .bedtime-pack-page *::before,.bedtime-pack-page *::after{animation:none!important;scroll-behavior:auto!important}}
