/* ==========================================================================
   PAXVENTUS Design Tokens
   Palette derived from the PAXVENTUS logo (forest green -> teal spiral) and
   the gold accent already used for stat callouts in the source decks.
   ========================================================================== */

:root {
  /* ---- Color: brand ---- */
  --color-forest-900: #0a2620;
  --color-forest-800: #0d3630;
  --color-forest-700: #114a3f;
  --color-forest-600: #175c4c;
  --color-forest-500: #1f7a5c;
  --color-forest-400: #359671;
  --color-forest-300: #5eb08a;

  --color-teal-700: #0b4a4a;
  --color-teal-600: #0f5f5c;
  --color-teal-500: #147370;
  --color-teal-400: #3f9793;

  --color-gold-600: #a9822f;
  --color-gold-500: #c9a24c;
  --color-gold-400: #dcbb70;
  --color-gold-100: #f6ecd6;

  /* ---- Color: neutrals ---- */
  --color-white: #ffffff;
  --color-mist-50: #f7f9f7;
  --color-mist-100: #eef2ef;
  --color-mist-200: #e1e8e3;
  --color-mist-300: #c9d4cd;
  --color-charcoal-900: #12181a;
  --color-charcoal-800: #1b2422;
  --color-charcoal-700: #2b3735;
  --color-charcoal-600: #4c5957;
  --color-charcoal-500: #6b7674;
  --color-charcoal-400: #8d9694;

  /* ---- Semantic ---- */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-mist-50);
  --color-bg-dark: var(--color-forest-900);
  --color-text: var(--color-charcoal-900);
  --color-text-muted: var(--color-charcoal-600);
  --color-text-on-dark: var(--color-mist-50);
  --color-text-on-dark-muted: #a9bdb5;
  --color-border: var(--color-mist-200);
  --color-border-on-dark: rgba(255, 255, 255, 0.14);
  --color-accent: var(--color-gold-500);
  --color-link: var(--color-forest-500);

  --gradient-brand: linear-gradient(135deg, var(--color-forest-400) 0%, var(--color-teal-500) 55%, var(--color-forest-700) 100%);
  --gradient-hero-scrim: linear-gradient(180deg, rgba(10, 38, 32, 0.15) 0%, rgba(10, 38, 32, 0.55) 65%, rgba(10, 38, 32, 0.92) 100%);
  --gradient-dark-section: linear-gradient(160deg, var(--color-forest-900) 0%, #0c2e28 55%, var(--color-teal-700) 130%);

  /* ---- Typography ---- */
  --font-display: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-hero: clamp(2.5rem, 1.85rem + 2.9vw, 4.75rem);
  --fs-h1: clamp(2.25rem, 1.7rem + 2.4vw, 4rem);
  --fs-h2: clamp(1.85rem, 1.5rem + 1.5vw, 3rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;

  --tracking-tight: -0.02em;
  --tracking-wide: 0.14em;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8rem;

  --section-pad-y: clamp(4rem, 3rem + 4vw, 8rem);
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 1rem + 2vw, 3rem);

  /* ---- Shape / elevation ---- */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 22, 0.06), 0 1px 1px rgba(10, 26, 22, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 26, 22, 0.10);
  --shadow-lg: 0 24px 64px rgba(10, 26, 22, 0.16);
  --shadow-focus: 0 0 0 3px rgba(201, 162, 76, 0.55);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;
  --dur-reveal: 900ms;

  /* ---- Z-index ---- */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-reveal: 0ms;
  }
}
