/**
 * 首页字体 / 字号统一 — 国际风：DM Sans + Noto Sans SC
 * v=20260915type2
 */
:root {
  --ed-font: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --gb-font: var(--ed-font);
  --gb-display: var(--ed-font);
  --ed-type-display: clamp(1.9rem, 3.2vw, 2.55rem);   /* 特权 Hero 主标 */
  --ed-type-h2: clamp(1.65rem, 3.4vw, 2.25rem);        /* 区块标题 = .ed-head h2 */
  --ed-type-h3: clamp(1.15rem, 2vw, 1.35rem);          /* 小标题 / 卡片标题 */
  --ed-type-lead: clamp(1.05rem, 1.4vw, 1.15rem);      /* 导语 */
  --ed-type-body: 0.9375rem;                          /* 15px 正文 */
  --ed-type-stat: clamp(2.75rem, 5.2vw, 4.25rem);      /* 大数字 */
  --ed-type-label: 0.9375rem;                         /* 15px 标签 */
}

/* 整页 GB 区跟原站字体 */
.gb-embed,
.gb-embed--hook,
.gb-hero,
.gb-section,
.gb-wrap,
.home-merge {
  font-family: var(--ed-font) !important;
  color: var(--ed-ink, #0a100d);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

.gb-hero__title,
.gb-hero h1,
.gb-hero h2,
.gb-section h2,
.gb-section h3,
.gb-stat__num,
.gb-card__body strong,
.gb-svc h3,
.gb-why__item h3,
.gb-faq summary,
.gb-quote__head strong,
.gb-person strong,
.gb-btn {
  font-family: var(--ed-font) !important;
  letter-spacing: -.02em;
}

/* —— 字号阶梯 —— */
.gb-hero__title,
.gb-hero h1 {
  font-size: var(--ed-type-display) !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  color: var(--gb-teal, #125a5b) !important;
}

.gb-hero__lead {
  font-size: var(--ed-type-lead) !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: var(--ed-mute, #24362d) !important;
  max-width: 40rem !important;
}

.gb-section h2,
#gb-services > .gb-wrap > h2,
.home-merge h2 {
  font-size: var(--ed-type-h2) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.gb-section .gb-lead,
.gb-embed .gb-lead {
  font-size: var(--ed-type-body) !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: var(--ed-mute, #24362d) !important;
}

.gb-stat__num {
  font-size: var(--ed-type-stat) !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
  line-height: 1 !important;
}

.gb-stat__label {
  font-size: var(--ed-type-label) !important;
  font-weight: 700 !important;
  color: var(--ed-mute, #24362d) !important;
}

.gb-svc h3,
.gb-card__body strong,
.gb-why__item h3 {
  font-size: var(--ed-type-h3) !important;
  font-weight: 900 !important;
}

.gb-svc p,
.gb-card__body span,
.gb-why__item p,
.gb-quote p,
.gb-faq p,
.gb-person span {
  font-size: var(--ed-type-body) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}

.gb-btn {
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}

/* 原站区块标题也钉死同一套，避免和 GB 打架 */
main .ed-head h2,
main .ed-trust h2,
main .ed-plain-guide h2,
main .ed-resources h2,
main .ed-showcase h2,
main .ed-partners h2 {
  font-family: var(--ed-font) !important;
  font-size: var(--ed-type-h2) !important;
  font-weight: 900 !important;
}

main .ed-head p,
main .ed-trust p,
main .ed-plain-guide p,
main .ed-resources p {
  font-family: var(--ed-font) !important;
  font-size: var(--ed-type-body) !important;
  font-weight: 600 !important;
}

/* AI Hero 标题保持站内尺度，字体统一 */
.ed-hero,
.ed-hero h1,
.ed-hero__sub,
.ed-ask,
.ed-ask-hints {
  font-family: var(--ed-font) !important;
}
