/* ============================================
   VARIABLES — Design Tokens
   ============================================ */

:root {
  /* --- Colors --- */
  --color-bg:             #FAFAFA;
  --color-surface:        #FFFFFF;
  --color-border:         #E5E5E5;
  --color-border-hover:   #D0D0D0;
  --color-text:           #1A1A1A;
  --color-text-secondary: #6B6B6B;
  --color-text-tertiary:  #999999;
  --color-accent:         #1A1A1A;
  --color-accent-hover:   #333333;
  --color-tag-bg:         #F0F0F0;
  --color-tag-text:       #555555;

  /* --- Typography --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Roboto Mono', monospace;

  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;

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

  /* Line Heights */
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight:  -0.025em;
  --tracking-normal: 0;
  --tracking-wide:   0.025em;
  --tracking-caps:   0.1em;

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

  /* --- Layout --- */
  --container-max:    1200px;
  --container-narrow: 720px;
  --container-wide:   1400px;
  --gutter:           var(--space-5);

  /* --- Borders & Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}
