/* ============================================================
   FND CONTRACTS — DESIGN TOKENS
   Mirrored from the FND Contracts Design System
   (Claude Design project 9602caaa-b74a-46c1-befa-8d22cdc3f7ae).
   Keep this file in sync with the design system; do not fork it.
   ============================================================ */

/* --- Webfonts ------------------------------------------------
   Montserrat   -> brand display (Gotham-like geometric)
   Public Sans  -> body/UI (official U.S. federal typeface, USWDS)
   IBM Plex Mono-> contract IDs, codes, tabular data
   ------------------------------------------------------------ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* --- GovCon Blue (primary corporate navy) ---------------- */
  --blue-950: #0F1A30;
  --blue-900: #14213D;
  --blue-800: #1B2A47;
  --blue-700: #1E2E50;   /* GovCon Blue — logo "FND" navy / brand anchor */
  --blue-600: #2C406A;
  --blue-500: #3A5488;   /* interactive / link */
  --blue-400: #5B76A8;
  --blue-300: #8EA1C2;
  --blue-200: #C2CDDF;
  --blue-100: #E5EAF2;
  --blue-50:  #F3F6FA;

  /* --- Native Red (dynamic, action-oriented) --------------- */
  --red-800: #7A100C;
  --red-700: #8E1410;   /* logo "CONTRACTS" deep red */
  --red-600: #B81D18;   /* brand red — primary CTA */
  --red-500: #D4221C;
  --red-400: #E8362F;   /* circle highlight (top of gradient) */
  --red-200: #F6BFBC;
  --red-100: #FBE6E5;
  --red-50:  #FDF3F2;

  /* --- SLED Gold (prestige / award accent) ----------------- */
  --gold-700: #97751F;
  --gold-600: #B8902F;
  --gold-500: #C9A227;
  --gold-400: #D9B843;
  --gold-300: #E7CD6F;
  --gold-100: #F6ECCB;
  --gold-50:  #FBF6E6;

  /* --- Strategic Gray (neutral / utility) ------------------ */
  --gray-950: #12141A;
  --gray-900: #1A1D23;
  --gray-800: #2B2F38;
  --gray-700: #3F4550;
  --gray-600: #5A616E;
  --gray-500: #79808E;
  --gray-400: #9AA1AD;
  --gray-300: #C3C9D2;
  --gray-200: #E0E4EA;
  --gray-100: #EEF1F4;
  --gray-50:  #F7F9FB;
  --white:    #FFFFFF;

  /* --- Brand anchors (semantic aliases) -------------------- */
  --brand-blue: var(--blue-700);
  --brand-red:  var(--red-600);
  --brand-gold: var(--gold-500);
  --brand-circle-from: var(--red-400);
  --brand-circle-to:   var(--red-700);

  /* --- Surfaces -------------------------------------------- */
  --surface-page:    var(--white);
  --surface-card:    var(--white);
  --surface-sunken:  var(--gray-50);
  --surface-muted:   var(--gray-100);
  --surface-inverse: var(--blue-800);
  --surface-inverse-deep: var(--blue-950);

  /* --- Text ------------------------------------------------ */
  --text-strong:  var(--blue-900);
  --text-body:    var(--gray-800);
  --text-muted:   var(--gray-600);
  --text-subtle:  var(--gray-500);
  --text-inverse: var(--white);
  --text-inverse-muted: var(--blue-200);
  --text-link:    var(--blue-500);
  --text-on-red:  var(--white);
  --text-on-gold: var(--blue-900);

  /* --- Borders / dividers ---------------------------------- */
  --border:         var(--gray-200);
  --border-strong:  var(--gray-300);
  --border-inverse: rgba(255, 255, 255, 0.14);
  --divider:        var(--gray-100);

  /* --- Interactive states (CTA = red, secondary = blue) ----- */
  --action:        var(--red-600);
  --action-hover:  var(--red-700);
  --action-active: var(--red-800);
  --action-soft:   var(--red-50);

  --action-blue:        var(--blue-700);
  --action-blue-hover:  var(--blue-800);
  --action-blue-active: var(--blue-900);
  --action-blue-soft:   var(--blue-50);

  /* --- Semantic feedback ----------------------------------- */
  --success-600: #1F7A4D;
  --success-100: #E2F2EA;
  --warning-600: var(--gold-600);
  --warning-100: var(--gold-100);
  --danger-600:  var(--red-600);
  --danger-100:  var(--red-100);
  --info-600:    var(--blue-500);
  --info-100:    var(--blue-100);

  /* --- Focus ring ------------------------------------------ */
  --focus-ring: 0 0 0 3px rgba(58, 84, 136, 0.45);
  --focus-ring-red: 0 0 0 3px rgba(184, 29, 24, 0.35);

  /* --- Families -------------------------------------------- */
  --font-display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* --- Weights --------------------------------------------- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  /* --- Type scale (1.250 major-third, 16px base) ----------- */
  --text-2xs: 0.6875rem;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-md:  1.125rem;
  --text-lg:  1.375rem;
  --text-xl:  1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 2.875rem;
  --text-4xl: 3.75rem;
  --text-5xl: 4.75rem;

  /* --- Line heights ---------------------------------------- */
  --leading-tight: 1.05;
  --leading-snug: 1.18;
  --leading-heading: 1.12;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* --- Letter spacing -------------------------------------- */
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-caps: 0.12em;

  /* --- Spacing scale (4px base) ---------------------------- */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* --- Radius (crisp, engineered — not pill-soft) ---------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* --- Borders --------------------------------------------- */
  --border-width: 1px;
  --border-width-strong: 2px;
  --border-accent-width: 3px;

  /* --- Elevation / shadows (cool navy-tinted) -------------- */
  --shadow-xs: 0 1px 2px rgba(20, 33, 61, 0.06);
  --shadow-sm: 0 1px 3px rgba(20, 33, 61, 0.08), 0 1px 2px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 33, 61, 0.10), 0 2px 4px rgba(20, 33, 61, 0.06);
  --shadow-lg: 0 12px 28px rgba(20, 33, 61, 0.14), 0 4px 8px rgba(20, 33, 61, 0.07);
  --shadow-xl: 0 24px 48px rgba(15, 26, 48, 0.20), 0 8px 16px rgba(15, 26, 48, 0.10);
  --shadow-inset: inset 0 1px 2px rgba(20, 33, 61, 0.08);

  /* --- Motion ---------------------------------------------- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;

  /* --- Layout ---------------------------------------------- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1140px;
  --container-xl: 1320px;
  --gutter: var(--space-5);
  --section-y: var(--space-12);

  /* --- Z-index --------------------------------------------- */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-toast: 1500;
}
