/* The paper is one viewport-sized layer, never a page-height animated bitmap.
   Native product surfaces and screenshots retain their own appearance. */
body.pt-enabled{
 isolation:isolate;background:#080e20;
 --pt-duration:500ms;--pt-ease:cubic-bezier(0,0,.6,1);
 --pt-ink:#f5effa;--pt-muted:#aabbd3;--pt-accent:#a7c7ef;--pt-line:#8a88b03b;
}
body.pt-enabled[data-page-theme=light]{--pt-ink:#252333;--pt-muted:#746d80;--pt-accent:#674197;--pt-line:#cbbfd5}
body.pt-enabled[data-theme-motion=off]{--pt-duration:0ms}
.pt-canvas{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#080e20}
.pt-canvas::after{content:'';position:absolute;inset:0;background:#fbfaf7 url(imgs/paper-texture.webp) 0 0/512px 512px repeat;opacity:0;transition:opacity var(--pt-duration) var(--pt-ease)}
[data-page-theme=light]>.pt-canvas::after{opacity:1}
body.pt-enabled .pb-descent,
body.pt-enabled #eco-orbit,
body.pt-enabled :is(#modulet,#pamja-financiare,#ne-terren,#siguria,#smart-ditari,#produktet,#cmimorja,#pyetje,#demonstrim){background:transparent}
/* The existing pinned horizon also occupies the outgoing viewport. Fade that
   background scene with the paper, while retaining the ecosystem's content. */
body.pt-enabled .pb-descent>[data-horizon]{transition:opacity var(--pt-duration) var(--pt-ease)}
body.pt-enabled[data-page-theme=light] .pb-descent>[data-horizon]{opacity:0;pointer-events:none}
body.pt-enabled.pb-descent-on #eco-orbit::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(transparent var(--pb-solid,70%),#080e20 calc(var(--pb-solid,70%) + 180px));opacity:1;transition:opacity var(--pt-duration) var(--pt-ease)}
body.pt-enabled[data-page-theme=light] #eco-orbit::before{opacity:0}
/* At the boundary, both outgoing copy and incoming heading follow the canvas. */
body.pt-enabled #eco-orbit,
body.pt-enabled #eco-orbit :is(.orbit-heading h2,.orbit-principles h3,.orbit-node-label),
body.pt-enabled #modulet .penny-heading :is(h2,h2 span){color:var(--pt-ink)}
body.pt-enabled #eco-orbit :is(.orbit-heading>p:last-child,.orbit-principles p,.orbit-node-label small){color:var(--pt-muted)}
body.pt-enabled #eco-orbit :is(.eyebrow,.orbit-principle-index,.orbit-all-modules,.orbit-toggle,.orbit-replay),
body.pt-enabled #modulet .penny-heading .more-eyebrow{color:var(--pt-accent)}
body.pt-enabled #eco-orbit :is(.orbit-principles,.orbit-principles>div+div,.orbit-all-modules){border-color:var(--pt-line)}
body.pt-enabled #eco-orbit :is(.orbit-heading h2,.orbit-heading p,.orbit-principles h3,.orbit-principles p,.orbit-principle-index,.orbit-node-label,.orbit-node-label small,.orbit-all-modules,.orbit-toggle,.orbit-replay),
body.pt-enabled #modulet .penny-heading :is(h2,h2 span,.more-eyebrow){transition:color var(--pt-duration) var(--pt-ease),border-color var(--pt-duration) var(--pt-ease)}
/* Decorative stars remain behind the diagram and quietly recede on paper. */
body.pt-enabled #eco-orbit .orbit-diagram::after{transition:opacity var(--pt-duration) var(--pt-ease)}
body.pt-enabled[data-page-theme=light] #eco-orbit .orbit-diagram::after,
body.pt-enabled[data-page-theme=light] #eco-orbit .pb-orbital-depth{opacity:0}
/* Navigation is driven by the same boundary, including its wordmark. */
body.pt-enabled .pb-header[data-theme-owner=page]{transition:background-color var(--pt-duration) var(--pt-ease),border-color var(--pt-duration) var(--pt-ease),color var(--pt-duration) var(--pt-ease),box-shadow var(--pt-duration) var(--pt-ease)}
body.pt-enabled .pb-header[data-theme-owner=page] :is(.pb-register,.pb-language-toggle,.pb-products-toggle){transition:background-color var(--pt-duration) var(--pt-ease),border-color var(--pt-duration) var(--pt-ease),color var(--pt-duration) var(--pt-ease)}
body.pt-enabled .pb-header[data-theme-owner=page] .pb-brand{display:grid}
body.pt-enabled .pb-header[data-theme-owner=page] .pb-brand img.ph-lockup{display:block!important;grid-area:1/1;transition:opacity var(--pt-duration) var(--pt-ease)}
body.pt-enabled .pb-header[data-theme-owner=page] .ph-wordmark-dark{opacity:1}
body.pt-enabled .pb-header[data-theme-owner=page] .ph-wordmark-light{opacity:0}
body.pt-enabled[data-page-theme=light] .pb-header[data-theme-owner=page] .ph-wordmark-dark{opacity:0}
body.pt-enabled[data-page-theme=light] .pb-header[data-theme-owner=page] .ph-wordmark-light{opacity:1}
@media(prefers-reduced-motion:reduce){body.pt-enabled{--pt-duration:0ms}}
@media(forced-colors:active){.pt-canvas{display:none}body.pt-enabled{background:Canvas;--pt-ink:CanvasText;--pt-muted:CanvasText;--pt-accent:LinkText;--pt-line:CanvasText}}
@media print{.pt-canvas{display:none}body.pt-enabled{background:#fff;--pt-duration:0ms;--pt-ink:#000;--pt-muted:#222;--pt-accent:#222;--pt-line:#888}body.pt-enabled .pb-descent>[data-horizon]{opacity:1;pointer-events:auto}}
/* pt-safari-top: Safari 26 tints its top bar from the body colour, so body follows the paper theme. */
body.pt-enabled{transition:background-color var(--pt-duration) var(--pt-ease)}body.pt-enabled[data-page-theme=light]{background-color:#fbfaf7}
