/*
 * MedVerify Guardian — Care with Intelligence / Guardian design tokens + base
 * typography. Colour utilities live inline (Tailwind); these vars document the
 * locked palette and back the indigo header gradient.
 *
 * NOTE ON COLOUR MECHANISM: Tailwind is loaded via CDN with only `fontFamily`
 * extended in index.html — so utility colours resolve from Tailwind's DEFAULT
 * palette, NOT from the CSS variables below. Tailwind's default `indigo-*` and
 * `slate-*` ramps happen to match these locked hexes exactly (indigo-700 =
 * #4338CA, indigo-950 = #1E1B4B, slate-700 = #334155, …), so the UI uses those
 * named classes. Tailwind has NO `gold` ramp, so gold is always applied as
 * inline hex (e.g. text-[#EAB308], text-[#CA8A04]). The variables here are
 * documentation + the source for the inline header gradient.
 */
:root {
  --indigo-950: #1E1B4B;
  --indigo-900: #312E81;
  --indigo-700: #4338CA;
  --indigo-100: #E0E7FF;
  --indigo-50: #EEF2FF;  /* soft indigo surface (icon tiles, subtle highlights) */

  --gold-600: #CA8A04; /* gold-on-light eyebrow text (accessible on white) */
  --gold-500: #EAB308; /* BRAND identity only — shield mark + "Guardian" wordmark */
  --gold-400: #FBBF24; /* gold eyebrow text on dark panels */
  --gold-300: #FCD34D;
  --gold-100: #FEF3C7;

  --slate-900: #0F172A;
  --slate-700: #334155; /* body copy */
  --slate-500: #64748B; /* secondary text / labels */
  --slate-400: #94A3B8; /* captions / genuinely non-essential muted text only */
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --cream: #FEFBF0;

  /* Clinical severity scale — independent of brand, never gold. */
  --emerald: #10B981;
  --amber: #F59E0B;
  --red: #DC2626;
}

html {
  scroll-behavior: smooth; /* anchor nav on the marketing landing */
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--slate-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Manrope for display/headings + the wordmark, with the locked display tracking. */
h1, h2, h3, h4, h5, .font-display {
  font-family: 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--indigo-100);
  color: var(--indigo-950);
}

/* Respect reduced-motion: disable transitions/animations for users who ask. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
