/**
 * Email template color tokens.
 *
 * These values are MIRRORED from src/styles/tokens.css.
 * Email clients cannot evaluate CSS variables, so templates must use concrete
 * hex values via inline styles. This file is the single source of truth for
 * those inline values - update here if tokens.css changes.
 *
 * This is the ONLY place in the codebase (outside tokens.css) where raw
 * hex values are permitted, per the no-hardcoded-values rule exception for
 * server-side email rendering.
 */

export const tokens = {
  // Brand / primary (blue)
  brandPrimary600: '#2563eb',
  brandPrimary700: '#1d4ed8',
  brandPrimary800: '#1e40af',
  brandPrimary900: '#1e3a8a',
  brandOnPrimary: '#ffffff',

  // Neutral
  neutral0: '#ffffff',
  neutral50: '#f9fafb',
  neutral100: '#f3f4f6',
  neutral200: '#e5e7eb',
  neutral300: '#d1d5db',
  neutral400: '#9ca3af',
  neutral500: '#6b7280',
  neutral600: '#4b5563',
  neutral700: '#374151',
  neutral800: '#1f2937',
  neutral900: '#111827',

  // Semantic
  textPrimary: '#111827', // neutral-900
  textSecondary: '#374151', // neutral-700
  textMuted: '#6b7280', // neutral-500
  textLink: '#1d4ed8', // brand-primary-700
  surfaceBase: '#ffffff', // neutral-0
  surfaceRaised: '#f9fafb', // neutral-50
  borderDefault: '#e5e7eb', // neutral-200

  // Success
  success600: '#16a34a',
  success700: '#15803d',

  // Warning
  warning600: '#d97706',
} as const;

/** Font families safe for email clients. */
export const fonts = {
  he: "'Heebo', 'Arial Hebrew', Arial, sans-serif",
  en: "Arial, 'Helvetica Neue', Helvetica, sans-serif",
  mono: "'Courier New', Courier, monospace",
} as const;
