/* V5 owner polish. The original cinematic composition remains intact. */
.pz-icon{display:block;width:22px;height:22px;flex:none;overflow:visible;color:inherit}

/* The header action shares the navigation baseline while retaining priority. */
.site-header .header-download{position:relative;min-height:40px;padding:0 15px;gap:11px;align-self:center;isolation:isolate;overflow:hidden;font-size:12px;line-height:1;font-weight:600;letter-spacing:0;background:linear-gradient(130deg,#60202f,#3c1722);border:1px solid #b978794d;box-shadow:inset 0 1px #f3c7ad24,0 3px 12px #0002;transform:translateY(0);transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.site-header .header-download .header-download-label{font-size:inherit;transform:none;transition:color .22s ease}
.site-header .header-download .pz-icon{width:18px;height:18px;transition:transform .22s cubic-bezier(.2,.7,.3,1)}
.site-header .header-download:hover{background:linear-gradient(130deg,#792a3c,#4b1b29);border-color:#d49a8b9c;box-shadow:inset 0 1px #f6cfb353,0 4px 15px #0004;transform:translateY(-1px)}
.site-header .header-download:hover .header-download-label{transform:none}
.site-header .header-download:hover .pz-icon{transform:translateY(2.5px)}
.site-header .header-download:active{transform:translateY(1px);box-shadow:inset 0 2px 5px #1b081286,0 1px 5px #0003}
.site-header .header-download:active .pz-icon{transform:translateY(1px)}
.site-header .header-download:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}

/* Hero actions: primary download stays dominant. */
body[data-page=home] .hero-actions .hero-library-link{display:inline-flex;align-items:center;gap:14px;min-height:45px;margin:0;padding:10px 14px;color:#e3dcd6;background:#e7d1c10a;border:1px solid #decab943;border-bottom-color:#decab943;font-size:12px;line-height:1.2;transition:background .24s ease,border-color .24s ease,color .24s ease,transform .24s ease}
body[data-page=home] .hero-actions .hero-library-link .hero-library-label{font-size:inherit;white-space:nowrap}
body[data-page=home] .hero-actions .hero-library-link .pz-icon{width:20px;height:20px;color:var(--bronze)}
body[data-page=home] .hero-actions .hero-library-link .book{transition:transform .26s cubic-bezier(.2,.7,.3,1)}
body[data-page=home] .hero-actions .hero-library-link:hover{color:var(--paper);background:#8d3c4530;border-color:#c38b8277;transform:translateY(-1px)}
body[data-page=home] .hero-actions .hero-library-link:hover .book-one{transform:translateY(-1px)}
body[data-page=home] .hero-actions .hero-library-link:hover .book-two{transform:translateY(-2px)}
body[data-page=home] .hero-actions .hero-library-link:hover .book-three{transform:translateY(-1px)}
body[data-page=home] .hero-actions .hero-library-link:active{transform:translateY(1px)}
body[data-page=home] .hero-actions .hero-library-link:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}

/* Only the two homepage feature links receive the new semantic controls. */
body[data-page=home] .closing-links a{transition:background .3s ease,border-color .3s ease,box-shadow .3s ease}
body[data-page=home] .closing-links a:hover{background:linear-gradient(90deg,#a4636d13,transparent 75%);border-top-color:#c18d8770;box-shadow:inset 0 1px #c18d8714}
body[data-page=home] .closing-links a strong{align-items:center;gap:24px;transition:color .3s ease}
body[data-page=home] .closing-links a:hover strong{color:#f1e6db}
body[data-page=home] .closing-links .pz-icon{width:29px;height:29px;color:var(--bronze)}
body[data-page=home] .closing-links .access-layer,body[data-page=home] .closing-links .signal{transition:transform .32s cubic-bezier(.2,.7,.3,1)}
body[data-page=home] .closing-links a:hover .layer-one{transform:translateY(-2px)}
body[data-page=home] .closing-links a:hover .layer-three{transform:translateY(2px)}
body[data-page=home] .closing-links a:hover .signal-one{transform:translateX(1px)}
body[data-page=home] .closing-links a:hover .signal-two{transform:translateX(2px)}
body[data-page=home] .closing-links a:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}

/* Source screenshots remain stacked at exactly the same frame and crop. */
body[data-page=home] .language-buttons{position:relative}
body[data-page=home] .language-buttons button{border-bottom-color:transparent;transition:color .24s ease}
body[data-page=home] .language-buttons button[aria-pressed=true]{border-bottom-color:transparent;color:var(--paper)}
body[data-page=home] .language-buttons button[aria-pressed=false]{color:#aaa19a}
body[data-page=home] .language-buttons:after{content:"";position:absolute;left:0;bottom:0;width:var(--rail-width,0px);height:2px;background:linear-gradient(90deg,#a8334e,var(--bronze));transform:translateX(var(--rail-x,0px));transition:transform .76s cubic-bezier(.18,.72,.22,1),width .76s cubic-bezier(.18,.72,.22,1);pointer-events:none}
body[data-page=home] .proof-frame{isolation:isolate}
body[data-page=home] .proof-frame>img{object-fit:contain;object-position:center;filter:none;transform:none}
body[data-page=home] .proof-frame .proof-en{z-index:0}
body[data-page=home] .proof-frame .proof-ro{z-index:1;opacity:1;clip-path:inset(0 0 0 0);transition:clip-path .76s cubic-bezier(.18,.72,.22,1);will-change:clip-path}
body[data-page=home] .proof-frame[data-proof-language=en] .proof-ro{clip-path:inset(0 100% 0 0);opacity:1}
body[data-page=home] .proof-frame:after{content:"";position:absolute;z-index:2;top:1px;bottom:1px;left:100%;width:2px;transform:translateX(-1px);pointer-events:none;opacity:0;background:linear-gradient(180deg,transparent 0%,#9d3353 18%,#d5ad7b 53%,#95324e 82%,transparent 100%);box-shadow:0 0 8px #b0616080;transition:left .76s cubic-bezier(.18,.72,.22,1),opacity .12s ease}
body[data-page=home] .proof-frame[data-proof-language=en]:after{left:0}
body[data-page=home] .proof-frame.is-shifting:after{opacity:.85}
body[data-page=home] .proof-frame figcaption{z-index:3}

@media(max-width:760px){
 .site-header .header-download{min-height:38px;padding-inline:11px;gap:7px;font-size:11px}
 .site-header .header-download .pz-icon{width:16px;height:16px}
 body[data-page=home] .hero-actions .hero-library-link{min-height:43px}
}
@media(max-width:380px){body[data-page=home] .closing-links .pz-icon{width:25px;height:25px}}

/* Motion preferences keep every interaction available without travel. */
.motion-reduced .site-header .header-download,.motion-reduced .site-header .header-download .pz-icon,.motion-reduced .hero-library-link,.motion-reduced .hero-library-link .book,.motion-reduced .closing-links a,.motion-reduced .closing-links .access-layer,.motion-reduced .closing-links .signal,.motion-reduced .language-buttons:after{transition:none!important;transform:none!important}
.motion-reduced body[data-page=home] .proof-frame .proof-ro{clip-path:none!important;transition:opacity .12s linear!important}
.motion-reduced body[data-page=home] .proof-frame[data-proof-language=en] .proof-ro{opacity:0!important}
.motion-reduced body[data-page=home] .proof-frame:after{display:none}
@media(prefers-reduced-motion:reduce){
 .site-header .header-download,.site-header .header-download .pz-icon,body[data-page=home] .hero-library-link,body[data-page=home] .hero-library-link .book,body[data-page=home] .closing-links a,body[data-page=home] .closing-links .access-layer,body[data-page=home] .closing-links .signal,body[data-page=home] .language-buttons:after{transition:none!important;transform:none!important}
 body[data-page=home] .proof-frame .proof-ro{clip-path:none!important;transition:opacity .12s linear!important}
 body[data-page=home] .proof-frame[data-proof-language=en] .proof-ro{opacity:0!important}
 body[data-page=home] .proof-frame:after{display:none}
}
