/* Brand font for the "blueberry eleven" wordmark.
   Uses Steiner if it is installed on this computer, otherwise the file in
   assets/fonts/ (Steiner.woff2 / .woff / .otf / .ttf). Until then: Outfit.
   Check the font licence allows website (web-font) use before launch. */
@font-face {
  font-family: "Steiner";
  /* Only the installed font for now: the file isn't in assets/fonts/ yet, and
     listing missing files makes every page request 4 files that 404.
     When Steiner.woff2 is added (licence allowing web use), add back:
       url("../fonts/Steiner.woff2") format("woff2"),                       */
  src: local("Steiner"), local("Steiner Regular"), local("Steiner-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   BEI design tokens
   Sampled from the Figma proposal PDFs (Oct 2026).
   Change the look here only; components read these variables.
   WordPress: this file is enqueued first by the theme.
   ========================================================= */
:root {
  /* Brand colours */
  --c-navy: #0E1E7D;          /* primary brand, headings, dark bands */
  --c-navy-900: #08124F;      /* deeper navy for overlays/hover */
  --c-navy-050: #F2F4F9;      /* light section background */
  --c-green: #5C8608;         /* primary buttons (Get Started, Submit) */
  --c-green-700: #4A6D05;     /* button hover */
  --c-green-050: #EEF4E2;

  /* Official brand colours (logo wordmark) */
  --c-brand-blueberry: #495AC0;
  --c-brand-eleven: #78A646;

  /* Neutrals */
  --c-white: #FFFFFF;
  --c-text: #1B1F33;
  --c-text-muted: #5B6070;
  --c-border: #E0E2EE;
  --c-border-strong: #A9AFD1;
  --c-placeholder-bg: #E6E8F0;

  /* Feedback (from the Form states sheet) */
  --c-error: #B42318;
  --c-error-bg: #F5E3E2;
  --c-success: #5C8608;

  /* Typography (Google Fonts for Phase 1; self-host in the WP theme) */
  --font-heading: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Wordmark only. Falls back to Outfit until assets/fonts/Steiner.* is added */
  --font-brand: "Steiner", "Outfit", system-ui, sans-serif;

  --fs-xs: 0.75rem;    /* 12 */
  --fs-sm: 0.875rem;   /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-md: 1.125rem;   /* 18 */
  --fs-lg: 1.375rem;   /* 22 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);      /* section titles */
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);    /* page titles */

  --lh-tight: 1.2;
  --lh-base: 1.6;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);
  --gutter: 16px;

  /* Layout */
  --container: 1200px;
  --header-h: 64px;            /* header pill height; also the anchor scroll offset */
  --header-top-gap: 12px;

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(14, 30, 125, 0.08);
  --shadow: 0 6px 24px rgba(14, 30, 125, 0.10);
  --shadow-lg: 0 16px 48px rgba(8, 18, 79, 0.18);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 180ms;

  /* Focus */
  --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--c-green);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1080px) {
  :root { --gutter: 32px; --header-h: 68px; }
}

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