/**
 * tokens.css — design tokens (CSS Custom Properties)
 * Single source of truth for colors, type, spacing, radii, shadows, transitions.
 */

:root {
  /* ---- Colors ---------------------------------------------------- */
  --color-bg-primary: #070b1d;
  --color-bg-dark: #101528;
  --color-accent-light: #ffc21f;
  --color-white: #ffffff;

  --gradient-cta: linear-gradient(180deg, #ff5a4d 0%, #ef3438 100%);
  --gradient-cta-hover: linear-gradient(180deg, #ff6e62 0%, #ff3f45 100%);

  --color-btn-secondary-border: #ffc21f;
  --color-btn-secondary-bg: transparent;

  --color-text-body: #d4c5b1;
  --color-heading-gold: #ffd32a;
  --color-text-on-light: #1a1420;

  --color-danger: #ef3438;
  --color-success: #2bb673;
  --color-border-subtle: rgba(255, 211, 42, 0.16);
  --color-overlay-dark: rgba(7, 11, 29, 0.72);
  --color-overlay-darker: rgba(7, 11, 29, 0.88);

  /* ---- Typography -------------------------------------------------- */
  --font-family-base: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --font-size-base: clamp(0.875rem, 1.5vw, 1rem);
  --font-size-small: clamp(0.75rem, 1vw, 0.875rem);
  --font-size-h1: clamp(2rem, 4vw, 2.75rem);
  --font-size-h2: clamp(1.625rem, 3vw, 2rem);
  --font-size-h3: clamp(1.25rem, 2vw, 1.5rem);
  --line-height-base: 1.6;

  /* ---- Spacing ------------------------------------------------------ */
  --space-section: clamp(2.5rem, 5vw, 3.75rem);
  --space-card-gap: 1.25rem;
  --space-paragraph: 1.25rem;
  --space-h2-to-text: 1.25rem;
  --space-h3-to-text: 1rem;
  --space-faq-gap: 1rem;
  --space-card-padding: 1.5rem;

  /* ---- Layout --------------------------------------------------------- */
  --container-max-width: 1440px;
  --container-padding-inline: clamp(1rem, 4vw, 2.5rem);

  /* ---- Radius / borders ------------------------------------------------ */
  --radius-card: 6px;
  --radius-pill: 999px;
  --border-card: none;

  /* ---- Shadows --------------------------------------------------------- */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-header: 0 4px 16px rgba(0, 0, 0, 0.35);

  /* ---- Transitions ------------------------------------------------------ */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ---- Layout measurements kept in sync with JS (see header.js) ------------ */
  --header-height: 68px;

  /* ---- Z-index scale ------------------------------------------------------ */
  --z-header: 1000;
  --z-burger-panel: 1100;
  --z-scroll-top: 900;
  --z-modal: 1200;
}

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