/* Strategic Apex design tokens (CLAUDE.md section 3). The same values live in Elementor as Global Colors/Fonts. */
:root {
  --navy: #0F2038;
  --navy-dark: #0A1424;
  --navy-hover: #1C3252;
  --crimson: #E02E2B;
  --crimson-hover: #C82320;
  --cobalt: #3E6F9F;
  --slate: #64748B;
  --ink: #1E293B;
  --canvas: #F8FAFC;
  --card: #FFFFFF;
  --card-subtle: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --leak-bg: #FEF2F2;
  --leak-text: #991B1B;
  --leak-border: #FCA5A5;
  --ok-bg: #ECFDF5;
  --ok-text: #065F46;
  --ok-border: #6EE7B7;
  --ok-accent: #059669;

  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, sans-serif;

  /*
   * Fluid type scale. rem keeps the visitor's browser text size and zoom working (WCAG 1.4.4);
   * vw only ever appears inside clamp(). Each max is at most 2.5x its min so 200% zoom still enlarges text.
   * Range: 375px (phone) to 1440px (desktop). Line heights are unitless so they follow the size.
   */
  --fs-display: clamp(3rem, 1.415rem + 6.761vw, 7.5rem);        /* 48 to 120px: hero brand line (a styled <p>, not the H1) */
  --fs-hero:    clamp(2.5rem, 1.62rem + 3.756vw, 5rem);          /* 40 to 80px: hero H1 */
  --fs-h1:      clamp(2.25rem, 1.634rem + 2.629vw, 4rem);        /* 36 to 64px */
  --fs-h2:      clamp(1.875rem, 1.479rem + 1.69vw, 3rem);        /* 30 to 48px */
  --fs-h3:      clamp(1.375rem, 1.243rem + 0.5634vw, 1.75rem);   /* 22 to 28px */
  --fs-lead:    clamp(1.188rem, 1.077rem + 0.4695vw, 1.5rem);    /* 19 to 24px: intro paragraphs */
  --fs-answer:  clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);   /* 18 to 20px: answer boxes under H2s */
  --fs-body:    clamp(1.062rem, 1.04rem + 0.0939vw, 1.125rem);   /* 17 to 18px */
  --fs-button:  clamp(1rem, 0.978rem + 0.0939vw, 1.062rem);      /* 16 to 17px */
  --fs-small:   clamp(0.875rem, 0.853rem + 0.0939vw, 0.9375rem); /* 14 to 15px */

  --lh-display: 1;
  --lh-hero: 1.05;
  --lh-h1: 1.1;
  --lh-h2: 1.15;
  --lh-h3: 1.3;
  --lh-lead: 1.45;
  --lh-answer: 1.55;
  --lh-body: 1.6;
  --lh-small: 1.45;

  /* Fluid spacing */
  --space-section: clamp(4rem, 2.239rem + 7.512vw, 9rem);        /* 64 to 144px between sections */
  --space-block:   clamp(2rem, 1.296rem + 3.005vw, 4rem);        /* 32 to 64px between blocks */
  --measure: 65ch;                                               /* max text line length */
  --btn-height: 3.5rem;                                          /* 56px, grows with browser text size */

  --radius-sm: 4px;   /* buttons, inputs, badges */
  --radius-md: 8px;   /* cards */
  --radius-lg: 12px;  /* hero panels, modals */
  --shadow-card: 0 1px 3px rgba(15, 32, 56, .04);
  --shadow-active: 0 10px 25px -5px rgba(15, 32, 56, .08);
  --dark-block-bg: radial-gradient(circle at top right, rgba(224, 46, 43, .15), transparent 60%), var(--navy-dark);

  --max-width: 1280px;
  --gutter: clamp(1rem, 0.1197rem + 3.756vw, 3.5rem);  /* 16 to 56px */
  --focus: 2px solid var(--cobalt);
}
