:root {
  --nqm-fr-navy: #071b33;
  --nqm-fr-blue: #102a44;
  --nqm-fr-ink: #0e1a2b;
  --nqm-fr-muted: #536172;
  --nqm-fr-sage: #a8b99f;
  --nqm-fr-sage-soft: #eef5ee;
  --nqm-fr-paper: #fffdf8;
  --nqm-fr-gold: #f6c85f;
  --nqm-fr-line: #cbd8cf;
}

/* Restore the approved homepage hero typography after the theme fallback lock. */
body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(3.3rem, 7vw, 6.6rem) !important;
  line-height: .91 !important;
  letter-spacing: -.075em !important;
  margin: 0 0 24px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-component-block {
  line-height: 1.55 !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .eyebrow {
  font-size: 12px !important;
  line-height: 1.55 !important;
  letter-spacing: .16em !important;
  margin: 0 0 14px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .floating-card,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .floating-card p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .program-group a,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .step p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .final-box p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .btn {
  line-height: 1.55 !important;
}

@media (max-width: 680px) {
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
    line-height: .98 !important;
    letter-spacing: -.072em !important;
  }
}

/* Restore the approved hero-photo edge and floating review-card overlap. */
body.home .nqm-main .nqm-home-hero-block .hero-media {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-media::before,
body.home .nqm-main .nqm-home-hero-block .hero-media::after {
  content: none !important;
  display: none !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-photo {
  border: 0 !important;
  border-radius: 38px !important;
  background: transparent !important;
  box-shadow: 0 24px 70px rgba(7, 27, 51, .14), inset 0 0 0 1px rgba(7, 27, 51, .08) !important;
  overflow: hidden !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-photo img,
body.home .nqm-main .nqm-home-hero-block .hero-photo::after {
  border-radius: 38px !important;
}

body.home .nqm-main .nqm-home-hero-block .floating-card {
  left: -34px !important;
  right: auto !important;
  bottom: 34px !important;
  width: min(390px, 82%) !important;
  max-width: none !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, .75) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 24px 60px rgba(7, 27, 51, .25) !important;
}

@media (max-width: 1050px) {
  body.home .nqm-main .nqm-home-hero-block .floating-card {
    left: 24px !important;
  }
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-home-hero-block .floating-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    width: auto !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }
}

/* Keep the approved loan-path area as a full-width section band, not a card. */
body.home .nqm-main .nqm-component-block.nqm-home-paths-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 86px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f7f2 !important;
  box-shadow: none !important;
}

body.home .nqm-main .nqm-home-paths-block > .wrap {
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.home .nqm-main .nqm-home-paths-block .section-head,
body.home .nqm-main .nqm-programs-overview-block .section-head,
body.home .nqm-main .nqm-how-it-works-block .section-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 30px !important;
  margin-bottom: 34px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.3rem, 5vw, 4.7rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
  margin: 0 !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head > p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head > p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head > p {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-component-block.nqm-home-paths-block {
    padding: 64px 0 !important;
  }
}

/* Match the approved programs and process blocks instead of global section cards. */
body.home .nqm-main .nqm-component-block.nqm-programs-overview-block,
body.home .nqm-main .nqm-component-block.nqm-how-it-works-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 86px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fbfaf4 !important;
  box-shadow: none !important;
}

body.home .nqm-main .nqm-programs-overview-block > .wrap,
body.home .nqm-main .nqm-how-it-works-block > .wrap {
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head h2,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.3rem, 5vw, 4.7rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
  margin: 0 !important;
}

/* Restore the approved full-bleed story band and its constrained inner grid. */
body.home .nqm-main .nqm-component-block.nqm-story-section-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(42px, 6vh, 58px) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #071b33, #102a44) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.home .nqm-main .nqm-story-section-block > .wrap.story-grid {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important;
  gap: clamp(28px, 3vw, 42px) !important;
  align-items: center !important;
}

body.home .nqm-main .nqm-story-section-block .story-image {
  min-height: 0 !important;
  height: clamp(340px, 42vw, 430px) !important;
  max-height: 52vh !important;
  margin: 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(7, 27, 51, .14) !important;
}

body.home .nqm-main .nqm-story-section-block .story-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center 42% !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.25rem, 4.1vw, 3.85rem) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  margin: 0 0 16px !important;
  max-width: 760px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy > p {
  max-width: 680px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.5 !important;
  color: #dce7dd !important;
}

body.home .nqm-main .nqm-story-section-block .check-list {
  gap: 10px !important;
  margin-top: 20px !important;
}

