/* Buttons: one system across the site (loaded after the other stylesheets).
   Pills with a drawn arrow in its own round chip (.btn-ico). The chip holds two copies of the
   arrow: on hover the first slides out to the right as the second slides in from the left.
   Primary, brand blue: on light backgrounds (header, page heroes, forms).
   Accent, brand yellow: on blue or dark backgrounds (homepage hero, gateway band,
   closing panels). */
.button,.nav-cta,.gw-close-cta{
  display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;height:48px;padding:0 6px 0 22px;
  border:0;border-radius:999px;font:600 14.5px/1 'DM Sans',sans-serif;letter-spacing:0;text-decoration:none;cursor:pointer;
  transition:background .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}
.btn-ico{position:relative;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden}
.btn-ico svg{position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .4s cubic-bezier(.65,0,.35,1)}
.btn-ico svg+svg{transform:translateX(-200%)}
.button:hover,.nav-cta:hover,.gw-close-cta:hover{transform:translateY(-1px)}
:is(.button,.nav-cta,.gw-close-cta):is(:hover,:focus-visible) .btn-ico svg{transform:translateX(200%)}
:is(.button,.nav-cta,.gw-close-cta):is(:hover,:focus-visible) .btn-ico svg+svg{transform:none}
.button:active,.nav-cta:active,.gw-close-cta:active{transform:none}

/* Primary: brand blue, white chip */
.button,.button.primary,.nav-cta{background:#1b4585;color:#fff}
.button .btn-ico,.nav-cta .btn-ico{background:#fff;color:#1b4585}
.button:hover,.button.primary:hover,.nav-cta:hover{background:#163a70;box-shadow:0 10px 22px rgba(27,69,133,.25)}
html[data-theme=dark] .button,html[data-theme=dark] .button.primary,html[data-theme=dark] .nav-cta{background:#2f62b3}
html[data-theme=dark] .button:hover,html[data-theme=dark] .button.primary:hover,html[data-theme=dark] .nav-cta:hover{background:#3a70c4;box-shadow:0 10px 22px rgba(0,0,0,.35)}
.button:focus-visible,.nav-cta:focus-visible{outline:2px solid #faa61a;outline-offset:3px}

/* Accent: brand yellow, navy chip (on blue or dark backgrounds) */
.scan-hero .button.primary,.button.white,.gw-close-cta{background:#faa61a;color:#14284a;border:0}
.scan-hero .button.primary .btn-ico,.button.white .btn-ico,.gw-close-cta .btn-ico{background:#14284a;color:#faa61a}
.scan-hero .button.primary:hover,.button.white:hover,.gw-close-cta:hover{background:#ffb83f;box-shadow:0 10px 24px rgba(5,15,35,.35)}
html[data-theme=dark] .scan-hero .button.primary,html[data-theme=dark] .button.white{background:#faa61a}
.scan-hero .button.primary:focus-visible,.button.white:focus-visible,.gw-close-cta:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* Header: a smaller pill */
.nav-cta{height:40px;padding:0 5px 0 16px;gap:10px;font-size:13px}
.nav-cta .btn-ico{width:30px;height:30px}
.nav-cta .btn-ico svg{width:15px;height:15px;margin:-7.5px 0 0 -7.5px}
@media(max-width:1150px){.nav-cta{display:none}} /* as before: the header has no room for it */

@media(prefers-reduced-motion:reduce){
  .button,.nav-cta,.gw-close-cta,.btn-ico svg{transition:none}
}
