/* Trackon typography scale — loaded LAST on every page so one set of rules governs sizes and weights.
   Headings: Montserrat 700 (display) / 600 (card titles).  Body: Roboto 400/500.  No 800/900 anywhere.
   Scale:  H1 28–42 · H2 24–32 · H3 18–26 · card title 16–18 · body 15–16 · small 12.5–14 */

/* ---------- Base ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.005em; line-height: 1.25; }
h3, h4 { font-weight: 600; }
.btn, .hbtn, .f-quote, .tb-go { font-weight: 600; }

/* ---------- H1: page / banner titles (hero title is set in home.css) ---------- */
.hero h1,
.banner h1 { font-weight: 700; font-size: clamp(26px, min(3.2vw, 5.2vh), 42px); line-height: 1.2; }

/* ---------- H2: section titles ---------- */
.sec-head h2, .what-grid h2, .ind-head h2, .cta-band h2, .intl h2, .franchise h2,
.reel-title, .lead-box .l h2, .net-tx h2, .why-box h2, #industries .bar-title {
  font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; line-height: 1.25;
}

/* ---------- H3: panel / feature titles ---------- */
.svc-panel h3, .benefits .lead h3, .lead-box .r h3 {
  font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.3;
}
.industry-card h3, .ben-box h3, .before h3 { font-size: 18px; font-weight: 600; }
.flow h3, .sub-card h3 { font-size: 16px; font-weight: 600; }

/* ---------- Numbers / stats ---------- */
.stat b, .why-stat b, .why-card .num { font-weight: 700; }
.why-stat b { font-size: 20px; }
.b-no { font-size: 34px; font-weight: 700; }
.bf-n { font-size: 48px; font-weight: 700; }
.net-map .hub, .hub { font-weight: 700; }
.lead-box .note .ic, .lead-box .step { font-weight: 700; }

/* ---------- Pages built with inline styles (about, careers, news, contact, tracking, franchise, blog, support, faqs, policies, terms) ---------- */
[style*="font-weight:800"], [style*="font-weight:900"],
[style*="font-weight: 800"], [style*="font-weight: 900"] { font-weight: 700 !important; }
main h1[style] { font-size: clamp(26px, 3.2vw, 40px) !important; font-weight: 700 !important; line-height: 1.2 !important; }
main h2[style] { font-weight: 700 !important; line-height: 1.3 !important; }
main h2[style*="font-size:26px"], main h2[style*="font-size:30px"], main h2[style*="font-size:28px"] { font-size: clamp(22px, 2.3vw, 26px) !important; }
main h3[style] { font-weight: 600 !important; line-height: 1.35 !important; }
main h4[style], main h5[style] { font-weight: 600 !important; }
main strong, main b { font-weight: 600; }

/* ---------- Long-form pages (policies, terms, blog posts) ---------- */
.doc h1, .doc h2, .doc h3, .doc h4, .doc h5 { font-weight: 700; }
.doc h5, .doc h4 { font-size: 18px; font-weight: 600; }
.doc h2 { font-size: clamp(22px, 2.3vw, 26px); }
.doc > strong, .doc > b { font-weight: 600; }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .sec-head h2, .what-grid h2, .ind-head h2, .cta-band h2, .intl h2, .franchise h2,
  .reel-title, .lead-box .l h2, .net-tx h2, .why-box h2, #industries .bar-title { font-size: 23px; }
  .svc-panel h3, .benefits .lead h3, .lead-box .r h3 { font-size: 20px; }
  .bf-n { font-size: 38px; }
}

/* ---------- Section heading + one supporting line (same pattern everywhere) ---------- */
.sec-head p, .sec-sub, .sec-head + p {
  font-family: var(--b); font-size: 15.5px; font-weight: 400; line-height: 1.7; color: var(--muted); max-width: 760px;
}
.sec-sub { margin: 0 0 30px; }
.sh { margin-bottom: 10px; }
.sh::after { display: none; }                        /* drop the red underline bar so service pages match the home page */
.sh.center + .sec-sub, .sec-head.center .sec-sub { margin-inline: auto; text-align: center; }
.sh.center { margin-bottom: 10px; }
.bar-title + .sec-sub, .ind-head .sec-sub { margin: 8px 0 0; }
.ind-head { align-items: flex-end; }
/* inside cards / dark boxes keep the line subtle and tight */
[style*="padding:28px"] .sec-sub, [style*="padding:32px"] .sec-sub, [style*="padding:24px"] .sec-sub { margin: 4px 0 18px; font-size: 14px; }
[style*="background:linear-gradient(135deg,#4A0C0E"] .sec-sub, .net-tx .sec-sub { color: inherit; opacity: .8; }
@media (max-width: 600px) { .sec-sub, .sec-head p { font-size: 14.5px; } }
/* tight gap whenever a heading is followed by its supporting line (beats inline margins) */
h2:has(+ .sec-sub), h2.sh:has(+ .sec-sub) { margin-bottom: 8px !important; }
