/* REQ-4251 site pass: shared readability polish for mavtg.com pages.
   Loaded last on each page so it settles detector findings without page rewrites. */

/* 1. Comfortable line length (65-75ch). */
html body :is(p, li, dd, blockquote, figcaption, .faq-a):not(nav *):not(footer *):not(header *) {
  max-width: 56ch;
}
/* Keep centered blocks centered once they are narrower. */
html body :is([class*="center"], [class*="hero"], [class*="cta"], [class*="final"],
  [style*="text-align:center"], [style*="text-align: center"]) :is(p, li, blockquote) {
  margin-inline: auto;
}

/* 2. Section labels read as plain lead-ins, not tiny tracked uppercase tags. */
html body :is(.section-label, .s-label, .slabel, .eyebrow, .eyebrow-inline, .group-eyebrow,
  .section-eyebrow, .hero-eyebrow, .mvh-eyebrow, .book-eyebrow, .book-label, .chapter-label,
  .post-tag, .form-kicker, .hero-label, .involve-tag, .connect-card-label, .mv-dev-badge, .hero-flag,
  .author-desk-label, .email-cta-label, .buy-badge, .cs-eyebrow, .notify-eyebrow, .signup-eyebrow, .app-eyebrow, .merch-badge) {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-variant: normal !important;
  font-size: max(1rem, 1em) !important;
}

/* Footer disclaimer note */
html body .mvft-note { max-width: 56ch; }

/* Any short lead-in directly above a heading: no tracked caps. */
html body :is(div, p, span, small):not(:has(*:is(div, p, h1, h2, h3, img))):has(+ :is(h1, h2, h3)) {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Batch 2: leaf text blocks that still ran past ~80 characters. */
html body :is(p, .mvft-note, .legal-callout, .legal-flag, .step-body, .how-card-body, .role-sub, .memory, .li-sub,
  .lead, .pricing-notice-text, .timeline-note, .proposal-footer-note, .note, .footer-disclaimer,
  .privacy, .myth-truth, .disclaimer):not(nav *):not(header *) {
  max-width: 56ch !important;
}
