/* Shared editorial rhythm for the gameplay story and guide. */
:root{--muted:#6b5d50;--rule:#30201829;--sage:#e6eddb}
@media(prefers-reduced-motion:no-preference){html:not(.motion-off){scroll-behavior:smooth}}
[hidden]{display:none!important}
.actions a{display:flex;align-items:center;justify-content:center;width:190px;height:60px;border:1px solid var(--ink);border-radius:13px;font-size:12px;font-weight:700;text-decoration:none}
.prototype-bar a{padding:10px 0}.prototype-bar a:hover{text-decoration:underline}
.scroll-story{height:1010svh}
.tp-copy{top:50%;transform:translateY(-50%);width:39%;max-width:520px;display:grid;grid-template-columns:1fr;grid-template-rows:auto}
.chapter-panel{grid-area:1/1;pointer-events:none;opacity:0;align-self:center}
.chapter-panel:not([inert]){pointer-events:auto}
.chapter-description{font-size:clamp(14px,1.3vw,17px);line-height:1.65;margin-top:24px;max-width:430px}
.power-equation{display:flex;gap:20px;align-items:center;margin-top:25px;padding:18px 0;border-block:1px solid var(--rule);font-size:20px;max-width:330px}.power-equation span{color:#577844}
.tp-copy .detail-note{font-size:12px;line-height:1.5;color:var(--muted);margin-top:11px;max-width:400px}
.sync-path{display:flex!important;gap:0!important;margin-top:24px!important;border-block:1px solid var(--rule);padding:18px 0!important;max-width:430px}
.sync-path li{display:block!important;font-size:13px;font-weight:700}.sync-path li+li:before{content:'→';margin:0 12px;color:#557845}
.chapter-highlight{padding-left:17px;border-left:2px solid #8da66b;font-size:15px;line-height:1.7;margin-top:24px}
.text-link{display:inline-block;font-size:13px;font-weight:700;text-decoration-thickness:1px;text-underline-offset:5px;margin-top:24px;line-height:1.5}.text-link:hover{color:#285845}
.chapter-nav{display:flex;gap:6px;margin-top:32px;border-top:1px solid var(--rule);padding-top:14px;grid-area:2/1;justify-content:space-between}
.chapter-nav button{border:0;background:none;padding:8px 0 9px;min-height:44px;font-size:11px;text-align:left;color:var(--muted)}.chapter-nav span{display:block;font-size:10px;margin-bottom:5px}.chapter-nav button[aria-current]{color:var(--ink);box-shadow:0 2px #285845;font-weight:700}
.screen-caption{grid-area:3/1;font-size:10px;color:var(--muted);margin-top:14px}
.walkthrough-screens{position:absolute;inset:5px;border:0;border-radius:0;overflow:hidden;opacity:0;background:var(--cream)}
.walkthrough-screen{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}

.story-summary{display:none}.story-summary:target,.reduced-motion .story-summary{display:block}
.static-walkthrough{margin:60px 0 0;display:grid;gap:80px;text-align:left}.static-chapter{display:grid;grid-template-columns:209px 1fr;gap:65px;align-items:center}.static-chapter>img,.static-chapter>:where(.screen-image)>img{width:100%;border:5px solid #322b25;border-radius:26px}.static-chapter h2{font-size:36px}.static-chapter .eyebrow{margin-bottom:12px}.static-chapter .sync-path{list-style:none}.static-chapter .detail-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px}
.section-wrap{width:min(1120px,88%);margin-inline:auto}
.guide-invite{display:grid;grid-template-columns:1fr 340px;align-items:center;gap:80px;padding-block:115px;border-top:1px solid var(--rule)}
.guide-invite h2,.faq-section h2,.download-section h2{font-size:clamp(34px,4.2vw,54px)}
.guide-invite p:not(.eyebrow){max-width:430px;font-size:16px;line-height:1.7;margin-top:23px}.guide-invite>img{width:100%;max-height:300px;object-fit:contain;transform:rotate(-5deg)}
.solid-link{display:inline-flex;align-items:center;gap:20px;background:var(--ink);color:#fff8ed;border-radius:12px;padding:16px 22px;text-decoration:none;font-size:14px;font-weight:700;min-height:48px;margin-top:27px}.solid-link:hover{background:#285845}
.faq-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;padding-block:75px 120px;border-top:1px solid var(--rule)}
.faq-list details{border-bottom:1px solid var(--rule)}.faq-list summary{cursor:pointer;padding:23px 28px 23px 0;position:relative;list-style:none;font-size:16px;font-weight:700;line-height:1.4}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:2px;top:22px;font-size:20px;font-weight:400}.faq-list details[open] summary:after{content:'−'}.faq-list p{font-size:14px;line-height:1.8;color:var(--muted);padding:0 25px 24px 0}.faq-list a{text-underline-offset:3px}summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b77519;outline-offset:4px}
.download-section{background:#285845;color:#fff8e9;padding-block:90px;scroll-margin-top:42px}.download-section>.section-wrap{display:grid;grid-template-columns:300px 1fr;gap:100px;align-items:center}.download-section img{width:100%}.download-section h2+p{font-size:16px;line-height:1.7;margin-top:20px}.download-options{display:flex;gap:36px;margin-top:35px}.platform-label{font-size:10px;letter-spacing:1.5px;display:block;font-weight:700}.launch-status{font-size:13px;margin-top:23px}.download-options .solid-link{margin-top:14px;background:#fff8e9;color:var(--ink)}.download-options small{display:block;max-width:250px;font-size:11px;line-height:1.5;margin-top:12px}
.site-footer{width:min(1120px,88%);margin:auto;padding:55px 0 40px;display:grid;grid-template-columns:1fr auto;gap:14px 30px}.site-footer>p{font-size:12px;grid-column:1}.site-footer nav{grid-column:2;grid-row:1/3;display:flex;gap:24px;align-items:center;flex-wrap:wrap}.site-footer nav a{font-size:12px;padding:10px 0;text-underline-offset:4px}.site-footer small{font-size:10px;color:var(--muted);grid-column:1/-1;margin-top:24px}
/* Guide pages use the same colors, characters and type as the journey. */
.document-header{height:82px;display:flex;justify-content:space-between;align-items:center;width:min(1180px,88%);margin:auto;border-bottom:1px solid var(--rule)}.document-header .logo{width:110px;margin:0}.document-header nav{display:flex;gap:25px;font-size:13px}.document-header nav a{text-decoration:none;padding:15px 0}.document-header nav a[aria-current]{text-decoration:underline;text-underline-offset:5px}
.guide-hero{position:relative;padding:70px 0 45px;width:min(1180px,88%);margin:auto}.guide-hero h1{font-size:clamp(45px,6vw,76px)}.guide-hero .intro{font-size:17px;line-height:1.7;max-width:540px;margin-top:20px}.guide-hero>img{position:absolute;right:45px;bottom:34px;width:150px;height:180px;object-fit:contain;transform:rotate(9deg)}.guide-search{max-width:600px;margin-top:35px}.guide-search label{display:block;font-size:12px;font-weight:700;margin-bottom:10px}.search-line{display:flex;border:1px solid #30201866;border-radius:12px;background:#fffcf5;overflow:hidden}.search-line input{min-width:0;width:100%;border:0;background:none;font:inherit;padding:18px;color:var(--ink);outline-offset:-4px}.search-line button{border:0;background:transparent;font-size:12px;padding:0 18px}
.guide-body{width:min(1180px,88%);margin:0 auto 100px;display:grid;grid-template-columns:210px 1fr;gap:65px;border-top:1px solid var(--rule);padding-top:35px}.guide-sidebar{align-self:start;position:sticky;top:30px}.guide-sidebar h2{font:700 11px Arial;letter-spacing:1.4px;margin:0 0 20px}.guide-categories{display:grid;gap:4px}.guide-categories button{text-align:left;border:0;border-radius:9px;padding:14px 12px;min-height:44px;background:none;font-size:13px}.guide-categories button[aria-pressed=true]{background:#e2e9d8;font-weight:700}.guide-sidebar>a{font-size:12px;display:inline-flex;margin:30px 12px 0}
.result-status{font-size:12px;color:var(--muted);margin:5px 0 18px}.guide-article{padding:27px 0;border-bottom:1px solid var(--rule);scroll-margin-top:28px}.guide-article .category{font-size:10px;letter-spacing:1.1px;font-weight:700;color:#426844;margin-bottom:10px}.guide-article h2{font-size:29px;line-height:1.2}.guide-article h2 a{text-decoration:none}.guide-article h2 a:hover{text-decoration:underline;text-underline-offset:5px}.guide-article p,.guide-article li{font-size:15px;line-height:1.8;color:#594a3d}.guide-article p{margin-top:14px}.guide-article ul,.guide-article ol{padding-left:22px;margin-bottom:0}.guide-article li+li{margin-top:7px}.guide-article a{text-underline-offset:3px}.guide-article:target{background:#e8eddd;padding:27px 24px;margin-inline:-24px;border-radius:12px}.no-results{padding:45px 0;font-size:17px;line-height:1.7}.guide-fineprint{font-size:11px!important;line-height:1.7!important;color:var(--muted);margin-top:30px!important}
.legal-document{width:min(740px,88%);margin:65px auto 100px}.legal-document h1{font-size:52px}.legal-document h2{font-size:27px;margin:32px 0 12px}.legal-document p,.legal-document li{font-size:15px;line-height:1.8}.legal-document p{margin-top:15px}.draft-notice{background:#eee4ca;padding:20px;border-radius:12px;margin:26px 0}.draft-notice strong{display:block;margin-bottom:5px}
@media(max-width:900px){.guide-invite,.faq-section{gap:35px}.guide-invite{grid-template-columns:1fr 240px}.download-section>.section-wrap{gap:40px;grid-template-columns:220px 1fr}.download-options{gap:25px;flex-wrap:wrap}.guide-body{gap:30px;grid-template-columns:170px 1fr}.guide-hero>img{right:0;width:120px}.site-footer nav{gap:16px}}
@media(max-width:699px){.scroll-story{height:890svh}.prototype-bar{gap:9px;font-size:10px}.prototype-bar button{padding:10px 2px}.actions a{width:155px;height:56px;font-size:10px}.tp-copy{top:53%;left:7%;width:86%;transform:none;max-width:none}.tp-copy h2{font-size:30px}.chapter-description{font-size:12px;line-height:1.55;margin-top:13px}.power-equation{font-size:15px;margin-top:12px;padding:10px 0;gap:18px}.tp-copy .detail-note{font-size:10px;margin-top:7px;line-height:1.4}.sync-path{margin-top:12px!important;padding:12px 0!important}.sync-path li{font-size:11px}.sync-path li+li:before{margin:0 9px}.chapter-highlight{font-size:12px;line-height:1.5;margin-top:12px}.text-link{font-size:11px;margin-top:13px}.chapter-nav{margin-top:15px;padding-top:4px;gap:8px}.chapter-nav button{font-size:10px;padding-bottom:6px}.chapter-nav span{font-size:8px;margin-bottom:3px}.screen-caption{font-size:9px;margin-top:9px}.static-chapter{grid-template-columns:100px 1fr;gap:22px;align-items:start}.static-chapter h2{font-size:27px}.static-chapter>img,.static-chapter>:where(.screen-image)>img{border-width:3px;border-radius:13px}.static-walkthrough{gap:55px}.static-chapter .eyebrow{font-size:8px;letter-spacing:1px}.static-chapter .sync-path{flex-wrap:wrap}.static-chapter .power-equation{flex-wrap:wrap;gap:10px}.guide-invite{grid-template-columns:1fr 105px;gap:20px;padding-block:65px}.guide-invite h2,.faq-section h2,.download-section h2{font-size:34px}.guide-invite p:not(.eyebrow){font-size:14px}.guide-invite>img{align-self:start;margin-top:45px}.solid-link{font-size:12px;padding:14px 16px;gap:10px}.faq-section{grid-template-columns:1fr;padding-block:55px 65px;gap:25px}.faq-list summary{font-size:14px}.faq-list p{font-size:13px}.download-section{padding-block:60px}.download-section>.section-wrap{grid-template-columns:1fr;gap:0}.download-section img{width:110px;margin-bottom:20px}.download-options{gap:24px;flex-direction:column}.site-footer{grid-template-columns:1fr;padding-bottom:75px}.site-footer nav{grid-column:1;grid-row:auto;gap:10px 20px}.site-footer small{margin-top:10px}.document-header{height:72px}.document-header nav{font-size:11px;gap:15px}.document-header .logo{width:90px}.guide-hero{padding-top:45px}.guide-hero .intro{font-size:14px;max-width:85%}.guide-hero>img{display:none}.guide-hero h1{font-size:46px}.guide-body{grid-template-columns:1fr;gap:20px;padding-top:20px}.guide-sidebar{position:static}.guide-sidebar h2{margin-bottom:12px}.guide-categories{display:flex;flex-wrap:wrap;gap:4px}.guide-categories button{font-size:11px;padding:10px}.guide-sidebar>a{display:none}.guide-article h2{font-size:27px}.guide-article p,.guide-article li{font-size:14px}.guide-article:target{margin-inline:-12px;padding-inline:12px}.legal-document h1{font-size:38px}}
@media(max-width:699px) and (max-height:700px){.tp-copy{top:52%}.tp-copy h2{font-size:24px}.tp-copy .eyebrow{font-size:7px;margin-bottom:5px}.chapter-description{font-size:11px;line-height:1.4;margin-top:9px}.tp-copy .detail-note{display:none}.power-equation{font-size:13px;padding:7px 0;margin-top:9px}.sync-path{padding:8px 0!important;margin-top:10px!important}.chapter-highlight{font-size:11px;margin-top:8px}.text-link{margin-top:9px;font-size:10px}.chapter-nav{margin-top:9px;padding-top:0}.screen-caption{display:none}.chapter-nav button{min-height:38px}.actions a{width:138px;height:50px}}
@media(prefers-reduced-motion:reduce){.story-summary{display:block}}

.story-summary>h1{font-size:46px}
@media(max-width:699px){.story-summary>h1{font-size:36px}}
@media(max-height:519px){.scroll-story{display:none}.story-summary{display:block}}

/* Keep each gameplay moment to one headline, description and guide CTA. */
.chapter-panel .text-link{margin-top:26px;font-size:14px}
@media(max-width:699px){.chapter-panel .chapter-description{font-size:14px;line-height:1.6;margin-top:18px}.chapter-panel .text-link{font-size:13px;margin-top:20px}}
@media(max-width:699px) and (max-height:700px){.chapter-panel .chapter-description{font-size:12px;line-height:1.5;margin-top:14px}.chapter-panel .text-link{font-size:12px;margin-top:16px}}

/* A simple, centered closing invitation, echoing the hero. */
.download-section{padding-block:95px}
.download-section>.section-wrap{display:block;text-align:center;max-width:740px}
.download-section .download-intro{font-size:16px;line-height:1.6;margin:22px auto 0;max-width:450px;text-wrap:balance}
.download-section .actions{margin-top:32px;gap:24px}
.download-section .android{color:var(--ink)}
.download-section .download-note{font-size:11px;line-height:1.6;margin-top:24px}
#download-status{font-size:12px;line-height:1.5;margin:14px auto 0;max-width:380px}
#download-status:empty{display:none}
@media(max-width:699px){.download-section{padding-block:70px}.download-section .download-intro{font-size:14px;max-width:280px}.download-section .actions{gap:16px}.download-section .actions>*{width:150px;max-width:calc((100% - 16px)/2)}.download-section .download-note{font-size:10px}}
/* Keep store branding intact when two download buttons no longer fit. */
@media(max-width:359px){.download-section .actions{flex-direction:column;align-items:center;gap:20px}.download-section .actions>*{width:190px;max-width:100%;flex-shrink:0}}

/* Match the hero brand lockup in every shared footer. */
.site-footer nav{grid-column:1;grid-row:1}
@media(max-width:699px){.site-footer nav{grid-row:auto}}

.follow-copy>p{font-size:14px;line-height:1.6;margin-top:17px;max-width:390px}
@media(max-width:699px){.follow-copy>p{font-size:11px;max-width:310px;margin:12px auto 0}.landing-copy>p:last-child{margin-top:12px}}

/* Original onboarding illustration, with activity bubbles outside the phone frame. */
.walkthrough-screen.screen-movement,.static-chapter>.movement-artwork{object-fit:cover}
.static-chapter>.movement-artwork{aspect-ratio:390/844}
.activity-bubbles{position:absolute;left:0;top:0;z-index:8;pointer-events:none;opacity:0}
.activity-bubble{position:absolute;width:30%;height:auto;animation:activity-float 6.8s ease-in-out infinite alternate;will-change:transform}
.bubble-run{left:-32%;top:13%;animation-delay:-2.1s}
.bubble-bike{right:-25%;top:43%;width:33%;animation-duration:8.2s;animation-delay:-4.3s}
.bubble-gym{left:-26%;top:76%;width:28%;animation-duration:7.4s;animation-delay:-1.2s}
@keyframes activity-float{from{transform:translate3d(-2px,6px,0)}to{transform:translate3d(3px,-8px,0)}}
.clouds-paused .activity-bubble{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.activity-bubble{animation:none}}

/* The opaque page lifts off one green closing canvas. Normal flow is the fallback. */
.journey-content{position:relative;z-index:1;background:var(--cream)}
.journey-ending{position:relative;z-index:0;min-height:100svh;display:flex;flex-direction:column;background:#285845;color:#fff8e9}
.journey-ending.reveal-ready{position:sticky;bottom:var(--ending-bottom,0px)}
.journey-ending .download-section{flex:1;display:grid;place-items:center;background:transparent;padding-block:90px 70px}
.journey-ending .site-footer{flex:none;width:100%;padding-inline:max(6%,calc((100% - 1120px)/2));margin:0 auto;border-top:0;padding-top:32px;padding-bottom:30px}
.journey-ending .site-footer small{color:#fff8e9cc}
.journey-ending :focus-visible{outline:2px solid #fff8e9;outline-offset:6px}
.journey-ending.reveal-ready:focus-within,.motion-off .journey-ending.reveal-ready{position:relative;bottom:auto}
@media(max-width:699px){
 .journey-ending .download-section{padding-block:64px 48px}
 .journey-ending .site-footer{padding-top:26px;padding-bottom:30px}
 .journey-ending .site-footer nav{gap:6px 20px}
 .journey-ending .site-footer nav a{min-height:44px;display:inline-flex;align-items:center}
}
@media(prefers-reduced-motion:reduce){.journey-ending.reveal-ready{position:relative;bottom:auto}}

/* Let the prototype toolbar join the green once the cream curtain clears. */
.ending-visible .prototype-bar{background:#285845;color:#fff8e9}

/* Chapter rhythm: one readable thought, a steady phone, and visible outcomes. */
.header-brand img{width:64px;display:block}.prototype-bar{height:48px;background:#faf6e9f5}
.prototype-bar button{min-height:44px}.chapter-kicker{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#4b6b56;margin-bottom:18px}
.walkthrough-nav{display:flex;gap:2px;margin-top:24px}.walkthrough-nav button{width:44px;height:44px;border:0;background:none;padding:16px 6px;display:grid;place-items:center}
.walkthrough-nav span{display:block;width:28px;height:3px;background:#c8cebd;border-radius:3px}.walkthrough-nav [aria-current] span{background:#315f55;height:4px}
.phone-story-note{position:absolute;z-index:8;width:330px;transform:translateX(-50%);text-align:center;pointer-events:none;opacity:0;color:#315f55}
.story-note-main{font-size:12px;font-weight:700;line-height:1.5}.phone-story-note small{display:block;font-size:10px;color:#6b5d50;margin-top:7px}
.walkthrough-screen{transition:transform .35s ease;transform-origin:center center}
.screen-battle{transform-origin:50% 68%}.screen-result{transform-origin:50% 35%}.screen-quests,.screen-claimed{transform-origin:50% 40%}
@media(max-width:699px){
 .prototype-bar{padding-inline:12px;font-size:10px}.header-brand img{width:54px}
 .chapter-kicker{font-size:10px;margin-bottom:12px}.tp-copy{top:55%}
 .walkthrough-nav{margin-top:12px}.phone-story-note{width:94%;max-width:330px}
 .story-note-main{font-size:11px}.phone-story-note small{font-size:9px;margin-top:3px}
 .screen-battle{transform:scale(1.18)}.screen-result{transform:scale(1.12)}
 .screen-quests,.screen-claimed{transform:scale(1.2)}
}
@media(max-width:699px) and (max-height:700px){
 .tp-copy{top:54%}.chapter-kicker{margin-bottom:8px}.walkthrough-nav{margin-top:2px}
 .phone-story-note{display:none}
}
.guide-shortcuts{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:24px;max-width:680px}
.guide-shortcuts a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;text-underline-offset:5px}
@media(prefers-reduced-motion:reduce){.walkthrough-screen{transition:none}}

.story-note-line{display:flex;align-items:center;justify-content:center;gap:7px}.story-note-line img{width:18px;height:22px;object-fit:contain}
.health-connection{position:absolute;left:0;top:0;z-index:8;pointer-events:none}
.health-connection img{position:absolute;width:28%;height:auto;object-fit:contain}
.health-watch{left:-34%;top:26%;transform:rotate(-12deg)}.health-device{right:-29%;top:55%;transform:rotate(10deg)}
@media(max-width:699px){
 .screen-quests,.screen-claimed{transform:scale(1.55);transform-origin:50% 62%}
 .screen-result{transform:scale(1.3);transform-origin:50% 28%}
}
/* Compact landscape / short phones use the readable, non-pinned version. */
@media(max-width:699px) and (max-height:620px){
 .static-chapter{grid-template-columns:1fr;gap:24px}.static-chapter>img,.static-chapter>:where(.screen-image)>img{width:200px;max-width:65%;margin:auto}
 .static-chapter h2{font-size:30px}.static-chapter p{font-size:15px}
}

/* Enlarge the whole mobile screen so action labels remain complete. */
@media(max-width:699px){
 .tp-copy{top:62%}
 .screen-battle,.screen-result,.screen-quests,.screen-claimed{transform:none}
 .phone-story-note{max-width:340px}
}
@media(max-width:699px) and (max-height:700px){
 .tp-copy{top:60%}.chapter-panel .chapter-description{font-size:12px;line-height:1.45}
 .chapter-kicker{font-size:9px;margin-bottom:7px}.tp-copy h2{font-size:25px}
}

/* A decorative side-quest companion peeks from BEHIND the shared phone. */
.side-quest-peek{position:absolute;left:0;top:0;z-index:6;pointer-events:none;opacity:0}
.side-quest-peek[hidden]{display:none}
.side-quest-peek .quest-ghost{position:absolute;left:72%;top:17%;width:76%;height:auto;transform:rotate(12deg) scaleX(-1);transform-origin:50% 70%}
@media(max-width:699px){.side-quest-peek .quest-ghost{left:70%;width:70%;top:19%;transform:rotate(9deg) scaleX(-1)}}

/* Both battle creatures stand at the phone base, with soft contact shadows. */
.battle-flanks{position:absolute;left:0;top:0;z-index:8;pointer-events:none;opacity:0}
.battle-flanks[hidden]{display:none}
.battle-flanks img{position:absolute;height:auto}
.battle-flanks .enemy-left{left:-58%;bottom:-3%;width:64%;transform:scaleX(-1)}
.battle-flanks:before{content:"";position:absolute;left:-56%;width:60%;bottom:-3px;height:10px;border-radius:50%;background:radial-gradient(ellipse,#493b2829 0%,#493b2810 45%,transparent 72%)}
.battle-flanks .enemy-right{left:65%;bottom:-2%;width:100%;transform:none}
.battle-flanks:after{content:'';position:absolute;left:70%;width:88%;bottom:-3px;height:12px;border-radius:50%;background:radial-gradient(ellipse,#493b2829 0%,#493b2810 45%,transparent 72%)}
@media(max-width:699px){
 .battle-flanks .enemy-left{left:-46%;width:54%;bottom:-2.5%}
 .battle-flanks:before{left:-44%;width:50%;height:8px}
 .battle-flanks .enemy-right{left:72%;width:77%;bottom:-1.7%}
 .battle-flanks:after{left:77%;width:67%}
}


.side-quest-peek .quest-monkey{position:absolute;left:-42%;top:42%;width:68%;height:auto;transform:rotate(-9deg) scaleX(-1);transform-origin:50% 65%}
@media(max-width:699px){.side-quest-peek .quest-monkey{left:-38%;top:45%;width:58%;transform:rotate(-6deg) scaleX(-1)}}

/* Approved forest dungeon backdrop; all CTA/footer content remains live. */
.ending-background{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.ending-background img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.journey-ending>.download-section,.journey-ending>.site-footer{position:relative;z-index:1}
.ending-visible .prototype-bar{background:#173f36ed}

.journey-ending .download-copy{display:contents}
@media(max-width:699px){
 /* The width-scaled mobile artwork ends its stairs at 116.4vw. Reserve
    that scene in normal flow so controls stay below it as text grows. */
 .journey-ending .download-copy{display:flex;flex-direction:column;justify-content:center;min-height:calc(118vw - 64px);padding-block:32px 80px}
 .ending-background img{height:auto;object-fit:contain;object-position:center top;mask-image:linear-gradient(to bottom,#000 82%,transparent 100%)}
}

/* Leave breathing room between the divider and the dungeon foliage. */
.journey-ending .site-footer:before{content:'';position:absolute;top:0;left:16%;right:16%;height:1px;background:#fff8e92e;pointer-events:none}
@media(min-width:700px){.journey-ending .site-footer:before{left:clamp(16%,calc(100svh - 32vw),28%);right:clamp(16%,calc(100svh - 32vw),28%)}}

/* Interior pages follow the Contact layout and share its content width. */
:is(.guide-page,.contact-page,.legal-page){--interior-width:min(1080px,88%)}
.guide-page :is(.guide-hero,.guide-body),:is(.guide-page,.contact-page) .site-footer{width:var(--interior-width)}
:is(.guide-page,.contact-page,.legal-page) .site-header{position:relative;top:auto;left:auto;transform:none;transition:none;width:var(--interior-width);max-width:none;margin:16px auto 0}
.interior-nav-logo{position:relative;display:block}

.guide-hero>.guide-reader{right:12px;bottom:28px;width:260px;height:260px;transform:none}
@media(min-width:700px) and (max-width:1000px){.guide-hero>.guide-reader{right:0;bottom:30px;width:160px;height:160px}.guide-page .guide-search,.guide-page .guide-shortcuts{max-width:calc(100% - 185px)}}

/* Compact reference tables stay readable without horizontal scrolling. */
.guide-table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px;line-height:1.55;text-align:left}
.guide-table th,.guide-table td{padding:12px 14px 12px 0;border-bottom:1px solid var(--rule);vertical-align:top;overflow-wrap:anywhere}
.guide-table th:last-child,.guide-table td:last-child{padding-right:0}
.guide-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.guide-table tbody th{font-weight:600;min-width:90px}
@media(max-width:699px){.guide-table{font-size:12px}.guide-table th,.guide-table td{padding:10px 9px 10px 0}.guide-table tbody th{min-width:72px}}
.guide-table thead th{overflow-wrap:normal;white-space:nowrap}
.guide-object{display:flex;align-items:center;gap:16px;min-width:0}
.guide-object img{flex:0 0 80px;width:80px;height:80px;object-fit:contain}
.guide-illustrated-table th,.guide-illustrated-table td{vertical-align:middle;padding-block:16px}
.guide-illustrated-table tbody th{width:34%}
.guide-object-strip{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0}
.guide-object-strip figure{margin:0;display:grid;justify-items:center;gap:8px;min-width:88px}
.guide-object-strip img{width:88px;height:88px;object-fit:contain}
.guide-object-strip figcaption{font-size:12px;font-weight:600;color:var(--ink)}
@media(max-width:699px){
 .guide-object{flex-direction:column;align-items:flex-start;gap:8px}
 .guide-object img{flex-basis:auto;width:64px;height:64px}
 .guide-illustrated-table{font-size:14px;line-height:1.6}
 .guide-illustrated-table tbody th{width:32%;min-width:0}
 .guide-illustrated-table th,.guide-illustrated-table td{padding-block:16px}
 .guide-object-strip{gap:16px}
 .guide-object-strip img{width:72px;height:72px}
}
.guide-table:has(th:nth-child(3)) th:nth-child(2),.guide-table:has(th:nth-child(3)) td:nth-child(2){min-width:44px}

/* Small, staggered app icons drift diagonally on a clipped decorative layer. */
.journey-content{--icon-tile:440px}
.content-pattern{position:sticky;top:0;height:100svh;margin-bottom:-100svh;overflow:hidden;z-index:-1;pointer-events:none}
.stage .cream{overflow:hidden}
.content-pattern:before,.stage .cream:before{content:'';position:absolute;inset:calc(-1 * var(--icon-tile));background:url("assets/onboarding-icon-pattern.svg") repeat;background-size:var(--icon-tile) var(--icon-tile);pointer-events:none;animation:cream-icon-drift 110s linear infinite;will-change:transform}
@keyframes cream-icon-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--icon-tile),calc(-1 * var(--icon-tile)),0)}}
.clouds-paused .content-pattern:before,.clouds-paused .stage .cream:before{animation-play-state:paused}
.motion-off .content-pattern:before,.motion-off .stage .cream:before{animation:none;will-change:auto}
@media(max-width:699px){.journey-content{--icon-tile:360px}}
@media(prefers-reduced-motion:reduce){.content-pattern:before,.stage .cream:before{animation:none;will-change:auto}}

/* Rewards become a loadout; art follows the same pinned phone geometry. */
.progress-items{position:absolute;left:0;top:0;z-index:8;pointer-events:none}
.progress-items[hidden]{display:none}
.progress-items img{position:absolute;object-fit:contain;height:auto}
.progress-sword{width:43%;left:-34%;top:26%;transform:rotate(-16deg)}
.progress-potion{width:35%;right:-26%;top:57%;transform:rotate(12deg)}
.progress-coin{width:25%;left:-19%;bottom:8%;transform:rotate(-10deg)}
@media(max-width:699px){.progress-sword{width:36%;left:-24%}.progress-potion{width:30%;right:-20%}.progress-coin{width:22%;left:-15%}}

/* Shared directional links use one arrow shape and interaction. */
.arrow-link .link-arrow{width:22px;height:22px;flex-shrink:0;transform:rotate(0deg);transform-origin:center;transition:transform 180ms ease-out}
.arrow-link:focus-visible .link-arrow{transform:rotate(45deg)}
@media(hover:hover){.arrow-link:hover .link-arrow{transform:rotate(45deg)}}
@media(prefers-reduced-motion:reduce){.arrow-link .link-arrow{transition:none}}
.motion-off .arrow-link .link-arrow,.clouds-paused .arrow-link .link-arrow{transition:none}
@media(max-width:699px){.chapter-cta{max-width:100%;gap:12px;padding-inline:14px}.static-chapter>div{min-width:0}}
/* Center chapter headings, copy and inline CTAs on phones and tablets, including the still view. */
@media(max-width:1099px){
 .tp-copy .chapter-panel,.static-chapter>div{text-align:center}
 .tp-copy .chapter-panel .chapter-description,.static-chapter .chapter-description{margin-inline:auto}
}
@media(max-width:399px){.static-chapter{grid-template-columns:1fr;gap:24px}.static-chapter>img,.static-chapter>:where(.screen-image)>img{width:200px;max-width:65%;margin:auto}}

/* Screens stay prominent on roomy displays and readable in the still version. */
@media(min-width:1440px){
 .static-chapter{grid-template-columns:clamp(247px,19.2375vw,288.8px) minmax(0,1fr)}
}
@media(min-width:1100px){
 .battle-flanks .enemy-right{width:80%}
 .battle-flanks:after{width:68%}
}
@media(min-width:700px) and (max-width:1099px){
 .battle-flanks .enemy-left{left:-25%;width:45%}
 .battle-flanks:before{left:-23%;width:42%}
 .battle-flanks .enemy-right{left:65%;width:50%}
 .battle-flanks:after{left:68%;width:44%}
 .health-watch{left:-26%;width:24%}
 .health-device{right:-16%;width:24%}
 .progress-sword{left:-20%;width:34%}
 .progress-potion{right:-12%;width:30%}
 .progress-coin{left:-12%;width:22%}
}
@media(max-width:699px){
 .static-chapter{grid-template-columns:1fr;gap:24px}
 .static-chapter>img,.static-chapter>:where(.screen-image)>img{width:min(231.8px,70.3%);max-width:100%;margin-inline:auto}
}

:where(.arrow-link){display:inline-flex;align-items:center;gap:7px;max-width:100%}
.arrow-link-label{min-width:0}
:is(.guide-shortcuts,.guide-sidebar) .arrow-link .link-arrow,.health-flow-link.arrow-link .link-arrow,.text-link.arrow-link .link-arrow{width:16px;height:16px}

.site-footer .footer-socials{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;margin-top:0}
.footer-socials>span{font-size:12px;font-weight:700}
.site-footer .footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:11px;border-radius:50%;text-decoration:none}
.footer-socials svg{display:block;width:22px;height:22px;flex-shrink:0}
.site-footer .footer-socials a:is(:hover,:focus-visible){background:color-mix(in srgb,currentColor 10%,transparent)}
@media(max-width:699px){.site-footer{text-align:center}.site-footer nav{justify-content:center}.site-footer .footer-socials{grid-column:1;grid-row:auto;justify-content:center}.footer-socials>span{flex-basis:100%}}

.faq-section .eyebrow{color:#426844}

/* The five companion items drift independently of their scroll-positioned group. */
:is(.health-connection,.progress-items)>img{--decor-float-lift:clamp(5px,.65vw,9px);animation:decor-float 6.4s ease-in-out infinite;animation-play-state:paused}
.health-connection .health-watch{animation-duration:6.2s;animation-delay:-1.1s}
.health-connection .health-device{animation-duration:7.3s;animation-delay:-3.7s}
.progress-items .progress-sword{animation-duration:6.8s;animation-delay:-2.3s}
.progress-items .progress-potion{animation-duration:5.9s;animation-delay:-.6s}
.progress-items .progress-coin{animation-duration:7.7s;animation-delay:-4.2s}
@keyframes decor-float{0%,100%{translate:0 calc(var(--decor-float-lift)*.65)}50%{translate:0 calc(var(--decor-float-lift)*-1)}}
.stage.decor-in-view :is(.health-connection,.progress-items):not([hidden])>img{animation-play-state:running}
.clouds-paused .stage.decor-in-view :is(.health-connection,.progress-items):not([hidden])>img{animation-play-state:paused}
.motion-off :is(.health-connection,.progress-items)>img,.reduced-motion :is(.health-connection,.progress-items)>img{animation:none;translate:none}
@media(prefers-reduced-motion:reduce){:is(.health-connection,.progress-items)>img{animation:none;translate:none}}

/* Read each chapter in order: its promise, explanation, then the next step. */
.chapter-panel.copy-reveal{--copy-rise:clamp(8px,.8vw,12px)}
.chapter-panel.copy-reveal>:is(h2,.chapter-description,.chapter-cta){opacity:0;translate:0 var(--copy-rise)}
.chapter-panel.copy-entered>:is(h2,.chapter-description,.chapter-cta){animation:chapter-copy-enter 560ms cubic-bezier(.16,1,.3,1) both}
.chapter-panel.copy-entered>.chapter-description{animation-delay:120ms}
.chapter-panel.copy-entered>.chapter-cta{animation-delay:240ms}
@keyframes chapter-copy-enter{from{opacity:0;translate:0 var(--copy-rise)}to{opacity:1;translate:0 0}}
.clouds-paused .chapter-panel.copy-entered>:is(h2,.chapter-description,.chapter-cta){animation-play-state:paused}
.chapter-panel.copy-immediate>:is(h2,.chapter-description,.chapter-cta),.motion-off .chapter-panel.copy-reveal>:is(h2,.chapter-description,.chapter-cta),.reduced-motion .chapter-panel.copy-reveal>:is(h2,.chapter-description,.chapter-cta){animation:none;opacity:1;translate:none}
@media(prefers-reduced-motion:reduce){.chapter-panel.copy-reveal>:is(h2,.chapter-description,.chapter-cta){animation:none;opacity:1;translate:none}}

/* Mobile Guide navigation stays on one swipeable row without widening the page. */
@media(max-width:699px){
 .faq-section #faq-title{font-size:clamp(28px,7.6vw,34px)}
 .faq-section #faq-title br{display:none}
 .guide-sidebar{min-width:0}
 .guide-shortcuts,.guide-categories{display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#6f8067 transparent;padding:8px;scroll-padding-inline:8px}
 .guide-shortcuts{gap:20px}
 .guide-categories{gap:8px}
 .guide-shortcuts>a,.guide-categories>button{flex:0 0 auto;white-space:nowrap}
 .guide-categories>button{border:1px solid var(--rule);font-size:12px}
 .guide-shortcuts>:focus-visible,.guide-categories>:focus-visible{outline-offset:3px}
}
