/* tokens.css — design system foundation */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* ── Color ─────────────────────────────── */
  --color-bg:           #F7F5F0;
  --color-surface:      #FFFFFF;
  --color-border:       #E2DED6;
  --color-border-dark:  #C8C3B8;

  --color-text:         #1A1A1A;
  --color-text-muted:   #6B6760;
  --color-text-faint:   #A09C95;

  --color-accent:       #1D4A35;
  --color-accent-light: #EBF2EE;
  --color-negative:     #8B2020;
  --color-negative-bg:  #F9EEEE;
  --color-warning:      #7A5C1E;
  --color-warning-bg:   #FBF4E6;

  /* ── Typography ────────────────────────── */
  --font-display: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --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:  2rem;      /* 32px */
  --text-4xl:  2.75rem;   /* 44px */

  /* ── 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;

  /* ── Layout ────────────────────────────── */
  --max-width:     960px;
  --nav-height:    56px;
  --border-radius: 4px;

  /* ── Shadows ───────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);

  /* ── Transitions ───────────────────────── */
  --transition: 150ms ease;
}
