/* WCAG AA + craft overrides, loaded after the webpack bundle.
   Merge into assets/css source at the next bundle rebuild, then delete this file. */

/* 1. Primary CTA: white on #F03E04 was 3.9:1; #CC3300 gives 5.2:1 */
.btn--primary_reverse  {
  background-color: #cc3300;
}
.btn--primary_reverse:hover {
  background-color: #b32e00;
}

/* 2. Badge pair on the red hero: #FCE189-on-red was 3.0:1 */
.badge__text { color: #ffffff; }
.badge__subtitle { color: #a62a00; } /* 5.5:1 on #FCE189 */

/* 3. Footer links: #F03E04 on #FAFAFA was 3.7:1; #CC3300 gives 4.98:1 */
footer a { color: #cc3300; }

/* 4. Homepage hero only: white copy over the gradient's light end needs a soft scrim.
   Scoped to .home-page, since other pages use the light hero variant (orange text on white). */
.home-page .hero__title,
.home-page .hero__subtitle,
.home-page .hero__description {
  text-shadow: 0 1px 2px rgba(43, 17, 4, 0.35), 0 2px 18px rgba(43, 17, 4, 0.25);
}

/* 5. Mobile hamburger: hit area was 31x8px */
.nav__mobile-toggle {
  width: 44px;
  height: 44px;
  padding: 15px 6px;
  box-sizing: border-box;
  margin: 0;
}

/* 6. Cookie banner policy link: 17px hit area */
#cookie-consent-banner a {
  display: inline-block;
  padding: 6px 0;
}

/* 7. Typography craft: letters were touching at -0.06em; floor at -0.04em */
.targeting .targeting__title,
.smartlink-page .smartlink-verticals .smartlink-verticals__title,
.verticals-page .main-niches .main-niches__title,
.house-offers-page .main-niches .main-niches__title {
  letter-spacing: -0.04em !important;
}
.home-page .academy h3,
.home-page .academy h3 a {
  letter-spacing: -0.02em !important;
}

/* 8. Cramped leading on card copy */
.feature-text,
.academy__description-text {
  line-height: 1.4;
}

/* 9. Visible brand focus ring (was UA default only) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2b313d;
  outline-offset: 2px;
}
