/* BridgeCare — shared styles.
   Brand accent: change --accent here and every page follows. */
:root {
  --accent: #4B44D6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; }
a { color: #0D0F14; }
a:hover { color: #4A5163; }
img, svg { max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Phone: nav links get their own scrollable row; Sign in moves out of the header. */
@media (max-width: 640px) {
  nav[aria-label="Primary"] > div:nth-child(2) {
    order: 3;
    width: 100%;
    flex-wrap: nowrap !important;
    gap: 22px !important;
    overflow-x: auto;
  }
  nav[aria-label="Primary"] > div:nth-child(3) > a:first-child { display: none !important; }
}
