/* TRZ Recovery Foundation — design tokens
   Brand DNA from trzrecovery.com (Barlow Condensed / Barlow, electric blue #00ADEF,
   red #E8382B), warmed with sage + sand for a community-wellness foundation.
   NOTE on blue: #00ADEF (--blue-500) is a decorative/surface blue only — it fails
   WCAG AA as text or as a white-text button fill, so --blue-700 carries text/CTAs. */
:root {
  /* Brand: TRZ electric blue */
  --blue-900: #04283a;
  --blue-700: #0078A8;   /* text + solid CTA fill (AA on white) */
  --blue-500: #00ADEF;   /* signature accent/surfaces only */
  --blue-400: #38B6FF;
  --blue-100: #d7f1fc;
  --blue-050: #eef9fe;

  /* Energy accent (CTAs/alerts, used sparingly) */
  --red-500: #E8382B;
  --red-600: #c92c20;    /* accent CTA resting (AA on white) */
  --red-700: #a8241a;

  /* Warmth: foundation / wellness */
  --sage-600: #3f7d5f;
  --sage-500: #4f9e78;
  --sage-100: #dcefe4;
  --sand-600: #b8791f;   /* darker for icon glyphs (contrast) */
  --sand-500: #E8A24A;
  --sand-100: #f9ecd6;

  /* Neutrals */
  --ink-900: #14202b;
  --ink-700: #212934;    /* body text */
  --ink-500: #55616c;
  --ink-300: #97a2ac;
  --line: #e3e8ec;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-warm: #faf6f0;    /* warm off-white section bg */
  --bg-cool: #f2fafd;    /* cool tint section bg */

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, Helvetica, Arial, sans-serif;
  --fw-body: 400;
  --fw-med: 500;
  --fw-semi: 600;
  --fw-bold: 700;

  /* Spacing scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 52px;
  --space-2xl: 84px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(20, 32, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 32, 43, 0.10);
  --shadow-blue: 0 12px 30px rgba(0, 120, 168, 0.30);

  /* Motion + layout */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 220ms;
  --maxw: 1180px;
  --header-h: 74px;

  /* Hero photo overlay: uniformly HIGH opacity across the whole width (text column is
     centered, not left-pinned) so white H1/body/ghost-button stay AA everywhere. Never
     terminates at the light --blue-500, which fails AA for text. Uses --blue-900 → --blue-700. */
  --hero-overlay: linear-gradient(115deg, rgba(4, 40, 58, 0.90) 0%, rgba(0, 120, 168, 0.86) 55%, rgba(0, 120, 168, 0.82) 100%);
}
