/* ============================================================
   tokens.css — Design tokens & CSS custom properties
   DriftMind v0.7  |  last updated 2026-06-18
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* --- Color palette --- */
  --color-bg:          #0B0C10;
  --color-surface:     #13151F;
  --color-surface-2:   #1C1F2E;

  --color-accent:      #8B8FFF;
  --color-accent-dim:  rgba(139, 143, 255, 0.12);
  --color-accent-dim2: rgba(139, 143, 255, 0.06);

  --color-text:        #ECEEF5;
  --color-text-mid:    #A0A3B8;
  --color-text-dim:    #5C5F74;

  --color-border:      rgba(139, 143, 255, 0.14);
  --color-border-mid:  rgba(139, 143, 255, 0.25);

  /* --- Typography --- */
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:   0.7rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.05rem;
  --text-lg:   1.1rem;
  --text-xl:   1.25rem;

  /* --- Spacing scale --- */
  --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-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --max-width: 1400px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  /* --- Transitions --- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.35s ease;
}
