/* ===================================================================
 * wafu · 和风 · 设计令牌
 * 气质:日式简约、禅意、侘び wabi、留白、克制、自然素材
 * 适合:日料/茶道/民宿/文具/日式美妆/和风内容
 * =================================================================== */
:root {
  --color-primary: #B8472D;            /* 朱赤/弁柄,和风点睛 */
  --color-primary-soft: rgba(184, 71, 45, 0.08);
  --color-secondary: #5C6B4A;          /* 柳煤竹 */

  --color-bg: #F5F1E8;                /* 楠色/和纸米 */
  --color-card: #FAF7EF;
  --color-border: #DDD5C4;

  --color-text: #3A322A;              /* 墨色 */
  --color-text-secondary: #6B5F52;
  --color-text-muted: #9C9082;
  --color-text-disabled: #C4BAA8;
  --color-text-inverse: #FAF7EF;

  --color-success: #6B8E4E;
  --color-warning: #C9904A;
  --color-error: #B8472D;
  --color-info: #5A7A8C;

  /* 和风色板:传统日本色 */
  --color-sumi: #3A322A;              /* 墨 */
  --color-benigara: #B8472D;          /* 弁柄 */
  --color-yanagi: #5C6B4A;            /* 柳 */
  --color-kinari: #F5F1E8;            /* 生成(米白) */

  --font-heading: 'Noto Serif JP', 'Noto Serif SC', 'Songti SC', serif;  /* 明朝体 */
  --font-body: 'Noto Sans JP', 'Noto Sans SC', 'Hiragino Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --font-size-xs: 0.75rem; --font-size-sm: 0.875rem; --font-size-base: 1rem;
  --font-size-lg: 1.1875rem; --font-size-xl: 1.75rem; --font-size-2xl: 2.5rem; --font-size-3xl: 3.5rem;

  --font-weight-regular: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700;

  --line-height-tight: 1.35; --line-height-normal: 1.85; --line-height-relaxed: 2.1;  /* 极松,呼吸 */
  --letter-spacing-tight: -0.01em; --letter-spacing-normal: 0.05em; --letter-spacing-wide: 0.15em;  /* 日文标配宽字距 */

  --space-page-x: 32px; --space-section: 96px; --space-card-pad: 32px;

  --radius-none: 0; --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px; --radius-full: 9999px;  /* 近直角,克制 */
  --border-width-thin: 1px; --border-width-normal: 1px;

  --shadow-sm: 0 1px 4px rgba(58,50,42,0.04);
  --shadow-md: 0 2px 12px rgba(58,50,42,0.06);
  --shadow-lg: 0 8px 28px rgba(58,50,42,0.08);

  --motion-duration-fast: 250ms; --motion-duration-normal: 500ms; --motion-duration-slow: 900ms;  /* 慢,禅 */
  --motion-easing-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --motion-easing-spring: cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 900px;  /* 窄,留白克制 */
  --ratio-card: 3 / 4;     /* 竖版,和风挂轴感 */
  --color-code-bg: #3A322A; --color-code-text: #F5F1E8;
}
