/* The Market — contrast fixes (WCAG 2.1 AA)
   Brand light gray #a7a6ac is 2.4:1 on white, below the 4.5:1 minimum for text.
   On white or light-gray backgrounds, small text uses mid gray #6f6f73 (5.0:1).
   #a7a6ac stays as-is on black, where it passes (8.7:1). */
.sc-num,
.lh-stat__idx,
.syh-num,
.syh-tl-num,
.hp-steps span,
.team-card__meta,
.proof-strip__quote cite,
.hp-tabs-nav label.eyebrow { color:#6f6f73 !important; }

/* Small notes under forms on black: 32% white was 2.7:1 */
.form-note { color:rgba(255,255,255,.62) !important; }

/* Same numbers on black sections keep the light gray, which passes there */
.section--dark .syh-num, .section--dark .syh-tl-num, .section--dark .sc-num { color:#a7a6ac !important; }

/* Mobile: long button labels wrap instead of pushing the page wider than the screen
   (the homepage scrolled sideways on phones because of "Read All Reviews on Google & Zillow"). */
@media (max-width: 480px) {
  .btn, .btn-ghost, .btn-primary { white-space: normal; max-width: 100%; }
}
/* Small phones (360px): grid columns could not shrink below their content */
.why__grid > *, .lh-stats-grid > * { min-width: 0; }
.why__photo-cap { overflow-wrap: anywhere; }
@media (max-width: 400px) { .lh-stat { padding: 1.25rem; } }

/* The mobile menu button was forced visible at every width; hide it where the full menu shows */
@media (min-width: 769px) { #mainNav #hamburger { display: none !important; } }
