/* Shared type scale. Loaded after page styles so future catalogue and blog pages inherit it. */
:root {
  --clw-type-action: 15px;
  --clw-type-detail: 14px;
  --clw-type-small: 12px;
}

body .utility,
body .utility span {
  font-size: var(--clw-type-small);
  line-height: 1.5;
  letter-spacing: .04em;
}

body #main-content .btn,
body #featured-trucks .catalog-card .btn,
body .quote-band .btn,
body .hp-mobile-actions .btn {
  font-size: var(--clw-type-action);
  line-height: 1.35;
  min-height: 48px;
  max-width: 100%;
  gap: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

body .menu-toggle {
  font-size: var(--clw-type-action);
  line-height: 1.4;
}

body .footer h3 {
  font-size: 16px;
  line-height: 1.4;
}

body .footer p,
body .footer a:not(.brand) {
  font-size: var(--clw-type-detail);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body .footer .footer-bottom {
  font-size: var(--clw-type-small);
  line-height: 1.6;
  gap: 12px;
}

/* The legacy footer-bottom link declares 10px !important. */
body .footer .footer-bottom a {
  font-size: var(--clw-type-small) !important;
  line-height: 1.6;
}

body #main-content th,
body #main-content td {
  font-size: var(--clw-type-detail);
  line-height: 1.55;
}

body #main-content th .pm-model-identity span {
  font-size: var(--clw-type-detail);
}

body #main-content :is(.product-breadcrumb, .breadcrumbs, .breadcrumb),
body #main-content :is(.product-breadcrumb, .breadcrumbs, .breadcrumb) :is(a, span) {
  font-size: 13px;
  line-height: 1.6;
}

body #main-content p.eyebrow,
body #main-content nav.eyebrow,
body #main-content nav.eyebrow a {
  font-size: var(--clw-type-small);
  line-height: 1.6;
}

body #main-content :is(.text-link, .product-price-note, .product-purchase-links a,
  .form-note, .ct-field label, .about-quick-form label, .bg-jumps a) {
  font-size: var(--clw-type-detail);
  line-height: 1.65;
}

body #main-content :is(.ct-field small, .ct-form small) {
  font-size: 13px;
  line-height: 1.6;
}

body #main-content :is(.home-guide-card, .bg-selection-grid, .bg-inspection-grid,
  .bg-market-card, .bg-related-card) p {
  font-size: 15px;
  line-height: 1.7;
}

body #main-content :is(.certificate-card, .milestone-list, .company-roles) p {
  font-size: var(--clw-type-detail);
  line-height: 1.7;
}

@media (max-width: 600px) {
  body #main-content h1 {
    font-size: clamp(30px, 8.2vw, 36px);
    line-height: 1.15;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
  }

  /* Keep the short homepage opening at its established, slightly larger scale. */
  body #main-content :is(.hp-opening, .hp-home-hero) h1 {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.08;
  }

  body #main-content :is(.rich-content > h2, .selection-grid h2,
    #related-blog-guides-title, .about-heading h2, .bg-section > h2,
    .ct-form h2, .ct-next h2, .section-heading h2),
  body .quote-band h2 {
    font-size: clamp(24px, 6.7vw, 28px);
    line-height: 1.2;
  }
}
