/* MIR Cloud — Common Design System */

:root {
  /* Brand Colors */
  --color-primary:      #1E40AF;
  --color-primary-light:#3B82F6;
  --color-primary-dark: #1E3A8A;
  --color-accent:       #06B6D4;

  /* Neutrals */
  --color-bg:           #FAFAFA;
  --color-surface:      #FFFFFF;
  --color-surface-2:    #F4F6F9;
  --color-border:       #E5E9F0;
  --color-text:         #1A202C;
  --color-text-muted:   #64748B;
  --color-text-light:   #94A3B8;

  /* Category Colors */
  --cat-product:   #3B82F6;
  --cat-service:   #10B981;
  --cat-tech:      #8B5CF6;
  --cat-marketing: #F59E0B;
  --cat-notice:    #6B7280;

  /* Typography */
  --font-sans:  'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Layout */
  --max-width:       1200px;
  --content-width:   760px;
  --sidebar-width:   280px;
  --nav-height:      64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);

  /* Transitions */
  --transition: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
