/* tokens.css - Design Tokens for nbfree.net */
:root {
  /* 颜色 */
  --color-primary: hsl(210, 60%, 45%);
  --color-primary-dark: hsl(210, 60%, 35%);
  --color-primary-light: hsl(210, 60%, 95%);
  --color-accent: hsl(25, 85%, 55%);
  --color-accent-dark: hsl(25, 85%, 45%);
  --color-bg: hsl(40, 20%, 98%);
  --color-surface: hsl(0, 0%, 100%);
  --color-text: hsl(220, 15%, 20%);
  --color-text-muted: hsl(220, 10%, 45%);
  --color-border: hsl(220, 10%, 90%);
  --color-success: hsl(145, 60%, 35%);
  --color-warning: hsl(40, 90%, 40%);
  --color-danger: hsl(0, 70%, 45%);

  /* 字体 */
  --font-heading: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "Courier New", monospace;

  /* 字号 */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;

  /* 行高 */
  --line-height-tight: 1.3;
  --line-height-normal: 1.75;
  --line-height-loose: 1.9;

  /* 间距 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-focus: 0 0 0 3px hsla(210,60%,45%,0.25);

  /* 动效 */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* 布局 */
  --container-max: 1200px;
  --header-height: 64px;

  /* 断点（仅参考，实际用媒体查询） */
  --bp-sm: 375px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}
