/* v1019: all-page contrast review and targeted homepage readability refinements. */

/* The service-page link sits directly on the tinted document background. */
html[data-theme="dark"] body #services .services-primary-cta .service-page-link-primary,
html[data-theme="dark"] body #services .services-primary-cta .service-page-link-primary:hover,
html[data-theme="dark"] body #services .services-primary-cta .service-page-link-primary:focus-visible {
  color: #fffaf0 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 2px rgba(8, 31, 48, .38) !important;
  border-bottom-color: rgba(255, 240, 197, .86) !important;
}
html[data-theme="dark"] body #services .services-primary-cta .service-page-link-primary::after {
  color: #fff0c5 !important;
}

/* Keep the estimator introduction and its note on warm, opaque reading surfaces. */
html body #pricing .pricing-estimator-launch,
html body #pricing .pricing-disclaimer-card {
  background: linear-gradient(135deg, #fffdf8, #fff8e9) !important;
  border: 1px solid rgba(30, 58, 88, .18) !important;
  box-shadow: 0 10px 26px rgba(12, 38, 58, .10) !important;
}
html body #pricing .pricing-estimator-launch-copy strong,
html body #pricing .pricing-disclaimer-card strong {
  color: #173755 !important;
}
html body #pricing .pricing-estimator-launch-copy span,
html body #pricing .pricing-disclaimer-card,
html body #pricing .pricing-disclaimer-card p {
  color: #34465c !important;
  opacity: 1 !important;
}

/* FAQ answers need the same strong contrast and comfortable reading size on all screens. */
html body #faq :is(.faq-accordion p, .faq-column p) {
  color: #26394f !important;
  font-size: clamp(14.5px, 1.08vw, 16px) !important;
  line-height: 1.52 !important;
  font-weight: 500 !important;
}
html body #faq :is(.faq-accordion summary, .faq-column summary) {
  color: #172f49 !important;
}

@media (max-width: 899px) {
  html body #faq :is(.faq-accordion p, .faq-column p) {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}
