/* =========================================================================
   tokens.css — 디자인 토큰 (타이포 / 스페이싱 / 라운드 / 그림자 / 모션)
   컬러 토큰은 themes.css 에서 테마별로 정의한다.
   ========================================================================= */

:root {
  /* ---- Typography ---- */
  --font-sans: 'Pretendard', 'Apple SD Gothic Neo', -apple-system,
    BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', 'Courier New', monospace;

  --text-caption: 11px;  /* 라벨/캡션 (UPPERCASE, letter-spacing 2px) */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-body: 15px;     /* 본문 */
  --text-lg: 18px;
  --text-h2: 20px;       /* H2 */
  --text-xl: 24px;
  --text-h1: 30px;       /* H1 (28~32px) */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.3;
  --lh-body: 1.7;

  /* ---- Spacing scale (4px 기반) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* ---- Shadow ---- */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 22, 40, 0.12);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.3s;
  --dur-slow: 0.4s;

  /* ---- Layout ---- */
  --app-max-width: 480px;
}
