/* Homi typography: tight letter tracking, visibly separated words.
   Keep the existing fonts, typography scale, wordmark and page layouts. */
body {
  letter-spacing: normal;
  word-spacing: normal;
  font-kerning: normal;
}
body h1:not(.logo):not(.homi-wordmark) {
  letter-spacing: -0.058em !important;
  word-spacing: 0.09em !important;
  font-kerning: normal;
}
body h2:not(.logo):not(.homi-wordmark) {
  letter-spacing: -0.048em !important;
  word-spacing: 0.075em !important;
  font-kerning: normal;
}
body h3:not(.logo):not(.homi-wordmark) {
  letter-spacing: -0.033em !important;
  word-spacing: 0.06em !important;
  font-kerning: normal;
}
body :is(h4,h5,h6):not(.logo):not(.homi-wordmark) {
  letter-spacing: -0.022em !important;
  word-spacing: 0.05em !important;
}
body :is(p,li,dt,dd):not(.logo):not(.homi-wordmark):not(.homi-review-stars):not(.homi-trust-stars) {
  letter-spacing: -0.014em !important;
  word-spacing: 0.045em !important;
  font-kerning: normal;
}
body :is(label,input,select,textarea,button,.btn,.nav,.nav a,.nav summary):not(.logo):not(.homi-wordmark):not(.homi-review-stars) {
  letter-spacing: -0.01em;
  word-spacing: 0.035em;
  font-kerning: normal;
}
body :is(.pull-quote,.editorial-quote,.eyeline strong):not(.logo):not(.homi-wordmark) {
  letter-spacing: -0.045em !important;
  word-spacing: 0.075em !important;
}
body :is(.eyebrow,.kicker,.cm-kicker,.hj-kicker,.hj-card-meta,.hj-card-meta>span,.hj-byline,.hj-section-heading>span,.homi-estate-home-eyebrow,.homi-about-local-panel>span,.hjel-inline-cta>span) {
  letter-spacing: 0.015em !important;
  word-spacing: 0.05em !important;
}
body .homi-footer-col h2:not(.logo):not(.homi-wordmark) {
  letter-spacing: 0.04em !important;
  word-spacing: normal !important;
}
/* Tighten the relationship between section titles and their opening copy.
   Leave article paragraphs, legal text, controls, and custom cards alone. */
:where(.section,.banner,.hero-copy,.homi-membership-copy,.full-bleed) > :is(h1,h2):has(+ p.lead) {
  margin-block-end: 0.3em;
}
:where(.section,.banner,.hero-copy,.homi-membership-copy,.full-bleed) > :is(h1,h2) + p.lead {
  margin-block-start: 0;
}
body .section > p.lead {
  line-height: 1.58;
}
body .feature-row > h3 {
  line-height: 1.2;
}
body .feature-row > p {
  line-height: 1.58;
}
/* The Homi Promise: compact rows with a clear divider rhythm. */
#homi-promise > .lead {
  line-height: 1.55;
}
#homi-promise .feature-list {
  margin-top: 32px;
}
#homi-promise .feature-row {
  padding-block: 23px;
}
#homi-promise .feature-row > .kicker {
  line-height: 1.4;
}
#homi-promise .feature-row > h3,
#homi-promise .feature-row > p {
  margin: 0;
}
#homi-promise .feature-row > h3 {
  line-height: 1.2;
}
#homi-promise .feature-row > p {
  line-height: 1.58;
}
#homi-promise > .actions {
  margin-top: 24px;
}
@media (min-width: 801px) {
  #homi-promise .feature-row {
    grid-template-columns: minmax(100px, 0.32fr) minmax(0, 0.9fr) minmax(0, 1fr);
    column-gap: clamp(18px, 3vw, 44px);
    align-items: start;
  }
}
@media (max-width: 800px) {
  body h1:not(.logo):not(.homi-wordmark) {
    letter-spacing: -0.05em !important;
  }
  body h2:not(.logo):not(.homi-wordmark) {
    letter-spacing: -0.043em !important;
  }
  body > header > .nav.open > a:not(.btn),
  body > header > .nav.open > .nav-services > summary,
  body > header > .nav.open > .btn {
    letter-spacing: -0.01em;
    word-spacing: 0.035em;
  }
  #homi-promise .feature-list {
    margin-top: 24px;
  }
  #homi-promise .feature-row {
    gap: 6px;
    padding-block: 18px 19px;
  }
  #homi-promise .feature-row > .kicker {
    font-size: 11px;
    line-height: 1.4;
  }
  #homi-promise .feature-row > h3 {
    font-size: clamp(22px, 5.7vw, 26px);
    line-height: 1.22;
    letter-spacing: -0.033em !important;
  }
  #homi-promise .feature-row > p {
    font-size: clamp(15px, 3.85vw, 16px);
    line-height: 1.5;
  }
  #homi-promise > .actions {
    margin-top: 20px;
  }
}