/* LeadStreamAi.com accessibility layer v1 (WCAG 2.1 AA fixes, 2026-11-18). Loaded on every HTML page.
   Selectors start with `html ` so they win over the later inline premium CSS at equal specificity. */

/* 2.4.1 Bypass blocks: skip link (inserted by lsai-a11y-v1.js) */
html .ls-skip{position:fixed;left:12px;top:-200px;z-index:2147483000;padding:12px 18px;border-radius:10px;background:#f6f4fa;color:#0b0a14;font:600 15px/1.2 Sora,"Helvetica Neue",Arial,sans-serif;text-decoration:none;box-shadow:0 8px 30px rgba(0,0,0,.5)}
html .ls-skip:focus,html .ls-skip:focus-visible{top:12px;outline:3px solid #a583ff;outline-offset:2px}
html [data-ls-skip-target]:focus{outline:none}

/* 1.4.3 Contrast: small text in brand violet #7b33ff is 3.5:1 on the dark background; use the text tint #a583ff (6.8:1) */
html .ls-card__num,html .ls-prose h2:before,html .ls-menu__nav a span,html .ls-choice legend b{color:var(--ls-violet-text,#a583ff)}

/* 1.4.3 Contrast: process-map cards waiting for their scroll step were 3.6:1; raise the resting opacity to 0.75 (4.9:1) */
html .pm-node__card{opacity:.75}
html .pm-node.is-on .pm-node__card{opacity:1}

/* 1.4.3 Contrast: word-by-word scroll statement started at 1.4:1; floor raised to 0.4 opacity (3.5:1 for this large bold text) */
html .pm-statement.is-live .pm-w{opacity:calc(.4 + clamp(0, (var(--p,1) * 1.6 - .25 - var(--k)) * 6, 1) * .6)}

/* 1.4.1 Use of color: the booking fallback link sat in body text with color as the only cue */
html .ls-cal__fallback a{text-decoration:underline;text-underline-offset:3px}

/* 1.4.10 Reflow: Spanish header overflowed by 8px at 320px wide */
@media (max-width:359px){html[lang=es] header .hd .lang{padding:0 10px}html[lang=es] header img{height:26px}}

/* 2.3.3 / 2.2.2 Reduced motion: stop looping decorative animation (Ken Burns hero image, pulsing dots, scroll hints) */
@media (prefers-reduced-motion:reduce){
  html *,html *::before,html *::after{animation-iteration-count:1!important;animation-duration:.001ms!important;animation-delay:0s!important}
  html .ls-hero__img,html .ls-split__media img{animation:none!important;transform:none!important}
}

/* 2.5.8 Target size (WCAG 2.2 AA, beyond 2.1): footer "Cookie settings" / "Your Privacy Choices" buttons were under 24px tall */
html .ls-footer__legal .ls-footer__linkbtn{min-height:24px;padding-top:3px;padding-bottom:3px;vertical-align:middle}
