/* ===========================================================================
   蔬果种植百科库 · 设计 token（唯一变量来源）
   取值来自 03-ui/home-ui-desktop.png（1024×1536 → 1440 设计宽 ×1.40625）。
   三页（index / category / detail）都先链本文件，再链 style.css、components.css。
   =========================================================================== */

:root {
  /* ── 色板 ─────────────────────────────────────────────────────────── */
  --bg: #f9fbf6;              /* 页面底色：近白微绿 */
  --header: #fcfcfc;          /* 顶部导航底色 */
  --band: #eef6e8;            /* 通栏浅绿：四个前提、分类胶囊 */
  --band-deep: #e4f0d9;       /* 浅绿加深：提示条、标签底 */
  --card: #ffffff;            /* 白卡 */
  --card-soft: #f1f8e6;       /* 更浅的卡片底（精选卡、CTA） */
  --ink: #1c241b;             /* 主文字 */
  --ink-2: #4b5545;           /* 正文次级文字 */
  --ink-3: #7b8574;           /* 注释 / 元信息 */
  --brand: #2f7d32;           /* 主强调色：按钮、链接、分类名 */
  --brand-deep: #154d27;      /* 深一档：页脚、CTA 标题 */
  --brand-mid: #4b8f43;       /* 中绿：图标、hover */
  --brand-soft: #e3f3dc;      /* 浅绿：胶囊底、标签底 */
  --accent-warm: #d9822b;     /* 暖橙：季节字、少量点缀 */
  --line: rgba(28, 36, 27, 0.12);
  --line-strong: rgba(28, 36, 27, 0.22);
  --line-invert: rgba(249, 251, 246, 0.22);
  --on-brand: #ffffff;
  --on-deep: #f3f8ee;
  --on-deep-soft: rgba(243, 248, 238, 0.72);

  /* 季节卡底（稿上四色） */
  --season-spring: #eef6e2;
  --season-summer: #f7f0e1;
  --season-autumn: #eef6e2;
  --season-winter: #e6eef4;

  /* ── 版式 ─────────────────────────────────────────────────────────── */
  --container: 1368px;        /* 内容栏（1440 − 2×36） */
  --gutter: 36px;
  --measure: 720px;
  --radius-card: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* ── 字号阶（1440 基准） ──────────────────────────────────────────── */
  --fs-display: 56px;
  --fs-h1-page: 44px;
  --fs-h2: 22px;
  --fs-h2-sm: 18px;
  --fs-h3: 15px;
  --fs-lead: 15px;
  --fs-body: 14px;
  --fs-sm: 12.5px;
  --fs-note: 11.5px;
  --fs-micro: 10.5px;

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

  /* ── 阴影与动效 ───────────────────────────────────────────────────── */
  --shadow-card: 0 1px 2px rgba(28, 36, 27, 0.05);
  --shadow-float: 0 14px 34px rgba(28, 36, 27, 0.13);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: .18s;
}
