/* ==========================================================================
   LEAD MFG — Design Tokens
   抽取自 http://lead.local/  (WordPress 7.1.2 + Bricks / bricks-child + Tailwind v4)
   生成日期: 2026-10-24
   --------------------------------------------------------------------------
   用法：在 bricks-child 中于 site.css / figma-home.css 之前引入：
   <link rel="stylesheet" href=".../leadmfg-assets/tokens.css">
   ========================================================================== */

/* ---------- 1. 原始色板 (Primitives) ---------- */
:root {
  /* 品牌橙 */
  --lm-orange-400: #fda863;   /* 浅橙，Tailwind theme: --color-orange */
  --lm-orange-100: #fbe7d7;   /* 桃色底，Tailwind theme: --color-peach  */
  --lm-orange-500: #e6781e;   /* 主品牌橙（全站 21 处硬编码）            */
  --lm-orange-600: #c65e11;   /* 官方 hover 值                          */
  --lm-orange-650: #cc6516;   /* .nf-btn:hover 实际值（待收敛）          */
  --lm-orange-640: #c85f13;   /* .nf-button-orange:hover 实际值（待收敛）*/

  /* 深蓝（次要色，仅用于流程步骤与上传区） */
  --lm-navy-700: #003366;

  /* 墨色 / 中性 */
  --lm-ink-900: #101820;      /* 页面主墨色（30 处）                    */
  --lm-ink-800: #262626;      /* --color-ink-2 / 正文强强调              */
  --lm-ink-700: #161616;      /* Bricks 全局 --ink（与 900 冲突）        */
  --lm-gray-600: #55595c;     /* 正文 --body                            */
  --lm-gray-500: #69727d;     /* --color-steel                          */
  --lm-gray-400: #868686;     /* 次要文字 --muted                        */

  /* 描边 */
  --lm-line-300: #d6dee6;     /* 首页语义描边 --nf-line                  */
  --lm-line-200: #dcdcdc;     /* --color-line-2                         */
  --lm-line-100: #eaeaea;     /* Bricks 全局 --line                     */

  /* 底色 */
  --lm-surface-0: #ffffff;
  --lm-surface-50: #fbfbfb;   /* --color-surface-2                      */
  --lm-surface-100: #f7f9fb;  /* 浅色区块底 --nf-light                  */
  --lm-surface-200: #f6f6f6;  /* Bricks 全局 --surface                  */

  /* 透明墨（遮罩/分隔） */
  --lm-ink-a06: rgba(16, 24, 32, 0.06);
  --lm-ink-a12: rgba(16, 24, 32, 0.12);
  --lm-white-a10: rgba(255, 255, 255, 0.10);
  --lm-white-a50: rgba(255, 255, 255, 0.50);
}

/* ---------- 2. 语义色彩 (Semantic) ---------- */
:root {
  --color-brand: var(--lm-orange-500);
  --color-brand-hover: var(--lm-orange-600);
  --color-brand-soft: var(--lm-orange-100);
  --color-accent-navy: var(--lm-navy-700);

  --color-ink: var(--lm-ink-900);          /* 标题、深色底          */
  --color-ink-inverse: var(--lm-surface-0);/* 深色底上的文字        */
  --color-body: var(--lm-gray-600);
  --color-muted: var(--lm-gray-400);

  --color-surface: var(--lm-surface-100);  /* 浅色区块              */
  --color-surface-card: var(--lm-surface-0);
  --color-surface-subtle: var(--lm-surface-50);
  --color-surface-dark: var(--lm-ink-900);

  --color-line: var(--lm-line-300);
  --color-line-subtle: var(--lm-line-100);
}

/* ---------- 3. 字体 ---------- */
:root {
  --font-sans: "Plus Jakarta Sans", "Inter", "Helvetica Neue", Helvetica, Arial,
               "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
}

/* ---------- 4. 字号阶梯（按源站断点还原） ---------- */
:root {
  --fs-hero: 64px;      --lh-hero: 64px;      --ls-hero: -1.8px;
  --fs-h2: 58px;        --lh-h2: 1;           --ls-h2: -1.8px;
  --fs-h3: 32px;        --lh-h3: 1.25;        --ls-h3: -0.5px;
  --fs-cta: 58px;       --lh-cta: 58px;       --ls-cta: -1.45px;
  --fs-stat: 64px;      --lh-stat: 81px;      --ls-stat: -1.5px;
  --fs-stat-label: 20px;--lh-stat-label: 25px;
  --fs-lead: 16px;      --lh-lead: 20px;
  --fs-body: 16px;      --lh-body: 1.4;
  --fs-sm: 14px;        --lh-sm: 18px;
  --fs-xs: 12px;        --lh-xs: 18px;
  --fs-eyebrow: 16px;   --lh-eyebrow: 20px;   --ls-eyebrow: 0.08em; /* 源站缺失，建议补 */
}
@media (max-width: 1200px) {
  :root {
    --fs-hero: 56px; --lh-hero: 1.02;
    --fs-h2: 48px;
    --fs-cta: 46px;  --lh-cta: 48px; --ls-cta: -1px;
    --fs-stat: 52px;
    --fs-h3: 28px;
  }
}
@media (max-width: 991px) {
  :root {
    --fs-hero: 50px;
    --fs-h2: 48px;
    --fs-stat: 42px; --lh-stat: 1.2;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-hero: 42px; --lh-hero: 1.05; --ls-hero: -1.2px;
    --fs-h2: 36px;   --lh-h2: 1.08;   --ls-h2: -1px;
    --fs-cta: 36px;  --lh-cta: 39px;  --ls-cta: -0.75px;
    --fs-stat: 38px;
    --fs-stat-label: 16px; --lh-stat-label: 22px;
    --fs-lead: 15px; --lh-lead: 1.5;
    --fs-sm: 13px;
    --fs-eyebrow: 13px; --lh-eyebrow: 18px;
  }
}

/* ---------- 5. 间距 / 布局 ---------- */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-12: 48px;

  --container-max: 1440px;        /* 外框 */
  --container-content: 1280px;    /* 1440 - 2×80 有效内容宽 */
  --gutter: 80px;                 /* 单侧 */
  --section-y: 120px;
  --header-height: 72px;
  --header-topbar: 32px;
  --size-button: 60px;
  --size-button-sm: 54px;
  --size-input: 44px;
}
@media (max-width: 1200px) { :root { --gutter: 40px; } }
@media (max-width: 991px)  { :root { --section-y: 80px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; --section-y: 64px; } }

/* ---------- 6. 圆角 / 阴影 / 描边 ---------- */
:root {
  --radius-xs: 4px;    /* 标签、NDA 胶囊 */
  --radius-sm: 6px;    /* 小号 tab      */
  --radius-md: 8px;    /* 导航 CTA      */
  --radius-lg: 10px;   /* 按钮          */
  --radius-xl: 12px;   /* 图标块、媒体  */
  --radius-2xl: 18px;  /* 卡片（旧）    */
  --radius-3xl: 24px;  /* 卡片（首页）  */
  --radius-full: 999px;

  --shadow-card: 0 2px 12px rgba(22, 22, 22, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(22, 22, 22, 0.12);
  --shadow-header: 0 1px 0 rgba(22, 22, 22, 0.06), 0 8px 24px rgba(22, 22, 22, 0.06);
  --shadow-media: 0 8px 24px rgba(16, 24, 32, 0.08);

  --border-width: 1px;
  --focus-ring: 0 0 0 3px rgba(230, 120, 30, 0.35);
  --focus-outline: 3px solid #e6781e;
  --focus-offset: 5px;
}

/* ---------- 7. 动效 ---------- */
:root {
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}
