/* Go Digsy typography system. Edit these tokens to adjust the entire site.
   Project defaults, not a claim that WCAG specifies a minimum font size.
   Keep essential HTML labels >=1rem; browser-default rem supports user zoom. */
:root{--text-small:1rem;--text-body:1.125rem;--text-reading:1.25rem;--text-reading-large:1.55rem;--text-h3:1.375rem;--text-h2:clamp(1.65rem,3vw,2.2rem);--text-h1:clamp(2rem,4vw,3rem);--leading-body:1.6;--leading-reading:1.75}
body{font-size:var(--text-body);line-height:var(--leading-body)}
:is(.eyebrow,.pill,.count,.print-note,.cover-caption,.card small,.book-label,.book-meta,.collection-note,.parent-eyebrow,.parent-small,.parent-preview-note,.parent-noscript,.cover-tap-label,.parent-button-label){font-size:var(--text-small);line-height:1.45;letter-spacing:normal}
:is(.collection-welcome .eyebrow,.shelf-heading .eyebrow,.book-heading .eyebrow,.digsy-story-copy .eyebrow,.parent-invitation .parent-eyebrow){font-size:var(--text-small);line-height:1.45;letter-spacing:.03em}
:is(.welcome-message,.book-card p,.book-heading-copy>p:not(.eyebrow),.picker-heading p:not(.eyebrow),.hero .intro,.steps p,.meet-digsy p,.digsy-story p:not(.eyebrow),.prose p,.order-layout p,.parent-invitation-copy>p:not(.parent-eyebrow):not(.parent-small),.parent-dialog>p:not(.parent-eyebrow):not(.parent-preview-note)){font-size:var(--text-body);line-height:var(--leading-body)}
:is(.book-card h3,.card h3){font-size:var(--text-h3);line-height:1.3}
:is(.picker-heading h2,.shelf-heading h2,.parent-invitation h2,.parent-dialog h2){font-size:var(--text-h2);line-height:1.2}
.story>p:not(.eyebrow):not(.print-note){font-size:var(--text-reading);line-height:var(--leading-reading)}
.story.large>p:not(.eyebrow):not(.print-note){font-size:var(--text-reading-large)}
:is(.btn,.tool,.open-book,.choose-book,.collection-cover-preview,.book-actions .btn,.book-bottom .btn,.navigation-buttons>a,.parent-order-link,.parent-shop-button,.parent-continue,.parent-stay,.cover-dialog-actions button,.parent-confirm,.topbar nav a){font-size:var(--text-small);line-height:1.4}
:is(.btn,.tool,.parent-order-link,.parent-shop-button,.parent-continue,.cover-dialog-actions button){min-height:48px;height:auto;white-space:normal}
:is(.book-path,.book-path>span,.book-introduction summary,.book-introduction summary span,.book-introduction p,.picker-heading .filter label,.answer summary,.answer p,.activity h3,.activity p,.reader-title .count,.parent-dialog-heading p,.cover-dialog-bar strong,.navigation-guide,.footer){font-size:var(--text-small);line-height:1.55}
:is(.filter input,.parent-confirm input){font-size:var(--text-body)}
.artwork figcaption{font-size:var(--text-body);line-height:1.5;padding:12px 15px;font-weight:650;color:var(--ink)}
.collection-steps{font-size:var(--text-small);gap:16px}.collection-steps span{font-size:var(--text-small)}
.navigation-guide>span{max-width:88px}.book-meta{display:block;margin-top:9px}.book-label{display:block}.parent-button-label{padding-right:13px}.parent-order-link{max-width:100%;text-align:center}.cover-tap-label{white-space:normal;margin-top:9px}.parent-dialog{max-width:560px;max-height:92dvh;overflow:auto}.parent-dialog-heading{align-items:start}.parent-dialog-heading p{margin-top:10px}.parent-dialog .parent-preview-note{line-height:1.6}.parent-invitation{grid-template-columns:100px minmax(0,1fr) 120px}.parent-invitation .parent-shop-button{max-width:100%}.book-heading{grid-template-columns:130px minmax(0,1fr) 100px}.book-actions{gap:10px}.footer>div>div{gap:12px 20px}.footer a{padding:5px 0}.reader-tools{gap:10px}.activity h3{text-transform:none;letter-spacing:normal}.collection-note{margin-top:12px}.collection-cover-preview{margin-top:18px}
@media(max-width:900px){.book-heading{grid-template-columns:110px minmax(0,1fr) 75px}.navigation-guide>span{display:none}.parent-invitation{gap:20px}}
@media(max-width:650px){.topbar nav a{font-size:var(--text-small)}.topbar nav{gap:12px}.topbar .wrap{gap:10px;min-height:58px}.collection-welcome .eyebrow{display:none}.collection-note{display:none}.collection-welcome{grid-template-columns:95px minmax(0,1fr)}.welcome-message{font-size:var(--text-small)}.book-card{grid-template-columns:minmax(90px,.7fr) minmax(0,1fr);gap:14px}.book-card .book-label{display:none}.book-card p{font-size:var(--text-small)}.book-card h3{font-size:var(--text-h3)}.book-meta{font-size:var(--text-small)}.open-book{font-size:var(--text-small)}.collection-steps{gap:8px}.collection-steps>div{font-size:var(--text-small);line-height:1.35}.collection-steps span{font-size:var(--text-small)}.book-heading{grid-template-columns:90px minmax(0,1fr);gap:16px}.book-heading h1{font-size:1.85rem}.book-heading .eyebrow{font-size:var(--text-small)}.book-heading-copy>p:not(.eyebrow){font-size:var(--text-small)}.book-actions{grid-column:1/-1}.book-introduction summary span{display:block;margin:5px 0 0}.picker-heading .filter{grid-template-columns:1fr}.picker-heading .filter input{width:100%;min-width:0}.parent-order-link{gap:9px;padding:9px 10px;flex-wrap:wrap}.parent-button-label{font-size:var(--text-small);border-right:0;padding-right:0}.parent-order-link>span:last-child{flex-basis:100%}.parent-invitation{grid-template-columns:1fr;gap:12px;padding:20px}.parent-digsy{padding:0}.parent-digsy svg{width:72px;height:104px}.parent-invitation .parent-eyebrow{font-size:var(--text-small)}.parent-invitation-copy>p:not(.parent-eyebrow):not(.parent-small){font-size:var(--text-body)}.parent-shop-button{font-size:var(--text-small);width:100%;padding:10px 12px}.parent-small{font-size:var(--text-small)}.parent-dialog{padding:24px 20px}.parent-dialog-heading img{width:70px}.parent-dialog h2{font-size:1.6rem}.parent-dialog-heading p{font-size:var(--text-small)}.cover-dialog-actions{flex-direction:column}.cover-dialog-actions button{width:100%;font-size:var(--text-small)}.cover-dialog>img{max-height:calc(94dvh - 230px)}.footer{font-size:var(--text-small)}.book-path{flex-wrap:wrap}.order-layout{grid-template-columns:1fr}.order-layout .order-cover{width:160px;margin:auto}.order-layout p{font-size:var(--text-body)}}
@media(max-width:360px){.topbar .wrap{flex-wrap:wrap;justify-content:center;padding-top:9px;padding-bottom:9px;gap:4px}.topbar nav{flex-basis:100%;justify-content:center}.collection-welcome{grid-template-columns:78px minmax(0,1fr);gap:10px}.book-card{grid-template-columns:1fr}.book-card>img{max-width:165px}.book-card-copy{text-align:center}.book-heading{grid-template-columns:1fr}.book-cover-link{max-width:120px;margin:auto}.book-heading .book-cover-link{margin-left:0}.book-heading h1{font-size:1.85rem}.collection-steps{flex-direction:column;align-items:stretch;gap:10px}.collection-steps>div{flex-direction:row;justify-content:flex-start;gap:10px;text-align:left}.collection-steps>b{display:none}.navigation-buttons>a{font-size:var(--text-small)}}
.navigation-buttons{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr)}.navigation-buttons>a{min-width:0;flex-wrap:wrap;row-gap:0}.reader-title h1{min-width:0;overflow-wrap:break-word}
@media(max-width:650px){.navigation-buttons{grid-template-columns:minmax(0,1fr) minmax(0,1.32fr) minmax(0,1fr)}.navigation-buttons .nav-icon{font-size:1.5rem}.reader-title{flex-wrap:wrap}.reader-title .count{white-space:normal}}
.collection-steps>div span{font-size:var(--text-small)}
@media(max-width:650px){.topbar .wrap{flex-wrap:wrap}.topbar nav{flex-wrap:wrap}.collection-steps>div span{min-width:1.9em;min-height:1.9em}.parent-dialog-heading{flex-wrap:wrap}}
.navigation-buttons>a{text-align:center}
