/* ============================================================
   Nordic Peak Ski School — Design Tokens
   Source of truth. styles.css consumes these; no raw hex there.
   Palette direction: Modern & Clean — slate primary, blue accent,
   white background. Every neutral is tinted (no pure black/gray).
   ============================================================ */

:root {
  /* Color — core palette */
  --color-primary: #1f2937;
  --color-accent: #2563eb;
  --color-bg: #ffffff;

  /* Color — tinted neutrals (slate with a cool cast, never gray-black) */
  --color-surface: #f5f8fc;
  --color-surface-raised: #ffffff;
  --color-surface-deep: #16202f;
  --color-text: #1f2937;
  --color-text-muted: #55617a;
  --color-text-faint: #7b86a0;
  --color-border: #dfe6f1;
  --color-border-strong: #c6d2e4;
  --color-on-primary: #f4f8ff;
  --color-on-primary-muted: #b6c3d9;

  /* Color — accent tints */
  --color-accent-strong: #1d4ed8;
  --color-accent-soft: #e9f0fd;
  --color-accent-border: #c5d8fb;

  /* Typography */
  --font-display: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: clamp(1.9rem, 3.4vw, 2.6rem);
  --text-hero: clamp(2.4rem, 5.6vw, 3.9rem);
  --leading-tight: 1.12;
  --leading-body: 1.65;
  --tracking-wide: 0.06em;
  --measure: 64ch;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(22, 32, 47, 0.07), 0 1px 3px rgba(22, 32, 47, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(22, 32, 47, 0.22);
  --shadow-lg: 0 24px 60px -24px rgba(22, 32, 47, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-fast: 160ms;
  --speed-med: 300ms;

  /* Layout */
  --max-width: 1120px;
}
