/*
 * Canonical design tokens for the whole RuleVerdict ecosystem - the
 * Angular dashboard (web/src/styles.css, via Tailwind's @theme, which
 * this file's values are copied from) and the Django-rendered marketing
 * site (static/theme/*.css, plain CSS custom properties - Django's
 * templates aren't run through a Tailwind build in Phase 1, see
 * docs/PLAN.md's "Theme/component reuse" note) both derive from these
 * same numbers. Same brand/gray/success/error/warning scale and shadow
 * tokens as otl-calculator/rule-editor/src/styles.css's @theme block -
 * kept in sync deliberately, not automatically; a change to one is a
 * decision to update the other, cross-referenced in both places.
 *
 * --color-brand-* is an independent kelly-green identity, matched to
 * our own site rather than a commercial
 * admin-dashboard template's blue whose free-tier licensing terms for
 * SaaS end-products turned out to be genuinely unclear on inspection -
 * see docs/PLAN.md's "Own design system, not a template's" note.
 * --color-gray-*, success-*, error-*, warning-* stay as they are - generic,
 * widely-shared conventions, not a distinctive choice worth re-deriving
 * (deliberately accepting that success-* sits in the same green family
 * as the brand color now - see that same PLAN.md note).
 *
 * If either surface needs a token the other doesn't yet have, add it
 * here first, then use it in both - this file is the source, not either
 * consumer's own copy.
 */
:root {
  --font-outfit: 'Outfit', sans-serif;

  --text-theme-sm: 14px;
  --text-theme-sm-line-height: 20px;

  --color-brand-25: #f5faf5;
  --color-brand-50: #e9f6ea;
  --color-brand-100: #cfecd2;
  --color-brand-200: #a3daa9;
  --color-brand-300: #72c47b;
  --color-brand-400: #4fb058;
  --color-brand-500: #3d9c47;
  --color-brand-600: #33863c;
  --color-brand-700: #296b31;
  --color-brand-800: #235629;
  --color-brand-900: #1c4522;
  --color-brand-950: #0e2712;

  --color-gray-25: #fcfcfd;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f2f4f7;
  --color-gray-200: #e4e7ec;
  --color-gray-300: #d0d5dd;
  --color-gray-400: #98a2b3;
  --color-gray-500: #667085;
  --color-gray-600: #475467;
  --color-gray-700: #344054;
  --color-gray-800: #1d2939;
  --color-gray-900: #101828;
  --color-gray-950: #0c111d;

  --color-success-25: #f6fef9;
  --color-success-50: #ecfdf3;
  --color-success-100: #d1fadf;
  --color-success-200: #a6f4c5;
  --color-success-300: #6ce9a6;
  --color-success-400: #32d583;
  --color-success-500: #12b76a;
  --color-success-600: #039855;
  --color-success-700: #027a48;
  --color-success-800: #05603a;
  --color-success-900: #054f31;

  --color-error-25: #fffbfa;
  --color-error-50: #fef3f2;
  --color-error-100: #fee4e2;
  --color-error-200: #fecdca;
  --color-error-300: #fda29b;
  --color-error-400: #f97066;
  --color-error-500: #f04438;
  --color-error-600: #d92d20;
  --color-error-700: #b42318;
  --color-error-800: #912018;
  --color-error-900: #7a271a;

  --color-warning-25: #fffcf5;
  --color-warning-50: #fffaeb;
  --color-warning-100: #fef0c7;
  --color-warning-200: #fedf89;
  --color-warning-300: #fec84b;
  --color-warning-400: #fdb022;
  --color-warning-500: #f79009;
  --color-warning-600: #dc6803;
  --color-warning-700: #b54708;
  --color-warning-800: #93370d;
  --color-warning-900: #7a2e0e;

  --shadow-theme-xs: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  --shadow-theme-sm: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
  --shadow-theme-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  --shadow-theme-lg: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  --shadow-focus-ring: 0px 0px 0px 4px rgba(61, 156, 71, 0.12);

  /* Flattened to a single sharper corner radius across the board - kept
   * in sync with the same override in both Angular apps'
   * @theme { --radius-md/lg/xl/2xl } blocks. Pills/avatars (fully
   * rounded) are untouched - see static/css/components.css. */
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --radius-2xl: 4px;
}