body.home .nqm-main .nqm-story-section-block .check {
  gap: 11px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.home .nqm-main .nqm-story-section-block .check b {
  width: 26px !important;
  height: 26px !important;
  font-size: .92rem !important;
}

body.home .nqm-main .nqm-story-section-block .check span {
  color: #fff !important;
  font-size: .98rem !important;
  line-height: 1.25 !important;
}

body.home .nqm-main .nqm-story-section-block .check small {
  margin-top: 3px !important;
  color: #c8d5dc !important;
  font-size: .79rem !important;
  line-height: 1.35 !important;
}

/* Match the approved closing CTA's inner width, type rhythm, and controls. */
body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  grid-template-columns: 1fr auto !important;
  gap: 28px !important;
  padding: 38px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .final-box h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
  margin: 0 0 10px !important;
}

body.home .nqm-main .nqm-final-cta-block .cta-row {
  gap: 12px !important;
}

body.home .nqm-main .nqm-final-cta-block .btn {
  min-height: 52px !important;
  padding: 0 22px !important;
}

@media (max-width: 1050px) {
  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid,
  body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 880px) {
  body.home .nqm-main .nqm-component-block.nqm-story-section-block {
    padding: 54px 0 !important;
  }

  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid {
    gap: 26px !important;
  }

  body.home .nqm-main .nqm-story-section-block .story-image {
    height: clamp(300px, 58vw, 420px) !important;
    max-height: none !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
    font-size: clamp(2.25rem, 8vw, 3.6rem) !important;
  }
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-home-paths-block .section-head,
  body.home .nqm-main .nqm-programs-overview-block .section-head,
  body.home .nqm-main .nqm-how-it-works-block .section-head {
    display: block !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head > p,
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head > p,
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head > p {
    margin-top: 14px !important;
  }

  body.home .nqm-main .nqm-component-block.nqm-programs-overview-block,
  body.home .nqm-main .nqm-component-block.nqm-how-it-works-block {
    padding: 64px 0 !important;
  }

  body.home .nqm-main .nqm-programs-overview-block > .wrap,
  body.home .nqm-main .nqm-how-it-works-block > .wrap {
    width: min(100% - 24px, 620px) !important;
  }

  body.home .nqm-main .nqm-home-paths-block > .wrap,
  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid,
  body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
    width: min(100% - 24px, 620px) !important;
  }

  body.home .nqm-main .nqm-component-block.nqm-story-section-block {
    padding: 46px 0 !important;
  }

  body.home .nqm-main .nqm-story-section-block .story-image {
    min-height: 0 !important;
    height: 310px !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
    font-size: 2.55rem !important;
  }

  body.home .nqm-main .nqm-story-section-block .check {
    padding: 10px 11px !important;
  }
}

@media (max-width: 680px) {
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
    font-size: clamp(1.9rem, 7vw, 2.2rem) !important;
    margin: 0 0 15px !important;
  }

  body.home .nqm-main .nqm-home-hero-block .hero-photo,
  body.home .nqm-main .nqm-home-hero-block .hero-photo img,
  body.home .nqm-main .nqm-home-hero-block .hero-photo::after {
    border-radius: 26px !important;
  }

}

