/* Gold lettering uses the same locally hosted handwriting as the hero signature.
   Load after the palette/captions, before page layers: important declarations in
   this layer beat page font shorthands without changing the identity colors. */
@layer lifa-gold-signatures {
  :is(
    .content-signature, .footer-signature, .hero-highlight,
    .hero-welcome-accent, #thanks-signature,
    .hero-content > .eyebrow, .hn-difference-intro > .eyebrow,
    .hero-office-kicker, .hero-office-hours > span,
    .analytics-consent__eyebrow, .analytics-consent__link, .dropdown-viewall,
    .interior-hero-toggle > span, .case-study-outcome-label,
    .founder-service-mark, .cta-value-list > li > span,
    .ai-desk-mark:not(:has(svg)), .ai-desk-avatar:not(:has(svg)),
    .lifa-ai-brand-mark:not(:has(svg)), .lifa-ai-empty-mark:not(:has(svg)),
    .lifa-ai-message-avatar:not(:has(svg)),
    .cta-value-list strong, .hn-text-link, .cr-summary-score > span,
    .cr-avatar, .tools-pro-label, .tool-card-kicker,
    #payment-support-title, #payment-support-title + .eyebrow,
    #payment-terms-101 .eyebrow, .final-cta-panel .eyebrow, .cta-band .eyebrow
  ) {
    font-family: "Reey", cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  /* Reey has taller ascenders and descenders than the surrounding serif. Keep
     genuine word wrapping and reserve that ink space, including on phones. */
  .content-signature {
    display: inline !important;
    font-size: .82em !important;
    line-height: 1.65 !important;
    padding: .08em .4em !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  :is(.hero-content > .eyebrow, .hn-difference-intro > .eyebrow,
      .hero-office-kicker, .hero-office-hours > span,
      .analytics-consent__eyebrow, .case-study-outcome-label,
      .tools-pro-label, .tool-card-kicker,
      #payment-terms-101 .eyebrow, .final-cta-panel .eyebrow, .cta-band .eyebrow) {
    font-size: clamp(.875rem, .82rem + .2vw, 1.0625rem) !important;
    line-height: 1.9 !important;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .hero-highlight { padding-inline: .4em !important; box-sizing: border-box; }
  :is(.hero-content > .eyebrow, .hn-difference-intro > .eyebrow, .hn-text-link) {
    padding-inline: .4em !important;
    box-sizing: border-box;
  }

  :is(.analytics-consent__link, .interior-hero-toggle > span, .hn-text-link, .dropdown-viewall) {
    font-size: .9375rem !important;
    line-height: 1.9 !important;
    white-space: normal !important;
  }
  .interior-hero-toggle {
    width: auto !important;
    min-width: 152px;
    min-height: 48px !important;
    height: auto !important;
    padding: 10px 18px !important;
  }
  .cta-value-list strong { line-height: 1.8 !important; }
  .cta-value-list > li > span { line-height: 1.8 !important; }
  .founder-service-mark {
    width: 3.5em !important;
    height: 3.5em !important;
    line-height: 1.7 !important;
    white-space: nowrap !important;
  }
  .cr-avatar { font-size: .9375rem !important; line-height: 1.8 !important; }
  :is(.ai-desk-mark, .ai-desk-avatar, .lifa-ai-brand-mark,
      .lifa-ai-empty-mark, .lifa-ai-message-avatar):not(:has(svg)) {
    font-size: .875rem !important;
    line-height: 1.8 !important;
    min-width: 3.2em !important;
    min-height: 3.2em !important;
    white-space: nowrap !important;
  }
  #payment-support-title { line-height: 1.75 !important; }

  /* Let the signature breathe between the footer's two lines. Its gold ink
     remains controlled by the shared brand palette. */
  .site-footer .footer-statement {
    line-height: 1.28 !important;
    overflow: visible !important;
  }
  .site-footer .footer-signature {
    font-size: 1.08em !important;
    line-height: 1.55 !important;
    padding: .05em .12em .08em .18em !important;
    margin-right: .08em !important;
    vertical-align: baseline !important;
  }
}
