/* ===== Design Tokens — Michuan Technology ===== */
:root {
  /* Background Scale */
  --c-bg: #080d1a;
  --c-surface: #0d1527;
  --c-card: #0f1a30;
  --c-card-hover: #152240;
  --c-border: #1a3255;
  --c-border-bright: #264d7a;

  /* Brand Colors (all WCAG AA ≥ 4.5:1 on --c-bg) */
  --c-primary: #40c8ff;        /* contrast 10.3:1 */
  --c-primary-glow: rgba(64, 200, 255, 0.18);
  --c-primary-dim: rgba(64, 200, 255, 0.08);
  --c-accent: #00ff9d;         /* contrast 14.9:1 */
  --c-accent-glow: rgba(0, 255, 157, 0.15);
  --c-accent-dim: rgba(0, 255, 157, 0.08);

  /* Text */
  --c-text: #ddeeff;           /* contrast 14.5:1 */
  --c-text-secondary: #7aaac8; /* contrast 5.1:1  */
  --c-text-muted: #4a6a84;

  /* Semantic */
  --c-success: #00e87a;
  --c-warn: #ffd000;
  --c-error: #ff4757;

  /* Typography */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;

  /* Type Scale */
  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.1rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.5rem;

  /* Spacing (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w: 1280px;
  --nav-h: 68px;
  --radius: 6px;
  --radius-lg: 12px;
  --section-py: var(--sp-20);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.45s ease;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--c-border);
  --shadow-primary: 0 0 20px var(--c-primary-glow);
  --shadow-accent: 0 0 20px var(--c-accent-glow);
}
