/* USA AUTO light-theme contrast audit v3.
   Final override layer: readable text hierarchy on every light surface. */
html[data-theme="light"]{
  --contrast-ink:#17202b;
  --contrast-title:#202a36;
  --contrast-copy:#465364;
  --contrast-muted:#526071;
  --contrast-subtle:#5b6878;
  --contrast-gold:#754900;
  --contrast-gold-strong:#8b5700;
  --contrast-green:#147a42;
}

/* Main section typography */
html[data-theme="light"] .premium-section-panel h2,
html[data-theme="light"] .extra-head h2,
html[data-theme="light"] .faq-head h2,
html[data-theme="light"] .contact-box h2,
html[data-theme="light"] .lead-copy h2{
  color:var(--contrast-ink)!important;
  -webkit-text-fill-color:var(--contrast-ink)!important;
  background:none!important;
  text-shadow:none!important;
}
html[data-theme="light"] .premium-section-panel .mobile-section-head>span,
html[data-theme="light"] .extra-head>span,
html[data-theme="light"] .faq-head>span,
html[data-theme="light"] .contact-label,
html[data-theme="light"] .lead-kicker{
  color:var(--contrast-gold)!important;
  text-shadow:none!important;
}
html[data-theme="light"] .premium-section-panel p,
html[data-theme="light"] .extra-head p,
html[data-theme="light"] .faq-head p,
html[data-theme="light"] .contact-copy>p,
html[data-theme="light"] .lead-intro,
html[data-theme="light"] .mobile-info-card p,
html[data-theme="light"] .extra-card p,
html[data-theme="light"] .review-card p,
html[data-theme="light"] .faq-item p{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .mobile-info-card h3,
html[data-theme="light"] .extra-card h3,
html[data-theme="light"] .mobile-process-step strong,
html[data-theme="light"] .review-card strong,
html[data-theme="light"] .faq-item summary,
html[data-theme="light"] .contact-actions-title{
  color:var(--contrast-title)!important;
  -webkit-text-fill-color:var(--contrast-title)!important;
}
html[data-theme="light"] .mobile-process-step span,
html[data-theme="light"] .mobile-benefit span,
html[data-theme="light"] .contact-location small,
html[data-theme="light"] .contact-note{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .contact-location strong,
html[data-theme="light"] .contact-meta span{
  color:var(--contrast-title)!important;
}

/* Free-calculation form */
html[data-theme="light"] .lead-form-head strong,
html[data-theme="light"] .lead-step strong,
html[data-theme="light"] .lead-field,
html[data-theme="light"] .lead-label{
  color:var(--contrast-title)!important;
}
html[data-theme="light"] .lead-form-head small,
html[data-theme="light"] .lead-step small,
html[data-theme="light"] .lead-time,
html[data-theme="light"] .lead-trust,
html[data-theme="light"] .lead-trust span,
html[data-theme="light"] .lead-note,
html[data-theme="light"] .lead-consent{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .lead-label svg{
  color:var(--contrast-gold-strong)!important;
  stroke:currentColor!important;
}
html[data-theme="light"] .lead-label b{
  color:var(--contrast-gold-strong)!important;
}
html[data-theme="light"] .lead-form input,
html[data-theme="light"] .lead-form select,
html[data-theme="light"] .lead-form textarea,
html[data-theme="light"] .lead-form option{
  color:var(--contrast-ink)!important;
}
html[data-theme="light"] .lead-form input::placeholder,
html[data-theme="light"] .lead-form textarea::placeholder{
  color:#687585!important; /* 4.70:1 on white */
  opacity:1!important;
}
html[data-theme="light"] .lead-consent a,
html[data-theme="light"] .cookie-copy a,
html[data-theme="light"] .legal-card a:not(.legal-button){
  color:#704500!important;
}
html[data-theme="light"] .lead-error{
  color:#9c2424!important;
}

/* Footer */
html[data-theme="light"] .footer-column-title,
html[data-theme="light"] .footer-contact-copy b{
  color:var(--contrast-ink)!important;
}
html[data-theme="light"] .footer-card-heading small,
html[data-theme="light"] .footer-contact-copy span,
html[data-theme="light"] .footer-contact-arrow,
html[data-theme="light"] .footer-bottom{
  color:var(--contrast-muted)!important;
}
html[data-theme="light"] .footer-legal a,
html[data-theme="light"] .footer-legal button{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .footer-legal a:hover,
html[data-theme="light"] .footer-legal button:hover{
  color:var(--contrast-gold)!important;
}

/* Cookie banner */
html[data-theme="light"] .cookie-copy strong{
  color:var(--contrast-ink)!important;
}
html[data-theme="light"] .cookie-copy p{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .cookie-reject{
  color:var(--contrast-title)!important;
}

/* Legal and thank-you pages */
html[data-theme="light"] .legal-card h1,
html[data-theme="light"] .legal-card h2,
html[data-theme="light"] .legal-contact strong,
html[data-theme="light"] .legal-help strong{
  color:var(--contrast-ink)!important;
  -webkit-text-fill-color:var(--contrast-ink)!important;
}
html[data-theme="light"] .legal-card p,
html[data-theme="light"] .legal-card li,
html[data-theme="light"] .legal-meta,
html[data-theme="light"] .legal-contact span,
html[data-theme="light"] .thankyou-card>p,
html[data-theme="light"] .legal-brand-copy small{
  color:var(--contrast-copy)!important;
}
html[data-theme="light"] .legal-eyebrow,
html[data-theme="light"] .legal-brand-copy strong{
  color:var(--contrast-gold)!important;
}

/* Mobile navigation */
html[data-theme="light"] .mobile-menu a:not(.mobile-menu-cta){
  color:var(--contrast-title)!important;
}
html[data-theme="light"] .mobile-menu .mobile-menu-cta{
  color:#fff!important;
}

/* Consistent, complete phone pictogram in the request form. */
.lead-label-phone svg{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  overflow:visible;
}
.lead-label-phone svg path{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* High-specificity final pass for legacy selectors that use !important. */
html[data-theme="light"] body .contact-box.premium-section-panel .contact-copy>p{
  color:#465364!important;
}
html[data-theme="light"] body .footer-ads-ready .footer-card-heading small,
html[data-theme="light"] body .footer-ads-ready .footer-contact-copy span,
html[data-theme="light"] body .footer-ads-ready .footer-contact-arrow,
html[data-theme="light"] body .footer-ads-ready .footer-bottom{
  color:#526071!important;
}
html[data-theme="light"] body .footer-ads-ready .footer-legal a,
html[data-theme="light"] body .footer-ads-ready .footer-legal button{
  color:#465364!important;
}
html[data-theme="light"] body .lead-panel.premium-section-panel .lead-form-head small,
html[data-theme="light"] body .lead-panel.premium-section-panel .lead-step small,
html[data-theme="light"] body .lead-panel.premium-section-panel .lead-note,
html[data-theme="light"] body .lead-panel.premium-section-panel .lead-consent{
  color:#465364!important;
}
