/* Final presentation pass: readable product views and connected section introductions. */
.product-page{--section-space:88px}
.product-page h2{font-size:clamp(38px,4.2vw,64px);line-height:1.04;letter-spacing:-.045em}
.product-page .hero{width:min(1480px,calc(100% - 48px));min-height:0;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:56px;padding:72px 0 76px}
.product-page .hero h1{font-size:clamp(62px,6.2vw,96px);line-height:.95;letter-spacing:-.055em}
.product-page .hero-lead{font-size:17px;margin-top:26px;max-width:560px}
.product-page .hero-product{padding:50px 0 42px}
.product-page .hero-window{transform:none}
.product-page .hero-status{left:14px;bottom:8px}
.product-page .hero-mode{right:14px;top:7px}
.product-page .source-row{margin-top:30px}
.product-page .section-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,6vw,88px);align-items:end;max-width:none}
.product-page .section-title,.product-page .section-summary{min-width:0}
.product-page .section-title h2{max-width:800px}
.product-page .section-summary p{max-width:510px;margin:0;font-size:16px;line-height:1.7}
.product-page .section-summary .seo-more{margin-top:20px;line-height:1.5}
.product-page .section-kicker{margin-bottom:16px!important;letter-spacing:0;text-transform:none}
.product-page .display-story{padding-block:var(--section-space)}
.product-page .display-console{margin-top:40px;min-height:500px}
.product-page .display-visual{min-height:500px}
.product-page .display-steps{padding:12px}
.product-page .display-steps button{padding:20px 18px}
.product-page .library-story,.product-page .session-story,.product-page .social-story,.product-page .career-story{padding-block:var(--section-space)}
.product-page .library-composition{margin-top:38px;gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr)}
.product-page .library-frame{grid-row:1/3}
.product-page .quick-launch-card{padding:24px}
.product-page .library-points{display:block}
.product-page .library-points article{padding:18px 0;border-right:0}
.product-page .session-story{gap:48px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.product-page .session-copy h2{max-width:610px}
.product-page .session-facts{margin-top:26px}
.product-page .session-facts div{padding:10px 12px;min-height:80px}
.product-page .session-facts div:first-child{padding-left:0}
.product-page .session-facts small{font-size:11px;line-height:1.5}
.product-page .social-story .social-showcase{margin-top:34px}
.product-page .career-story>.career-links{justify-content:flex-start;gap:18px 30px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.product-page .career-links .seo-more{margin-top:0}
.product-page .feature-deck{margin-bottom:0}
.product-page .feature-deck article{min-height:0;padding:26px}
.product-page .feature-deck h3{margin-top:16px;line-height:1.35}
.product-page .feature-deck p{font-size:13px;margin-bottom:0}
.product-page .download-section{padding-block:72px;gap:48px;border-top:0}
.product-page .product-footer{flex-wrap:wrap;padding:28px max(24px,calc((100vw - 1480px)/2))}
.product-footer nav{flex-wrap:wrap;gap:14px 22px;line-height:1.5}
/* Feature pages keep their individual layouts, with enough room to read the app. */
.feature-page main{max-width:1440px;padding-inline:clamp(20px,4vw,56px)}
.feature-page main>section,.feature-page main>.branch-gallery,.feature-page main>.social-showcase{margin-block:72px}
.feature-page h1{line-height:1.04}
.feature-page .story-label,.social-explainer>small,.branch-controls>.story-label{letter-spacing:0;text-transform:none;font-size:13px}
.feature-page .story-split{padding-top:48px;gap:52px}
.feature-page .library-opening{grid-template-columns:minmax(0,1fr);gap:36px}
.feature-page .library-opening>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:0 72px;align-items:start}
.feature-page .library-opening .story-label{grid-column:1/-1;margin-bottom:0}
.feature-page .library-opening h1{grid-column:1;grid-row:2/4;margin-bottom:0}
.feature-page .library-opening>div>p:not(.story-label){grid-column:2;grid-row:2;margin-top:18px}
.feature-page .library-opening .story-button{grid-column:2;grid-row:3;justify-self:start;align-self:start}
.feature-page .library-opening .story-shot{transform:none}
.feature-page .story-shot a{border-radius:10px;box-shadow:0 18px 50px #0005}
.feature-page .story-shot figcaption{font-size:13px;margin-top:12px;line-height:1.6}
.feature-page .time-ranking{grid-template-columns:1fr;gap:30px}
.feature-page .time-ranking>.story-shot{order:2}
.feature-page .time-ranking>div{display:grid;grid-template-columns:1fr 1fr;gap:0 54px}
.feature-page .time-ranking .story-label{grid-column:1;margin-bottom:0}
.feature-page .time-ranking h2{grid-column:1;grid-row:2/4;max-width:560px}
.feature-page .time-ranking>div>p:not(.story-label){grid-column:2}
.feature-page .workshop-story{grid-template-columns:1fr;gap:30px}
.feature-page .workshop-story>div{display:grid;grid-template-columns:1fr 1fr;gap:0 54px}
.feature-page .workshop-story .story-label{grid-column:1;margin-bottom:0}
.feature-page .workshop-story h2{grid-column:1;grid-row:2}
.feature-page .workshop-story>div>p:not(.story-label){grid-column:1;grid-row:3;max-width:560px}
.feature-page .workshop-story dl{grid-column:2;grid-row:1/5;display:grid;grid-template-columns:auto 1fr;gap:12px 24px;margin:0}
.feature-page .workshop-story dt,.feature-page .workshop-story dd{margin:0;line-height:1.6}
.feature-page .story-band{padding:36px}
.feature-page .social-opening{max-width:1000px}
.feature-page .social-opening h1{font-size:clamp(42px,5.8vw,78px)}
.feature-page .seo-header{scroll-margin-top:0}
.feature-page .seo-header nav a{min-height:40px;display:flex;align-items:center}
.feature-page .seo-header nav{scroll-padding-inline:20px}
.feature-page section,.product-page section{scroll-margin-top:105px}
/* Social windows: double-resolution captures, no perspective distortion or filters. */
.social-view-buttons{margin-bottom:24px}
.social-view-buttons button,.branch-buttons button{min-height:44px}
.social-orbit{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:48px;min-height:0;padding:30px 44px}
.social-focus{width:min(100%,320px);transform:none;border-radius:8px}
.social-focus img{display:block;max-width:none;width:100%;height:auto;filter:none;aspect-ratio:10/17}
.social-showcase[data-view]:not([data-view=friends]) .social-focus img{aspect-ratio:55/34}
.social-explainer h2{font-size:clamp(28px,3vw,42px);line-height:1.12}
.social-explainer ul{margin:20px 0}
.social-showcase[data-view]:not([data-view=friends]) .social-orbit{padding:26px;gap:26px}
.social-showcase[data-view]:not([data-view=friends]) .social-explainer{padding:0 8px;gap:0 40px}
.social-showcase[data-view]:not([data-view=friends]) .social-focus{width:min(100%,1100px)}
.social-explainer .capture-note{line-height:1.6}
.branch-gallery{gap:46px}
.branch-portrait{min-height:580px}
.branch-portrait>img,.branch-portrait>svg{height:580px!important;object-fit:contain}
.branch-caption{min-height:150px;padding:20px 0}
@media(max-width:1150px){
 .product-page .hero{grid-template-columns:1fr;gap:12px;padding-top:52px;max-width:950px}
 .product-page .hero-copy{max-width:none;display:grid;grid-template-columns:1fr .85fr;gap:0 38px}
 .product-page .availability{grid-column:1/-1}
 .product-page .hero h1{grid-column:1;grid-row:2/5;font-size:clamp(60px,7.8vw,86px)}
 .product-page .hero-lead,.product-page .hero-actions{grid-column:2;margin-top:0}
 .product-page .hero-actions{gap:18px;margin-top:20px}
 .product-page .source-row{grid-column:1/-1;margin-top:28px}
 .product-page .source-row>strong{flex-basis:auto;height:auto;border:0}
 .product-page .hero-product{padding:42px 0 38px}
 .product-page .section-intro{gap:36px}
 .product-page .display-visual{min-height:460px}
 .product-page .display-steps{grid-template-columns:1fr 1fr}
 .product-page .display-steps button{border-bottom:1px solid #293c4a}
 .product-page .library-composition{grid-template-columns:1fr}
 .product-page .library-frame{grid-row:auto}
 .product-page .library-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
 .product-page .session-story{gap:32px}
 .feature-page .library-opening>div{gap:0 38px}
}
@media(max-width:850px){
 .product-page{--section-space:60px}
 .product-page .hero{width:calc(100% - 32px);padding-block:40px 48px}
 .product-page .hero-copy{display:block}
 .product-page .hero h1{font-size:clamp(52px,10vw,78px)}
 .product-page .hero-lead{margin-top:22px}
 .product-page .hero-actions{margin-top:24px;flex-direction:row;align-items:center}
 .product-page .hero-product{padding-top:38px}
 .product-page .section-intro,.product-page .session-story{grid-template-columns:1fr;gap:24px}
 .product-page .section-title h2{max-width:730px}
 .product-page .section-summary p{max-width:650px}
 .product-page .library-composition{margin-top:28px}
 .product-page .display-console{margin-top:28px}
 .product-page .display-visual{min-height:400px}
 .product-page .feature-deck{grid-template-columns:1fr 1fr}
 .product-page .download-section{padding-block:60px;gap:28px}
 .social-orbit{gap:30px;padding:24px;grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
 .feature-page main>section,.feature-page main>.branch-gallery,.feature-page main>.social-showcase{margin-block:56px}
 .feature-page .story-split{gap:28px}
 .feature-page .time-opening{grid-template-columns:1fr;gap:32px}
}
@media(max-width:760px){
 .feature-page .library-opening>div,.feature-page .time-ranking>div,.feature-page .workshop-story>div{display:block}
 .feature-page .library-opening h1{margin-bottom:24px}
 .feature-page .library-opening>div>p:not(.story-label){margin-top:0}
 .feature-page .workshop-story dl{margin-top:24px;gap:12px 18px}
 .feature-page .story-band{padding:26px}
 .feature-page h1{font-size:clamp(38px,8.5vw,56px)}
 .feature-page .social-opening h1{font-size:clamp(38px,8.5vw,56px)}
 .feature-page .seo-header{padding:12px 20px}
 .feature-page .seo-header nav{margin-inline:-20px;padding-inline:20px;max-width:calc(100% + 40px)}
 .social-orbit{grid-template-columns:1fr;padding:22px;gap:28px}
 .social-showcase[data-view]:not([data-view=friends]) .social-orbit{padding:14px;gap:24px}
 .social-showcase[data-view]:not([data-view=friends]) .social-explainer{display:block;padding:0 6px}
 .social-view-buttons{gap:8px}
 .social-view-buttons button{font-size:13px;padding:10px 13px}
 .social-focus{width:min(100%,320px)}
 .branch-gallery{display:grid;grid-template-columns:1fr;gap:16px}
 .branch-controls{display:contents}
 .branch-controls>.story-label{order:1;margin-bottom:0!important}
 .branch-controls>h2{order:2;margin:0!important}
 .branch-controls>p:not(.story-label){order:3;margin:0!important}
 .branch-buttons{order:4;margin:6px 0 0}
 .branch-portrait{order:5;min-height:420px}
 .branch-portrait>img,.branch-portrait>svg{height:420px!important}
 .branch-caption{order:6;min-height:0;padding:18px 0 0}
 .branch-caption p{margin-bottom:0}
 .branch-controls>.story-text-button{order:7;justify-self:start}
 .feature-page .seo-next>div{grid-template-columns:1fr 1fr}
 .roles-table{padding:20px}.roles-table th,.roles-table td{padding-right:10px;white-space:normal}
}
@media(max-width:560px){
 .product-page .hero h1{font-size:clamp(45px,12vw,64px)}
 .product-page .hero-actions{gap:18px;align-items:flex-start;flex-direction:column}
 .product-page .hero-product{padding-bottom:0}
 .product-page .hero-status{position:relative;inset:auto;margin-top:12px;width:100%}
 .product-page .hero-mode{position:relative;inset:auto;margin:12px 0 0;box-shadow:none}
 .product-page .hero-status em{font-size:10px}
 .product-page .source-row>strong{flex-basis:100%;padding-block:10px}
 .product-page h2{font-size:clamp(34px,8.5vw,46px);line-height:1.08}
 .product-page .display-story{padding-inline:16px}
 .product-page .display-visual{min-height:270px}
 .product-page .monitor-shell{width:90%}
 .product-page .monitor-neck{height:35px}
 .product-page .monitor-screen{border-radius:10px}
 .product-page .scene-game strong,.product-page .scene-restored strong{font-size:clamp(21px,6vw,32px);line-height:1}
 .product-page .scene-restored{gap:9px;padding-block:34px 18px}
 .product-page .scene-restored .restore-check{width:34px;height:34px;font-size:20px}
 .product-page .scene-restored small{font-size:10px}
 .product-page .desktop-windows i{min-height:32px}
 .product-page .display-steps{grid-template-columns:1fr;padding:8px}
 .product-page .display-steps button{padding:16px 12px}
 .product-page .library-points{grid-template-columns:1fr;gap:0}
 .product-page .session-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .product-page .session-facts div{border-right:1px solid var(--line);border-bottom:0}
 .product-page .session-facts div:last-child{border-right:0}
 .product-page .session-facts strong{font-size:23px}
 .product-page .feature-deck{grid-template-columns:1fr}
 .product-page .feature-deck article{padding:22px 0;border-right:0}
 .product-page .feature-deck h3{margin-top:10px}
 .product-page .download-panel{padding:24px}
 .product-page .product-footer{padding:26px 20px}
 .feature-page main{padding-inline:20px}
 .feature-page .lab-screen strong{font-size:clamp(26px,7vw,36px)}
 .feature-page .lab-screen{min-height:180px}
 .feature-page .lab-top{font-size:11px;gap:10px}
 .feature-page .session-ledger{padding:24px 20px}
 .feature-page .session-ledger>div{grid-template-columns:10px 1fr auto;gap:9px}
 .feature-page .session-ledger strong{font-size:13px}
 .feature-page .session-ledger small{font-size:11px}
 .feature-page .seo-next>div{grid-template-columns:1fr}
 .feature-page .story-split,.social-route,.squad-command{padding-top:36px}
 .social-explainer p{font-size:15px}
 .social-explainer ul{margin-bottom:14px}
 .social-focus{border-radius:6px}
 .branch-buttons{gap:7px}.branch-buttons button{font-size:12px;padding:9px 11px}
 .feature-page .workshop-story dl{grid-template-columns:1fr;gap:6px}
 .feature-page .workshop-story dd{margin-bottom:14px}
}
/* Older shared mobile rules must not hide the current brand and download control. */
.product-page{--header:84px}
.product-page .brand>.brand-mark{display:grid}
.product-page .brand>.brand-copy{display:flex}
@media(max-width:800px){
 .product-page{--header:72px}
 .product-page .header-frame{grid-template-columns:minmax(0,1fr) auto auto;gap:10px}
 .product-page .header-actions .header-release{display:flex;min-height:42px;min-width:42px;justify-content:center;padding:8px!important}
 .product-page .menu-toggle{width:42px;height:42px;justify-content:center}
 .product-page .header-actions{grid-column:3}
}
.feature-page p.story-label{letter-spacing:0;text-transform:none;font-size:13px}
.branch-controls>p.story-label{letter-spacing:0;text-transform:none}
.feature-page .store-bridge img{filter:invert(87%) sepia(9%) saturate(333%) hue-rotate(158deg) brightness(105%)}

/* Mobile audit: expose every feature link and distinguish links without colour. */
.guide-related a,.reading-stack a,.story-band p a,.story-split p a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){
 .feature-page .seo-header nav{flex-wrap:wrap;overflow:visible;gap:0 18px;margin:0;padding:0;max-width:100%}
 .feature-page .seo-header nav a{min-height:36px;white-space:normal}
 .feature-page [id]{scroll-margin-top:175px}
 .feature-page .story-split,.feature-page .library-opening>div,.feature-page .time-opening,.feature-page .squad-command{min-width:0}
 .feature-page h1,.feature-page h2,.branch-controls h2{overflow-wrap:break-word}
}
