/* Scoped page polish. No loading effects or changes to download behavior. */
body.layout-cleanup .page-hero,body.layout-cleanup .repo-hero{padding-block:64px 32px;min-height:0}
body.layout-cleanup .page-hero h1,body.layout-cleanup .repo-hero h1{font-size:clamp(36px,4.5vw,62px);line-height:1.12;letter-spacing:-.035em;max-width:100%;margin:20px 0;overflow-wrap:break-word;text-wrap:balance}
body.layout-cleanup .page-hero h1 br{display:none}
body.layout-cleanup .page-hero p,body.layout-cleanup .repo-hero p{font-size:18px;line-height:1.7;max-width:70ch}
body.layout-cleanup .shell{max-width:calc(100% - 40px);min-width:0}
body.layout-cleanup .footer-inner{display:flex;flex-wrap:wrap;gap:24px 36px;padding-block:30px}
body.layout-cleanup .footer-links{display:flex;flex:1 1 440px;flex-wrap:wrap;gap:14px 22px;min-width:0}
body.layout-cleanup .footer-inner>small{width:auto;flex:0 1 auto}
body.layout-cleanup .repo-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
body.layout-cleanup .repo-card-top{flex-wrap:wrap;gap:14px}
body.layout-cleanup .repo-identity{flex-basis:100%}
body.layout-cleanup .repo-card h2{line-height:1.3;overflow-wrap:break-word}
body.layout-cleanup .repo-card>p{display:block;min-height:0;overflow:visible;font-size:16px;line-height:1.65;-webkit-line-clamp:unset}
body.layout-cleanup[data-view="downloads"] .page-hero:after{display:none}
body.layout-cleanup[data-view="about"] .about-shell{width:min(860px,calc(100% - 40px));max-width:none;padding:64px 0 72px;color:var(--text-soft,#bacada)}
body.layout-cleanup .about-shell h1{font-size:clamp(36px,4.5vw,56px);line-height:1.12;margin:0 0 20px}
body.layout-cleanup .about-copy p{font-size:18px;line-height:1.75;margin-bottom:20px}
body.layout-cleanup .about-copy h2{font-size:28px;margin:36px 0 14px}
body.layout-cleanup .about-subtitle{font-size:14px;letter-spacing:.065em;line-height:1.6}
body.layout-cleanup .nyx-flow small{font-size:13px;letter-spacing:.025em;line-height:1.7}
body.layout-cleanup .about-mark{display:none}
body.layout-cleanup[data-view="contact"] main{width:min(960px,calc(100% - 40px));margin-inline:auto}
body.layout-cleanup[data-view="contact"] main .shell{width:100%;max-width:100%}
body.layout-cleanup .contact-card{max-width:none;padding:32px;margin-bottom:64px}
body.layout-cleanup .contact-card h2{font-size:26px;margin:0 0 12px}
body.layout-cleanup .contact-card p{font-size:17px;line-height:1.7;max-width:70ch;margin:0 0 24px}
body.layout-cleanup .contact-email{font-size:clamp(20px,3vw,30px);max-width:100%}
body.layout-cleanup .nyx-os-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px;padding-block:64px;align-items:center}
body.layout-cleanup .nyx-os-hero h1{font-size:clamp(48px,6vw,80px);line-height:1.08}
body.layout-cleanup .nyx-os-hero .product-tagline{font-size:24px;line-height:1.35}
.os-film{min-width:0;margin:0;border:1px solid #24506c;border-radius:18px;overflow:hidden;background:#07121f;box-shadow:0 18px 60px #0005}
.os-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#07121f}
.os-film figcaption{padding:18px 20px;font-size:14px;line-height:1.65;color:#b8ccdc}
.os-film figcaption strong{display:block;color:#6fdcff;margin-bottom:6px}
.os-film details{margin-top:12px}.os-film summary{cursor:pointer;color:#eef6ff}
.os-film details p{margin:10px 0 0}
@media(max-width:900px){body.layout-cleanup .nyx-os-hero{grid-template-columns:minmax(0,1fr)}body.layout-cleanup .nyx-os-hero .hero-actions{flex-wrap:wrap}}
@media(max-width:600px){body.layout-cleanup .page-hero,body.layout-cleanup .repo-hero{padding-block:42px 24px}body.layout-cleanup .contact-card{padding:22px}body.layout-cleanup .about-copy p{font-size:17px}body.layout-cleanup .footer-links{flex-basis:100%}body.layout-cleanup .repo-section{padding-bottom:48px}}

/* A full-width desktop session keeps the concept readable. */
body.layout-cleanup .nyx-os-hero{grid-template-columns:minmax(0,1fr);gap:32px}
body.layout-cleanup .nyx-os-hero>div{max-width:900px}
body.layout-cleanup .nyx-os-hero .os-film{width:100%;max-width:1440px;justify-self:center}
