/* GFTx v2 — design tokens (light editorial). Mirrors the Tailwind theme the Next.js build should expose. */
:root {
  --forest-950: #07211a; --forest-900: #0b2e22; --forest-800: #0f3d2e; --forest-700: #155239; --forest-600: #1f6b4a;
  --forest-500: #2e8b5f; --forest-300: #8fc4a6; --forest-200: #bfdccb; --forest-100: #dcebe2; --forest-50: #eef5f1;
  --sage-200: #d7e5da; --sage-100: #e6efe8; --sage-50: #f1f6f2;
  --sand-300: #e6dcc8; --sand-200: #efe9dc; --sand-100: #f5f1e8; --sand-50: #faf8f3;
  --amber-700: #92400e; --amber-600: #b45309; --amber-500: #d97706; --amber-200: #f8d9a2; --amber-100: #fdebd0; --amber-50: #fff7ea;
  --ink-900: #17181a; --ink-700: #3d3f43; --ink-500: #6a6d73; --ink-400: #8b8e95; --ink-300: #c9cbd0; --ink-200: #e3e4e7; --ink-100: #f0f0f2;
  --paper: #f7f6f2; --white: #ffffff;
  --success: #15803d; --warning: #b45309; --danger: #b91c1c; --info: #1d4ed8;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-serif: "Caladea", "Georgia", "Times New Roman", serif;

  --fs-display: clamp(2.625rem, 1.5rem + 4.2vw, 4.75rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  --fs-h3: clamp(1.3125rem, 1.1rem + .7vw, 1.75rem);
  --fs-h4: 1.1875rem;
  --fs-lead: clamp(1.0625rem, 1rem + .45vw, 1.375rem);
  --fs-body: 1rem; --fs-small: .875rem; --fs-xs: .78125rem;

  --section: clamp(64px, 5vw + 32px, 128px);
  --container: 1440px; --wide: 1600px; --gutter: clamp(20px, 3.6vw, 56px);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 26, .05), 0 2px 6px rgba(23, 24, 26, .06);
  --shadow-md: 0 18px 40px -22px rgba(11, 46, 34, .35);
  --shadow-lg: 0 40px 80px -36px rgba(11, 46, 34, .45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* Chinese pages (/zh/): Inter and Caladea have no CJK glyphs, so name the system CJK fonts explicitly. */
:lang(zh-CN) {
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --font-serif: "Caladea", "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif;
}
