/* TensorArt v2.0 Design Tokens — Apple HIG Precision × Anti-AI-Slop */
:root {
  /* Light System (Apple Gallery White) */
  --bg-canvas: #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-elevated: #ececef;
  --fg-primary: #1d1d1f;
  --fg-secondary: #6e6e73;
  --line-hairline: #d2d2d7;
  --link-light: #0066cc;
  --link-light-hover: #004ea2;

  /* Product Focal Accents (Spend boldness in one place) */
  --accent-drawart: #b33a1e;
  --accent-drawart-hover: #962f17;
  --accent-zekt: #c9a24d;
  --accent-zekt-hover: #d8b566;
  --accent-scratchpaper: #117a4b;
  --accent-scratchpaper-hover: #0d633c;

  /* Dark Pro System (Apple Obsidian Darkroom) */
  --dark-canvas: #000000;
  --dark-surface: #161617;
  --dark-elevated: #222225;
  --dark-fg: #f5f5f7;
  --dark-muted: #86868b;
  --dark-line: #2c2c2e;
  --link-dark: #2997ff;
  --link-dark-hover: #52acff;

  /* Typography: 4 sizes x 2 weights, native SF / PingFang stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --size-display: clamp(32px, 4.2vw, 60px);
  --size-title: clamp(22px, 2.2vw, 36px);
  --size-body: 16px;
  --size-meta: 13px;
  --weight-regular: 400;
  --weight-semibold: 600;

  /* Strict Two-Tier Radii */
  --radius-panel: 12px;
  --radius-control: 8px;

  /* Layout */
  --nav-height: 56px;
  --container-max: 100%;
  --container-wide: 100%;
  --content-measure: 820px;
  --gutter: clamp(16px, 3.5vw, 64px);

  /* Apple-Calibrated Motion Curves */
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-stage: 520ms;
}
