/* ===================================================================
 * earthy-organic · 大地有机 · 设计令牌
 * 气质:黏土/土壤/木质,手写感,自然质朴,可持续
 * 适合:有机食品/可持续品牌/手作/农场/瑜伽
 * =================================================================== */

:root {
  /* ---------- 配色:大地色系,泥土质感 ---------- */
  --color-primary: #6B5D4F;            /* 深木色/树皮 */
  --color-primary-soft: rgba(107, 93, 79, 0.12);
  --color-secondary: #A67C52;          /* 麦色/陶土 */

  --color-bg: #F4EFE6;                /* 燕麦米底,温润 */
  --color-card: #FBF7F0;              /* 奶白卡片 */
  --color-border: #D9CFBE;            /* 沙色描边 */

  --color-text: #3D2F24;              /* 深棕,泥土 */
  --color-text-secondary: #6B5D4F;
  --color-text-muted: #A89888;
  --color-text-disabled: #C9BFAD;
  --color-text-inverse: #FBF7F0;

  --color-success: #6B8E4E;           /* 苔绿 */
  --color-warning: #C7882B;
  --color-error: #A04F3C;             /* 红土 */
  --color-info: #5C7A8C;

  /* 有机点缀色:植物染料感 */
  --color-accent-1: #C9A87C;          /* 亚麻 */
  --color-accent-2: #6B8E4E;          /* 苔藓绿 */
  --color-accent-3: #A04F3C;          /* 赤陶 */
  --color-accent-4: #8B7355;          /* 摩卡 */

  /* ---------- 字体:衬线 + 手写感 ---------- */
  --font-heading: 'Fraunces', 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Lora', 'Noto Serif SC', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1.0625rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.875rem;
  --font-size-2xl: 2.75rem;
  --font-size-3xl: 4rem;

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

  --line-height-tight: 1.25;
  --line-height-normal: 1.75;          /* 松,阅读舒适 */
  --line-height-relaxed: 2.0;

  --letter-spacing-tight: -0.01em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.08em;

  /* ---------- 间距:自然舒展 ---------- */
  --space-page-x: 28px;
  --space-section: 88px;
  --space-card-pad: 32px;

  /* ---------- 形状:不规则/有机圆角 ---------- */
  --radius-none: 0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --border-width-thin: 1px;
  --border-width-normal: 2px;

  /* 阴影:柔散,泥土质感 */
  --shadow-sm: 0 2px 8px rgba(107, 93, 79, 0.06);
  --shadow-md: 0 6px 24px rgba(107, 93, 79, 0.1);
  --shadow-lg: 0 12px 40px rgba(107, 93, 79, 0.15);

  /* ---------- 动效:自然,舒缓 ---------- */
  --motion-duration-fast: 200ms;
  --motion-duration-normal: 450ms;
  --motion-duration-slow: 750ms;
  --motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --motion-easing-spring: cubic-bezier(0.34, 1.3, 0.64, 1);

  /* ---------- 布局 ---------- */
  --container-max: 1100px;
  --ratio-card: 4 / 3;

  --color-code-bg: #3D2F24;
  --color-code-text: #F4EFE6;
}
