/* xAILaw design system tokens — canonical source.
 * Loaded from both base_marketing.html and base_product.html, ahead of the
 * per-page stylesheet. Page CSS may override individual tokens when a screen
 * needs a different scale (e.g. login's compact type, the marketing landing's
 * editorial scale); those overrides live in the per-page :root.
 */
:root {
  /* Brand */
  --blue: #0032A0;
  --red: #C8102E;

  /* Neutrals */
  --color-ink: #0A0A0A;
  --color-primary-text: #333333;
  --color-secondary-text: #5F5F5F;
  --color-tertiary-text: #8C8C8C;
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-border: #DFDFDF;

  /* Action / interactive */
  --color-action:         #0032A0;
  --color-action-hover:   #002480;
  --color-action-active:  #001C60;
  --color-secondary-btn:  #5F5F5F;
  --color-accent:         #0032A0;
  --color-border-focus:   #0032A0;
  --color-input-bg:       #FFFFFF;

  /* Status (product app) */
  --color-success: #2E7D32;
  --color-warning: #C4882B;
  --color-error: #C8102E;

  /* Status badges (dashboard) */
  --color-badge-new:      #0032A0;
  --color-badge-progress: #C4882B;
  --color-badge-review:   #5F5F5F;
  --color-badge-complete: #2E7D32;

  /* Typography */
  --font-serif:     'Roboto', sans-serif;
  --font-sans:      'Roboto', sans-serif;
  --font-mono:      'Roboto Mono', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.1875rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;

  --leading-tight:  1.25;
  --leading-normal: 1.55;
  --leading-loose:  1.7;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-wider:  0.08em;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(26, 26, 24, 0.04);
  --shadow-md:  0 2px 8px rgba(26, 26, 24, 0.06), 0 1px 2px rgba(26, 26, 24, 0.04);
  --shadow-lg:  0 4px 16px rgba(26, 26, 24, 0.08), 0 2px 4px rgba(26, 26, 24, 0.04);
  --shadow-xl:  0 8px 32px rgba(26, 26, 24, 0.1), 0 2px 8px rgba(26, 26, 24, 0.04);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}
