/* 블로그 디자인 토큰 (피그마 Design System 기반) */
:root {
  /* Colors - Primary */
  --color-primary: #1A4F34;
  --color-primary-dark: #0F3322;
  --color-primary-light: #2D7550;
  
  /* Colors - Secondary & Accent */
  --color-secondary: #4A9D6F;
  --color-accent: #E8FBE5;
  
  /* Colors - Text */
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-text-secondary: #555555;
  
  /* Colors - Background */
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  
  /* Colors - Blog Categories */
  --color-category-market: #2D6CDF;
  --color-category-ops: #F59E0B;
  --color-category-behind: #10B981;
  --color-category-story: #6B7280;
  
  /* Colors - Borders */
  --color-border: #E5E7EB;
  
  /* Spacing Scale (8pt 기반) */
  --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;
  --space-16: 64px;
  --space-20: 80px;
  
  /* Border Radius */
  --radius-card: 12px;
  --radius-panel: 15px;
  --radius-button: 50px;
  --radius-chip: 16px;
  
  /* Shadows */
  --shadow-base: 0 2px 10px rgba(0, 0, 0, 0.10);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
  
  /* Motion */
  --transition-std: 300ms ease;
  
  /* Typography */
  --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size: 16px;
  --line-height: 1.6;
  
  /* Effects */
  --overlay-gradient: linear-gradient(135deg, rgba(26, 79, 52, 0.80) 0%, rgba(74, 157, 111, 0.60) 100%);
  
  /* Container & Layout */
  --container-max: 1200px;
  --section-padding-y: 80px;
  --header-height: 80px;
  --header-height-mobile: 64px;
}

/* 레거시 호환 매핑 */
:root {
  --primary-color: var(--color-primary);
  --primary-dark: var(--color-primary-dark);
  --primary-light: var(--color-primary-light);
  --secondary-color: var(--color-secondary);
  --accent-color: var(--color-accent);
  --text-dark: var(--color-text);
  --text-light: var(--color-text-muted);
  --bg-light: var(--color-bg);
  --bg-white: var(--color-surface);
  --shadow: var(--shadow-base);
  /* 레거시 컬러 토큰 호환 */
  --color-text-main: var(--color-text);
}

/* Base Typography */
html {
  font-size: var(--font-size);
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

button {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-family);
}
