/* Independent subjects on app-style paper; paging belongs inside a subject. */
.feature-chapter{scroll-margin-top:var(--space-4)}
.feature-chapter:focus:not(:focus-visible){outline:0}
.chapter-heading{display:flex;align-items:center;gap:var(--space-4);margin-bottom:var(--space-5)}
.chapter-heading img{object-fit:contain;flex-shrink:0}
body.chapter-page .chapter-heading h2{font:400 clamp(28px,3vw,38px)/1.08 var(--font-display);margin:0;max-width:720px}
.chapter-carousel .journey-track{grid-auto-columns:100%;gap:var(--space-4);padding:0;scrollbar-width:none}
.chapter-carousel .journey-slide{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;opacity:1!important}
.chapter-carousel .journey-copy{max-width:30em}
.chapter-carousel .journey-copy .map-credit{font-size:12px;line-height:1.5;color:var(--muted);margin-top:var(--space-4)}
body:is(.chapter-page,.consumer-page) .chapter-carousel .journey-copy h3{font:700 25px/1.25 var(--font-display);letter-spacing:-1px}
.chapter-carousel .journey-screen img{height:360px}
.chapter-art{width:min(100%,280px);height:auto;justify-self:center;align-self:center}
.chapter-carousel .journey-arrows{gap:var(--space-4);margin-top:var(--space-5)}
.chapter-dots{display:flex;justify-content:center;align-items:center;gap:0}
.chapter-dots button{display:grid;place-items:center;width:40px;min-width:40px;height:48px;padding:0;background:transparent;border:0;border-radius:50%;cursor:pointer}
/* Inactive dot: outline token softened toward surface so it reads as a resting
   mark, not a control. Derived from two tokens; no new value. */
.chapter-dots button span{display:block;width:10px;min-width:10px;height:10px;border:0;border-radius:50%;background:color-mix(in srgb,var(--line) 65%,var(--paper))}
.chapter-dots button[aria-current=true] span{background:var(--brand)}
.chapter-dots button:focus-visible{outline:2px solid var(--brand);outline-offset:-4px}
.chapter-carousel .carousel-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chapter-questions .how-extras{margin:0}
@media(max-width:720px){
 body:is(.chapter-page,.consumer-page) .hero h1,body:is(.chapter-page,.consumer-page) .app-hero-visual{grid-row:1}
 .chapter-heading{gap:var(--space-3);align-items:start}
 .chapter-heading img{width:40px;height:40px}
 body.chapter-page .chapter-heading h2{font-size:28px}
 body:is(.chapter-page,.consumer-page) .chapter-carousel .journey-copy h3{font-size:23px}
 .chapter-carousel .journey-screen img{height:310px}
 .chapter-carousel .journey-slide{gap:var(--space-5)}
 .chapter-art{width:200px}
}
.chapter-carousel .journey-copy ol{margin:0;padding-left:var(--space-5)}
.chapter-carousel .journey-copy ol li+li{margin-top:var(--space-4)}
.chapter-carousel .journey-copy li::marker{color:var(--brand);font-weight:700}

/* Five Consumer choices fit between the arrows, including narrow mobile widths. */
body.consumer-page .chapter-carousel .journey-arrows{gap:var(--space-2)}
body.consumer-page .chapter-dots{min-width:0}
body.consumer-page .chapter-dots button{flex:0 1 40px;min-width:24px}

/* All Consumer captures share the Nearby card's size and frame. */
body.consumer-page{--consumer-capture-height:420px}
body.consumer-page .where-screen,body.consumer-page .chapter-carousel .journey-screen{border-width:5px;border-radius:16px}
body.consumer-page .where-screen img,body.consumer-page .chapter-carousel .journey-screen img{height:var(--consumer-capture-height)}
@media(max-width:720px){body.consumer-page{--consumer-capture-height:360px}}

/* Chapter-heading icons take the same treatment as the strip cards: white chalk
   on a brand swath, so the artwork stays unmodified and the plate carries the
   contrast. These icons are 48px, larger than the strip's 56px-minus-padding, so
   the swath is sized to leave a visible margin rather than copying strip values. */
.chapter-heading img{width:56px;height:56px;padding:11px;margin-right:14px;border-radius:58% 42% 54% 46% / 48% 58% 42% 52%;background:var(--brand);object-fit:contain;transform:rotate(-1.5deg)}
