/* One geometry layer for the accepted A design. Values use a four-pixel scale. */
:root{--content-inset:40px;--section-space:80px;--group-space:32px;--item-space:16px;--owner-stage:480px}
html{scrollbar-gutter:stable}
.home-page .hero{padding-inline:var(--content-inset)}
.home-page main>section:not(.hero){padding-inline:0}
.home-page .section-title{padding:var(--section-space) var(--content-inset) var(--group-space);margin:0;max-width:none}
.section-title h2,.owner-head h2{text-wrap:balance}
.home-page .section-title>p{max-width:68ch;margin:24px auto 0;font-size:1.0625rem;line-height:1.65}
/* The explanatory label keeps the same anchor in every chapter and device mode. */
.scene[data-device] .scene-label{inset:auto auto 16px 16px!important;transform:none!important;min-height:40px;max-width:calc(100% - 88px);width:max-content;margin:0;padding:10px 12px;align-items:center;font-size:.8125rem;line-height:1.4}
.scene-label .label-line{flex:none}.scene[data-device] .scene-label #scene-label-text{min-width:0}
.scene-controls .play-control,.scene-controls [data-replay]{flex:none}
.native-initial{visibility:visible}.adaptive-screen video{transition:none!important}
/* Four tools merge once; there is no scroll-driven chapter navigation afterwards. */
.chaos-section{padding-bottom:48px!important}
.chaos-section .chaos-scroll.order-three{height:calc(clamp(700px,100svh - var(--tezeri-header-height,94px),860px) + 320px);min-height:0!important;margin:0}
.chaos-section [data-order-system] .chaos-sticky{position:sticky;top:var(--tezeri-header-height,94px);height:clamp(700px,100svh - var(--tezeri-header-height,94px),860px);max-height:none;min-height:0;overflow:hidden}
.chaos-section [data-order-system] .loose-tools{inset:24px var(--content-inset)}
.order-embed{position:absolute;inset:16px var(--content-inset);z-index:3;overflow:hidden;opacity:var(--order-reveal,0);transform:translateY(calc((1 - var(--order-reveal,0))*16px));background:#edf3f9;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 32px #1839560c}
.order-embed[aria-hidden=true]{pointer-events:none}.order-embed iframe{width:100%;height:100%;border:0;display:block;background:#edf3f9}
.order-instruction{margin:16px var(--content-inset) 0;padding:0;font-size:1rem;line-height:1.6;text-align:center;color:var(--muted)}
/* The constructor, its explanations and the comparison share the header's content edge. */
.home-page #constructor{padding:0 var(--content-inset) 48px;border:0;margin:0;max-width:none}
.constructor-shell,.constructor-context,.constructor-next{max-width:none;width:100%;margin-inline:0}
.constructor-shell{position:relative}.constructor-chrome{flex-wrap:wrap;gap:12px;height:var(--constructor-chrome-height,auto)}
.constructor-external{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-size:1rem;line-height:1.4;font-weight:500;border-radius:8px;border:1px solid #284a78;background:#284a78;color:#fff;text-decoration:none}
.constructor-external:hover{background:#1d3d67;color:#fff}.constructor-chrome>.constructor-external{margin-left:auto}
.constructor-toolbar,.constructor-toolbar>div{flex-wrap:wrap;gap:12px}.constructor-toolbar button{min-height:44px;font-size:1rem}
.constructor-shell[data-state]:not([data-state=idle]) .constructor-poster[hidden]{display:grid!important;visibility:hidden;height:var(--constructor-poster-height);min-height:0;aspect-ratio:auto;pointer-events:none}
.constructor-shell .constructor-live:not(.is-expanded):not([hidden]){position:absolute;top:var(--constructor-chrome-height,72px);inset-inline:0;bottom:0;display:flex;flex-direction:column;min-height:0}
.constructor-live:not(.is-expanded) .constructor-mount{height:auto;min-height:0;flex:1}.constructor-toolbar,.constructor-recovery{flex:none}
.constructor-live:not(.is-expanded) .constructor-recovery{padding:8px 12px;font-size:.9375rem;line-height:1.5}.constructor-recovery p{min-width:0}
.constructor-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0}
.constructor-context>div{min-width:0;padding-top:16px;border-top:1px solid var(--line)}
.constructor-context strong{font-size:1.25rem;line-height:1.35;font-weight:500}.constructor-context p{font-size:1.0625rem;line-height:1.65;margin-top:8px;color:var(--muted)}
.constructor-next{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start;margin:32px 0 0;padding:24px 0 0;border-top:1px solid var(--line);text-align:left}
.constructor-next>div{min-width:0}.constructor-next h3{margin:0 0 16px;font-size:clamp(24px,2.2vw,32px);line-height:1.3;font-weight:500;letter-spacing:-.025em}
.constructor-next p{margin:0 0 16px;max-width:65ch;font-size:1.0625rem;line-height:1.65}.constructor-next .constructor-followup{padding:0;margin:0;border:0;text-align:left}
.constructor-next .button{margin:0}.constructor-next .fine{margin:16px 0 0;font-size:.9375rem;line-height:1.6}
.home-page .compare-intro{padding:0 var(--content-inset);margin:0 0 24px;border:0}.compare-intro h3{font-size:clamp(25px,2.6vw,36px);line-height:1.3}.compare-intro p{font-size:1.0625rem;line-height:1.6;margin:16px 0 0}
.home-page .compare{max-width:none;width:calc(100% - 2*var(--content-inset));margin:0 var(--content-inset)}
.project-section{padding-bottom:64px!important}.project-section>.fine{font-size:.9375rem;line-height:1.6;padding-inline:var(--content-inset);margin:16px 0 0}
/* The whole native calculator viewport fits its own browser frame. */
.economy-section{padding-bottom:64px!important}.economy-section>.result-window,.economy-section>.economy-after{max-width:none;width:calc(100% - 2*var(--content-inset));margin-inline:var(--content-inset)}
.economy-section>.result-window{margin-block:0}.economy-after{margin-top:32px}.economy-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 24px}
.economy-terms>div{display:block;min-width:0;border-top:1px solid var(--line);padding:20px 0 0}.economy-terms dt{font-size:1.25rem;line-height:1.4;font-weight:600}.economy-terms dd{font-size:1.0625rem;line-height:1.65;margin-top:12px;color:var(--muted)}
.economy-after .read-link{font-size:1rem;margin:0}.result-window .result-recording{position:relative;display:grid;place-items:center;overflow:hidden;height:auto!important;min-height:0!important;aspect-ratio:1.6;background:#f4f7fb}
.result-window[data-device=phone] .result-recording{aspect-ratio:1082/2202}.result-window[data-device=tablet] .result-recording{aspect-ratio:2388/1668}
.result-recording>video{width:100%;height:100%;min-height:0;object-fit:contain;display:block}.result-caption{align-items:flex-start;gap:16px}.result-caption>div{flex:none}
.result-caption button,.film-control,.film-expand,.viewer-play,.viewer-expand{min-inline-size:112px;min-height:44px;white-space:nowrap}
.scene[data-device=desktop] .calculation-browser{height:auto;top:5%;left:50%;width:min(90%,var(--calculation-width));transform:translateX(-50%)}
.scene[data-device=desktop] .calculation-browser .browser-body{height:auto;flex:none;aspect-ratio:1.6}.calculation-browser video{width:100%;height:100%;object-fit:contain}
.scene[data-device=desktop][data-document=true] .calculation-browser{transform:translateX(-54%) scale(.97)}
#execution-video,.film[data-module=execution]:not([data-native-device]) video{clip-path:inset(0 round 1.45455% / 1.87794%)}
.film-screen video,.document-source>img,.document-output>img{object-fit:contain}
/* Caption rows share their track sizes. Text does not recenter vertically as copy changes. */
.film-caption-stack{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:8px}
.film-caption-frame{display:grid;grid-area:1/1/3/2;grid-template-rows:subgrid;min-width:0;align-content:start}
.film-caption-frame strong{grid-row:1;margin:0}.film-caption-frame p{grid-row:2;margin:0}
.execution-section{padding:var(--section-space) var(--content-inset) 64px!important}.execution-section>.section-title{padding:0 0 32px!important}
.execution-section .handoff{padding:0!important;gap:48px}.handoff-list article{padding:24px 0}.handoff-list h3{margin-bottom:12px}
/* Shared tracks reserve only actual text, rather than a large hidden panel. */
.owner-section{padding:var(--section-space) var(--content-inset) 64px!important}
.owner-head{margin:0}.owner-head h2{font-size:clamp(30px,3.4vw,48px);line-height:1.18}.owner-head p{font-size:1.0625rem;line-height:1.65;margin:24px auto 0;max-width:70ch}
.owner-tabs{width:100%;max-width:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:32px 0 24px;padding:0}
.owner-tabs button{min-height:48px;font-size:1rem;line-height:1.4;padding:12px 8px}
.owner-panels{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--owner-stage) auto auto;row-gap:24px;margin:0}
.owner-panels>.owner-panel,.owner-panels>.owner-panel[hidden]{display:grid!important;grid-column:1;grid-row:1/4;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;align-self:stretch;gap:24px}
.owner-panel>.owner-media{grid-column:1;grid-row:1;height:var(--owner-stage)!important;min-height:0!important;display:flex;align-items:center;justify-content:center}
.owner-panel>.owner-caption{grid-column:1;grid-row:2/4;width:100%;max-width:none;display:grid;grid-template-rows:subgrid;gap:16px;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;text-align:center;align-items:start}
.owner-caption h3{grid-row:1;font-size:clamp(24px,2.3vw,34px);line-height:1.3;font-weight:500;max-width:none;margin:0!important;align-self:start}
.owner-caption p{grid-row:2;font-size:1.0625rem;line-height:1.65;max-width:85ch;margin:0 auto!important;align-self:start}
.owner-media>.film{height:100%;width:100%;max-width:none!important;display:flex;flex-direction:column}.owner-media .film-screen{flex:1;min-height:0;height:auto;aspect-ratio:auto}
.owner-media>.issue-pair{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;height:100%;max-width:none;gap:32px}
.owner-media .issue-preview{display:flex;flex-direction:column;align-items:center;height:100%;max-height:100%;min-height:0;flex:0 1 44%;overflow:hidden;gap:8px}
.owner-media .issue-preview img{height:calc(100% - 52px);width:auto;max-width:100%;min-height:0;object-fit:contain;display:block}
.issue-preview>span{min-height:44px;flex:none}.owner-benefits{margin-top:32px}.owner-benefits p{padding:24px}.owner-section>.read-link{margin-top:24px}
.start-section{padding-inline:var(--content-inset)!important;padding-bottom:64px}.start-section>.section-title{padding-inline:0}.start-steps{margin:0 0 32px}
.trust-section{padding:64px var(--content-inset)!important}.faq-section{padding:64px var(--content-inset)!important}.faq-section h2{margin-bottom:32px}.questions{max-width:940px;margin-inline:auto}
.inner-hero,.feature-row,.reading-section,.preparation-section,.help-section{scroll-margin-top:var(--tezeri-header-height,94px)}
@media(max-width:1100px){:root{--content-inset:28px;--section-space:64px;--owner-stage:500px}.constructor-next{gap:32px}.owner-caption p{font-size:1rem}.execution-section .handoff{gap:32px}.owner-tabs{gap:12px}}
@media(max-width:760px){
 :root{--content-inset:20px;--section-space:48px;--group-space:24px;--owner-stage:740px}
 .site-head .site-head-inner{padding-inline:10px}.home-page .hero{padding-inline:var(--content-inset)}.home-page .section-title>p{font-size:1rem;line-height:1.65;margin-top:20px}.project-section>.section-title h2{font-size:clamp(30px,7.8vw,42px)}
 .scene[data-device] .scene-label{inset:auto auto 12px 12px!important;max-width:calc(100% - 76px);min-height:48px;font-size:.75rem;padding:8px 10px}
 .chaos-section .chaos-scroll.order-three{height:1020px}.chaos-section [data-order-system] .chaos-sticky{height:720px;top:var(--tezeri-header-height,86px)}.order-embed{inset:12px var(--content-inset);border-radius:12px}.order-instruction{text-align:left;font-size:.9375rem;margin-top:16px}
 .constructor-chrome{padding:12px;gap:12px}.constructor-external{white-space:normal;font-size:.9375rem;padding:10px 12px}.constructor-toolbar>div{gap:8px}.constructor-toolbar button{font-size:.875rem;padding-inline:10px}.constructor-toolbar .constructor-external{font-size:.875rem;flex:1}
 .constructor-context{grid-template-columns:minmax(0,1fr);gap:20px}.constructor-context strong{font-size:1.125rem}.constructor-context p{font-size:1rem;margin-top:8px}
 .constructor-next{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:24px;padding-top:24px}.constructor-next p{font-size:1rem}.constructor-next .fine{font-size:.875rem}.constructor-next h3{font-size:24px}
 .home-page #constructor{padding-bottom:40px}.compare-intro p{font-size:1rem}.project-section{padding-bottom:48px!important}.economy-section{padding-bottom:48px!important}
 .economy-terms{grid-template-columns:minmax(0,1fr);gap:20px}.economy-terms>div{padding-top:16px}.economy-terms dt{font-size:1.125rem}.economy-terms dd{font-size:1rem;margin-top:8px}.economy-after{margin-top:24px}
 .result-caption{flex-direction:column;gap:12px}.result-caption>div{width:100%;justify-content:space-between}.result-caption button,.film-control,.film-expand,.viewer-play,.viewer-expand{min-inline-size:100px;font-size:.875rem}
 .execution-section,.owner-section{padding-bottom:48px!important}.owner-head p{font-size:1rem;margin-top:20px}.owner-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:24px 0}.owner-tabs button{font-size:.9375rem;padding:12px 4px}
 .owner-media>.issue-pair{flex-direction:column;gap:16px}.owner-media .issue-preview{height:auto;max-height:none;flex:none;width:100%;overflow:visible;gap:4px}.owner-media .issue-preview img{width:244px;max-width:100%;height:auto;max-height:none}
 .owner-panel>.owner-caption{text-align:left}.owner-caption h3{font-size:24px}.owner-caption p{margin-inline:0!important;font-size:1rem}.owner-benefits{margin-top:24px}.owner-benefits p{padding:20px 0}
 .start-section{padding-bottom:48px}.trust-section,.faq-section{padding-block:48px!important}
}
@media(min-width:360px) and (max-width:760px){.site-head .button.primary,.site-head-inner>.button,.site-head-inner .head-cta{white-space:nowrap;font-size:14px;line-height:1.4;padding:12px 10px;min-width:150px;width:auto}}
@media(max-width:359px){:root{--content-inset:16px;--owner-stage:700px}.owner-media .issue-preview img{width:224px}.owner-caption h3{font-size:22px}.scene-label .label-line{display:none}}
@media(prefers-reduced-motion:reduce){.chaos-section .chaos-scroll.order-three{height:auto}.chaos-section [data-order-system] .chaos-sticky{position:relative;top:0}.order-embed{opacity:1;transform:none}.order-three .loose-tools{display:none}}
.tezeri-large-type .chaos-section .chaos-scroll.order-three{height:auto}.tezeri-large-type .chaos-sticky{position:relative!important;top:0!important}.tezeri-large-type .order-embed{opacity:1;transform:none}.tezeri-large-type .loose-tools{display:none}

.viewer-frame{position:relative}.viewer-hold{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:4;pointer-events:none;background:#f3f6fb}

/* Visible captions and their sizing copies must have identical metrics at every breakpoint. */
.scene-description #chapter-title,.scene-description [data-hero-size]>strong{font-size:1.125rem!important;line-height:1.4!important;font-weight:600}
.scene-description #chapter-description,.scene-description [data-hero-size]>p{font-size:1rem!important;line-height:1.6!important;font-weight:400}
.scene[data-device=phone] .scene-label #scene-label-text,.scene[data-device=tablet] .scene-label #scene-label-text{white-space:nowrap}
.scene[data-device] .scene-label{gap:8px!important;justify-content:flex-start}
@media(max-width:760px){.scene-description #chapter-title,.scene-description [data-hero-size]>strong{font-size:1.0625rem!important}.chaos-section .chaos-scroll.order-three{height:1140px}.chaos-section [data-order-system] .chaos-sticky{height:840px}}

.chapter-label-short{display:none}
@media(max-width:1100px){.chapter-label-full{display:none}.chapter-label-short{display:inline}}
@media(max-width:760px){
 .scene-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;margin-top:16px}
 .scene-controls .play-control{grid-column:1;grid-row:1}.scene-controls .replay-control{grid-column:3;grid-row:1;justify-self:end}
 .scene-controls .chapter-list{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0;overflow:visible;padding:0;flex:none}
 .scene-controls .chapter-list button{width:100%;min-width:0;min-height:44px;padding:10px 6px;font-size:14px;white-space:normal;text-align:center}
}

/* Document controls reserve their rows independently of the playback label. */
.document-result-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;padding:12px}
.document-result-controls button,.document-result-controls a{width:100%;min-width:0;min-height:44px;font-size:.875rem;line-height:1.4;padding:10px 12px;white-space:normal}
.document-source,.document-output{transform:none!important;transition:opacity .18s ease-out}.document-result.is-output .document-source{opacity:0}
.execution-section .handoff{grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}.execution-section .document-result{grid-column:1/span 7;max-width:none!important}.execution-section .handoff-list{grid-column:8/span 5}
.constructor-next{grid-template-columns:7fr 5fr;gap:24px}
@media(max-width:1100px){.execution-section .handoff{grid-template-columns:minmax(0,1fr);gap:32px}.execution-section .document-result,.execution-section .handoff-list{grid-column:1/-1}}
@media(max-width:760px){.constructor-next{grid-template-columns:minmax(0,1fr);gap:24px}}
