/* ==========================================================================
   Design tokens – default theme "ProfesniRust"
   Partner themes (assets/css/themes/*.css) override these properties only.
   Values: docs/DESIGN_SYSTEM.md (approved 2026-12-05).
   ========================================================================== */

:root {
  /* Colour */
  --color-primary: #0F2A3D;        /* brand navy – headings, dark sections */
  --color-primary-soft: #16384F;   /* slightly lighter navy for gradients */
  --color-secondary: #0B5CAD;      /* links, focus ring */
  --color-accent: #B07D2B;         /* decorative gold – never for body text */
  --color-background: #F7F6F2;     /* page background */
  --color-surface: #FFFFFF;        /* cards, panels, header */
  --color-surface-alt: #EEF1F3;    /* alternate section background */
  --color-text: #14212B;
  --color-text-muted: #4B5A67;
  --color-border: #D9DEE2;
  --color-cta: #0E7A55;
  --color-cta-hover: #0A6345;
  --color-cta-text: #FFFFFF;
  --color-on-dark: #FFFFFF;        /* text on --color-primary */
  --color-on-dark-muted: #C9D3DB;  /* secondary text on --color-primary (≥ 9:1) */
  --color-brand-mark: #06FE7E;     /* growth line in the logo mark */
  --color-focus: var(--color-secondary);

  /* Typography */
  --font-primary: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Urbanist", "Urbanist Fallback", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-size-base: 1.0625rem;     /* 17 px */
  --line-height-base: 1.65;
  --heading-weight: 700;
  --heading-transform: none;       /* partner themes may use uppercase */

  /* Fluid type scale (mobile → desktop) */
  --step--1: 0.875rem;
  --step-0: var(--font-size-base);
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);

  /* Spacing */
  --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: 4rem;
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Shape & depth */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(15, 42, 61, 0.08);

  /* Layout */
  --container-width: 72rem;
  --container-narrow: 46rem;
  --container-padding: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* Motion */
  --transition: 160ms ease;
}
