/* Shared reading rhythm and action hierarchy. Purchase alone carries the fill. */
:root{--action-height:3.25rem;--action-radius:5px}
.r-site :is(h1,h2,h3,h4){text-wrap:balance}
.r-site :is(p,dd,figcaption,blockquote){text-wrap:pretty}
.r-site :is(.ix-source-fragment,.ix-evidence-quote,.pattern-specimen blockquote){text-wrap:balance}
.r-site :is(button,a,input,select,summary){touch-action:manipulation}
.r-site :is(.r-button,.button,.book-link,.mc-newsletter .ds-button,.mc-contact-form .ds-button){
 display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
 min-height:var(--action-height);padding:.75rem 1.25rem;border:1px solid #a8b6ca;
 border-radius:var(--action-radius);background:#fff;color:var(--blue);
 font:500 1rem/1.5 var(--body);text-align:center;text-decoration:none;
 transition:background .18s,border-color .18s,box-shadow .18s;
}
.r-site :is(.r-button,.button,.book-link,.mc-newsletter .ds-button,.mc-contact-form .ds-button):hover{
 background:#f3f6ff;border-color:var(--blue);color:var(--blue);
}
.r-site .r-purchase{
 display:flex;align-items:center;justify-content:center;min-height:var(--action-height);
 padding:.75rem 1.25rem;border:1px solid var(--blue);border-radius:var(--action-radius);
 background:var(--blue);color:#fff;font:600 1rem/1.5 var(--body);text-align:center;
 text-decoration:none;transition:background .18s,box-shadow .18s;
}
.r-site .r-purchase[href]:hover{background:#1944ce;box-shadow:0 4px 16px #2452ee22}
.r-site .r-purchase[aria-disabled=true]{background:#405dba;border-color:#405dba;cursor:not-allowed}
.r-purchase-status{font-size:.875rem;color:var(--muted);text-align:center;line-height:1.6;margin-top:.55rem}
.r-site :is(.r-button,.button,.r-link,.text-link,.book-link)>.rf-cta-arrow,
.r-site :is(.r-button,.button,.r-link,.text-link,.book-link)>span[aria-hidden=true]{display:none}
.r-page-nav a:after{content:none}
.r-site select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235c6670' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:1rem;padding-right:2.5rem}
.r-footer-imprint>p:first-child,.book-imprint,.b-cover>figcaption{text-transform:none;letter-spacing:normal}
.r-footer-imprint>p:first-child{color:var(--ink)}
.r-footer-nav a span{display:none}
.mc-newsletter .ds-button:disabled{background:#fff;color:var(--muted);border-color:#b9c4d3;cursor:default}
.mc-newsletter :is(.mc-email-promise,.mc-form-status){font-size:.875rem;line-height:1.6}
.ix-choice-caption{margin:1.25rem 0 .65rem;font-size:.875rem;font-weight:600;line-height:1.5;color:var(--ink)}
.r-site :is(.ix-word-help,.ix-question-label,.ix-context){font-size:.875rem}
.ix-tab-arrow{display:none}
.ix-example{container-type:inline-size;container-name:inference}
.h-orientation{flex-wrap:wrap}.h-orientation dt{flex-shrink:0}
@container inference (max-width:48rem){
 .ix-workbench{display:block}
 .ix-tabs{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:16px}
 .ix-context{max-width:none}
 .ix-inspector{border-left:0;padding:24px 0 0}
 .ix-panel-heading{flex-wrap:wrap}
 .ix-proof,.ix-paired-evidence{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:18px}
 .ix-gap{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px}
 .ix-gap svg{width:46px;height:26px}
 .ix-added-claim{padding-left:0;border-left:0}
}
.map-vocabulary{display:block;padding-top:0}
.map-glossary-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 20px;margin-bottom:12px}
.map-glossary-head .paper-label{margin:0;color:var(--ink);font-weight:500}
.map-term-controls{display:flex;flex-wrap:wrap;gap:8px}
.map-term-controls button{min-height:44px;padding:.5rem .75rem;background:#fff;border:1px solid var(--rule);border-radius:4px;font-size:.875rem;line-height:1.5}
.map-term-controls button[aria-pressed=true]{background:#edf2ff;border-color:var(--blue);color:var(--blue)}
.map-vocabulary #map-term-meaning{margin-top:16px;max-width:65ch}

/* Definitions stay beside the work, available when the reader needs them. */
.r-site .r-term-help{margin:1rem 0;border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:transparent;padding:0}
.r-site .r-term-help>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;padding:.65rem 0;list-style:none;cursor:pointer;color:var(--blue);font:500 .875rem/1.5 var(--body)}
.r-site .r-term-help>summary::-webkit-details-marker{display:none}
.r-site .r-term-help>summary::after{content:'+';flex:0 0 1rem;text-align:center;font:400 1.25rem/1 var(--body)}
.r-site .r-term-help[open]>summary::after{content:'−'}
.r-site .r-term-help>summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.r-site .r-term-help>p{margin:0;padding:0 0 1rem;max-width:65ch;font:400 1rem/1.65 var(--body);color:var(--muted);text-wrap:pretty}

/* The book is the visual centerpiece; the repeated title is its caption. */
.book-opening{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px}
.book-art{width:min(100%,380px)}
.book-copy h2{font-size:1.875rem;line-height:1.2;max-width:22ch}
.book-copy h2>span{font-size:.875rem;letter-spacing:0;margin-bottom:7px}
.book-copy .book-heading-group>.eyebrow{display:none}
.book-action{max-width:30rem}
.book-action .book-specs{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin-bottom:16px;font-size:.875rem}
.book-specs strong{font:500 1.5rem/1.3 var(--display);color:var(--ink)}
.book-action>.r-button{width:100%;margin-top:14px}
.b-cover{width:min(100%,390px);max-width:none}
.b-opening-grid{grid-template-columns:1fr 1fr;gap:72px}
.b-opening-copy h1{font-size:1.875rem;line-height:1.2;max-width:22ch;letter-spacing:-.035em}
.b-opening-copy h1>span{color:var(--muted);text-transform:none;letter-spacing:0;font-size:.875rem;margin-bottom:7px}
.b-actions{display:grid;grid-template-columns:1fr;gap:0;max-width:30rem}
.b-actions>.r-button{margin-top:14px;width:100%}
.b-price{display:flex;align-items:center;justify-content:space-between;gap:12px}
.b-price>strong{font-size:1.5rem;margin:0;white-space:nowrap}
.b-opening-note{margin-top:20px}
.b-study-select{display:none}
.b-study-terms{display:flex;flex-wrap:wrap;gap:8px}
.b-study-terms button{border:1px solid var(--rule);border-radius:4px;padding:.5rem .75rem;min-height:44px;font-size:.875rem}
.b-study-terms button[aria-pressed=true]{background:#edf2ff;border-color:var(--blue);color:var(--blue)}
.b-study-controls{align-items:center}
.b-glossary-intro{margin-bottom:12px}
.r-page .b-glossary-intro h3{font:600 1rem/1.5 var(--body);letter-spacing:0}
.b-glossary-intro p{font-size:.875rem;line-height:1.5;color:var(--muted);margin-top:5px}
.b-study-selected{scroll-margin-top:24px}
.r-method .m-glossary-terms{gap:8px;border:0;padding:0}
.r-method .m-glossary-terms button{border:1px solid var(--rule);border-radius:4px;padding:.5rem .75rem;min-height:44px;font:400 .875rem/1.5 var(--body)}
.r-method .m-glossary-terms button[aria-pressed=true]{background:#edf2ff;border-color:var(--blue);color:var(--blue)}

@media(max-width:1050px) and (min-width:761px){
 .book-opening,.b-opening-grid{gap:40px}.book-art,.b-cover{width:min(100%,340px)}
 .map-pair{grid-template-columns:1fr}.noteboard-paper{padding-top:12px}
 .map-vocabulary{grid-template-columns:1fr}
 .b-map-intro{grid-template-columns:1fr}.b-map-intro img{max-width:200px;justify-self:center}
}
@media(max-width:760px){
 .r-site :is(.r-button,.button,.book-link){width:100%;max-width:none;justify-content:center;text-align:center}
 .r-site :is(.r-actions,.hero-actions,.b-actions){display:grid;grid-template-columns:1fr;gap:12px;width:100%}
 .r-site :is(.r-actions,.hero-actions,.b-actions)>:is(a,button){width:100%;justify-content:center;text-align:center}
 .r-site :is(.r-actions,.hero-actions)>.text-link{min-height:44px}
 .r-site .mc-newsletter .mc-signup-fields{display:grid;grid-template-columns:1fr;gap:12px}
 .r-site .mc-newsletter .ml-form-embedSubmit{width:100%;min-width:0;max-width:none}
 .r-site .mc-newsletter .ds-button{width:100%}
 .r-site .mc-contact-submit>.ds-button{width:100%}
 .book-opening{grid-template-columns:1fr;gap:26px}
 .book-art,.b-cover{width:min(88%,340px);max-width:none}
 .book-copy h2,.b-opening-copy h1{font-size:1.5rem;line-height:1.25;max-width:25ch}
 .book-copy h2>span,.b-opening-copy h1>span{font-size:.875rem}
 .book-contents{max-width:none;margin-top:16px}
 .book-action,.b-actions{max-width:none}
 .b-opening-grid{gap:24px}
 .b-cover{order:0}.b-opening-copy h1{order:1;align-self:flex-start}
 .b-cover-subtitle{order:2}.b-opening-note{order:3}.b-price{order:4}.b-actions{order:5;gap:0}
 .b-study-select{display:none}.b-study-terms{display:flex;gap:7px}
 .b-study-controls{display:grid;grid-template-columns:1fr;gap:12px}
 .b-color-control{justify-self:start;min-height:44px}
 .b-actions>.r-button{margin-top:14px}
 .ix-choice-caption{margin-top:1rem}
 .mc-newsletter .mc-form-status{max-width:42ch}
}
@media(max-width:360px){
 .book-art,.b-cover{width:92%}.b-price{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.r-site :is(.r-button,.button,.r-purchase){transition:none}}
