/* ==========================================================================
   tokens.css — 瓜果类水果大全 · 全站唯一语义变量来源
   抽取自 04-site/css/style.css（环节 5），并人工补齐语义命名。
   规则：内页只引用 var(--…)，不再写字面色值 / 字号 / 圆角。
   三页统一在 <head> 里先 link 本文件，再 link style.css / components.css。
   ========================================================================== */

:root {
  /* ---------------------------------------------------------- 底色层级 */
  --cream: #fbfbf2;          /* 页面主背景（奶油纸） */
  --hero-bg: #eff1c7;        /* 首屏淡黄绿 */
  --sage: #f3f5d6;           /* 分类索引区 */
  --sage-deep: #eeefc6;      /* 家族关系区（更深一档） */
  --mint: #e4efd0;           /* 六个常见品种 */
  --warm: #f5efd4;           /* 挑瓜四步（暖米） */
  --origin-bg: #e4efd1;      /* 产区 + 营养 */
  --faq-bg: #ebeecb;         /* FAQ + 收录说明 */
  --note-bg: #f4eed1;        /* 收录说明卡（浅黄） */
  --card: #ffffff;           /* 卡面 */

  /* ---------------------------------------------------------- 文字层级 */
  --ink: #122f0c;            /* 标题（近黑绿） */
  --ink-body: #3f4f34;       /* 正文 */
  --ink-muted: #6c7a5f;      /* 说明 / 次要文字 */
  --ink-invert: #ffffff;     /* 深底上的文字 */
  --shade: rgba(0, 0, 0, .45); /* 图片上的压暗 / 文字投影 */

  /* ------------------------------------------------------------ 品牌绿 */
  --green: #426e2e;          /* 主强调色：按钮、页脚底、图标 */
  --green-deep: #2f5220;     /* 强调色 hover / 深一档 */
  --green-soft: #7ea34e;     /* 编号、小标签 */

  /* ------------------------------------------------------------ 分隔线 */
  --line: rgba(18, 47, 12, .14);        /* 主要分隔线 / 描边 */
  --line-soft: rgba(18, 47, 12, .08);   /* 卡片描边 */
  --line-alt: rgba(255, 255, 255, .18); /* 深底上的分隔线 */

  /* --------------------------------------------------- 页脚（深绿上的字） */
  --ink-alt: #eef4e2;        /* 页脚正文 */
  --muted: #c9dbae;          /* 页脚次要文字 */

  /* ------------------------------------------------------------ 圆角 */
  --r-sm: 6px;
  --r-md: 12px;              /* 卡片 */
  --r-lg: 20px;
  --r-xl: 28px;              /* hero 图片容器 */
  --r-pill: 999px;           /* 按钮 / 搜索条 */
  --r-xs: 4px;               /* 键帽 */
  --r-thumb: 8px;            /* 卡内缩略图 */

  /* ------------------------------------------------------------ 阴影 */
  --shadow-card: 0 10px 26px rgba(35, 56, 22, .08);

  /* ------------------------------------------------------ 版式与栅格 */
  --wrap: 1440px;            /* 设计宽 / 容器最大宽 */
  --gutter: 48px;            /* 容器左右内边距（1440 下） */
  --rail: 262px;             /* 「左栏标题 + 右侧内容」的标题栏宽 */
  --col-gap: 14px;           /* 多列网格的列间距 */

  /* ---------------------------------------------------------- 字号阶 */
  --fs-1: 8.5px;             /* 收录说明正文（最小） */
  --fs-2: 9px;               /* 档号、页脚次要 */
  --fs-3: 9.5px;             /* 卡片正文（默认） */
  --fs-4: 10px;              /* 列表页正文 */
  --fs-5: 10.5px;            /* 说明文字 */
  --fs-6: 11px;
  --fs-7: 11.5px;
  --fs-8: 12px;              /* 小标题 */
  --fs-9: 12.5px;
  --fs-10: 13px;
  --fs-11: 13.5px;           /* 导语 */
  --fs-12: 14px;
  --fs-13: 15px;
  --fs-14: 16px;             /* 页脚品牌名 */
  --fs-15: 17px;             /* 统计数字 */
  --fs-16: 19px;
  --fs-17: 21px;             /* 区块标题 h2 */
  --fs-18: 22px;             /* 移动端 h2 */
  --fs-19: 33px;             /* 移动端 h1 */
  --fs-20: 44px;             /* 1024–1280 h1 */
  --fs-21: 52px;             /* 桌面 h1 */

  /* ------------------------------------------------------------ 字体 */
  --font-sans: 'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --fw-bold: 700;
  --fw-semibold: 600;
  --fw-regular: 400;
}