.nqm-funnel-page--dscr-deal,
.nqm-funnel-page--dscr-paid,
.nqm-funnel-page--income,
.nqm-funnel-page--equity,
.nqm-funnel-page--specialty {
  color: var(--nqm-fr-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-funnel-page--dscr-deal *,
.nqm-funnel-page--dscr-paid *,
.nqm-funnel-page--income *,
.nqm-funnel-page--equity *,
.nqm-funnel-page--specialty * {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

.nqm-funnel-page--dscr-deal,
.nqm-funnel-page--income,
.nqm-funnel-page--equity,
.nqm-funnel-page--specialty {
  min-height: calc(100vh - 110px) !important;
  padding: 24px 16px 92px !important;
  background: #eef5ee !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell,
.nqm-funnel-shell-native {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 278px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.nqm-dscr-side,
.nqm-funnel-side-native {
  min-height: 670px !important;
  padding: 22px !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  color: #fff !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .18) !important;
}

.nqm-dscr-side-logo img,
.nqm-funnel-side-logo img {
  width: 160px !important;
  max-width: 100% !important;
  margin: 0 auto 20px !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.nqm-dscr-side-card,
.nqm-funnel-side-card-native {
  margin: 0 0 18px !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .07) !important;
}

.nqm-dscr-side-card span,
.nqm-funnel-side-card-native span {
  color: var(--nqm-fr-gold) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.nqm-dscr-side-card strong,
.nqm-funnel-side-card-native strong {
  display: block !important;
  margin: 8px 0 !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
}

.nqm-dscr-side-card p,
.nqm-funnel-side-card-native p {
  color: #dce7dd !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.nqm-dscr-rail,
.nqm-funnel-rail-native {
  gap: 8px !important;
}

.nqm-dscr-rail li,
.nqm-funnel-rail-native li {
  min-height: 58px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

.nqm-dscr-main-card,
.nqm-funnel-card-native {
  min-width: 0 !important;
  min-height: 670px !important;
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-paper) !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .11) !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-funnel,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel,
.nqm-funnel-page--income .nqmcf7-funnel,
.nqm-funnel-page--equity .nqmcf7-funnel,
.nqm-funnel-page--specialty .nqmcf7-funnel {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-funnel h1,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel h1,
.nqm-funnel-page--income .nqmcf7-funnel h1,
.nqm-funnel-page--equity .nqmcf7-funnel h1,
.nqm-funnel-page--specialty .nqmcf7-funnel h1,
.nqm-funnel-page--specialty .nqmcf7-funnel h2.nqm-specialty-panel-title {
  max-width: 760px !important;
  margin: 4px auto 12px !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 50px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-wrap: balance;
}

.nqm-funnel-page--dscr-deal .nqmcf7-lead,
.nqm-funnel-page--dscr-paid .nqmcf7-lead,
.nqm-funnel-page--income .nqmcf7-lead,
.nqm-funnel-page--equity .nqmcf7-lead,
.nqm-funnel-page--specialty .nqmcf7-lead {
  max-width: 700px !important;
  margin: 0 auto 18px !important;
  color: var(--nqm-fr-muted) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.nqm-v5-top {
  min-height: 30px !important;
  margin-bottom: 10px !important;
}

.nqm-v5-top span,
.nqm-v5-top strong,
.nqmcf7-kicker {
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.nqm-v5-progress {
  height: 8px !important;
  margin-bottom: 20px !important;
}

.nqmcf7-options {
  margin: 16px 0 0 !important;
}

.nqmcf7-options legend {
  margin-bottom: 10px !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.nqmcf7-options .wpcf7-form-control {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.nqmcf7-options .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.nqmcf7-options .wpcf7-list-item label {
  min-height: 72px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 7px 18px rgba(7, 27, 51, .05) !important;
}

.nqmcf7-options .wpcf7-list-item label:hover,
.nqmcf7-options .wpcf7-list-item label:focus-within,
.nqmcf7-options .wpcf7-list-item label.is-selected,
.nqmcf7-options .wpcf7-list-item label:has(input:checked) {
  border-color: var(--nqm-fr-gold) !important;
  background: #fff9e8 !important;
  box-shadow: 0 0 0 3px rgba(246, 200, 95, .22) !important;
}

.nqm-choice-copy strong,
.nqm-choice-copy-native strong,
.nqm-choice-text {
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.nqm-choice-copy small,
.nqm-choice-copy-native small,
.nqm-choice-desc {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.nqmcf7-field {
  margin: 12px 0 !important;
}

.nqmcf7-field label {
  color: var(--nqm-fr-navy) !important;
  font-weight: 900 !important;
}

.nqmcf7-field input,
.nqmcf7-field select,
.nqmcf7-field textarea {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 6px !important;
  padding: 11px 13px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--nqm-fr-ink) !important;
}

.nqmcf7-nav .wpcf7-submit,
.nqm-funnel-page--equity .wpcf7-submit,
.nqm-funnel-page--income .wpcf7-submit,
.nqm-funnel-page--specialty .wpcf7-submit {
  min-height: 52px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  color: #fff !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

.nqm-funnel-trust-native {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

.nqm-funnel-trust-native span {
  min-height: 46px !important;
  border-radius: 8px !important;
}

.nqm-dscr-paid-frame {
  width: min(100%, 520px) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 18px 10px 94px !important;
  background: var(--nqm-fr-navy) !important;
}

.nqm-dscr-paid-card {
  padding: 22px 16px !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-paper) !important;
}

.nqm-quick-quote-page {
  padding-top: 52px !important;
}

.nqm-quick-quote-page .nqm-quick-intro {
  margin-bottom: 34px !important;
}

.nqm-quick-quote-page .nqm-quick-intro h1 {
  max-width: 820px !important;
  font-size: 58px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.nqm-quick-quote-page .nqm-quick-desk-panel {
  padding: 30px 34px !important;
}

.nqm-quick-quote-page .nqm-b2-lane-grid {
  margin-top: 20px !important;
}

.nqm-quick-quote-page .nqm-b2-lane-card {
  min-height: 178px !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

.nqm-specialty-entry {
  width: min(1180px, 100%) !important;
  margin: 0 auto 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr) !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .18) !important;
}

.nqm-specialty-entry__copy {
  padding: clamp(32px, 5vw, 58px) !important;
  color: #fff !important;
}

.nqm-specialty-entry__copy > p {
  margin: 0 0 12px !important;
  color: var(--nqm-fr-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.nqm-specialty-entry__copy h1 {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: 52px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.nqm-specialty-entry__copy > span {
  display: block !important;
  max-width: 690px !important;
  color: #dce7dd !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.nqm-specialty-entry__media {
  min-height: 430px !important;
  margin: 0 !important;
}

.nqm-specialty-entry__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.nqm-specialty-entry__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.nqm-specialty-entry__actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.nqm-specialty-entry__actions a:first-child {
  border-color: var(--nqm-fr-gold) !important;
  background: var(--nqm-fr-gold) !important;
  color: var(--nqm-fr-navy) !important;
}

.nqm-specialty-entry__proof {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 22px !important;
  color: #dce7dd !important;
  font-size: 12px !important;
}

.nqm-specialty-entry-active .nqm-funnel-shell-native {
  display: block !important;
  width: min(900px, 100%) !important;
}

.nqm-specialty-entry-active .nqm-funnel-side-native {
  display: none !important;
}

.nqm-specialty-entry-active .nqm-funnel-card-native {
  min-height: 0 !important;
}

.nqm-dscr-calculator {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto 48px;
  padding: clamp(24px, 4vw, 42px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nqm-fr-ink);
}

.nqm-dscr-calculator__heading > p {
  margin: 0 0 8px;
  color: #4f6f5b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nqm-dscr-calculator__heading h2 {
  margin: 0 0 10px;
  color: var(--nqm-fr-navy);
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

.nqm-dscr-calculator__heading > span,
.nqm-dscr-calculator__notice {
  color: var(--nqm-fr-muted);
}

.nqm-dscr-calculator__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 22px;
  margin-top: 24px;
}

.nqm-dscr-calculator__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nqm-dscr-calculator__form label {
  display: grid;
  gap: 6px;
  color: var(--nqm-fr-navy);
  font-weight: 850;
}

.nqm-dscr-calculator__form input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--nqm-fr-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nqm-fr-ink);
  font: inherit;
}

.nqm-dscr-calculator__form button {
  min-height: 52px;
  margin-top: 16px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--nqm-fr-navy);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nqm-dscr-calculator__result {
  padding: 24px;
  border-radius: 8px;
  background: var(--nqm-fr-navy);
  color: #fff;
}

.nqm-dscr-calculator__result > p {
  margin: 0;
  color: #dce7dd;
  font-weight: 850;
}

.nqm-dscr-calculator__result > strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--nqm-fr-gold);
  font-size: 68px;
  line-height: 1;
}

.nqm-dscr-calculator__result dl {
  margin: 0;
}

.nqm-dscr-calculator__result dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.nqm-dscr-calculator__result dd {
  margin: 0;
  font-weight: 900;
}

.nqm-dscr-calculator__result > span {
  display: block;
  margin-top: 14px;
  color: #dce7dd;
  line-height: 1.4;
}

.nqm-dscr-calculator__actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.nqm-dscr-calculator__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.nqm-dscr-calculator__actions a:first-child {
  border-color: var(--nqm-fr-gold);
  background: var(--nqm-fr-gold);
  color: var(--nqm-fr-navy);
}

.nqm-dscr-calculator__notice {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal,
  .nqm-funnel-page--income,
  .nqm-funnel-page--equity,
  .nqm-funnel-page--specialty {
    padding: 0 0 88px !important;
    background: var(--nqm-fr-navy) !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell,
  .nqm-funnel-shell-native {
    display: block !important;
    width: min(100%, 620px) !important;
  }

  .nqm-dscr-side,
  .nqm-funnel-side-native {
    display: none !important;
  }

  .nqm-dscr-main-card,
  .nqm-funnel-card-native {
    min-height: calc(100svh - 88px) !important;
    margin: 0 !important;
    padding: 18px 16px 24px !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-funnel h1,
  .nqm-funnel-page--dscr-paid .nqmcf7-funnel h1,
  .nqm-funnel-page--income .nqmcf7-funnel h1,
  .nqm-funnel-page--equity .nqmcf7-funnel h1,
  .nqm-funnel-page--specialty .nqmcf7-funnel h1,
  .nqm-funnel-page--specialty .nqmcf7-funnel h2.nqm-specialty-panel-title {
    font-size: 40px !important;
  }

  .nqmcf7-options .wpcf7-form-control {
    grid-template-columns: 1fr !important;
  }

  .nqm-specialty-entry {
    width: 100% !important;
    margin-bottom: 0 !important;
    grid-template-columns: 1fr !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .nqm-specialty-entry__copy {
    padding: 30px 22px !important;
  }

  .nqm-specialty-entry__copy h1 {
    font-size: 40px !important;
  }

  .nqm-specialty-entry__media {
    min-height: 260px !important;
    max-height: 340px !important;
  }

  .nqm-specialty-entry-active .nqm-funnel-shell-native {
    width: 100% !important;
  }

  .nqm-dscr-calculator__layout {
    grid-template-columns: 1fr;
  }
}

/* Closed-End Second: restore the approved trust and consumer-resource blocks. */
.nqm-main .nqm-b4-program .nqm-b4-trust {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 17px 0 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-trust > span {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 7px 8px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 14px !important;
  background: #fbfaf4 !important;
  color: #071b33 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.nqm-main .nqm-b4-program .nqm-b4-grid--two.nqm-b4-context-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.nqm-main .nqm-b4-program .nqm-b4-context-grid > * {
  box-sizing: border-box !important;
  width: 100% !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resources {
  padding: clamp(26px, 4vw, 38px) !important;
  border: 1px solid rgba(7, 27, 51, .14) !important;
  border-radius: 28px !important;
  background: #f7faf6 !important;
  color: #0e1a2b !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resources > .nqm-b4-kicker {
  margin: 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resource-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 1px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resource-links a {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 50px !important;
  padding: 11px 16px !important;
  border: 1px solid rgba(7, 27, 51, .14) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #071b33 !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .nqm-main .nqm-b4-program .nqm-b4-trust > span {
    font-size: 11px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resources {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resource-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resource-links a {
    width: 100% !important;
    font-size: 14px !important;
  }
}

/* Home Equity: CF7 wraps Back and Next in a paragraph; make that wrapper the row. */
.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) {
  box-sizing: border-box !important;
  position: relative !important;
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-previous {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 58px !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-submit {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 180px !important;
  min-height: 58px !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-spinner {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

/* Phone header: remove the empty action slot so the menu sits at the right edge. */
@media (max-width: 640px) {
  .nqm-header__inner > .nqm-actions {
    display: none !important;
  }
}

/* Closed-End Second: approved HTML content and responsive form parity. */
.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-funnel {
  width: 100% !important;
  max-width: 760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-kicker {
  display: block !important;
  margin-bottom: 8px !important;
  color: #2f6b4f !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options {
  max-width: 714px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--single .wpcf7-form-control {
  grid-template-columns: minmax(0, 1fr) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--double .wpcf7-form-control {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options .wpcf7-list-item label {
  min-height: 78px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-choice-copy-native small {
  margin-top: 4px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chips {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 714px !important;
  margin: 10px auto 18px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 999px !important;
  background: #eef5ee !important;
  color: var(--nqm-fr-navy) !important;
  box-shadow: 0 5px 14px rgba(7, 27, 51, .05) !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  cursor: pointer !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip:hover,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip:focus-visible,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip.is-active {
  border-color: var(--nqm-fr-gold) !important;
  background: #fff9e8 !important;
  box-shadow: 0 0 0 3px rgba(246, 200, 95, .22) !important;
  outline: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 714px !important;
  margin: 12px auto 6px !important;
  padding: 14px !important;
  border: 1px solid rgba(168, 185, 159, .75) !important;
  border-radius: 17px !important;
  background: transparent !important;
  box-shadow: 0 8px 20px rgba(7, 27, 51, .05) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl > div {
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: 10px 9px !important;
  border: 1px solid rgba(203, 216, 207, .8) !important;
  border-radius: 13px !important;
  background: #fff !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dt {
  font-size: 9px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dd {
  margin: 2px 0 0 !important;
  font-size: 13px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  max-width: 714px !important;
  margin: 16px auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field {
  min-width: 0 !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field--wide {
  grid-column: 1 / -1 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field input,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field select {
  width: 100% !important;
  min-width: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-location-note,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro {
  max-width: 714px !important;
  margin: 14px auto !important;
  padding: 14px 16px !important;
  border: 1px solid #cfe2d2 !important;
  border-radius: 8px !important;
  background: #f3f8f3 !important;
  color: var(--nqm-fr-navy) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-location-note {
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro strong {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 16px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-cltv-hidden,
.nqm-funnel-page--equity.nqm-equity-html-parity .wpcf7-list-item[hidden] {
  display: none !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-nav {
  max-width: 714px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 700px) {
  .nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--double .wpcf7-form-control,
  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-fields-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip {
    min-height: 40px !important;
    padding: 7px 8px !important;
    font-size: 12px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card {
    padding: 13px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 41px !important;
    padding: 9px 10px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field--wide {
    grid-column: auto !important;
  }
}

/* Approved HTML parity: expense inputs use compact native checkbox rows. */
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  align-items: start !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 7px 0 !important;
  padding: 10px !important;
  border: 1px solid #d7e1da !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p {
  margin: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p > label {
  display: block !important;
  margin: 0 !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.25 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p input[type="text"] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  margin-top: 6px !important;
  padding: 10px 12px !important;
  border: 2px solid #d7e1da !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(7, 27, 51, .05) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 7px 0 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check > p,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-form-control-wrap,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-checkbox,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-list-item {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label {
  box-sizing: border-box !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 2px solid #d7e1da !important;
  border-radius: 13px !important;
  background: #f9fcf8 !important;
  box-shadow: none !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.2 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:hover,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:focus-within,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label.is-selected,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:has(input:checked) {
  border-color: var(--nqm-fr-sage) !important;
  background: #f1f6f2 !important;
  box-shadow: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check input[type="checkbox"] {
  position: static !important;
  display: block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  appearance: auto !important;
  accent-color: var(--nqm-fr-navy) !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  transform: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-arrow {
  display: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-copy {
  display: block !important;
  min-width: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-copy strong {
  margin: 0 !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.18 !important;
}

/* DSCR step controls: keep navigation readable and the two desktop columns level. */
.nqm-funnel-page--dscr-deal .nqmcf7-nav > p {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

@media (min-width: 981px) {
  .nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell {
    align-items: stretch !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-side,
  .nqm-funnel-page--dscr-deal .nqm-dscr-main-card {
    box-sizing: border-box !important;
    align-self: stretch !important;
    height: auto !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-side {
    margin-bottom: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three > .nqmcf7-field {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three > .nqmcf7-field > p {
    min-width: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 148px !important;
    margin-top: auto !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check > p,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-form-control-wrap,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-checkbox,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-list-item {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check label {
    box-sizing: border-box !important;
    display: grid !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check {
    box-sizing: border-box !important;
    height: 112px !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check > p,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-form-control-wrap,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-checkbox,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-list-item {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check label {
    box-sizing: border-box !important;
    display: grid !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 620px) {
  .nqm-quick-quote-page {
    padding-top: 34px !important;
  }

  .nqm-quick-quote-page .nqm-quick-intro h1 {
    font-size: 38px !important;
  }

  .nqm-quick-quote-page .nqm-quick-desk-panel {
    padding: 24px 18px !important;
  }

  .nqm-funnel-trust-native {
    grid-template-columns: 1fr !important;
  }

  .nqm-specialty-entry__actions a {
    width: 100% !important;
  }

  .nqm-specialty-entry__proof {
    display: grid !important;
    gap: 7px !important;
  }

  .nqm-dscr-calculator {
    width: calc(100% - 20px);
    margin: 20px auto 34px;
    padding: 20px 14px;
    border-radius: 8px;
  }

  .nqm-dscr-calculator__fields {
    grid-template-columns: 1fr;
  }

  .nqm-dscr-calculator__heading h2 {
    font-size: 34px;
  }

  .nqm-dscr-calculator__result > strong {
    font-size: 56px;
  }

  .nqm-dscr-calculator__form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nqm-funnel-page--dscr-deal *,
  .nqm-funnel-page--dscr-paid *,
  .nqm-funnel-page--income *,
  .nqm-funnel-page--equity *,
  .nqm-funnel-page--specialty * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Content centers: restore the approved HTML geometry after theme fallbacks. */
.nqm-main .nqm-site {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-site .nqm-hero {
  width: auto !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 70px 24px 42px !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr) !important;
  gap: 30px !important;
}

.nqm-main .nqm-site .nqm-hero__copy {
  padding: clamp(34px, 5vw, 64px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-site .nqm-hero h1 {
  max-width: 920px !important;
  margin: .18em 0 .22em !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-site .nqm-content-stack,
.nqm-main .nqm-site .nqm-faq {
  width: auto !important;
  max-width: 1040px !important;
}

.nqm-main .nqm-site .nqm-content-panel h2,
.nqm-main .nqm-site .nqm-faq h2,
.nqm-main .nqm-site .nqm-final-cta h2 {
  margin: 0 0 14px !important;
  font-size: clamp(1.85rem, 3.5vw, 3.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
}

.nqm-main .nqm-site .nqm-final-cta {
  width: auto !important;
  max-width: 1220px !important;
  margin: 34px auto 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 24px !important;
}

/* Program directory: match the approved full-band introduction and compact cards. */
.nqm-main .nqm-program-directory .nqm-b2-hero--programs {
  min-height: 0 !important;
  padding: 88px max(20px, calc((100vw - 1200px) / 2)) 50px !important;
  background: radial-gradient(circle at 84% 10%, rgba(246, 200, 95, .3), transparent 30%), linear-gradient(135deg, #071b33, #102a44) !important;
}

.nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
  max-width: 900px !important;
  margin: 0 0 16px !important;
  font-size: clamp(2.8rem, 6vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-program-directory .nqm-b2-hero--programs > p:not(.nqm-b2-kicker) {
  max-width: 800px !important;
  font-size: 1.22rem !important;
  line-height: 1.55 !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-grid {
  width: min(1200px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 65px 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card {
  min-height: 0 !important;
  border-radius: 26px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card__media {
  width: 100% !important;
  height: 170px !important;
  aspect-ratio: auto !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card__body {
  padding: 22px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
  margin: 0 0 12px !important;
  font-size: 1.35rem !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

/* Shared specialist/core-page heading lock. */
.nqm-main .nqm-specialist-page .nqm-b2-wrap {
  width: min(1220px, calc(100% - 38px)) !important;
}

.nqm-main .nqm-specialist-page .nqm-b2-hero h1,
.nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
  margin: 0 0 16px !important;
  font-size: clamp(2.6rem, 5.8vw, 5.9rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-specialist-page .nqm-b2-info-panel h2,
.nqm-main .nqm-specialist-page .nqm-b2-process h2 {
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

/* Program detail pages: use the approved 1200px hero and 1100px reading center. */
.nqm-main .nqm-b4-program {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-crumbs,
.nqm-main .nqm-b4-program .nqm-b4-hero,
.nqm-main .nqm-b4-program .nqm-b4-proof {
  width: min(1200px, calc(100% - 40px)) !important;
}

.nqm-main .nqm-b4-program .nqm-b4-crumbs {
  padding: 24px 0 14px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero {
  margin: 0 auto 28px !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr) !important;
  gap: 24px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero__copy {
  padding: clamp(34px, 5vw, 64px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero h1 {
  margin: .18em 0 .28em !important;
  font-size: clamp(2.8rem, 6.1vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.32rem) !important;
  line-height: 1.6 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero__media {
  min-height: 520px !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview,
.nqm-main .nqm-b4-program .nqm-b4-grid--two,
.nqm-main .nqm-b4-program .nqm-b4-process,
.nqm-main .nqm-b4-program .nqm-b4-faq,
.nqm-main .nqm-b4-program .nqm-b4-final {
  width: min(1100px, calc(100% - 40px)) !important;
  margin: 24px auto !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview,
.nqm-main .nqm-b4-program .nqm-b4-process,
.nqm-main .nqm-b4-program .nqm-b4-faq {
  padding: clamp(24px, 4vw, 42px) !important;
  border-radius: 30px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview h2,
.nqm-main .nqm-b4-program .nqm-b4-process h2,
.nqm-main .nqm-b4-program .nqm-b4-related h2,
.nqm-main .nqm-b4-program .nqm-b4-faq > h2,
.nqm-main .nqm-b4-program .nqm-b4-final h2 {
  margin: .15em 0 !important;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-list h2 {
  margin: 0 0 18px !important;
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-list,
.nqm-main .nqm-b4-program .nqm-b4-related {
  padding: 26px !important;
  border-radius: 28px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-final {
  padding: clamp(28px, 4vw, 46px) !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 24px !important;
  border-radius: 30px !important;
}

/* Legal and utility pages: fix type rhythm and two unconstrained content rows. */
.nqm-main .nqm-legal-page,
.nqm-main .nqm-utility-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-legal-page .nqm-legal-hero,
.nqm-main .nqm-utility-page .nqm-utility-hero {
  width: min(1160px, 100%) !important;
  margin: 0 auto 24px !important;
  padding: clamp(30px, 5vw, 62px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-legal-page .nqm-legal-hero h1,
.nqm-main .nqm-utility-page .nqm-utility-hero h1 {
  max-width: 920px !important;
  margin: .08em 0 .22em !important;
  font-size: clamp(2.8rem, 6vw, 6rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-legal-page .nqm-legal-content,
.nqm-main .nqm-utility-page .nqm-utility-grid,
.nqm-main .nqm-legal-page > .nqm-content-panel,
.nqm-main .nqm-contact-page > .nqm-b2-route-grid,
.nqm-main .nqm-utility-page .nqm-utility-form,
.nqm-main .nqm-legal-page .nqm-legal-cta {
  width: min(1040px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-main .nqm-legal-page > .nqm-content-panel {
  margin-top: 22px !important;
}

.nqm-main .nqm-contact-page > .nqm-b2-route-grid {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.nqm-main .nqm-legal-page .nqm-legal-card h2,
.nqm-main .nqm-utility-page .nqm-utility-grid h2,
.nqm-main .nqm-utility-page .nqm-utility-form h2,
.nqm-main .nqm-legal-page .nqm-legal-cta h2 {
  margin: 0 0 10px !important;
  font-size: clamp(1.45rem, 3vw, 2.45rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.055em !important;
}

/* DSCR rates: retain the approved display tracking inside its custom page. */
.nqm-main #nqm-dscr-rates-v7241 .hero h1,
.nqm-main #nqm-dscr-rates-v7241 .nq-desktop-heading,
.nqm-main #nqm-dscr-rates-v7241 .nq-mobile-heading {
  line-height: .91 !important;
  letter-spacing: -.072em !important;
}

.nqm-main #nqm-dscr-rates-v7241 .nq-section-heading,
.nqm-main #nqm-dscr-rates-v7241 .section-head h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
}

@media (max-width: 1050px) {
  .nqm-main .nqm-b4-program .nqm-b4-hero,
  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__media {
    min-height: 420px !important;
  }

  .nqm-main .nqm-contact-page > .nqm-b2-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .nqm-main .nqm-site .nqm-hero {
    padding-top: 30px !important;
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-site .nqm-hero-card {
    order: -1 !important;
  }

  .nqm-main .nqm-site .nqm-hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.1rem) !important;
  }

  .nqm-main .nqm-site .nqm-final-cta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .nqm-main .nqm-legal-page .nqm-legal-content,
  .nqm-main .nqm-utility-page .nqm-utility-grid,
  .nqm-main .nqm-legal-page .nqm-legal-cta,
  .nqm-main .nqm-utility-page .nqm-utility-form {
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-legal-page .nqm-legal-hero,
  .nqm-main .nqm-utility-page .nqm-utility-hero {
    padding: 30px 22px !important;
  }

  .nqm-main .nqm-legal-page .nqm-legal-hero h1,
  .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem) !important;
  }
}

@media (max-width: 700px) {
  .nqm-main .nqm-b4-program .nqm-b4-crumbs,
  .nqm-main .nqm-b4-program .nqm-b4-hero,
  .nqm-main .nqm-b4-program .nqm-b4-proof,
  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    width: min(100% - 24px, 620px) !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-crumbs {
    padding: 12px 0 8px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero {
    margin-bottom: 16px !important;
    gap: 18px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__copy {
    padding: 24px 20px !important;
    border-radius: 26px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
    margin: .18em 0 .4em !important;
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: .98 !important;
    letter-spacing: -.062em !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-lede {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 21px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-btn {
    width: 100% !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__media {
    min-height: 315px !important;
    border-radius: 26px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    margin: 16px auto !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-list,
  .nqm-main .nqm-b4-program .nqm-b4-related {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-final {
    padding: 24px 20px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview h2,
  .nqm-main .nqm-b4-program .nqm-b4-process h2,
  .nqm-main .nqm-b4-program .nqm-b4-related h2,
  .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
  .nqm-main .nqm-b4-program .nqm-b4-final h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
  }
}

@media (max-width: 680px) {
  .nqm-main .nqm-program-directory .nqm-b2-hero--programs {
    padding: 34px 14px 30px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
    margin: .2em 0 .42em !important;
    font-size: clamp(2.05rem, 8.5vw, 2.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-hero--programs > p:not(.nqm-b2-kicker) {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-grid {
    width: min(100% - 24px, 620px) !important;
    padding: 24px 0 !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card {
    border-radius: 22px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card__media {
    height: 176px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card__body {
    padding: 18px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
    font-size: 1.25rem !important;
  }

  .nqm-main .nqm-specialist-page .nqm-b2-wrap {
    width: min(100% - 28px, 620px) !important;
  }

  .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
  .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem) !important;
  }

  .nqm-main .nqm-contact-page > .nqm-b2-route-grid {
    grid-template-columns: 1fr !important;
  }

  .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading,
  .nqm-main #nqm-dscr-rates-v7241 .section-head h2 {
    font-size: 2.45rem !important;
  }
}

@media (max-width: 520px) {
  .nqm-main .nqm-site .nqm-hero {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .nqm-main .nqm-site .nqm-content-stack,
  .nqm-main .nqm-site .nqm-faq,
  .nqm-main .nqm-site .nqm-final-cta {
    margin-right: 14px !important;
    margin-left: 14px !important;
  }
}

/* Beat the theme's ID-specific typography fallback on content pages. */
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-hero h1 {
  margin: .18em 0 .22em !important;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-content-panel h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-faq h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-final-cta h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
  font-size: 1.35rem !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
  margin: .18em 0 .28em !important;
  font-size: clamp(2.8rem, 6.1vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-overview h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-process h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-related h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-final h2 {
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-list h2 {
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-hero h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
  margin: .08em 0 .22em !important;
  font-size: clamp(2.8rem, 6vw, 6rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-card h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-grid h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-form h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-cta h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.055em !important;
}

body:not(#nqm-typography-lock) .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
}

@media (max-width: 900px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.1rem) !important;
  }
}

@media (max-width: 820px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-hero h1,
  body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem) !important;
  }
}

@media (max-width: 700px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
    margin: .18em 0 .4em !important;
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: .98 !important;
    letter-spacing: -.062em !important;
  }

  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-overview h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-process h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-related h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-final h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
  }
}

@media (max-width: 680px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
    margin: .2em 0 .42em !important;
    font-size: clamp(2.05rem, 8.5vw, 2.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
  }

  body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
  body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem) !important;
  }

  body:not(#nqm-typography-lock) .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading h2 {
    font-size: 2.45rem !important;
  }
}

/* DSCR credit step: keep score badges centered and ranges out of the circle. */
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="740-759"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-739"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="700-719"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-699"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="660-679"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-659"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="620-639"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 50px !important;
  width: 50px !important;
  min-width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 0 2px !important;
  overflow: hidden !important;
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="740-759"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-739"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="700-719"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-699"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="660-679"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-659"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="620-639"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding-bottom: 2px !important;
    font-size: 18px !important;
  }
}
