/* Presentation repair shared by every generated HTML page. Existing brand stays. */
:root{--nv-page-gutter:clamp(16px,4vw,40px);--nv-reading-width:72ch}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-block:24px}
body{min-inline-size:0}
:where(main,article,section,header,form,fieldset,.grid,.cards,.card,.wrap,.container){min-inline-size:0}
:where(img,video,canvas){max-inline-size:100%}
:where(img,video){height:auto}
:where(h1,h2,h3,p,li,a,label){overflow-wrap:break-word}
:where(input,select,textarea,button){font:inherit}
:where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-inline-size:100%}
:where(button,[role=button],input[type=submit]){touch-action:manipulation}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #1e6fb8;outline-offset:4px}
:where(pre){max-inline-size:100%;overflow-x:auto}
:where(main,article,.wrap,.container,.content,.page){max-inline-size:100%}
:where(main,article) :where(p,li){line-height:1.65}

/* Repair the lost hero selector without altering copy, links or event handlers. */
body[data-navlys-page="index"] .hero{width:100%;max-width:none;min-height:clamp(34rem,82svh,54rem);padding:clamp(64px,10vh,112px) 0;margin:0;isolation:isolate}
body[data-navlys-page="index"] .hero .bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
body[data-navlys-page="index"] .hero .in{padding-inline:var(--nv-page-gutter)}
body[data-navlys-page="index"] .hero h1{font-size:clamp(3.5rem,9vw,7.5rem)}
body[data-navlys-page="index"] .hero .sub{line-height:1.65}
body[data-navlys-page="index"] .btns{display:flex;flex-wrap:wrap;gap:12px}
body[data-navlys-page="index"] .btns a{margin:0;min-height:48px;display:inline-flex;align-items:center;justify-content:center}
body[data-navlys-page="index"] section:not(.hero){padding-inline:var(--nv-page-gutter)}

/* A preserved content header is not the obsolete global navigation bar. */
.nv-content-header{min-inline-size:0}
.navlys-footer-nav a:focus-visible,.nv-footer-toggle:focus-visible{outline:3px solid #1e6fb8!important;outline-offset:4px}
.nv-footer-toggle{min-height:44px}

@media(max-width:640px){
  :where(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
  :where(.grid,.cards,.fleet,.tier)>*{min-width:0}
  body[data-navlys-page] :is(.grid,.cards,.fleet,.tier){grid-template-columns:minmax(0,1fr)}
  body[data-navlys-page="index"] .hero{min-height:38rem;height:auto;padding-block:72px 48px}
  body[data-navlys-page="index"] .hero h1{font-size:clamp(3rem,15vw,5rem)}
  body[data-navlys-page="index"] .hero .lead{font-size:clamp(1.4rem,6vw,1.9rem)}
  body[data-navlys-page="index"] .btns a{max-width:100%;padding-inline:20px}
  .navlys-footer-nav{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}#nv-talk{animation:none!important;transition:none!important}}
