/* iPath.AI — Design Tokens
 * Brand blue: #3149fb
 * Style: 科技感简约 (tech minimal)
 * Palette derived from brand blue + neutral greys
 */

:root {
  /* Primary — brand blue #3149fb */
  --primary:       #3149fb;
  --primary-light: color-mix(in oklch, var(--primary) 60%, white);
  --primary-dark:  color-mix(in oklch, var(--primary) 80%, black);
  --primary-bg:    oklch(96% 0.02 260);

  /* Neutrals */
  --bg:            oklch(99% 0.002 255);
  --surface:       oklch(100% 0 0);
  --surface-alt:   oklch(97% 0.003 255);
  --fg:            oklch(20% 0.015 255);
  --muted:         oklch(52% 0.010 255);
  --border:        oklch(92% 0.004 255);

  /* Dark surfaces */
  --dark-bg:       oklch(14% 0.02 255);
  --dark-surface:  oklch(18% 0.02 255);
  --dark-fg:       oklch(96% 0.004 255);
  --dark-muted:    oklch(62% 0.010 255);

  /* Accent */
  --accent:        oklch(56% 0.24 255);
  --accent-green:  oklch(62% 0.18 145);
  --accent-amber:  oklch(70% 0.18 80);

  /* Typography */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

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

  /* Radius */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Container */
  --container: 1200px;
  --container-wide: 1400px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
