/* ============================================================
   tokens.css —— 自动生成，不要手改
   来源：demo/public/styles.css 的 :root 块
   重新生成：bash scripts/sync-site-tokens.sh
   ============================================================ */

:root {
  --paper: #f4efe6;
    --paper-2: #ece4d6;
    --paper-3: #e3d9c8;
    --ink: #171512;
    --ink-soft: #2d2822;
    --muted: #7d7468;
    --muted-2: #9a9184;
    --line: rgba(23, 21, 18, 0.10);
    --line-strong: rgba(23, 21, 18, 0.18);
    --cinnabar: #a8442e;
    --cinnabar-deep: #8d3322;
    --cinnabar-soft: rgba(168, 68, 46, 0.10);
    --celadon: #6e8478;
    --gold: #a88755;
    --cream: #f7f2e8;
    --glass: rgba(255, 252, 246, 0.55);
    --glass-strong: rgba(255, 252, 246, 0.78);
    --shadow: 0 30px 70px -30px rgba(38, 30, 20, 0.45), 0 2px 10px rgba(38, 30, 20, 0.06);
    --shadow-soft: 0 18px 40px -24px rgba(38, 30, 20, 0.35);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --spring: cubic-bezier(0.22, 1, 0.36, 1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
    --sans: "PingFang SC", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

/* ---- 独立站追加：只加不改，全部基于上面同一套色与字 ---- */
:root {
  /* 排版尺度（Apple 式：大标题、大留白、少装饰） */
  --step--1: clamp(0.86rem, 0.82rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 1.95rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 2.8rem);
  --step-4:  clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);
  --step-5:  clamp(3rem, 1.6rem + 5.6vw, 6rem);

  /* 留白 */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 168px);
  --maxw: 1160px;

  /* 中文衬线优先（与 H5 一致） */
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --font-body: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-brush: "SihaiBrush", var(--font-display);
}
