/* Design Tokens — StaiClaw */

:root {
  /* ── Brand / Primary ── */
  --color-primary:        #0ea5e9;   /* sky-500 — AI teal-blue */
  --color-primary-hover:  #0284c7;   /* sky-600 */
  --color-primary-active: #0369a1;   /* sky-700 */
  --color-primary-dark:   #0284c7;
  --color-primary-light:  #e0f2fe;   /* sky-100 */
  --color-primary-border: #bae6fd;   /* sky-200 */
  --color-primary-glow:   rgba(14,165,233,.22);
  --color-secondary:      #06b6d4;   /* cyan-500 */

  /* ── Button design tokens ── */
  --btn-radius:       10px;
  --btn-height-md:    40px;
  --btn-height-sm:    32px;
  --btn-height-lg:    44px;
  --btn-font-size:    13px;
  --btn-font-weight:  600;

  /* ── Neutrals ── */
  --color-background:     #ffffff;
  --color-surface:        #f8fafc;
  --color-surface-2:      #f1f5f9;
  --color-border:         #e2e8f0;
  --color-border-light:   #f1f5f9;
  --color-gray-ultra-light: #f8fafc;

  /* ── Text ── */
  --color-text:           #0f172a;
  --color-text-secondary: #64748b;
  --color-text-muted:     #94a3b8;

  /* ── Status ── */
  --color-success:        #10b981;
  --color-success-light:  #d1fae5;
  --color-warning:        #f59e0b;
  --color-warning-light:  #fef3c7;
  --color-error:          #ef4444;
  --color-error-light:    #fee2e2;
  --color-info:           #3b82f6;
  --color-info-light:     #dbeafe;

  /* ── Spacing ── */
  --spacing-xs:  4px;
  --spacing-sm:  8px;
  --spacing-md:  16px;
  --spacing-lg:  24px;
  --spacing-xl:  32px;
  --spacing-2xl: 48px;

  /* ── Typography ── */
  --font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', Roboto, sans-serif;
  --font-size-h1:          24px;
  --font-size-h2:          20px;
  --font-size-h3:          17px;
  --font-size-body:        14px;
  --font-size-body-small:  13px;
  --font-size-caption:     11px;
  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;

  /* ── Radius ── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:    0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:    0 4px 16px rgba(0,0,0,.10);
  --shadow-hover: 0 8px 24px rgba(0,0,0,.12);
  --shadow-card:  0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.05);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;

  /* ── Layout ── */
  --sidebar-width: 64px;
  --header-height: 56px;
}
