/* The shared legacy theme gives paragraph and heading sizes priority. */
body .services-hero .sh-title {
  font-size: clamp(1.75rem, 3.8vw, 3rem) !important;
  line-height: 1.28 !important;
  text-wrap: balance;
}

body .services-hero .sh-sub,
body main.sp .sp-lead p {
  font-size: clamp(1rem, 1.4vw, 1.125rem) !important;
  line-height: 1.7 !important;
}

body .services-hero .sh-note,
body .services-hero .sh-glass p,
body main.sp .sp-crumb,
body main.sp .sp-cap-fig {
  font-size: .875rem !important;
  line-height: 1.55 !important;
}

body .services-hero .sh-cta-wrap a,
body .services-grid .svc-cta-link,
body .cta-full .cta-buttons a,
body main.sp a.sp-btn {
  min-height: 48px;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

body :is(.xfp-brand-discovery, .xfp-intent-discovery, .xfp-proof-discovery, .xfp-more-discovery) .sub,
body .services-grid .sg-head p,
body .price-section .ps-head p,
body .steps-section .ss-head p,
body .services-grid .service-box > p,
body .steps-section .step-card > p,
body .faq-sec .faq-answer p,
body main.sp :is(.sp-sec .sub, .sp-box p, .sp-step p, .sp-faq p, .sp-final p) {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

body :is(.xfp-brand-discovery, .xfp-intent-discovery, .xfp-proof-discovery, .xfp-more-discovery) .grid > a {
  min-width: 0;
  min-height: 48px;
  font-size: .9375rem !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

body .services-grid .service-box,
body .steps-section .step-card,
body main.sp :is(.sp-box, .sp-step) {
  border-radius: 18px;
}

body .services-grid .service-box .service-title,
body .steps-section .step-card .step-title,
body main.sp :is(.sp-box h3, .sp-step h4, .li-cause h3) {
  font-size: 1.125rem !important;
  font-weight: 600;
  line-height: 1.45 !important;
}

body .services-grid .service-box .service-sub,
body .price-section .ps-note,
body .faq-sec .faq-note {
  font-size: .9375rem !important;
  line-height: 1.55 !important;
}

body main.sp .sp-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.875rem) !important;
  line-height: 1.25 !important;
  text-wrap: balance;
}

body main.sp .sp-sec h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem) !important;
  line-height: 1.35 !important;
}

body main.sp .sp-links a,
body main.sp .sp-faq summary {
  font-size: 1rem !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 540px) {
  body .services-hero .sh-cta-wrap a,
  body main.sp .sp-hero .sp-cta a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
