/* Shared alignment: centred composition, balanced insets and local reading axes. */
html body{margin:0;min-width:0}
html body :is(.container,.container-xxl,.sb-container,.category-page-inner,.members-container,.editorial-container){margin-inline:auto}
html body :is(.hero-home,.bestsellers-section,.hw-study,.category-discovery,.offer-discovery,.home-value){box-sizing:border-box}

/* Landing section headings and their supporting copy share one axis. */
html body.home :is(.hero-home>.container-xxl,.brands>.container-xxl,.bestseller-heading,.hw-heading,.category-discovery-heading,.offer-signup,.offer-authority){text-align:center;margin-inline:auto}
html body.home :is(.hero-home h1,.hero-home>.container-xxl>p,.home-search,.hw-heading>p,.category-discovery-heading>p){margin-inline:auto}
html body.home :is(.bestseller-card,.category-tile,.editorial-mini-books>a){text-align:center}
html body.home .category-name{text-wrap:balance}
html body.home .category-name{padding-inline:4px}

/* Centre each step beneath its illustration, with no one-sided text indent. */
html body.home .hw-step-heading{justify-content:center;text-align:center}
html body.home .hw-wide-steps>li>p{padding-inline:0;margin-inline:auto;text-align:center;text-wrap:pretty}
html body.home .hw-wide-steps>li{align-content:start}
html body.home .hw-found-book{justify-content:center}
html body.home .hw-scene-caption{text-align:center}

/* Provider marks and copy keep their own axis; corner ratings stay in place. */
html body.home #plataformas .platform-refined{align-items:stretch;text-align:center}
html body.home #plataformas .platform-refined>.logo{justify-content:center;align-items:center}
html body.home #plataformas :is(.plan-kind,.plan-headline,.plan-followup,.plan-essential){text-align:center;align-content:center}
html body.home #plataformas :is(.home-plan-terms,.home-plan-terms p){text-align:center}
html body.home #plataformas .platform-refined.audible .logo img{transform:translateX(13.5px)}
html body.home #plataformas .platform-refined.audiobooks .logo img{transform:translate(12px,2px)}

/* Equal padding and explicit centring prevent fractional-grid drift in the panel. */
html body.home .offer-mosaic{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center}
html body.home .offer-signup{justify-self:center;align-self:center;box-sizing:border-box;min-width:0;margin:0}
html body.home .offer-proof-grid article{text-align:center}
html body.home .offer-proof-grid svg{display:block;margin-inline:auto}

/* Editorial content: centre the heading, each book and each introductory column. */
html body.home .editorial-home>.home-section-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
html body.home .editorial-home>.home-section-heading h2{max-width:850px;margin:0;text-align:center}
html body.home .editorial-home>.home-section-heading>a{max-width:none;margin:0;text-align:center}
html body.home .editorial-intro{max-width:740px;text-align:center;margin-inline:auto}
html body.home .editorial-row-copy{text-align:center}
html body.home .editorial-row-copy :is(h3,p){margin-inline:auto;text-wrap:pretty}
html body.home .editorial-more{justify-content:center}
html body.home .home-seo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
html body.home .home-seo :is(h2,h3){text-align:center;text-wrap:balance}
html body.home .home-seo p{max-width:65ch;margin-inline:auto}
html body.home .home-faq{width:100%;max-width:580px;margin-inline:auto}

