/* AgentLocator 2026 layout: one content width and side margin for every section.
   --al-max = widest the content gets; --al-gutter = minimum side margin; --al-pad = the side padding sections use. */
:root{--al-max:1240px;--al-gutter:clamp(20px,6vw,112px);--al-pad:max(var(--al-gutter),calc((100% - var(--al-max)) / 2))}
/* No widows: balanced headings, no single last words in text (plus the no-widow script before </body>) */
h1,h2,h3,h4,h5{text-wrap:balance}
p,li,blockquote,figcaption{text-wrap:pretty}
/* HomeLocator swipe hub: keep the outgoing feature visible while it slides out */
.alsh-panel.is-out{visibility:visible}
/* HomeLocator swipe hub: logo + phone centred under the button, a dot loops along the dotted connector */
@media (min-width:901px){.alsh .alsh-panel{grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr)}}
.alsh .alsh-mid::before{top:45px;height:10px;border-top:0;background:radial-gradient(circle,var(--AlBrandBlue,#5B90DC) 0 3.5px,rgba(91,144,220,.35) 4px,transparent 7px) 0 50% / 14px 10px no-repeat,repeating-linear-gradient(90deg,color-mix(in srgb,var(--AlBrandBlue,#5B90DC) 70%,white) 0 2px,transparent 2px 6px) 0 50% / 100% 2px no-repeat}
@media (prefers-reduced-motion:no-preference){.alsh .alsh-panel.is-on .alsh-mid::before{animation:alsh-flow 2.6s cubic-bezier(.45,0,.55,1) infinite}}
@keyframes alsh-flow{0%{background-position:0% 50%,0 50%}100%{background-position:100% 50%,0 50%}}
/* Night banner: Aldo stands in front of the skyline */
.alnb .alnb-aldo{z-index:3}

/* ===== Book your walkthrough / demo video pop-ups (2026-11-30) =====
   The pop-ups live inside the header. Once you scroll, the header gets a frosted blur (and can slide), which makes
   the browser size the full-screen pop-up to the header strip only. While a pop-up is open, drop those effects on
   the header (and anything around it) so the pop-up fills the whole screen again. */
html body header#siteHeader.alh:has(> .alh-modal:not([hidden])),html body:has(header#siteHeader > .alh-modal:not([hidden])) header#siteHeader{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;translate:none!important;filter:none!important;perspective:none!important;contain:none!important;will-change:auto!important;container-type:normal!important;overflow:visible!important;clip-path:none!important;mask:none!important;-webkit-mask:none!important}
html:has(header#siteHeader > .alh-modal:not([hidden])),html body:has(header#siteHeader > .alh-modal:not([hidden])){transform:none!important;filter:none!important;backdrop-filter:none!important;contain:none!important}
html body header#siteHeader > .alh-modal:not([hidden]){position:fixed!important;inset:0!important;width:100vw;height:100vh;height:100dvh}

/* ===== Competitor logos (new files uploaded 2026-11-30) =====
   The new logo files have wide empty margins around the mark, so they look tiny at the old size. Zoom them in
   (visual only, the layout is unchanged) wherever they appear: the 'Compare with' bar and the comparison table headers. */
img[src*="b76cd740ea7f43f98a89a7b112d010be"],img[src*="a964ceffbc164d8b95d4814e58486977"],img[src*="a7a4924d9c05417bbb5c2b82075c14ea"],img[src*="dabe491ab3bf41e9a5ea3f65a4cadb7e"],img[src*="f3c495e76a444036935a34206960a3ee"],img[src*="c6c3389d9e67494084668b2d52255269"],img[src*="15f18632fe8244df8e4ca350770144a3"]{transform:scale(2);transform-origin:center}
@media (max-width:860px){img[src*="b76cd740ea7f43f98a89a7b112d010be"],img[src*="a964ceffbc164d8b95d4814e58486977"],img[src*="a7a4924d9c05417bbb5c2b82075c14ea"],img[src*="dabe491ab3bf41e9a5ea3f65a4cadb7e"],img[src*="f3c495e76a444036935a34206960a3ee"],img[src*="c6c3389d9e67494084668b2d52255269"],img[src*="15f18632fe8244df8e4ca350770144a3"]{transform:scale(1.6)}}

/* ===== AL 2026 MOBILE FIXES (2026-11-30) — Solutions pages, Switching, Compare, Client Stories + story pages ===== */
/* Safety net: nothing may push the page sideways on phones */
@media (max-width:900px){html,body{overflow-x:clip}}
/* Touch screens: no hover-only overlays or lift effects on story cards (avoids a 'first tap shows overlay' feel) */
@media (hover:none){html body section.alst .cs-ov,html body section.alsp .alsp-card-ov{display:none}html body section.alst .c-story:hover,html body section.alsp .alsp-card:hover,html body section.alsp a.alsp-svc:hover{transform:none;box-shadow:none}}

/* Solutions intro: rating strip as an even 3-column row on narrow phones */
@media (max-width:520px){html body .alsi .alsi-rt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:28px}html body .alsi .alsi-rt li{flex-direction:column;justify-content:flex-start;gap:4px;padding:0 6px;text-align:center}html body .alsi .alsi-rt span{align-items:center;font-size:13px}html body .alsi .alsi-rt b{font-size:22px}}
/* Solutions story cards: taller scrim so long text stays readable over the photo */
@media (max-width:760px){html body .alsc .alsc-scrim{height:82%}}

/* Client Stories hero mosaic: 4 even columns that line up with the grid lines */
@media (max-width:760px){html body .alhm .alhm-wall{grid-template-columns:repeat(4,minmax(0,1fr));background-size:25% 100%;padding-left:0}html body .alhm .alhm-col{width:auto;margin-left:5px;margin-right:5px}html body .alhm .alhm-col:nth-child(n+5){display:none}html body .alhm .alhm-copy h1,html body .alhm .alhm-copy h2{font-size:clamp(36px,11vw,44px)}}
/* Client Stories wall: no duplicate logo under the header; filters as a tidy 2 x 2 grid */
@media (max-width:1100px){html body section.alst#client-stories .alst-logo{display:none}html body section.alst#client-stories .alst-side-in>.alst-logo+.alst-intro{margin-top:0}}
@media (max-width:760px){html body section.alst#client-stories .alst-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html body section.alst#client-stories .alst-f{width:100%;min-width:0;padding:8px 10px 8px 8px;gap:10px;border-radius:14px}html body section.alst#client-stories .alst-fi{flex:0 0 32px;width:32px;height:32px}html body section.alst#client-stories .alst-ft b{font-size:14px;line-height:1.2}html body section.alst#client-stories .alst-f:not(.is-on){background:color-mix(in srgb,white 45%,transparent)}}
/* 'Your story' CTA: calmer heading size on small phones */
@media (max-width:480px){html body .alys{padding:72px 20px}html body .alys-copy h1,html body .alys-copy h2{font-size:36px}}

/* Story pages */
@media (max-width:760px){
html body section.alsp{padding:32px 16px 64px}
html body section.alsp .alsp-main{gap:36px}
html body section.alsp .alsp-name{font-size:clamp(32px,9vw,40px)}
html body section.alsp .alsp-role p{font-size:16px}
html body section.alsp .alsp-video{border-radius:20px}
html body section.alsp .alsp-svcs{gap:10px}
html body section.alsp .alsp-svc{padding:14px;gap:12px;border-radius:16px}
html body section.alsp .alsp-svc-ic{width:38px;height:38px}
html body section.alsp .alsp-svc-tx b{font-size:15px}
html body section.alsp .alsp-hls{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body section.alsp .alsp-hl{padding:18px;border-radius:18px}
html body section.alsp .alsp-hl b{font-size:clamp(22px,6.6vw,30px);white-space:normal;overflow-wrap:break-word}
html body section.alsp .alsp-hl span{font-size:14px}
html body section.alsp .alsp-art{gap:28px;padding-top:0}
html body section.alsp .alsp-body p{font-size:17px}
html body section.alsp .alsp-body h3{font-size:22px}
html body section.alsp .alsp-pq{gap:16px}
html body section.alsp .alsp-tr{padding:20px 16px}
html body section.alsp .alsp-tr-b{max-height:70vh}
html body section.alsp .alsp-turn{grid-template-columns:32px minmax(0,1fr);gap:10px}
html body section.alsp .alsp-turn-av{width:32px;height:32px;font-size:13px}
html body section.alsp .alsp-turn-b p{font-size:15px}
html body section.alsp .alsp-more-h{margin:16px 0 20px}
html body section.alsp .alsp-cards{gap:16px}
html body section.alsp .alsp-card-ph{aspect-ratio:4/3}
}

/* Savings calculator: the big figure always fits the card; anchor lands below the sticky header */
html body .alsv select{scroll-margin-top:140px}
@media (max-width:600px){html body .alsv .alsv-big{font-size:clamp(38px,12.5vw,64px)}html body .alsv .alsv-f,html body .alsv .alsv-r{border-radius:22px;padding:24px 20px}}

/* Compare hero: reserve two lines for the typed phrase so the page doesn't jump while it types */
@media (max-width:760px){html body .alth h2{font-size:clamp(32px,10vw,48px)}html body .alth h2 em{min-height:2.2em}}

/* Compare table: wider text columns, logos fit their column, long prices wrap */
@media (max-width:860px){html body .alcs .alcs-t{grid-template-columns:30% 35% 35%}html body .alcs .alcs-t::before{left:30%;width:35%}html body .alcs .alcs-t::after{left:calc(30% + 12px);width:calc(35% - 24px)}html body .alcs .alcs-t .alcs-c{min-width:0;padding:10px 6px;font-size:12.5px;overflow-wrap:break-word}html body .alcs .alcs-t .alcs-c.l{padding-left:2px}html body .alcs .alcs-h .a b{font-size:16px}html body .alcs .alcs-h .r img{max-width:100%;height:24px}html body .alcs .alcs-bar img{height:22px}html body .alcs .alcs-b h2{font-size:28px}}
/* ===== end mobile fixes ===== */