/* Site-wide UI scale — same button & text sizes across all pages */

/* ── Button shells ── */
._1920-w-dark :is(
  .link,
  .link2,
  .link3,
  .link4,
  .link5,
  .link7,
  .link9,
  .calculator-btn,
  .input2
) {
  min-height: var(--ui-btn-height) !important;
  height: var(--ui-btn-height) !important;
  box-sizing: border-box;
}

.car-page :is(.link, .link2) {
  min-height: var(--ui-btn-height) !important;
  height: auto !important;
  min-width: var(--ui-btn-min-width) !important;
  padding: 12px var(--ui-btn-padding-x) !important;
  box-sizing: border-box;
}

/* ── Button labels ── */
._1920-w-dark :is(
  .call-us,
  .get-pre-approved,
  .get-pre-approved2,
  .get-pre-approved3,
  .calculate,
  .calc-btn-label,
  .subscribe,
  ._1300-183-916,
  .explore-more2,
  .buy-template
) {
  font-size: var(--ui-btn-text) !important;
  line-height: var(--ui-btn-lh) !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.car-page :is(.call-us, .get-pre-approved) {
  font-size: var(--ui-btn-text) !important;
  line-height: var(--ui-btn-lh) !important;
  font-weight: 500 !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* ── UI body copy (export default 14px → unified 16px) ── */
._1920-w-dark :is(
  .we-make-it-easy-for-you,
  .we-are-patient,
  .we-take-the-time-to-understand-your-unique-financial-situation-answer-every-question-and-guide-you-through-the-process-at-a-pace-that-feels-right-for-you,
  .whether-you-re-buying-a-new-or-used-vehicle-we-can-help-you-find-flexible-car-finance-options-with-competitive-solutions-tailored-to-your-budget-and-lifestyle,
  .we-simplify-the-loan-process-from-start-to-finish-providing-expert-guidance-and-tailored-solutions-to-help-you-secure-the-right-finance-with-confidence,
  .rated-4-97-5-from-100-reviews,
  .amount-required,
  .requested-rate,
  .length-of-loan,
  .length-of-loan2,
  .repayment-frequency,
  .balloon,
  .weekly,
  .years,
  .years2,
  .link-home,
  .button-menu-pages,
  .button-menu-more-pages,
  .button-menu-information,
  .button-menu-information2,
  .button-menu-information3,
  .button-menu-information4,
  .button-menu-information5,
  .link-home-1,
  .link-home-2,
  .link-home-3,
  .link-features-1,
  .link-features-2,
  .link-features-3,
  .link-pricing,
  .link-customers,
  .link-about-1,
  .link-about-2,
  .link-about-3,
  .link-request-demo,
  .link-blog,
  .link-contact,
  .link-privacy,
  .link-disclaimer,
  .link-terms,
  .link-linkedin,
  .link-bluesky,
  .link-instagram,
  .link-x-twitter,
  .loan,
  .more-pages,
  .social,
  .monthly-newsletter,
  .copyright-pathfyndr,
  .we-won-t-share-your-data-with-third-parties-ever,
  .footer-email-input,
  .i-recently-used-this-company-when-buying-a-new-car-for-my-large-family-and-was-thoroughly-impressed-su-gin-is-a-knowledgeable-highly-skilled-and-incredibly-friendly-finance-broker-with-finwise-and-an-asset-to-their-company-she-provided-excellent-customer-service-patiently-and-with-full-transparency-addressing-all-our-queries-and-ensuring-we-were-100-satisfied-and-informed-i-cannot-recommend-su-highly-enough
) {
  font-size: var(--ui-text) !important;
  line-height: var(--ui-text-lh) !important;
}

._1920-w-dark .link-x-twitter {
  white-space: nowrap !important;
  width: max-content !important;
  overflow: visible !important;
}

/* Hero lead & section body (17px → 18px for slight bump) */
._1920-w-dark :is(
  .we-match-you-with-the-best-lender-that-offers-the-right-solution-the-best-value-and-a-loan-tailored-to-your-individual-needs,
  .at-pathfyndr-finance-our-expertise-and-quality-customer-service-will-help-you-feel-comfortable-and-confident-that-we-can-assist-you-in-securing-the-best-loan-for-you
) {
  font-size: 18px !important;
  line-height: var(--ui-text-lh) !important;
}

/* Section eyebrows (Goals, About, How we can help, etc.) */
._1920-w-dark :is(
  .goals,
  .why-they-choose-pathfyndr
) {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-size: var(--ui-eyebrow) !important;
  line-height: var(--ui-eyebrow-lh) !important;
  letter-spacing: var(--ui-eyebrow-track) !important;
  height: auto !important;
  overflow: visible !important;
}

._1920-w-dark .why-they-choose-pathfyndr {
  width: auto !important;
  right: auto !important;
  white-space: nowrap !important;
}

/* Calculator field labels inherit ui text via class list above */

@media (min-width: 1280px) {
  .frame .frame-nav :is(
    .link-home,
    .button-menu-pages,
    .button-menu-more-pages,
    .button-menu-information,
    .button-menu-information2,
    .button-menu-information3,
    .button-menu-information4,
    .button-menu-information5
  ) {
    font-size: var(--ui-nav-text) !important;
    line-height: var(--ui-nav-lh) !important;
    font-family: "Inter-Regular", Inter, sans-serif !important;
  }

  .frame .link3 {
    min-width: calc(var(--ui-btn-min-width) + 24px) !important;
    height: var(--ui-btn-height) !important;
    padding: 0 var(--ui-btn-padding-x) !important;
  }

  .frame .link3 ._1300-183-916 {
    font-size: var(--ui-btn-text) !important;
    font-weight: 600 !important;
  }

  .section2 .link,
  .section2 .link2 {
    height: var(--ui-btn-height) !important;
  }

  .calculator-section .calculator-btn,
  .calculator-panel--form .calculator-btn,
  .calculator-panel--form #calc-submit,
  .calculator-panel--summary .calculator-btn {
    height: var(--ui-btn-height) !important;
    min-height: var(--ui-btn-height) !important;
  }

  .calculator-panel--form .calculator-btn .calculate,
  .calculator-section .calculate,
  .calculator-section .get-pre-approved3,
  .calculator-section .calc-btn-label {
    font-size: var(--ui-btn-text) !important;
    line-height: var(--ui-btn-lh) !important;
  }
}

@media (max-width: 1279px) {
  .section2 .hero-cta-row .link,
  .section2 .hero-cta-row .link2,
  .section3 > .background2 .link4,
  .section4 .link5,
  .overlay-border-shadow .link6,
  .overlay-border-shadow2 .link6,
  .overlay-border-shadow3 .link6,
  .overlay-border-shadow4 .link6,
  .overlay-border-shadow5 .link6,
  .overlay-border-shadow6 .link6,
  .overlay-border-shadow7 .link6,
  .overlay-border-shadow8 .link6 {
    min-height: 0 !important;
    height: auto !important;
  }

  .section2 .hero-cta-row .call-us,
  .section2 .hero-cta-row .get-pre-approved,
  .section3 > .background2 .get-pre-approved2,
  .frame-nav .link3 ._1300-183-916,
  .overlay-border-shadow .link6::before,
  .overlay-border-shadow2 .link6::before,
  .overlay-border-shadow3 .link6::before,
  .overlay-border-shadow4 .link6::before,
  .overlay-border-shadow5 .link6::before,
  .overlay-border-shadow6 .link6::before,
  .overlay-border-shadow7 .link6::before,
  .overlay-border-shadow8 .link6::before {
    font-size: var(--ui-btn-text) !important;
    line-height: var(--ui-btn-lh) !important;
  }

  .frame-nav :is(
    .link-home,
    .button-menu-pages,
    .button-menu-more-pages,
    .button-menu-information,
    .button-menu-information2,
    .button-menu-information3,
    .button-menu-information4,
    .button-menu-information5
  ) {
    font-size: var(--ui-text) !important;
    line-height: var(--ui-text-lh) !important;
  }
}

/* Homepage hero — font size only */
@media (min-width: 1280px) {
  .section2
    .we-match-you-with-the-best-lender-that-offers-the-right-solution-the-best-value-and-a-loan-tailored-to-your-individual-needs {
    font-size: 22px !important;
  }

  .section2 .hero-cta-row .call-us,
  .section2 .hero-cta-row .get-pre-approved {
    font-size: 18px !important;
  }

  .section2 .hero-reviews__count {
    font-size: 16px !important;
  }

  .section2 .hero-reviews__tagline {
    font-size: 17px !important;
  }
}

