/* tokens.css — 农产豆类作物大全 · 设计变量（唯一颜色/字号/间距来源）
   来源：03-ui/home-ui-desktop.png 量稿 + site-design-system 抽取（05-design-system/design-system.md）
   分区高度预算与逐轮 compare 见 03-ui/compare-log.md */
:root{
  /* ---------------------------------------------------------- 底色与纸感 */
  --bg: #fbfbfa;
  --bg-warm: #f6f6ee;
  --bg-tint: #e6ecd9;
  --bg-card: #ffffff;
  --bg-soft: #f1f1ea;
  --bg-panel: #f3f1e6;          /* M6 说明面板 */
  --hero-grad-1: #f9f6ef;       /* 首屏暖米渐变起止 */
  --hero-grad-2: #f5f1e4;
  --hero-grad-3: #efe9d6;
  --hero-grad-4: #eae2c8;

  /* -------------------------------------------------------------- 墨色阶 */
  --ink: #1b2419;
  --body: #3c4238;
  --muted: #6d7367;
  --muted-2: #8d9287;

  /* -------------------------------------------------------------- 强调色 */
  --green: #1e4828;
  --green-deep: #16371e;
  --green-soft: #d9e3cc;
  --gold: #b0862c;

  /* ------------------------------------------------------------- 反白阶 */
  --ink-invert: #f7f5e9;
  --muted-invert: #c6d1bd;
  --muted-invert-2: #a9bda3;
  --brand-invert: #c3cebb;
  --link-invert: #f5f3e3;

  /* ------------------------------------------------------------------ 线 */
  --line: rgba(30, 72, 40, 0.16);
  --line-soft: rgba(30, 72, 40, 0.09);
  --line-invert: rgba(247, 245, 233, 0.22);
  --line-invert-strong: rgba(247, 245, 233, 0.6);
  --shade: rgba(24, 46, 26, 0.58);   /* 图注胶囊底色 */

  /* ---------------------------------------------------------------- 栅格 */
  --wrap: 1408px;
  --gutter: 24px;

  /* --------------------------------------------------------- 圆角与阴影 */
  --radius-sm: 6px;      /* --r-1 */
  --radius: 10px;        /* --r-6 */
  --radius-lg: 16px;
  --radius-xs: 4px;      /* --r-2 */
  --radius-mark: 9px;    /* --r-3 品牌标记 */
  --pill: 999px;         /* --r-4 */
  --round: 50%;          /* --r-5 圆点 */
  --shadow: 0 16px 40px -32px rgba(27, 36, 25, 0.5);   /* --shadow-1 */

  /* ---------------------------------------------------------------- 字体 */
  --font-serif: 'Songti SC',SimSun,'Noto Serif SC',Georgia,serif;
  --font-sans: 'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;

  /* -------------------------------------------------------------- 字号阶 */
  --fs-1: 10px;
  --fs-2: 11px;
  --fs-3: 11.2px;
  --fs-4: 11.4px;
  --fs-5: 11.5px;
  --fs-6: 11.8px;
  --fs-7: 12px;
  --fs-8: 12.2px;
  --fs-9: 12.4px;
  --fs-10: 12.5px;
  --fs-11: 12.8px;
  --fs-12: 13px;
  --fs-13: 13.5px;
  --fs-14: 14px;
  --fs-15: 14.5px;
  --fs-16: 15px;
  --fs-17: 15.5px;
  --fs-18: 17.5px;
  --fs-19: 22px;
  --fs-20: 35px;

  /* 语义字号（组件里优先用这几个） */
  --fs-eyebrow: 11.5px;
  --fs-small: 12px;
  --fs-body: 14.5px;
  --fs-lead: 15px;
  --fs-h3: 16px;
  --fs-h2: 29px;
  --fs-h1: 41px;

  /* ------------------------------------------ 分区高度预算（1440 设计宽） */
  /* 合计 2160 = 与稿一致；切点 68/488/830/1090/1290/1500/1704/1849/1979/2160 */
  --h-header: 68px;
  --h-hero: 488px;
  --h-cats: 342px;
  --h-items: 260px;
  --h-calendar: 200px;
  --h-steps: 210px;
  --h-note: 204px;
  --h-faq: 145px;
  --h-cta: 130px;
  --h-footer: 181px;
}
