/* ============================================================
   colors.css — Master Color & Theme Tokens
   Palette: "Clinical Blue" — deep navy, medical blue, clean teal,
   cool white surfaces. Calm, modern, trustworthy.
   Variable NAMES are unchanged (--c-green-* now holds the blue
   scale, --c-clay-* holds the teal accent) so every existing
   stylesheet picks up the new look with no other edits.
   ============================================================ */

:root {
  /* ---- Primary: Medical Blue scale (was --c-green-*) ---- */
  --c-green-50:   #eef6fc;
  --c-green-100:  #d9eaf7;
  --c-green-200:  #b3d6ef;
  --c-green-300:  #7fb8e0;
  --c-green-400:  #3a9ad6;   /* bright blue (focus, highlights) */
  --c-green-500:  #0b6fb3;   /* PRIMARY — white text contrast 5.4:1 */
  --c-green-600:  #095c96;
  --c-green-700:  #0a4a78;
  --c-green-900:  #0a2540;   /* navy (footer, dark sections) */

  /* ---- Ink / Text (cool navy-tinted) ---- */
  --c-ink-900:    #0b1b2b;
  --c-ink-700:    #26394d;
  --c-ink-500:    #566a7f;   /* 5.4:1 on white */
  --c-ink-300:    #8fa1b3;

  /* ---- Cool neutrals ---- */
  --c-paper-0:    #ffffff;
  --c-paper-50:   #f6f9fc;
  --c-paper-100:  #edf3f8;
  --c-paper-200:  #dce6ef;

  /* ---- Accent: Clinical Teal (was clay) — CTAs, offers ---- */
  --c-clay-400:   #17a398;
  --c-clay-500:   #0f766e;   /* white text contrast 5.5:1 */
  --c-clay-600:   #0b5f59;

  /* ---- Accent: Amber (ratings, stars) ---- */
  --c-gold-400:   #f5b73b;
  --c-gold-500:   #d98e0b;

  /* ---- Status ---- */
  --c-success:    #0f766e;
  --c-danger:     #c0392b;
  --c-info:       #0b6fb3;

  /* ---- Gradients ---- */
  --grad-hero:    linear-gradient(135deg, #061a30 0%, #0a3a66 52%, #0b6fb3 100%);
  --grad-soft:    linear-gradient(180deg, var(--c-green-50) 0%, var(--c-paper-0) 100%);
  --grad-card:    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  --grad-clay:    linear-gradient(135deg, var(--c-clay-500) 0%, var(--c-clay-400) 100%);
  --grad-overlay: linear-gradient(180deg, rgba(6,26,48,0) 0%, rgba(6,26,48,.85) 100%);

  /* ---- Surfaces ---- */
  --surface-bg:       var(--c-paper-50);
  --surface-card:     var(--c-paper-0);
  --surface-border:   var(--c-paper-200);
  --surface-elevated: #ffffff;

  /* ---- Shadows (soft, cool) ---- */
  --shadow-sm:   0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.05);
  --shadow-md:   0 4px 14px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.05);
  --shadow-lg:   0 14px 34px rgba(10,37,64,.12), 0 4px 12px rgba(10,37,64,.07);
  --shadow-glow: 0 0 0 4px rgba(11,111,179,.16);

  /* ---- Radius: modern rounded-rect (pills are now soft rectangles) ---- */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-pill: 12px;

  /* ---- Typography ---- */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast:    160ms;
  --dur-med:     280ms;
  --dur-slow:    500ms;
}
