/* Cross-page fixes applied after legacy inline styles. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

/* Content must remain readable even if IntersectionObserver or animation timing fails. */
.fade-in,
.fade-in-left,
.fade-in-right,
.stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid #1d70b8;
  outline-offset: 3px;
}

.btn {
  white-space: normal;
  justify-content: center;
  text-align: center;
  max-width: 100%;
}

.btn--primary,
.mobile-menu .btn--primary {
  background: var(--red) !important;
  color: #fff !important;
}

.btn--primary:hover,
.btn--primary:focus-visible,
.mobile-menu .btn--primary:hover,
.mobile-menu .btn--primary:focus-visible {
  background: var(--red-dark) !important;
}

.section-eyebrow,
.team__cta-eyebrow,
.read-more-btn,
.form-group--checkbox a,
.legal-content a {
  color: var(--red) !important;
}

.content-intro h2 {
  color: var(--black) !important;
}

.cs-hero__badge {
  background: var(--red) !important;
  color: #fff !important;
}

.blog-card__date,
.blog-article__meta {
  color: #666 !important;
}

.stats-bar {
  background: #333 !important;
}

.stats-bar__number,
.stats-bar__label {
  color: #fff !important;
  opacity: 1 !important;
}

.cs-ba-col--before h3 {
  color: #b42331 !important;
}

.cs-ba-col--after h3 {
  color: #117a37 !important;
}

.job-card__badge {
  color: var(--red) !important;
}

.blog-article__content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.blog-article__content img,
.case-study-content img {
  max-width: 100%;
  height: auto;
}

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group--checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 4px;
  min-width: 18px;
  min-height: 18px;
}

.form-result[role="status"],
#formResult[role="status"],
#apply-result[role="status"] {
  min-height: 1.5em;
}

@media (max-width: 640px) {
  .btn,
  .btn--large {
    width: auto;
    max-width: 100%;
    padding-inline: 24px;
  }

  .blog-article__content {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
