/* Retain the accepted Golos / calm brand / geometric composition. */
:root{--type-meta:.875rem;--type-important:1.125rem}
.fine,.home-page .hero .demo-note,.demo-note,.chaos-note,.story-stage>.fine,.viewer-caption,.photo-after-label,.compare-tag,.compare label,.feature-chapter .compare label,.feature-note,.breadcrumbs,.article-topic,.article-meta,.footer-bottom,.footer-bottom p,.zoom-dialog>p{font-size:.875rem;line-height:1.65}
.scene[data-device] .scene-label{font-size:.875rem;line-height:1.45;max-width:calc(100% - 98px);padding:9px 12px}
.film-chrome,.viewer-chrome{font-size:.875rem;line-height:1.4}
.film-chrome{gap:12px;min-height:38px}.film-chrome>span:nth-child(2){white-space:normal;overflow:visible;text-overflow:clip}
.compare-tag{padding:7px 10px}.compare label{gap:16px}.compare-tag.after{max-width:58%;text-align:right}
.economy-terms dt{font-size:1.25rem;font-weight:600}.economy-terms dd{font-size:1rem;line-height:1.7}
.hero-route{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 0;padding:0;list-style:none;margin:20px auto 0;max-width:70ch;font-size:.875rem;line-height:1.65;color:var(--muted)}
.hero-route li{display:flex;align-items:center;white-space:nowrap}.hero-route li+li::before{content:'';width:20px;height:1px;background:var(--line);margin-inline:12px}
.hero-route a{color:inherit;text-decoration:none;text-underline-offset:5px}.hero-route a:hover,.hero-route a:focus-visible{color:var(--ink);text-decoration:underline}
.viewer-tools{flex-wrap:wrap}.viewer-actions{display:flex;gap:8px;margin-left:auto}.viewer-expand,.viewer-play{min-height:46px;font-size:.875rem;line-height:1.45;border:1px solid var(--line);border-radius:7px;padding:9px 14px;background:var(--paper);color:var(--ink)}
.viewer-expand:hover,.viewer-play:hover{background:var(--soft)}
.native-view:fullscreen{box-sizing:border-box;display:flex;flex-direction:column;width:100vw;height:100dvh;padding:20px;background:var(--paper);margin:0;overflow:auto}
.native-view:fullscreen .viewer-tools{flex:none;margin-bottom:14px}.native-view:fullscreen .viewer-stage{flex:1;height:auto;min-height:180px;border:0;padding:12px}.native-view:fullscreen .viewer-caption{flex:none;margin-top:12px}
.native-view:fullscreen .viewer-frame{width:100%;height:100%;box-shadow:none}.native-view:fullscreen .viewer-stage[data-current-device="phone"] .viewer-frame{width:auto;aspect-ratio:412/839;height:100%}.native-view:fullscreen .viewer-stage[data-current-device="tablet"] .viewer-frame{width:auto;aspect-ratio:1194/834;height:100%}
.media-loading{position:absolute;inset:auto auto 14px 14px;z-index:20;max-width:calc(100% - 28px);padding:8px 12px;border-radius:9px;background:var(--paper);color:var(--muted);font-size:.875rem;line-height:1.45;pointer-events:none}
.media-loading[hidden],.media-recovery[hidden]{display:none!important}
.media-recovery{position:absolute;inset:auto 14px 14px;z-index:30;background:var(--paper);color:var(--ink);padding:16px;border-radius:12px;box-shadow:0 12px 32px -20px #142e6266;max-width:560px;margin-inline:auto;font-size:.875rem;line-height:1.6}
.media-recovery>p{margin:0 0 12px;font-size:1rem}.media-recovery-actions{display:flex;gap:8px;flex-wrap:wrap}.media-retry,.media-next{min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--soft);font-size:.875rem}
.native-view .viewer-stage,.demo-lab-screen,.film-screen{position:relative}.native-view .media-recovery{bottom:20px}.media-recovery button:hover{background:var(--line)}
.document-browser .document-image{object-fit:contain}.result-grid figure img[data-passport-result]{object-fit:contain;background:#fff}
.trust-section p,.reading-section p{max-width:72ch}.registration-note p{font-size:1rem}
@media(max-width:720px){
 .fine,.home-page .hero .demo-note,.photo-after-label,.story-stage>.fine,.viewer-caption,.chaos-note,.zoom-dialog>p,.footer-bottom,.footer-bottom p{font-size:.875rem}
 .hero-route{gap:6px;margin-top:16px;max-width:340px}.hero-route li+li::before{width:12px;margin-inline:6px}
 .scene[data-device] .scene-label{max-width:calc(100% - 90px);font-size:.875rem}
 .film-chrome{padding:9px 12px}.film-chrome .traffic{gap:4px}.film-chrome>span:nth-child(2){font-size:.875rem}
 .compare-tag{top:12px;font-size:.875rem}.compare-tag.before{left:12px}.compare-tag.after{right:12px;max-width:54%}
 .viewer-tools{gap:10px}.viewer-actions{width:100%;justify-content:flex-end}.viewer-actions button{min-width:112px}.viewer-caption{text-align:left}
 .native-view:fullscreen{padding:14px}.native-view:fullscreen .viewer-stage{padding:8px}.media-recovery{inset:auto 10px 10px;padding:14px}.media-loading{inset:auto auto 12px 12px}
 .economy-terms dt{font-size:1.25rem}
}
@media(max-width:359px){.hero-route{max-width:280px}.hero-route li+li::before{width:8px;margin-inline:5px}.scene[data-device] .scene-label{max-width:calc(100% - 80px)}}
@media(prefers-reduced-motion:reduce){.media-recovery,.media-loading{transition:none}}
/* Specificity matches the inherited component rules, including the narrow-screen overrides. */
.home-page .project-section>.fine,.feature-chapter>div>p.feature-note,.inner-hero .read-link,.home-page .hero .hero-actions .button,.home-page .hero .device-options button,.home-page .hero .chapter-list button,.home-page .hero .chapter-list button span,.home-page .hero .scene-order,.home-page .hero .address,.home-page .hero .photo-before-label,.home-page .project-copy .read-link,.home-page .economy-copy .read-link,.home-page .trust-section .read-link,.close-cta .button,.close-cta .quiet-link,.related-links>a>span,.demo-lab .demo-lab-chrome>span,.start-note p{font-size:.875rem;line-height:1.6}
#chapter-description{font-size:1rem;line-height:1.6}
.scene[data-device="desktop"] .document-browser{width:min(62%,760px);height:auto;aspect-ratio:1489/665;right:26px;top:auto;bottom:68px;border-radius:14px}
.scene[data-device="desktop"] .document-browser .browser-body{height:auto;aspect-ratio:1489/665;padding:0;display:flex;align-items:center}
.scene[data-device="desktop"] .document-browser img{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
@media(max-width:720px){.home-page .hero .hero-actions{gap:10px}.home-page .hero .hero-actions .button{font-size:.875rem;padding-inline:12px}.home-page .hero .hero-actions .button svg{flex-shrink:0}.home-page .hero .chapter-list button{font-size:.875rem}.home-page .start-note p{font-size:.875rem}}
.home-page .access-strip p,.home-page .access-strip .button,.site-head .nav-actions .button,.site-footer .button.primary,.close-cta .button.primary{font-size:.875rem;line-height:1.6}
.hero-route .route-short{display:none}
@media(max-width:720px){.hero-route{gap:8px;flex-wrap:wrap;max-width:100%}.hero-route li+li::before{display:none}.hero-route .route-wide{display:none}.hero-route .route-short{display:inline}}
/* Inactive buffers must not paint a first frame or cover the current scene. */
.adaptive-screen video:not(.is-active){display:none!important}
/* One CTA role across inherited narrow-screen rules. */
.button.primary{font-size:var(--type-label,.875rem)!important}
