/* Homepage recreation based directly on the customer-approved reference screenshot. */
body.home-reference { background:#fff; color:#081b3d; overflow-x:hidden; }
body.home-reference .refsite-header { position:relative; z-index:100; width:100%; background:rgba(248,251,255,.96); border-bottom:1px solid rgba(22,67,121,.10); }
body.home-reference .refsite-nav-wrap { width:min(1510px, calc(100% - 84px)); min-height:112px; margin:0 auto; display:flex; align-items:center; gap:32px; }
body.home-reference .refsite-brand { display:flex; align-items:center; gap:17px; flex:0 0 440px; text-decoration:none; color:#071b3d; min-width:0; }
body.home-reference .refsite-maple { display:block; width:83px; height:82px; object-fit:contain; flex:none; }
body.home-reference .refsite-wordmark { display:flex; flex-direction:column; line-height:1; }
body.home-reference .refsite-wordmark strong { font-family:Manrope,'DM Sans',sans-serif; font-weight:800; font-size:29px; letter-spacing:-1.1px; color:#0a1a38; white-space:nowrap; }
body.home-reference .refsite-wordmark small { margin-top:6px; font-family:Manrope,'DM Sans',sans-serif; font-size:28px; font-weight:700; letter-spacing:8px; color:#1767d4; }
body.home-reference .refsite-navigation { display:flex; align-items:center; justify-content:space-between; gap:clamp(12px,1.5vw,24px); flex:1; min-width:0; }
body.home-reference .refsite-navigation > a, body.home-reference .refsite-dropdown-trigger { display:inline-flex; align-items:center; gap:9px; padding:12px 0; color:#112341; font-family:'DM Sans',Arial,sans-serif; font-size:17px; line-height:1.2; font-weight:600; text-decoration:none; white-space:nowrap; border:0; background:none; }
body.home-reference .refsite-navigation > a.active { color:#075fd3; position:relative; }
body.home-reference .refsite-navigation > a.active:after { content:''; position:absolute; height:3px; left:0; right:0; bottom:0; border-radius:3px; background:#1269e4; }
body.home-reference .refsite-dropdown { position:relative; display:flex; align-items:center; }
body.home-reference .refsite-chevron { width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); display:inline-block; }
body.home-reference .refsite-dropdown-menu { display:none; position:absolute; top:100%; left:-18px; min-width:255px; padding:10px; border:1px solid #e0e9f5; border-radius:14px; background:#fff; box-shadow:0 16px 38px rgba(17,46,84,.14); }
body.home-reference .refsite-dropdown:hover .refsite-dropdown-menu, body.home-reference .refsite-dropdown:focus-within .refsite-dropdown-menu { display:block; }
body.home-reference .refsite-dropdown-menu a { display:block; padding:12px 13px; color:#152947; text-decoration:none; font-size:14px; border-radius:8px; }
body.home-reference .refsite-dropdown-menu a:hover { background:#eef5ff; color:#075fd3; }
body.home-reference .refsite-navigation .refsite-nav-cta { margin-left:clamp(3px,1vw,16px); padding:17px 34px; border-radius:999px; color:#fff; background:#0755c6; box-shadow:0 7px 18px rgba(0,78,181,.15); font-weight:700; }
body.home-reference .refsite-navigation .refsite-nav-cta:hover, body.home-reference .refsite-button-primary:hover { background:#0647a7; transform:translateY(-1px); }
body.home-reference .refsite-nav-cta span { font-size:23px; line-height:12px; font-weight:400; }
body.home-reference .refsite-menu-toggle { display:none; }

body.home-reference .refsite-hero { min-height:632px; position:relative; display:flex; align-items:stretch; overflow:hidden; isolation:isolate; background:linear-gradient(100deg,#f1f6ff 0%,#eaf3ff 48%,#b9d6f6 100%); }
body.home-reference .refsite-hero-photo { position:absolute; z-index:-3; top:0; right:0; width:56.3%; height:100%; overflow:hidden; }
body.home-reference .refsite-hero-photo img { width:100%; height:100%; object-fit:cover; object-position:53% 45%; display:block; filter:saturate(1.06) contrast(1.02); }
body.home-reference .refsite-hero-wash { position:absolute; z-index:-2; inset:0; background:linear-gradient(90deg,#f2f7ff 0%,#f2f7ff 39%,rgba(242,247,255,.99) 44%,rgba(242,247,255,.94) 52%,rgba(242,247,255,.62) 58%,rgba(242,247,255,.18) 65%,rgba(242,247,255,0) 71%); }
body.home-reference .refsite-hero-inner { width:min(1480px, calc(100% - 168px)); margin:0 auto; position:relative; display:flex; align-items:center; min-height:632px; padding:55px 0 86px; }
body.home-reference .refsite-hero-copy { width:min(850px,58%); position:relative; z-index:2; }
body.home-reference .refsite-hero-kicker { margin-bottom:15px; color:#0965d7; font-family:Manrope,'DM Sans',sans-serif; font-size:22px; line-height:1.3; font-weight:800; letter-spacing:.18em; }
body.home-reference .refsite-hero-copy h1 { margin:0; color:#071a3a; font-family:Manrope,'DM Sans',sans-serif; font-size:86px; font-weight:800; line-height:.99; letter-spacing:-.065em; }
body.home-reference .refsite-hero-copy h1 em { color:#1265d5; font-style:normal; }
body.home-reference .refsite-hero-copy p { max-width:690px; margin:24px 0 28px; color:#152c4d; font-family:'DM Sans',Arial,sans-serif; font-size:25px; font-weight:500; line-height:1.42; letter-spacing:-.025em; }
body.home-reference .refsite-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:22px; }
body.home-reference .refsite-button { min-height:59px; display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:0 36px; border-radius:999px; font-family:'DM Sans',Arial,sans-serif; font-size:19px; font-weight:700; line-height:1; text-decoration:none; transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
body.home-reference .refsite-button-primary { background:#0756c8; color:white; box-shadow:0 8px 20px rgba(13,91,196,.14); }
body.home-reference .refsite-button-primary span { font-size:26px; font-weight:400; }
body.home-reference .refsite-button-outline { color:#0b2850; border:2px solid #1265dc; background:rgba(255,255,255,.52); }
body.home-reference .refsite-button-outline:hover { background:#fff; box-shadow:0 8px 22px rgba(22,91,177,.12); }
body.home-reference .refsite-wave-lines { position:absolute; z-index:-1; inset:auto 0 0; width:100%; height:230px; pointer-events:none; filter:drop-shadow(0 0 6px rgba(82,169,255,.22)); }

body.home-reference .refsite-benefits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:center; width:100%; padding:32px max(5.1vw,36px) 25px; min-height:128px; background:linear-gradient(180deg,#f9fbff 0%,#f1f6fd 100%); border-bottom:1px solid #e2ebf6; }
body.home-reference .refsite-benefit { min-height:80px; display:flex; align-items:center; justify-content:center; gap:19px; padding:0 22px; border-right:1px solid #c5d6ec; }
body.home-reference .refsite-benefit:last-child { border-right:0; }
body.home-reference .refsite-benefit-icon { width:55px; height:55px; display:flex; align-items:center; justify-content:center; flex:0 0 55px; }
body.home-reference .refsite-benefit-icon svg { width:52px; height:52px; fill:none; stroke:#075fcf; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
body.home-reference .refsite-benefit strong { display:block; font-family:Manrope,'DM Sans',sans-serif; color:#081c40; font-size:17px; line-height:1.3; font-weight:800; }
body.home-reference .refsite-service-area { display:flex; align-items:center; justify-content:center; gap:21px; min-height:56px; width:100%; padding:9px 5.5vw 17px; color:#152d50; background:#f1f6fd; font-family:'DM Sans',Arial,sans-serif; font-size:16px; text-align:center; }
body.home-reference .refsite-service-area strong { font-weight:600; white-space:nowrap; }
body.home-reference .refsite-area-line { width:min(12vw,185px); height:1px; flex:0 1 185px; background:#9eb6d4; }
body.home-reference .refsite-area-divider { color:#7d97b9; font-weight:400; }

/* Keep the rest of the approved homepage content and existing inner pages intact. */
body.home-reference #capabilities { scroll-margin-top:30px; }
body.home-reference .site-footer { margin-top:0; }

@media (max-width:1450px) and (min-width:1121px) {
  body.home-reference .refsite-nav-wrap { width:calc(100% - 52px); gap:20px; }
  body.home-reference .refsite-brand { flex-basis:300px; gap:12px; }
  body.home-reference .refsite-maple { width:68px; height:70px; }
  body.home-reference .refsite-wordmark strong { font-size:24px; }
  body.home-reference .refsite-wordmark small { font-size:23px; letter-spacing:6px; }
  body.home-reference .refsite-navigation { gap:19px; justify-content:flex-end; }
  body.home-reference .refsite-navigation > a, body.home-reference .refsite-dropdown-trigger { font-size:15px; }
  body.home-reference .refsite-navigation .refsite-nav-cta { padding:15px 23px; }
  body.home-reference .refsite-hero-inner { width:calc(100% - 110px); }
  body.home-reference .refsite-hero-copy h1 { font-size:70px; }
  body.home-reference .refsite-hero-copy p { font-size:22px; }
}
@media (max-width:1120px) {
  body.home-reference .refsite-nav-wrap { width:calc(100% - 44px); min-height:88px; }
  body.home-reference .refsite-brand { flex:1 1 auto; }
  body.home-reference .refsite-maple { width:62px; height:64px; }
  body.home-reference .refsite-wordmark strong { font-size:23px; }
  body.home-reference .refsite-wordmark small { font-size:22px; letter-spacing:6px; }
  body.home-reference .refsite-menu-toggle { display:flex!important; flex-direction:column; flex:0 0 46px; width:46px; height:46px; padding:10px; border:1px solid #d5e2f2; border-radius:12px; background:#fff; }
  body.home-reference .refsite-navigation { display:none!important; position:absolute!important; z-index:300; top:100%; left:0; right:0; max-height:calc(100vh - 92px); overflow-y:auto; padding:15px 22px 24px; flex-direction:column; align-items:stretch; gap:0; margin:0; background:rgba(250,252,255,.99); border-bottom:1px solid #dfe8f4; box-shadow:0 18px 36px rgba(13,42,80,.14); }
  body.home-reference .refsite-navigation.open { display:flex!important; }
  body.home-reference .refsite-navigation > a, body.home-reference .refsite-dropdown-trigger { width:100%; padding:15px 5px; font-size:16px; border-bottom:1px solid #e8eef6; }
  body.home-reference .refsite-navigation > a.active:after { display:none; }
  body.home-reference .refsite-dropdown { display:block; }
  body.home-reference .refsite-dropdown-trigger { justify-content:space-between; }
  body.home-reference .refsite-dropdown-menu { display:block; position:static; min-width:0; padding:0 0 4px 13px; border:0; box-shadow:none; background:transparent; }
  body.home-reference .refsite-dropdown-menu a { padding:10px 8px; font-size:14px; }
  body.home-reference .refsite-navigation .refsite-nav-cta { align-self:flex-start; width:auto; margin:14px 0 0; padding:14px 25px; border:0; }
  body.home-reference .refsite-hero { min-height:590px; }
  body.home-reference .refsite-hero-inner { min-height:590px; width:calc(100% - 90px); padding-top:42px; }
  body.home-reference .refsite-hero-photo { width:66%; }
  body.home-reference .refsite-hero-wash { background:linear-gradient(90deg,#f2f7ff 0%,rgba(242,247,255,.99) 37%,rgba(242,247,255,.88) 52%,rgba(242,247,255,.23) 75%,rgba(242,247,255,0) 100%); }
  body.home-reference .refsite-hero-copy { width:65%; }
  body.home-reference .refsite-hero-kicker { font-size:17px; }
  body.home-reference .refsite-hero-copy h1 { font-size:56px; }
  body.home-reference .refsite-hero-copy p { font-size:20px; }
  body.home-reference .refsite-benefit { gap:12px; padding:0 12px; }
  body.home-reference .refsite-benefit-icon { width:44px; height:44px; flex-basis:44px; }
  body.home-reference .refsite-benefit-icon svg { width:43px; height:43px; }
  body.home-reference .refsite-benefit strong { font-size:14px; }
  body.home-reference .refsite-service-area { font-size:14px; gap:13px; }
}
@media (max-width:700px) {
  body.home-reference .refsite-nav-wrap { width:calc(100% - 34px); min-height:76px; }
  body.home-reference .refsite-maple { width:51px; height:53px; }
  body.home-reference .refsite-brand { gap:10px; }
  body.home-reference .refsite-wordmark strong { font-size:19px; letter-spacing:-.7px; }
  body.home-reference .refsite-wordmark small { margin-top:4px; font-size:18px; letter-spacing:5px; }
  body.home-reference .refsite-menu-toggle { width:42px; height:42px; flex-basis:42px; }
  body.home-reference .refsite-hero { display:block; min-height:0; background:#f2f7ff; }
  body.home-reference .refsite-hero-photo { position:relative; top:auto; right:auto; width:100%; height:240px; margin-top:12px; }
  body.home-reference .refsite-hero-photo img { object-position:52% 43%; }
  body.home-reference .refsite-hero-wash { background:linear-gradient(180deg,#f2f7ff 0%,rgba(242,247,255,.98) 52%,rgba(242,247,255,0) 73%); bottom:auto; height:100%; }
  body.home-reference .refsite-hero-inner { display:block; width:calc(100% - 42px); min-height:0; padding:45px 0 0; }
  body.home-reference .refsite-hero-copy { width:100%; }
  body.home-reference .refsite-hero-kicker { margin-bottom:12px; font-size:13px; letter-spacing:.16em; }
  body.home-reference .refsite-hero-copy h1 { font-size:46px; line-height:1.04; letter-spacing:-.06em; }
  body.home-reference .refsite-hero-copy p { margin:18px 0 22px; font-size:16px; line-height:1.48; }
  body.home-reference .desktop-break { display:none; }
  body.home-reference .refsite-hero-actions { gap:12px; }
  body.home-reference .refsite-button { min-height:50px; padding:0 22px; font-size:15px; gap:10px; }
  body.home-reference .refsite-button-primary span { font-size:21px; }
  body.home-reference .refsite-wave-lines { height:135px; bottom:205px; }
  body.home-reference .refsite-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); padding:21px 15px 17px; gap:0; }
  body.home-reference .refsite-benefit { min-height:88px; justify-content:flex-start; padding:12px 9px; border-right:0; border-bottom:1px solid #d7e4f3; gap:9px; }
  body.home-reference .refsite-benefit:nth-child(odd) { border-right:1px solid #d7e4f3; }
  body.home-reference .refsite-benefit:nth-child(n+3) { border-bottom:0; }
  body.home-reference .refsite-benefit-icon { width:36px; height:36px; flex-basis:36px; }
  body.home-reference .refsite-benefit-icon svg { width:35px; height:35px; }
  body.home-reference .refsite-benefit strong { font-size:12px; line-height:1.26; }
  body.home-reference .refsite-service-area { min-height:0; flex-wrap:wrap; gap:7px 10px; padding:14px 20px 19px; font-size:12px; line-height:1.3; }
  body.home-reference .refsite-service-area strong { white-space:normal; }
  body.home-reference .refsite-area-line { display:none; }
  body.home-reference .refsite-area-divider { margin:0 3px; }
}
@media (max-width:390px) {
  body.home-reference .refsite-hero-copy h1 { font-size:39px; }
  body.home-reference .refsite-button { padding:0 17px; font-size:14px; }
  body.home-reference .refsite-benefit strong { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  body.home-reference *, body.home-reference *:before, body.home-reference *:after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
/* Additional hero framing refinements for the exact supplied screenshot. */
body.home-reference .refsite-hero-photo picture { display:block; width:100%; height:100%; }
body.home-reference .refsite-hero-photo img { object-position:center center; }
@media (max-width:700px) {
  body.home-reference .refsite-hero { position:relative; padding-bottom:228px; }
  body.home-reference .refsite-hero-photo { position:absolute; z-index:0; top:auto; right:0; bottom:0; width:100%; height:240px; margin:0; }
  body.home-reference .refsite-hero-photo picture { width:100%; height:100%; }
  body.home-reference .refsite-hero-photo img { width:100%; height:100%; object-fit:cover; object-position:center 46%; }
  body.home-reference .refsite-hero-wash { z-index:1; inset:0; height:auto; bottom:0; background:linear-gradient(180deg,#f2f7ff 0%,rgba(242,247,255,.98) 44%,rgba(242,247,255,.65) 63%,rgba(242,247,255,.04) 100%); }
  body.home-reference .refsite-hero-inner { position:relative; z-index:2; padding-top:45px; padding-bottom:0; }
  body.home-reference .refsite-wave-lines { z-index:3; bottom:168px; height:100px; }
}

/* Final cascade guards: the legacy theme had global !important link/button styles. */
body.home-reference .refsite-navigation > a,
body.home-reference .refsite-dropdown-trigger { color:#112341!important; font-size:17px!important; font-weight:600!important; text-decoration:none!important; }
body.home-reference .refsite-navigation > a.active { color:#075fd3!important; }
body.home-reference .refsite-navigation .refsite-nav-cta { color:#fff!important; background:#0755c6!important; font-size:17px!important; font-weight:700!important; border:0!important; }
body.home-reference .refsite-dropdown-menu a { color:#152947!important; font-size:14px!important; }
body.home-reference .refsite-button { color:#0b2850; font-size:19px!important; white-space:nowrap!important; outline:none!important; text-decoration:none!important; }
body.home-reference .refsite-button-primary { color:#fff!important; background:#0756c8!important; border:0!important; }
body.home-reference .refsite-button-outline { color:#0b2850!important; background:rgba(255,255,255,.52)!important; border:2px solid #1265dc!important; }
body.home-reference .refsite-benefit-icon svg { stroke:#075fcf!important; }
body.home-reference .refsite-benefit:first-child .refsite-benefit-icon svg { fill:#1264d8!important; stroke:none!important; }
body.home-reference .refsite-benefit strong span { display:block; white-space:nowrap; }
@media (max-width:1450px) and (min-width:1121px) {
  body.home-reference .refsite-navigation > a,
  body.home-reference .refsite-dropdown-trigger { font-size:15px!important; }
  body.home-reference .refsite-navigation .refsite-nav-cta { font-size:15px!important; }
}
@media (max-width:1120px) {
  body.home-reference .refsite-navigation > a,
  body.home-reference .refsite-dropdown-trigger { font-size:16px!important; }
  body.home-reference .refsite-navigation .refsite-nav-cta { font-size:16px!important; }
}
@media (max-width:700px) {
  body.home-reference .refsite-button { font-size:15px!important; }
  body.home-reference .refsite-hero-copy h1 { font-size:46px; }
  body.home-reference .refsite-benefit strong span { white-space:normal; }
}
@media (max-width:390px) {
  body.home-reference .refsite-hero-copy h1 { font-size:39px; }
  body.home-reference .refsite-button { font-size:14px!important; }
}
/* Final proportions tuned to the supplied 1648px-wide homepage screenshot. */
@media (min-width:1451px) {
  body.home-reference .refsite-hero-inner { padding:70px 0 70px; }
  body.home-reference .refsite-button-primary { min-width:192px; padding-left:24px; padding-right:24px; }
  body.home-reference .refsite-button-outline { min-width:267px; padding-left:24px; padding-right:24px; }
  body.home-reference .refsite-navigation .refsite-nav-cta { min-width:175px; justify-content:center; padding-left:24px; padding-right:24px; }
}
@media (max-width:1450px) and (min-width:1121px) {
  body.home-reference .refsite-hero-inner { padding:58px 0 72px; }
  body.home-reference .refsite-button-primary { min-width:176px; }
  body.home-reference .refsite-button-outline { min-width:238px; }
  body.home-reference .refsite-navigation .refsite-nav-cta { min-width:150px; justify-content:center; }
}
body.home-reference .refsite-wordmark strong { font-size:31px; }
body.home-reference .refsite-wordmark small { font-size:29px; letter-spacing:8.5px; }
/* Exact desktop call-to-action and information-band proportions. */
@media (min-width:1451px) {
  body.home-reference .refsite-hero-copy { transform:translateY(12px); }
  body.home-reference .refsite-hero-kicker { margin-bottom:10px; }
  body.home-reference .refsite-hero-copy h1 { font-size:88px; letter-spacing:-.05em; }
  body.home-reference .refsite-hero-copy p { margin-top:16px; }
  body.home-reference .refsite-button-primary { width:192px; min-width:192px; max-width:192px; padding:0 16px; }
  body.home-reference .refsite-button-outline { width:267px; min-width:267px; max-width:267px; padding:0 18px; }
  body.home-reference .refsite-navigation .refsite-nav-cta { width:175px; min-width:175px; max-width:175px; padding:17px 12px!important; gap:12px; }
  body.home-reference .refsite-benefits { height:120px; min-height:120px; padding-top:18px; padding-bottom:18px; }
  body.home-reference .refsite-service-area { height:64px; min-height:64px; padding-top:9px; padding-bottom:16px; }
}
@media (max-width:1450px) and (min-width:1121px) {
  body.home-reference .refsite-navigation .refsite-nav-cta { width:150px; min-width:150px; max-width:150px; padding:15px 10px!important; gap:10px; }
  body.home-reference .refsite-button-primary { width:176px; min-width:176px; max-width:176px; padding:0 14px; }
  body.home-reference .refsite-button-outline { width:238px; min-width:238px; max-width:238px; padding:0 14px; }
}
@media (max-width:1120px) {
  body.home-reference .refsite-navigation .refsite-nav-cta { width:auto; min-width:0; max-width:none; }
}
@media (max-width:700px) {
  body.home-reference .refsite-hero-copy { transform:none; }
  body.home-reference .refsite-hero-kicker { margin-bottom:12px; }
  body.home-reference .refsite-hero-copy h1 { font-size:46px; letter-spacing:-.06em; }
  body.home-reference .refsite-button-primary,
  body.home-reference .refsite-button-outline { width:auto; min-width:0; max-width:none; padding:0 20px; }
  body.home-reference .refsite-benefits { height:auto; min-height:0; }
  body.home-reference .refsite-service-area { height:auto; min-height:0; }
}
@media (max-width:390px) {
  body.home-reference .refsite-hero-copy h1 { font-size:39px; }
}
