/* Shared accessibility and responsive refinements, November 2026. */
:root{--kba-focus:#075c99}
html{scroll-padding-top:165px}
[hidden]{display:none!important}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--kba-focus)!important;outline-offset:5px}
header .state-chooser-row{padding-top:2px!important;padding-bottom:5px!important}
header .state-chooser-row a{min-height:36px;padding:4px 13px;border-radius:999px;background:#e9f5fc;color:#16486a}
header .state-chooser-row a:last-child{background:#fff3cf}
body.home-page.kba-redesign #main-content .home-hero-actions{position:relative;z-index:2;display:flex!important;justify-content:center;align-items:stretch;gap:16px!important;margin:25px auto 12px!important;flex-wrap:wrap}
body.home-page.kba-redesign #main-content .home-hero-actions a{display:inline-flex!important;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:12px 25px!important;border-radius:999px!important;font-size:16px!important;font-weight:750;line-height:1.4;border:2px solid #287ba9!important;text-decoration:none!important;box-sizing:border-box;transition:transform .2s,box-shadow .2s}
body.home-page.kba-redesign #main-content .home-hero-actions .hero-primary{background:#167eb0!important;color:white!important}
body.home-page.kba-redesign #main-content .home-hero-actions .hero-secondary{background:#fff!important;color:#18557b!important}
body.home-page.kba-redesign #main-content .home-hero-actions a:hover{transform:translateY(-2px);box-shadow:0 8px 20px #1d29491a}
body.kba-redesign .theme-people .theme-quote{display:grid!important;gap:24px!important}
.kba-benefit{position:relative;padding:0 0 20px 55px;border-bottom:1px solid #92b7cb55}
.kba-benefit:last-child{border:0;padding-bottom:0}
.kba-benefit>span{position:absolute;left:0;top:0;color:#26799e;font-weight:750;font-size:17px;letter-spacing:.04em}
.kba-benefit h3{font-size:clamp(21px,2.3vw,29px)!important;line-height:1.25;margin:0 0 8px!important;color:#1d2949}
body.kba-redesign .kba-benefit p{font-size:17px!important;line-height:1.65!important;margin:0!important;font-weight:400!important;color:#355469!important}
.expect-timeline li::marker{content:''}
.contact-options,.footer-contact-list{flex-wrap:wrap;gap:12px!important}
main p,main li{overflow-wrap:break-word}
@media(max-width:1000px) and (min-width:801px){header .brand{max-width:240px!important}header #nav{gap:12px!important}header #nav>a{font-size:12px!important}}
@media(max-width:800px){
 html{scroll-padding-top:100px}
 header .state-chooser-row{margin-top:10px!important;padding:10px 0!important;gap:8px!important}
 header .state-chooser-row a{padding:8px 15px!important;min-height:44px!important}
 .nav-menu-area.open{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 .nav-menu-area #nav.open{max-height:none!important;overflow:visible!important}
 body.home-page.kba-redesign #main-content .home-hero-actions{gap:10px!important;margin:20px auto 8px!important;width:100%}
 body.home-page.kba-redesign #main-content .home-hero-actions a{flex:1 1 170px;min-height:50px;font-size:15px!important;padding:11px 15px!important}
 body.kba-redesign .theme-home-headline{font-size:clamp(32px,8vw,52px)!important;line-height:1.15!important}
 body.kba-redesign .theme-idd-eyebrow{font-size:11px!important;line-height:1.6;letter-spacing:.1em!important}
 .kba-benefit{padding-left:43px}
 body.kba-redesign .theme-people .theme-quote{text-align:left!important}
 input,select,textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}
 .footer-contact-list{justify-content:center!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.kba-reveal,.kba-word{opacity:1!important;transform:none!important}}
@media print{header,#kba-chat,.contact-shortcuts{display:none!important}.kba-reveal,.kba-word{opacity:1!important;transform:none!important}}
body.home-page.kba-redesign #main-content .theme-people .theme-quote{background:transparent!important;border-radius:0!important;outline:0!important;padding:0!important}
body.home-page.kba-redesign #main-content .home-hero-actions{flex-direction:row!important}
body.home-page.kba-redesign #main-content .home-hero-actions a{height:auto!important;min-width:0!important;box-shadow:none!important}
@media(max-width:800px){body.home-page.kba-redesign #main-content .home-hero-actions a{flex:1 1 145px!important;min-height:50px!important}}
@media(max-width:800px){body.kba-redesign header .nav-menu-area.open .state-chooser-row{display:flex!important;justify-content:flex-start!important}}

/* Keep navigation in the same palette as the homepage actions and cards. */
body.kba-redesign header #nav > a {
  color: #092e59 !important;
  border-radius: .5rem;
  box-shadow: inset 0 -2px transparent;
}

body.kba-redesign header #nav > a:hover {
  color: #07577f !important;
  background: #edf7fc;
  box-shadow: inset 0 -2px #78b9da;
}

body.kba-redesign header #nav > a[aria-current="page"],
body.kba-redesign header #nav > a.active {
  color: #07577f !important;
  background: #d4eaf8;
  box-shadow: inset 0 -2px #167eb0;
}

body.kba-redesign header #nav > a:focus-visible,
body.kba-redesign header .menu:focus-visible {
  outline: 2px solid #12668f;
  outline-offset: 2px;
}

body.kba-redesign header .menu {
  color: #092e59;
  background: #e4f2fb;
  border-color: #9ac5df;
}

@media (min-width: 1101px) {
  body.kba-redesign header #nav > a {
    padding-inline: .42rem !important;
  }
}

body.kba-redesign header #nav > a {
  font-size: .875rem !important;
}

.kba-finder-result {
  scroll-margin-block-start: 8rem;
}

.resource-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}

.resource-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .85rem;
  border: 1px solid #b9d8ed;
  border-radius: .65rem;
  background: #edf7fc;
  color: #092e59 !important;
  font-weight: 700;
}

.resource-shortcuts a:hover {
  background: #d4eaf8;
}

.resource-shortcuts a:focus-visible {
  outline: 2px solid #12668f;
  outline-offset: 2px;
}
