/* Final high-fidelity / accessibility pass — 14 November 2026.
   This is a measured UI regression release, not a claim of pixel identity. */
:root {--hf-navy:#103b45;--hf-mint:#b6e8aa;--hf-yellow:#ffb500}
/* Consistent reference headline scale, even when licensed fonts are absent. */
.home-dark .hero-copy h1{letter-spacing:-.038em;text-wrap:balance}
.home-dark .hero-copy p{max-width:680px;text-wrap:pretty}
.home-dark .home-intros.home-reference-tiles .intro-card{display:flex;flex-direction:column}
.home-dark .home-intros.home-reference-tiles .intro-card .btn{margin-top:auto;align-self:flex-start}
/* Distinguish keyboard focus from pointer hover in full-width navigation. */
.main-header .mega-primary-link:focus-visible,
.main-header .mega-chevron:focus-visible,
.main-header .mobile-toggle:focus-visible,
.main-header .header-actions button:focus-visible,
.utility-bar .utility-search:focus-visible{outline:3px solid #007e75!important;outline-offset:5px;border-radius:5px}
.main-header .mega-panel a:focus-visible{outline:3px solid #0d7875!important;outline-offset:5px;text-decoration:underline!important}
.main-header .mega-panel .mega-promo a:focus-visible{outline-color:#b1f1b7!important}
.mobile-menu a:focus-visible,.mobile-menu summary:focus-visible{outline:3px solid #087d7b;outline-offset:-3px}
/* Readable review/registration messages and touch targets. */
#registration-feedback:not(:empty){background:#fff6f3;border:1px solid #cc8b79;padding:13px 15px;border-radius:7px;color:#693326;line-height:1.55;margin:12px 0 17px}
.registration-card .form-field input:invalid:not(:placeholder-shown){box-shadow:none}
.registration-card .check-line{cursor:pointer}
.registration-card input[type=file]{cursor:pointer;min-height:52px}
.registration-heading,.registration-card{scroll-margin-top:100px}
/* Prevent overflow in cards and banners at ultra-narrow widths. */
@media(max-width:390px){.registration-card .btn-wide{white-space:normal;line-height:1.45}.registration-heading .btn{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}.home-dark .motion-photo,.home-dark .motion-blob{animation:none!important;transition:none!important}}

/* Escape closes an open desktop flyout while focus safely returns to its trigger. */
.main-header .mega-nav.mega-dismissed>.mega-panel{display:none!important}
.main-header .mega-nav.mega-dismissed .mega-primary-link::after{opacity:0!important}
