/* SGTM V706 - typography consistency only, scoped to public website content.
   Keeps existing HTML headings, SEO, colors, site layout and controls unchanged.
   Excludes admin/account pages (they do not have body#sgtm-premium-v223). */

/* Clear page-title / section-heading hierarchy without changing words. */
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h1 {
  font-size: clamp(44px, 3.25vw, 48px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.032em !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h2 {
  font-size: clamp(30px, 2.5vw, 36px) !important;
  line-height: 1.22 !important;
  letter-spacing: -.024em !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h3 {
  font-size: 20px !important;
  line-height: 1.32 !important;
  letter-spacing: -.012em !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
/* The note and mid-workflow subheadings are intentionally smaller than section titles. */
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.audit-note-section-v222, .sgtm-srs-v485-middle) h2 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  letter-spacing: -.01em !important;
}
/* Avoid extra line breaks in longer tablets headings. */
@media (min-width:601px) and (max-width:900px) {
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h1 {font-size:clamp(39px, 4.8vw, 44px) !important;}
}
@media (max-width:600px) {
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h1 {
    font-size:clamp(32px, 8.8vw, 35px) !important;
    line-height:1.16 !important;
    letter-spacing:-.024em !important;
  }
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h2 {
    font-size:clamp(24px, 6.9vw, 28px) !important;
    line-height:1.25 !important;
    letter-spacing:-.018em !important;
  }
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main h3 {
    font-size:19px !important;
    line-height:1.34 !important;
  }
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.audit-note-section-v222, .sgtm-srs-v485-middle) h2 {
    font-size:20px !important;
  }
}
/* Supporting explanatory text must not be smaller than card labels. */
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.audit-card-v222, .premium-route-card-v223, .d630-card) p {
  font-size:14.5px !important;
  line-height:1.6 !important;
}
@media (max-width:600px) {
  body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.audit-card-v222, .premium-route-card-v223, .d630-card) p {
    font-size:14.5px !important;
    line-height:1.6 !important;
  }
}
/* Use stable heading/intro rhythm in typical page sections; no layout/padding changes. */
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main section > h2 + p,
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.align-title-v226, .sgtm-v704-inner,
  .sgtm698-inner, .media-copy-v229, .sgtm-v612-postal-copy, .ag701-opening-copy,
  .sgtm-spec540-nav-inner, .v547-hub-inner) > h2 + p {
  margin-block-start:12px !important;
}
body#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223#sgtm-premium-v223 main :is(.audit-card-v222, .premium-route-card-v223, .d630-card) h3 {
  margin-block-end:10px !important;
}
/* V705 Brake & Suspension text-to-cards gap remains controlled by
   assets/sgtm-v587-brake-suspension.css; intentionally not overridden here. */
