/* 图盾工坊 · 设计 token
 * 跟 docs/superpowers/specs/2026-05-10-frontend-redesign-design.md §4 对齐
 * 后续 landing.css / workbench.css / components.css 都引用这里的变量
 */

:root {
  /* 颜色 */
  --ink: #0a0a0a;
  --muted: #525252;
  --soft: #6b6b65;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.16);
  --bg: #fafaf7;
  --bg-tan: #f0efe8;
  --accent: #0071e3;
  --green: #15803d;
  --green-soft: rgba(21, 128, 61, 0.08);
  --red: #b91c1c;
  --red-soft: rgba(185, 28, 28, 0.08);

  /* 字体栈 */
  --serif: "Times New Roman", Georgia, "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* 圆角 */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;

  /* 文本基本 */
  --line-height-text: 1.6;
  --line-height-tight: 1.1;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  color: var(--ink);
  font-family: var(--sans);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
