/* design-tokens.css：本项目基础设计变量 */
:root {
  --space-unit: 8px;
  --max-w: 1280px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .3s;
  --dur-mid: .6s;
  --dur-slow: .9s;
  --bp-lg: 1440px;
  --bp-md: 992px;
  --bp-sm: 768px;
  --bp-xs: 480px;
}

[data-theme="corporate"] {
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-head: var(--font-body);
  --c-bg: #eef7fc;
  --c-text: #12324a;
  --c-sub: #52718a;
  --c-faint: #7891a4;
  --c-primary: #0059ff;
  --c-surface: #ffffff;
  --c-line: #d5e6ef;
  --fs-hero: 28px;
  --fs-h2: 24px;
  --fs-body: 16px;
  --fs-small: 13px;
  --lh-head: 1.35;
  --lh-body: 1.7;
  --pad-section: 80px;
  --pad-card: 40px;
  --radius: 16px;
  --shadow: 0 24px 48px rgba(18, 50, 74, .12);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.section {
  padding: var(--pad-section) 0;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, var(--fs-hero));
  line-height: var(--lh-head);
  font-weight: 700;
}

.body-text {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
}

.sub-text {
  color: var(--c-sub);
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  [data-theme="corporate"] {
    --pad-section: 64px;
    --pad-card: 24px;
  }
}
