.companion-page [hidden]{display:none!important}.companion-hero{display:grid;grid-template-columns:minmax(160px,290px) 1fr;gap:clamp(24px,5vw,70px);align-items:center;padding:clamp(22px,4vw,48px);margin:20px 0}.companion-hero>img{width:100%;height:auto;filter:drop-shadow(0 16px 20px #0008)}.companion-hero h1{font-size:clamp(28px,4vw,52px);line-height:1.12;margin:12px 0 20px}.companion-hero p{line-height:1.65;max-width:630px}.companion-meta,.companion-reader-foot{color:#adb6a8;font-size:14px}.companion-unlock{padding:24px;margin:24px 0}.companion-unlock h2{margin:0 0 10px}.companion-code-row{display:flex;gap:12px;margin:8px 0 12px}.companion-code-row input{flex:1;min-width:0;max-width:520px;text-transform:uppercase}.companion-page input,.companion-page select{background:#111810;color:#f3f0df;border:1px solid #637150;border-radius:8px;padding:10px;font:inherit}.companion-page button,.companion-page select{min-height:44px}.companion-page a:focus-visible,.companion-page button:focus-visible,.companion-page input:focus-visible,.companion-page select:focus-visible{outline:3px solid #e6c66a;outline-offset:3px}.companion-reader{padding:20px;scroll-margin-top:24px;overflow:hidden}.companion-reader-heading,.companion-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}.companion-toolbar{justify-content:center;background:#111810;padding:12px;border-radius:10px}.companion-toolbar button{background:#283721;color:#fff;border:1px solid #647451;border-radius:8px;min-width:44px;font-size:22px}.companion-toolbar button:disabled{opacity:.35}.companion-toolbar input{width:72px}.companion-canvas-wrap{overflow:auto;background:#070a07;border-radius:6px;padding:12px;margin-top:14px;max-height:85vh}.companion-canvas-wrap canvas{display:block;margin:auto;background:#fff;max-width:none}.companion-reader [data-reader-status]:empty,.companion-unlock [data-redeem-status]:empty{display:none}.companion-page-text{margin-top:14px;color:#d1d7cd}.companion-page-text p{white-space:pre-wrap;line-height:1.7}.companion-reader-foot{text-align:center;margin-bottom:0}@media(max-width:600px){.companion-hero{grid-template-columns:1fr;gap:20px;text-align:center}.companion-hero>img{width:160px;justify-self:center}.companion-hero h1{font-size:30px}.companion-code-row{flex-direction:column}.companion-reader{padding:10px}.companion-toolbar{gap:8px;padding:8px}.companion-toolbar label{font-size:13px}.companion-toolbar input{width:58px}.companion-toolbar select{max-width:105px}.companion-canvas-wrap{padding:4px}.companion-reader-heading h2{font-size:20px}.companion-unlock{padding:18px}}

.companion-unlock [data-sign-in]{color:var(--color-gold)}.companion-code-row{align-items:center}.companion-code-row input{height:48px;width:100%}.companion-canvas-wrap{min-height:240px}@media(max-width:600px){.companion-code-row{align-items:stretch}}

/* Companion sales copy and purchase messaging; reader/global layout remains unchanged. */
.companion-hero{grid-template-columns:minmax(190px,270px) minmax(0,1fr);gap:clamp(24px,3.5vw,48px)}
.companion-hero h1{font-size:clamp(28px,3.6vw,46px);margin-bottom:14px}
.companion-hero .companion-positioning{font-size:19px;line-height:1.5;margin:0 0 22px;color:#eceadf}
.companion-benefits{list-style:none;margin:0;padding:18px 20px 18px 24px;border-left:2px solid #c9a653;border-radius:0 10px 10px 0;background:linear-gradient(110deg,rgba(204,164,72,.1),rgba(204,164,72,.02));color:#e6cd91}
.companion-benefits li{position:relative;padding-left:17px;font-size:16px;line-height:1.55}
.companion-benefits li+li{margin-top:11px}.companion-benefits li::before{content:'•';position:absolute;left:0;color:#c9a653}.companion-benefits li:first-child{font-weight:700;color:#f0d28b}
.companion-hero .companion-closing{font-size:16px;line-height:1.6;color:#f0e8d4;margin:18px 0}
.companion-hero .companion-facts{font-size:13px;line-height:1.9;color:#bdc5b7;padding:12px 0;margin:0;border-top:1px solid #d5ad5228;border-bottom:1px solid #d5ad5228;font-weight:550;text-wrap:balance}
.companion-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.companion-hero-actions .button{margin:0;min-height:48px;font-size:13px;padding:14px 20px}
.companion-sample{color:#f0dcaa;background:#151910;border:1px solid #8e7846}.companion-buy{background:linear-gradient(135deg,#edce81,#cfaa53);color:#1a160b;border:1px solid #e9c671;cursor:pointer;box-shadow:0 5px 18px #0003}.companion-buy:hover{filter:brightness(1.06)}
.companion-hero .companion-availability{font-size:12px;line-height:1.6;color:#a3ac9d;margin:10px 0 0}
.companion-need-copy{margin:16px 0 0;padding-top:10px;border-top:1px solid #ffffff0c}.companion-need-copy button{padding:0;background:none;border:0;font:inherit;font-size:14px;text-align:left;color:#dfc78d;text-decoration:underline;text-decoration-color:#dfc78d55;text-underline-offset:4px;cursor:pointer}
.companion-why{padding:clamp(22px,4vw,36px);margin:24px 0}.companion-why h2{margin:8px 0 16px;font-size:26px}.companion-why p:not(.ctart-gold-kicker){max-width:850px;line-height:1.75;color:#c0c8ba;font-size:16px}.companion-why .companion-why-closing{color:#e6cd91!important;margin-bottom:0}
.companion-purchase{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:38px 30px 28px;border:1px solid #a58a48;border-radius:18px;background:radial-gradient(ellipse at top,#42351755,transparent 65%),#0c110b;color:#f4f0e5;box-shadow:0 24px 90px #000a}
.companion-purchase::backdrop{background:#000b;backdrop-filter:blur(4px)}.companion-purchase .ctart-gold-kicker{margin-top:6px;padding-right:14px;font-size:11px;line-height:1.6}.companion-purchase h2{font-size:28px;line-height:1.3;margin:18px 0 12px}.companion-purchase #purchase-description{font-size:18px;color:#e9cb83}.companion-purchase-detail{font-size:15px;line-height:1.6;color:#b2bcaa}.companion-purchase .button{margin:12px 0 0;width:100%;font-size:12px;min-height:48px}.companion-purchase-close{position:absolute;right:10px;top:8px;width:44px;min-height:44px;background:transparent;border:0;color:#c9c8b9;font-size:28px;cursor:pointer}
@media(max-width:760px){.companion-hero{grid-template-columns:1fr}.companion-hero>img{width:190px;justify-self:center}.companion-hero>div{min-width:0}.companion-hero-actions{justify-content:center}}
@media(max-width:600px){.companion-hero{padding:24px 20px}.companion-hero>img{width:160px}.companion-hero .companion-positioning{font-size:18px}.companion-benefits{text-align:left;padding:16px}.companion-benefits li{font-size:15px;line-height:1.6}.companion-hero-actions{flex-direction:column}.companion-hero-actions .button{width:100%}.companion-hero .companion-facts{font-size:12px}.companion-purchase{padding:36px 22px 22px}.companion-purchase h2{font-size:25px}}

/* Larger linked cover and targeted hub navigation. */
.companion-hero{grid-template-columns:minmax(240px,378px) minmax(0,1fr)}
.companion-cover-link{display:block;width:100%;justify-self:center;cursor:pointer;transition:transform .18s ease;border-radius:8px}
.companion-cover-link img{display:block;width:100%;height:auto;filter:drop-shadow(0 16px 20px #0008)}
@media(hover:hover){.companion-cover-link:hover{transform:translateY(-3px)}}
.companion-hero .companion-book-language{font-size:14px;line-height:1.5;color:#c3c8ba;margin:10px 0 0}
.companion-hero-actions .button{white-space:normal;text-align:center;line-height:1.5;max-width:100%}
.companion-toolbar label{min-width:0}.companion-toolbar select{max-width:170px}
.companion-hub-card{position:relative}.companion-hub-title{color:inherit;text-decoration:none}.companion-hub-title::after{content:'';position:absolute;inset:0;border-radius:inherit;z-index:1}
.companion-hub-card:has(.companion-hub-title:focus-visible){outline:3px solid #e6c66a;outline-offset:4px}
.companion-hub-cover,.companion-hub-card .book-samples,.companion-hub-card .button,.companion-hub-card .book-coming-soon{position:relative;z-index:2}
.companion-hub-cover:focus-visible{outline:3px solid #e6c66a;outline-offset:4px;border-radius:8px}
@media(max-width:760px){.companion-hero{grid-template-columns:1fr}.companion-cover-link{width:min(266px,75%)}.companion-hero h1{text-wrap:balance}}
@media(max-width:600px){.companion-cover-link{width:min(218px,75%)}.companion-toolbar{column-gap:10px}.companion-toolbar label:last-child{display:flex;align-items:center;gap:6px}.companion-toolbar select{max-width:min(180px,48vw)}.companion-purchase h2{overflow-wrap:normal}}
@media(prefers-reduced-motion:reduce){.companion-cover-link{transition:none}.companion-cover-link:hover{transform:none}}

/* Reader controls and fullscreen retain the same layout on web and Android. */
.companion-reader-heading h2{margin-top:0;margin-bottom:.6rem}
.companion-toolbar button,.book-side{display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0}
.companion-reader:fullscreen,.companion-reader.book-fullscreen-fallback{box-sizing:border-box;width:100%;height:100dvh;max-width:none;margin:0;padding:12px;background:#080d09;overflow:auto;border-radius:0}
.companion-reader.book-fullscreen-fallback{position:fixed;inset:0;z-index:2147483646}
.book-fullscreen-open{overflow:hidden}
.companion-reader:fullscreen .companion-canvas-wrap,.book-fullscreen-fallback .companion-canvas-wrap{max-height:calc(100dvh - 170px)}
.companion-reader:fullscreen .companion-reader-foot,.book-fullscreen-fallback .companion-reader-foot{display:none}

.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .companion-reader-heading{justify-content:flex-end;margin-bottom:8px}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .companion-reader-heading h2,
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) [data-download],
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .collection-book-picker{display:none!important}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .companion-toolbar{margin:0}

/* Immersive reading: fit the whole page; tap its left/right half to turn. */
.book-fullscreen-close,.book-fullscreen-progress{display:none}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback){padding:0!important;overflow:hidden;background:#050505}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback)>:not(.companion-canvas-wrap):not(.book-page-stage):not(.book-fullscreen-close):not(.book-fullscreen-progress):not(.book-fullscreen-nav):not([data-reader-status]){display:none!important}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .companion-canvas-wrap{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-height:none;min-height:0;padding:0;margin:0;border-radius:0;overflow:hidden;touch-action:manipulation}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-side{display:none!important}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-fullscreen-progress{display:block;position:absolute;top:env(safe-area-inset-top,0px);left:0;right:0;height:3px;background:#ffffff25;z-index:4;pointer-events:none}
.book-fullscreen-progress>span{display:block;height:100%;background:#ffffffa0;transition:width .12s}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-fullscreen-close{display:flex;align-items:center;justify-content:center;position:absolute;top:calc(env(safe-area-inset-top,0px) + 6px);right:8px;z-index:5;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#0004;color:white;font-size:26px;line-height:1}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) [data-reader-status]:not(:empty){position:absolute;bottom:12px;left:12px;right:12px;z-index:4;background:#080d09dd;padding:12px}

.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-page-stage{display:block;position:relative;width:100%;height:100%;margin:0;padding:0}

/* Page turns remain available by tap, keyboard and explicit bottom controls. */
.companion-page-text,.book-fullscreen-nav{display:none}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-fullscreen-nav{position:absolute;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;z-index:5;height:96px;display:flex;align-items:center;justify-content:center;gap:32px;background:#050505}
.book-fullscreen-nav button{display:flex;align-items:center;justify-content:center;width:96px;height:44px;padding:0;border:1px solid #ffffff50;border-radius:12px;background:#ffffff12;color:#fff;font-size:26px;line-height:1}
.book-fullscreen-nav button:disabled{opacity:.3}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) .book-page-stage{height:calc(100% - 96px - env(safe-area-inset-bottom,0px))}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback)>.companion-canvas-wrap{height:calc(100% - 96px - env(safe-area-inset-bottom,0px))}
.companion-reader:is(:fullscreen,.book-fullscreen-fallback) [data-reader-status]:not(:empty){bottom:calc(104px + env(safe-area-inset-bottom,0px))}

.book-fullscreen-nav button svg{display:block;flex:none;width:36px;height:24px}
