/*
  base.css: shared foundation for the c5expedite.com clone.

  What lives here: color tokens and type values measured from the live site
  (headless Chrome, computed styles, 2026-11-19), a small reset that mirrors
  the browser defaults the live theme relies on, and layout helpers every page
  uses (.wrap, .sec, .sr, .eyebrow, .tt).

  Fonts: loaded in each page <head> from Google Fonts, the same families live
  uses: Montserrat (variable 100..900, roman and italic) and Inter italic
  500/600/800 (hero only).

  Breakpoints used across the clone (copied from live):
    desktop  >= 981px
    tablet   768px to 980px   (@media (max-width:980px))
    phone    <= 767px         (@media (max-width:767px))
  Some custom sections on live also switch at 1280, 900, 600 and 599; those
  stay next to the section that uses them.
*/

:root {
  --navy: #142b46;        /* primary dark: header bar, footer, cards */
  --navy-2: #0f3355;      /* hero fallback */
  --blue: #5182c4;        /* accent second line of section titles */
  --blue-link: #2ea3f2;   /* default link color (footer emails) */
  --blue-dark: #1a4280;   /* CTA button text */
  --ink: #4d5560;         /* lede text */
  --ink-2: #3f4650;       /* body copy on light sections */
  --muted: #5b636d;       /* eyebrow labels */
  --body: #666;           /* default body text */
  --head: #333;           /* default heading text */
  --off: #f5f5f5;         /* footer text */
  --pale: #eaf0f8;        /* testimonial cards */
  --line-dark: #2a4a70;
  --concrete: #9fb0c5;
  --sodium: #f0a500;
  --font: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
  --font-hero: "Inter", sans-serif;
  /* shared fluid values from live */
  --sec-pad: clamp(72px, 5.6vw, 104px);
  --title-size: clamp(34px, 3.05vw, 50px);
  --lede-size: clamp(17px, 1.15vw, 20px);
  /* Live row padding: 2% of the viewport, 27px from 1350px up, 30px at 980px and below. */
  --row-y: 2vw;
}
@media (min-width: 1350px) { :root { --row-y: 27px; } }
@media (max-width: 980px) { :root { --row-y: 30px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Live body: Montserrat 500, 14px, line-height 1.7em (23.8px, inherited as px). */
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  color: var(--head);
  font-weight: 500;
  line-height: 1em;
}

p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }

a { color: var(--blue-link); text-decoration: none; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

button { font: inherit; color: inherit; }

/* Visible keyboard focus everywhere (quality floor). */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Screen-reader-only text. */
.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Content width used by every live row: 80% wide, max 1080px, centered. */
.wrap {
  position: relative;
  width: 80%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* Small eyebrow label above section titles (live: 12px, 3.2px tracking). */
.eyebrow {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

/* Two-tone section title: first span navy, second span blue. */
.tt {
  margin: 0 0 16px;
  padding: 0;
  color: var(--navy);
  font-size: var(--title-size);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.tt__b { color: var(--blue); }
.tt--stack .tt__a, .tt--stack .tt__b { display: block; }
@media (max-width: 599px) {
  .tt { font-size: clamp(30px, 8.6vw, 40px); }
}

.lede {
  max-width: 40em;
  margin: 0;
  color: var(--ink);
  font-size: var(--lede-size);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0;
}
@media (max-width: 600px) {
  .lede { font-size: 17px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