/* Equal columns, equal icon placement and centred actions in the value statement. */
html body.home .home-value-inner{padding-block:48px}
html body.home .home-value-columns{gap:0}
html body.home .home-value-columns>div{display:flex;flex-direction:column;align-items:center;padding:0 28px;text-align:center}
html body.home .home-value-columns>div+div{padding:0 28px;border-left:0;box-shadow:-1px 0 0 #dad7cf}
html body.home .home-value .value-icon{position:static;display:grid;place-items:center;margin:0 auto 14px}
html body.home .home-value :is(h3,p){margin-inline:auto;text-wrap:pretty}
html body.home .home-value .value-text-link,html body.home .home-value .value-account{margin-top:auto}
html body.home .home-value-columns>div:first-child:after{content:"";display:block;flex:none;height:30px}
html body.home .home-value :is(.value-text-link,.value-account){height:44px;min-height:44px;box-sizing:border-box}
html body.home .home-value .value-account{padding-inline:44px}

/* Button labels sit at the geometric centre, independently of trailing arrows. */
html body :is(.sb-yellow-button,.value-account){position:relative;justify-content:center;text-align:center;padding-inline:44px}
html body :is(.sb-yellow-button,.value-account)>svg{position:absolute;right:17px;top:50%;transform:translateY(-50%)}
html body .offer-signup-actions>.sb-yellow-button{padding-inline:18px}

/* Shared footer retains a single centred axis on every page. */
html body .sb-footer{padding-block:30px;text-align:center}
html body .sb-footer .sb-container{flex-direction:column;justify-content:center;align-items:center;gap:16px}
html body .sb-footer nav{justify-content:center;align-items:center}
html body .sb-footer-bottom{justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 24px;padding-top:16px}

/* Interior pages: centred headings, filters, cover grids and account column. */
html body.inner-page :is(.listing-header,.members-heading,.editorial-heading,.category-index-heading){text-align:center;margin-inline:auto}
html body.inner-page :is(.listing-header>p,.members-heading>p,.editorial-heading>p){margin-inline:auto}
html body.inner-page :is(.listing-header .search-form,.members-preview,#member-auth,#member-preferences,.member-delete){margin-inline:auto}
html body.inner-page .auth-switch{justify-content:center}
html body.inner-page .offer-toolbar{flex-wrap:wrap;justify-content:center;gap:12px}
html body.inner-page .offer-toolbar .segmented{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:center}
html body.inner-page #auth-submit{display:flex;margin-inline:auto}
html body.inner-page .editorial-toc{justify-content:center}
html body.inner-page .category-page-heading>div:first-child{text-align:center}
html body.inner-page .category-page-heading :is(h1,p){margin-inline:auto}
html body.inner-page .category-jump-links{justify-content:center}
html body.inner-page :is(.category-shelf>header,.category-related>div){text-align:center}
html body.inner-page .category-shelf>header>p{max-width:760px;margin-inline:auto}
html body.inner-page .category-book-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}
html body.inner-page .category-book{flex:0 1 220px;width:220px;text-align:center}
html body.inner-page .category-book-meta{justify-content:center}
html body.inner-page .category-related>div{justify-content:center;flex-direction:column;align-items:center;gap:10px}
html body.inner-page .category-related ul{justify-content:center}
html body.inner-page :is(.category-related .category-tile,.category-index-grid .category-tile,.bestseller-card){text-align:center}
html body.inner-page .book-card .card-copy{text-align:center}
html body.inner-page .book-card :is(.card-meta,.card-platforms){justify-content:center}
html body.inner-page .category-reading-guide :is(h2,p){max-width:950px;margin-inline:auto}
html body.inner-page .category-reading-guide h2{text-align:center}

@media(max-width:900px){
 html body.inner-page .category-book{flex-basis:calc((100% - 52px)/3);width:calc((100% - 52px)/3)}
}
@media(max-width:760px){
 html body.home .hw-heading{text-align:center}
 html body.home .hw-heading>p{max-width:430px;margin-inline:auto;text-wrap:balance}
 html body.home .hw-wide-steps>li{align-content:center}
 html body.home .hw-step-heading{display:flex;flex-direction:column;align-items:center;gap:5px}
 html body.home .hw-step-heading .hw-number{margin:0}
 html body.home .hw-wide-steps>li>p{margin-top:8px}
}
@media(max-width:700px){
 html body.home .offer-proof-grid{text-align:center}
 html body.home .offer-proof-grid article{display:flex;flex-direction:column;align-items:center;gap:10px}
 html body.home .offer-proof-grid svg{margin-bottom:2px}
 html body.home .offer-proof-grid p{max-width:350px;margin-inline:auto}
}
@media(max-width:650px){
 html body.home .home-seo{grid-template-columns:minmax(0,1fr)}
 html body.home .home-value-inner{padding-block:36px}
 html body.home .home-value-columns{gap:26px}
 html body.home .home-value-columns>div:first-child:after{display:none}
 html body.home .home-value-columns>div{padding:0}
 html body.home .home-value-columns>div+div{padding:26px 0 0;border-left:0;border-top:1px solid #dad7cf;box-shadow:none}
 html body.home .home-value .value-icon{position:static}
}
@media(max-width:575px){
 html body.inner-page .category-page-heading{align-items:center}
 html body.inner-page .category-page-heading>div:first-child{width:100%;min-width:0}
 html body.inner-page .category-book-grid{gap:24px 16px}
 html body.inner-page .category-book{flex-basis:calc((100% - 16px)/2);width:calc((100% - 16px)/2);min-width:0}
 html body.inner-page .category-book-meta{flex-wrap:wrap}
 html body .sb-footer-bottom{flex-direction:column;gap:4px}
}
