/* Shared layout corrections. Keep content readable without JavaScript or motion. */
html { scroll-padding-top: 100px; }
body { line-height: 1.6; }
img, video, svg { max-width: 100%; }
img { object-fit: contain; }
main { min-width: 0; }
.content-main, .content-main-1 { width: 100%; }
.container { max-width: 1240px; }
.container .row { row-gap: 1.5rem; }
.reveal { opacity: 1; transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #258cfb; outline-offset: 3px; }
.banner-img { margin-top: 0 !important; top: auto !important; height: clamp(220px, 38vw, 540px) !important; object-fit: cover; }
.slogan-centered { max-width: calc(100% - 2rem); padding: 1rem; }
.slogan-centered h1 { font-size: clamp(1.5rem, 4vw, 2.25rem) !important; }
.e-dialog { max-width: calc(100vw - 2rem); }
.home-hero { position: relative; display: grid; align-items: center; min-height: clamp(420px, 45vw, 650px); background: #0a1624; isolation: isolate; }
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #07121ff2, #07121f9c 65%, #07121f33); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero-copy { width: min(1240px, 100%); margin: auto; padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem); color: white; }
.home-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #b7d9f5; font-weight: 700; }
.home-hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 5.4vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; margin: 1rem 0 1.5rem; }
.home-hero-copy > p:not(.home-eyebrow) { max-width: 52ch; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.home-hero-actions .btn { padding: .8rem 1.2rem; min-height: 48px; }
.home-secondary { color: white; border: 1px solid #dce9f8; background: #ffffff0d; }
.home-secondary:hover { color: #091525; background: white; }
@media (max-width: 1023px) {
    .content-narrow, .content-narrow-2 { margin-left: 5%; margin-right: 5%; }
    .slogan-centered { width: 85%; }
    .parallax-top, .parallax-top-sm, .parallax-mid { background-attachment: scroll !important; }
}
@media (max-width: 767px) {
    .row > .two-column, .row > .three-column, .row > .five-column, .row > .menu-three-column { width: 100% !important; }
    .content, .content-form { margin-left: 1rem; margin-right: 1rem; padding-top: 2rem; }
    .content-narrow, .content-narrow-2 { margin-left: 1rem; margin-right: 1rem; padding-top: 2rem; }
    .center { width: 100%; }
    .desktop-visual { display: none; }
    .home-hero { min-height: 470px; }
    .home-hero::after { background: #07121fc9; }
    .home-hero-copy { padding: 3rem 1.25rem; }
    .e-grid, .e-dashboardlayout { max-width: 100%; overflow-x: auto; }
    iframe { max-width: 100%; }
    pre { max-width: 100%; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal.active { animation: none !important; opacity: 1 !important; transform: none !important; }
    .parallax-top, .parallax-mid { background-attachment: scroll !important; }
}
.slogan-centered { color: #fff !important; background: #081626dc; border: 0; border-radius: .75rem; }
.banner-img.fade-in { animation: none; opacity: 1; }
/* Bootstrap rows need their own gutters when used outside a padded container. */
.content-main > .row, .content-main-1 > .row { margin-left: 0; margin-right: 0; }
