/* Pretendard Font Face Definitions */
@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/Pretendard-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Design tokens: light/dark theme, spacing, radius, shadow, motion */

:root {
  /* Typography */
  --font-family-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-family-mono: 'Courier New', monospace;
  
  /* Layout */
  --sidebar-width: 240px;

  /* Color palette (Light) */
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --text-1: #0B0F19;
  --text-2: #475569;
  --muted: #94A3B8;
  --border: #E2E8F0;

  /* Accent / State */
  --primary-600: #0A84FF; /* iOS Blue */
  --primary-700: #0060DF;
  --success-600: #10B981;
  --warning-600: #F59E0B;
  --danger-600: #EF4444;
  --info-600: #3B82F6;

  /* Radius */
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius: var(--radius-10);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Focus */
  --focus-ring-color: rgba(10, 132, 255, 0.28);
  --focus-ring: 0 0 0 3px var(--focus-ring-color);

  /* Motion */
  --transition-1: 120ms cubic-bezier(0.2, 0, 0, 1);
  --transition-2: 180ms cubic-bezier(0.2, 0, 0, 1);

  /* Z-index */
  --z-overlay: 1000;
}

/* Base */
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 다크 모드 제거: 라이트 모드만 유지 */

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
