
/* SMART VISA approved homepage + dark consistency patch 2026-10-17 */
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{overflow-x:hidden}
body main#home{margin-top:0!important;padding-top:0!important}
body .sv10-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.65) 34%,rgba(255,255,255,.08) 69%),url('/hero-clear-day.webp')!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;background-color:#f4f7fb!important;padding-top:56px!important;padding-bottom:58px!important}
body .sv10-hero .sv10-wrap{max-width:1380px!important;gap:clamp(24px,4vw,64px)!important;align-items:center!important}
body .sv10-hero .sv10-copy{min-width:0}
body .sv10-hero .sv10-panel{box-shadow:0 16px 46px rgba(16,36,72,.14)!important;border-radius:22px!important;max-height:min(740px,calc(100vh - 132px));overflow-y:auto;scrollbar-width:thin}
body .sv10-hero .sv10-panel::-webkit-scrollbar{width:5px}
body .sv10-hero .sv10-panel::-webkit-scrollbar-thumb{background:#bac5d4;border-radius:12px}
body .sv10-hero .sv10-actions{display:flex;flex-wrap:wrap;gap:12px}
body .sv10-hero .sv10-benefits{margin-top:20px}
body .nav{border-bottom:2px solid #ed002b!important}
/* Keep dark surfaces and text consistent, without recoloring logos or images */
html[data-theme="dark"] body,body.dark{background:#0b111b!important;color:#eef3fb}
html[data-theme="dark"] .sv10-hero,body.dark .sv10-hero{background-image:linear-gradient(90deg,rgba(8,16,30,.94) 0%,rgba(8,16,30,.77) 35%,rgba(8,16,30,.40) 70%),url('/hero-clear-night.webp')!important;background-color:#0b111b!important;color:#f4f7fd!important}
html[data-theme="dark"] .sv10-hero .sv10-copy h1,html[data-theme="dark"] .sv10-hero .sv10-copy p,body.dark .sv10-hero .sv10-copy h1,body.dark .sv10-hero .sv10-copy p{color:#f4f7fd!important}
html[data-theme="dark"] .sv10-hero .sv10-panel,body.dark .sv10-hero .sv10-panel{background:#141f30!important;color:#eef3fb!important;border:1px solid #35465e!important}
html[data-theme="dark"] .sv10-hero .sv10-panel h2,html[data-theme="dark"] .sv10-hero .sv10-panel p,body.dark .sv10-hero .sv10-panel h2,body.dark .sv10-hero .sv10-panel p{color:#f0f5fc!important}
html[data-theme="dark"] .sv10-hero .sv10-panel button,body.dark .sv10-hero .sv10-panel button{border-color:#36475c}
html[data-theme="dark"] .sv10-hero .sv10-panel button:not(.sv10-primary),body.dark .sv10-hero .sv10-panel button:not(.sv10-primary){background:#1b2a3f;color:#f3f7ff}
html[data-theme="dark"] .sv10-hero .sv10-benefits>div,body.dark .sv10-hero .sv10-benefits>div{background:rgba(15,27,44,.92)!important;border-color:#36475c!important;color:#f3f7ff!important}
html[data-theme="dark"] .sv10-hero .sv10-benefits small,body.dark .sv10-hero .sv10-benefits small{color:#c9d5e5!important}
html[data-theme="dark"] section:not(.sv10-hero) .sv10-panel,body.dark section:not(.sv10-hero) .sv10-panel{color:inherit}
.sv-back-top{position:fixed;right:22px;bottom:110px;z-index:9900;width:48px;height:48px;border:1px solid #e0e6ef;border-radius:50%;background:#fff;color:#ed002b;box-shadow:0 8px 24px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.sv-back-top.sv-visible{opacity:1;visibility:visible;transform:translateY(0)}
.sv-back-top:hover{background:#ed002b;color:#fff}
.sv-back-top:focus-visible{outline:3px solid #ed002b;outline-offset:3px}
html[data-theme="dark"] .sv-back-top,body.dark .sv-back-top{background:#16243a;color:#fff;border-color:#536781}
@media(max-width:900px){body .sv10-hero{padding:28px 14px 40px!important;background-position:55% center!important}body .sv10-hero .sv10-wrap{grid-template-columns:1fr!important;gap:24px!important}body .sv10-hero .sv10-panel{max-height:none;overflow:visible}body .sv10-hero .sv10-copy h1{font-size:clamp(36px,8vw,58px)!important}.sv-back-top{right:16px;bottom:122px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sv-back-top{transition:none}}
