/* ==========================================================================
   One type scale for phones (720px and under), loaded after every page's own
   stylesheet so it settles what each page sets for desktop.
     h1 38 · h2 30 · section h3 22 · card title 18 · lead 17 · body 16
     small 14 · chips 13 · meta 12
   Brand case studies keep their own typefaces; only their sizes are brought
   onto this scale (the brand-book specimens, which show a size on purpose, are left alone).
   ========================================================================== */
@media (max-width: 720px) {
  :root { --m-h1: 38px; --m-h2: 30px; --m-h3: 22px; --m-card: 18px; --m-lead: 17px; --m-body: 16px; --m-small: 14px; --m-chip: 13px; --m-meta: 12px; }

  /* headings */
  .h1, .hero__title { font-size: var(--m-h1); line-height: 1.06; }
  .h2, .dv-say { font-size: var(--m-h2); line-height: 1.12; }
  .h3, .kw__line, .body-lg p:first-child { font-size: var(--m-h3); line-height: 1.25; }
  .card-title, .hsx__title, .b2__title { font-size: var(--m-card); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
  .statement { font-size: 28px; line-height: 1.2; }
  .faq__q { font-size: 17px; }

  /* running text */
  .lead, .hero__sub { font-size: var(--m-lead); line-height: 1.5; }
  .body-lg, .cs-list li, .svcb__body, .b2__t p, .scard__desc, .cs-facts dd, .direct-list a:not(.btn), .row p { font-size: var(--m-body); line-height: 1.6; }
  .qcell blockquote, .cs-quote blockquote p, .cs-quote blockquote p:first-child { font-size: 18px; line-height: 1.4; }

  /* small print */
  .member__disc, .stat__label, .metrics dt, .kw__cat, figcaption, .cs-quote figcaption, .form__privacy, .compare__tag { font-size: var(--m-small); }
  .tag, .filter, .stage-pill { font-size: var(--m-chip); }
  .meta, .member .meta, .direct-list .meta, .cs-facts dt { font-size: var(--m-meta); }
  .member .meta { white-space: normal; } /* the role wraps inside its column */
}

/* Brand case studies on phones: each keeps its typeface, but the hierarchy runs the same way on every one.
   Hero statement 24, section heads 30, sub-heads 22, display statements 30, running text 16.
   Label-style headings (Effectus tags, UWUD's small captions) and the type specimens keep their sizes. */
@media (max-width: 720px) {
  :is(.st, .nx, .kp, .hx, .uw, .qx, .em) h1:not(.em-tag) { font-size: 24px !important; line-height: 1.3 !important; letter-spacing: -0.01em; }
  :is(.st, .nx, .kp, .hx, .uw, .qx, .em) h2:not(.em-tag, .uw-k, .meta) { font-size: var(--m-h2) !important; line-height: 1.12 !important; }
  :is(.uw, .qx, .hx) h3:not(.uw-font__n) { font-size: var(--m-h3) !important; line-height: 1.25 !important; }
  .kp-trade__say, .nx-say, .st-step__big { font-size: var(--m-h2) !important; line-height: 1.15 !important; }
  :is(.st, .nx, .kp, .hx, .uw, .qx, .em) p { font-size: var(--m-body); line-height: 1.6; }
}
