/* ===== Design Tokens · generated by design_tokens.py · 三笙有孕 ===== */
/* style: editorial (杂志编辑) | seed: #E9A27D | contrast-checked: AA */
:root {
  --c-bg: #F9F9F8;
  --c-surface: #FFFFFF;
  --c-surface-2: #F3F1EF;
  --c-text: #2E2923;
  --c-text-muted: #7D6E5F;
  --c-border: #E5E0DC;
  --c-brand: #DD7037;
  --c-brand-hover: #CD5D23;
  --c-brand-soft: #F7EFEB;
  --c-on-brand: #111111;
  --c-accent: #5CCCBA;
  --c-on-accent: #111111;
  --c-ok: #0E7C5A;
  --c-warn: #B45309;
  --c-err: #B42318;
  --font-display: "Inter","SF Pro Text","Segoe UI","Helvetica Neue",Arial,sans-serif;
  --font-body: "Inter","PingFang SC","HarmonyOS Sans SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --font-cn: "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei","Noto Sans SC","Source Han Sans SC","Hiragino Sans GB",sans-serif;
  --font-serif-cn: "Songti SC","Noto Serif SC","Source Han Serif SC","SimSun",serif;
  --fs-2xs: 0.6875rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.333rem;
  --fs-xl: clamp(1.688rem, 0.62vw + .4rem, 1.777rem);
  --fs-2xl: clamp(2.179rem, 1.18vw + .5rem, 2.369rem);
  --fs-3xl: clamp(2.778rem, 2.21vw + .6rem, 3.157rem);
  --fs-display: clamp(3.577rem, 3.79vw + .8rem, 4.209rem);
  --fs-hero: clamp(2.4rem, 5.2vw, 4.600rem);
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --sp-11: 6rem;
  --sp-12: 8rem;
  --section-y: clamp(3.5rem, 7vw, 7rem);
  --container: 1160px;
  --container-narrow: 720px;
  --container-wide: 1440px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-xs: max(2px, 2px);
  --r-sm: 4px;
  --r-md: 2px;
  --r-lg: 3px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16,18,20,0.04);
  --sh-2: 0 4px 14px -4px rgba(16,18,20,0.06);
  --sh-3: 0 18px 48px -12px rgba(16,18,20,0.10);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 320ms;
  --dur-4: 560ms;
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-inout: cubic-bezier(.65,0,.35,1);
  --z-nav: 100;
  --z-modal: 1000;
}

/* 深色模式：由同一套令牌派生，勿手改单点颜色 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #1C1512;
    --c-surface: #271E1B;
    --c-surface-2: #352A27;
    --c-text: #F7F6F6;
    --c-text-muted: #BAAFAB;
    --c-border: #443631;
    --c-brand: #E9A27D;
    --c-brand-hover: #EEB89C;
    --c-brand-soft: #452A1C;
    --c-on-brand: #111111;
    --c-accent: #7BD5C7;
    --c-on-accent: #111111;
  }
}
