/* Design tokens — Grupo TANDEM brand system */
/* Basado en brand/brand-manual.md */

:root {
  /* === COLORS === */
  /* Brand */
  --color-brand: #FF5C01;
  --color-brand-dark: #CC4900;
  --color-brand-light: #FFE7D6;
  --color-brand-50: #FFF4ED;

  /* Secondary (azul corporativo) */
  --color-secondary: #0B5394;
  --color-secondary-dark: #073B6B;
  --color-secondary-50: #EEF4FB;

  /* Neutrals */
  --color-ink: #0F172A;          /* headings ultra fuerte */
  --color-dark: #1F2937;         /* headings */
  --color-body: #374151;         /* body text */
  --color-muted: #6B7280;        /* secondary text */
  --color-soft: #9CA3AF;         /* captions */
  --color-line: #E5E7EB;         /* borders */
  --color-line-soft: #F3F4F6;    /* dividers, backgrounds */
  --color-bg: #FAF9F7;           /* page background */
  --color-bg-alt: #FFFFFF;       /* card background */

  /* Semantic */
  --color-success: #10B981;
  --color-error: #DC2626;
  --color-warning: #F59E0B;
  --color-info: #0EA5E9;

  /* === TYPOGRAPHY === */
  --font-display: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Type scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 1.875rem;    /* 30px */
  --text-3xl: 2.25rem;     /* 36px */
  --text-4xl: 3rem;        /* 48px */
  --text-5xl: 3.75rem;     /* 60px */
  --text-6xl: 4.5rem;      /* 72px */

  /* Line heights */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  /* === SPACING (8px base) === */
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */
  --space-32: 8rem;     /* 128 */

  /* === RADIUS === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, 0.12), 0 4px 8px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --shadow-brand: 0 8px 24px -6px rgba(255, 92, 1, 0.30);

  /* === CONTAINERS === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1280px;

  /* === TRANSITIONS === */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
