/* MathWise — Design Tokens */
:root {
  --color-brand: #c41218;
  --color-brand-dark: #8f0d12;
  --color-brand-light: #e01f26;
  --color-accent: #2872fa;
  --color-accent-hover: #1559ed;
  --color-ink: #192a3d;
  --color-ink-muted: #3a4f66;
  --color-bg: #f7f9fb;
  --color-bg-elevated: #ffffff;
  --color-bg-muted: #eef2f6;
  --color-bg-dark: #12151a;
  --color-border: #d7e0ea;
  --color-whatsapp: #25d366;
  --color-success: #1f7a4d;

  --font-display: "DM Sans", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans TC", "Source Sans 3", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.65rem, 2.4vw, 2.15rem);
  --fs-3xl: clamp(2.1rem, 4vw, 3.1rem);
  --fs-hero: clamp(2.4rem, 6.2vw, 4.25rem);
  --lh-tight: 1.2;
  --lh-body: 1.7;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --container: 72rem;
  --container-narrow: 46rem;

  --header-h: 4.5rem;
  --radius: 0.35rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(25, 42, 61, 0.06);
  --shadow-md: 0 12px 28px rgba(25, 42, 61, 0.1);
  --transition: 0.25s ease;
  --z-header: 1000;
  --z-overlay: 1100;
  --z-top: 1200;
}

@media (max-width: 768px) {
  :root {
    --header-h: 3.85rem;
  }
}
