/*
  USDS tokens — Universal Spedition 2027 (flatsome-child-universal)
  Generated from tokens/tokens.json on 23 Nov 2026. Do not hand-edit values here:
  change tokens.json and regenerate. Prefix for components: .jm-*
*/

/* Fonts: self-host woff2 in /assets/fonts/ (no Google CDN). Archivo is a variable font (wdth 62–125, wght 400–800). */
@font-face{font-family:'Archivo';src:url('../fonts/Archivo-Variable.woff2') format('woff2-variations');font-weight:400 800;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('../fonts/SourceSans3-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('../fonts/SourceSans3-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('../fonts/SourceSans3-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('../fonts/IBMPlexMono-Medium.woff2') format('woff2');font-weight:500;font-display:swap}

:root{
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --surface-sunken: #e9edf3;
  --line: #d3dae4;
  --line-strong: #76829a;
  --ink: #1b2430;
  --ink-muted: #5b6675;
  --navy: #123c7b;
  --on-navy: #ffffff;
  --navy-soft: #e7eef8;
  --band: #0b2550;
  --on-band: #ffffff;
  --on-band-muted: #c5d3ea;
  --orange: #f08400;
  --orange-hover: #ff9a1f;
  --on-orange: #0b2550;
  --orange-text: #b54a00;
  --orange-soft: #fff1e0;
  --red: #cb2b04;
  --signal: #ffc400;
  --on-signal: #1b2430;
  --success: #16794a;
  --on-success: #ffffff;
  --error: #b3261e;
  --focus: #123c7b;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --type-display-size: 56px; --type-display-lh: 60px; --type-display-weight: 800;
  --type-h1-size: 44px; --type-h1-lh: 48px; --type-h1-weight: 800;
  --type-h2-size: 32px; --type-h2-lh: 38px; --type-h2-weight: 700;
  --type-h3-size: 24px; --type-h3-lh: 30px; --type-h3-weight: 700;
  --type-h4-size: 20px; --type-h4-lh: 26px; --type-h4-weight: 700;
  --type-eyebrow-size: 13px; --type-eyebrow-lh: 16px; --type-eyebrow-weight: 700;
  --type-lead-size: 20px; --type-lead-lh: 30px; --type-lead-weight: 400;
  --type-body-size: 17px; --type-body-lh: 26px; --type-body-weight: 400;
  --type-body-sm-size: 15px; --type-body-sm-lh: 22px; --type-body-sm-weight: 400;
  --type-label-size: 15px; --type-label-lh: 20px; --type-label-weight: 600;
  --type-caption-size: 13px; --type-caption-lh: 18px; --type-caption-weight: 400;
  --type-spec-size: 14px; --type-spec-lh: 20px; --type-spec-weight: 500;
  --type-spec-lg-size: 20px; --type-spec-lg-lh: 26px; --type-spec-lg-weight: 500;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --radius-0: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --radius-brand-card: 10px;
  --container: 1280px;
  --measure: 68ch;
  --header-h: 80px;
  --topbar-h: 40px;
  --tap: 48px;
  --motto-h: 30px;
  --header-sticky: 120px;
  --shadow-header: 0 2px 8px rgba(11, 37, 80, 0.12);
  --shadow-panel: 0 8px 24px rgba(11, 37, 80, 0.14);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --ease: cubic-bezier(.2,.7,.2,1);
  --display-stretch: 88%;
}

[data-theme="dark"]{
  --surface: #0b1424;
  --surface-alt: #121e33;
  --surface-sunken: #1a2842;
  --line: #2a3a57;
  --line-strong: #6b7c97;
  --ink: #e8edf5;
  --ink-muted: #9aa6b8;
  --navy: #8fb0e8;
  --on-navy: #0b1424;
  --navy-soft: #16284a;
  --band: #07101f;
  --on-band: #ffffff;
  --on-band-muted: #c5d3ea;
  --orange: #f08400;
  --orange-hover: #ff9a1f;
  --on-orange: #0b1424;
  --orange-text: #ffa94d;
  --orange-soft: #2b1e10;
  --red: #ff7a59;
  --signal: #ffc400;
  --on-signal: #1b2430;
  --success: #5fbf86;
  --on-success: #0b1424;
  --error: #ff8a7a;
  --focus: #f08400;
  --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.55);
}

/* Mobile type scale (under 600px) */
@media (max-width: 599px){
  :root{ --type-display-size: 36px; --type-display-lh: 40px; --type-h1-size: 32px; --type-h1-lh: 36px; --type-h2-size: 26px; --type-h2-lh: 32px; }
}

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

/* Focus ring (all interactive elements) */
:where(a,button,input,select,textarea,summary):focus-visible{ outline: 2px solid var(--focus); outline-offset: 2px; }
