/* ══════════════════════════════════════════════════
   MovingCOST.ai — Global Typography & Brand System
   版本：v1.0  日期：2026-06-02
   规则：只改字体和标题，不动布局/颜色/间距
   ══════════════════════════════════════════════════ */

/* ── 标题字体：Playfair Display（衬线，优雅宋体风格）── */
h1, h2, h3,
.hero-title, .hero-h1,
.section-title, .section-heading,
.brand-heading, .page-title,
.article-title, .featured-title,
.pullquote p, .signature p,
.cta-box h2, .cta-box h3,
.card-title, .type-card h3,
.result-title, .score-title,
.report-title, .plan-title,
.welcome-h1, .member-title,
.modal-title, .quiz-title,
.featured-img-title,
.related-card-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ── 导航栏 Logo 文字（如果页面还有文字版logo）── */
.nav-logo, .logo, .footer-logo {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ── 导航栏链接：保持无衬线，简洁 ── */
nav a, .nav-links a, .nav-pill,
button, .btn, .cta-btn,
.nav-cta, .member-action,
input, select, textarea,
.tag, .badge, .label,
.article-meta, .img-caption,
p, li, td, th, span {
  font-family: inherit; /* 继承body的Inter/DM Sans */
}

/* ── 按钮和导航：禁止换行 ── */
nav a, .nav-links a, .nav-cta,
.btn, .cta-btn,
.nav-pill, .member-action {
  white-space: nowrap !important;
}

.btn, .cta-btn, .cta-box a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* 汉堡按钮由各页面自身CSS控制，global.css不干预 */

/* ── 移动端标题字号 ── */
@media (max-width: 640px) {
  h1, .hero-title, .article-title {
    font-size: clamp(30px, 8vw, 44px) !important;
    line-height: 1.12 !important;
  }
  h2, .section-title {
    font-size: clamp(22px, 6vw, 32px) !important;
    line-height: 1.18 !important;
  }
}

/* ── EarthSoul 页面特殊处理：保留原有衬线风格 ── */
/* （earthsoul已有Cormorant Garamond，global不覆盖其hero-title） */
