/* Accessibility layer, WCAG 2.2 AA. Loaded after ds.css on every page. */

/* 1.4.3: brand mint is 2:1 on white, so mint text on light backgrounds uses the darker mint (3.5:1). Dark sections keep the bright mint. */
:root{--jd-mint-text:#1E9A75}
.hl--3 .hl__in,.deliv__n,.princ__n,.nstep__n{color:var(--jd-mint-text)}
.jd-theme-ink .hl--3 .hl__in,.scan .hl--3 .hl__in,.jd-theme-ink .deliv__n,.jd-theme-ink .princ__n,.jd-theme-ink .nstep__n{color:var(--jd-mint)}

/* 1.4.3: white text on mint is 2:1, so the "this spot is saved for your business" card uses ink text like the other mint sections */
.proj__end-title{color:#0B0F14}
.proj__end>.jd-label{color:rgba(11,15,20,.72)}

/* 1.4.3: words that are not lit yet in the scroll reveal text stay above 3:1 */
.motion .scrub .w{opacity:.5}

/* 1.4.3: the "scroll sideways" hint on dark diagrams */
.jd-dia .hs__hint,.jd-dia .hs__hint span,.jd-theme-ink .hs__hint,.jd-theme-ink .hs__hint span{color:rgba(255,255,255,.72)}

/* 2.5.8: the services menu toggle is at least 24px and not covered by the link next to it */
.mm-btn{width:28px!important;height:28px!important;margin-inline-start:-2px!important}

/* 1.4.10 + 1.4.12: nothing pushes the page sideways on a 320px screen or with user text spacing */
.jd-btn,.jd-tag,.jd-dim__text,.link-arrow,.link-arrow>span{white-space:normal;overflow-wrap:break-word;max-width:100%}
h1,h2,h3{overflow-wrap:break-word}
.crumbs ol{flex-wrap:wrap}
.prose,dd{overflow-wrap:anywhere}
.phero__in>*,.phero__foot>*,.phero__side>*,.phero__side dl>*{min-width:0}

/* 2.2.2: moving strips rest 5 seconds after the last scroll and pause on hover or keyboard focus */
.idle .lz-strip__track,.idle .lpx-strip__track,.idle .jd-marquee--css .jd-marquee__track,
.lz-strip:focus-within .lz-strip__track,.lpx-strip:focus-within .lpx-strip__track{animation-play-state:paused}
.jd-fab__dot::after,.hs__hint .jd-i,.jd-mouse::after{animation-iteration-count:3}

/* landing pages (/lp/): 1.4.3 contrast on the mint testimonials block, 4.1.2 a name for the phone icon links, 1.4.10 top bar fits 320px */
html .lz-num--ink{color:var(--lz-ink)}
@media (min-width:861px){html .lz-said__tabs button{opacity:.75}}
@media (max-width:640px){html .lz-bar__tel span,html .lpx-bar__tel span{display:block;position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}}
@media (max-width:420px){html .lpx-bar__in{gap:10px}html .lpx-bar__logo .jd-logo{--logo-h:15px}html .lpx-bar__wa{width:44px;padding:0;justify-content:center}html .lpx-bar__wa>span:not(.jd-sr-only){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}}
