/* Carbon Confido — shared type scale
   One set of font sizes for every page. Change a size here and it updates site-wide.

   Token          Desktop  iPad   Mobile   Used for
   --fs-display   56       44     34       Large display words ("Why"), About page H1
   --fs-hero      48       38     30       Homepage hero title (H1)
   --fs-title     35       28     24       Green section headings (every page)
   --fs-h2        40       32     28       Section titles (H2)
   --fs-h3        32       28     24       Sub-headings: intro card, CTA, highlight boxes
   --fs-h4        24       20     20       Card & item titles (H3)
   --fs-lg        20       18     18       Lead text, footer company name
   --fs-md        18       16     16       Bold labels: FAQ questions, Mission/Vision pills, company names
   --fs-body      16       16     16       Paragraphs, hero subtitle (never below 16px)
   --fs-body-sm   16       15     15       Card paragraphs: Services, Why Carbon Confido, Who We Serve, Approach
   --fs-ui        16       16     16       Navigation, buttons, links
   --fs-sm        14       14     14       Eyebrows, footnotes, legal links
   --fs-xs        12       12     12       Smallest labels only
*/
:root {
  /* Typeface for every page (body text and headings). To try another font,
     change the name here and the Google Fonts link in each page's <head>. */
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  --fs-display: 56px;
  --fs-hero: 48px;
  --fs-title: 35px;
  --fs-h2: 40px;
  --fs-h3: 32px;
  --fs-h4: 24px;
  --fs-lg: 20px;
  --fs-md: 18px;
  --fs-body: 16px;
  --fs-body-sm: 16px;
  --fs-ui: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  --lh-heading: 1.2;
  --lh-body: 1.6;
}

/* iPad / tablet */
@media (max-width: 1099px) {
  :root {
    --fs-display: 44px;
    --fs-hero: 38px;
    --fs-title: 28px;
    --fs-h2: 32px;
    --fs-h3: 28px;
    --fs-h4: 20px;
    --fs-lg: 18px;
    --fs-md: 16px;
    --fs-body: 16px;
    --fs-body-sm: 15px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --fs-display: 34px;
    --fs-hero: 30px;
    --fs-title: 24px;
    --fs-h2: 28px;
    --fs-h3: 24px;
    --fs-h4: 20px;
    --fs-lg: 18px;
    --fs-md: 16px;
    --fs-body: 16px;
    --fs-body-sm: 15px;
  }
}

/* All headings (and heading-style lines) use the heading typeface */
h1, h2, h3, h4, h5, h6,
.cta-big, .cta .lead {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}
