/* Samaritan-systems design tokens, measured from https://samaritan-systems.com on 2026-11-25 (12 pages).
   Generated by extract-design from roles.json: change roles.json and rebuild, or edit by hand. Read DESIGN.md for when to use each. */

:root {
  /* Colour roles: use these in components */
  --color-background: #F7F8FB;
  --color-text: #12162E;
  --color-heading: #12162E;
  --color-text-muted: #5E6482;
  --color-border: #12162E1a;
  --color-primary: #12162E;
  --color-primary-foreground: #F7F8FB;
  --color-link: #0B7A6E;
  --color-focus: #0B7A6E;
  --color-accent: #0B7A6E;
  --color-accent-foreground: #FFFFFF;
  --color-surface: #FFFFFFb3;
  --color-surface-solid: #FFFFFF;
  --color-surface-sunken: #12162E0a;
  --color-warning: #A34A06;
  --color-warning-surface: #FFF1E3;
  --color-danger: #C42B3C;
  --color-danger-foreground: #FFFFFF;

  /* Chart series, in order: the first is the highlight */
  --color-chart-1: #0B7A6E;
  --color-chart-2: #12162E;
  --color-chart-3: #5E6482;
  --color-chart-4: #A34A06;

  /* Palette: every colour measured on the site, by hue and lightness */
  --color-slate-300: #c9cee8;
  --color-black-a24: #0000003d;
  --color-slate-950-a35: #0a0e2859;
  --color-white-a12: #ffffff1f;
  --color-neutral-100: #eef0fb;
  --color-indigo-900-a94: #273472f0;
  --color-slate-950-a54: #0c122c8a;
  --color-blue-400: #93b6ff;
  --color-white-a17: #ffffff2b;
  --color-indigo-900-a50: #232f6780;
  --color-slate-400: #9aa3cc;
  --color-white-a7: #ffffff13;
  --color-indigo-950-a20: #18204833;
  --color-white-a82: #eef0fbd1;
  --color-blue-400-a18: #93b6ff2e;
  --color-black-a65: #000000a6;
  --color-indigo-950: #171f44;
  --color-black-a35: #00000059;
  --color-blue-400-a55: #93b6ff8c;
  --color-white-a45: #ffffff73;
  --color-black-a12: #0000001f;
  --color-slate-200: #dce0f5;
  --color-black-a40: #00000066;
  --color-slate-300-2: #b9d2ff;
  --color-indigo-500: #7a9ef2;

  /* Type */
  --font-sans: "Jost", ui-sans-serif, system-ui, sans-serif;
  --text-h1: 44px;
  --text-h1--line-height: 1.12;
  --text-h1--letter-spacing: -0.015em;
  --text-h1--font-weight: 500;
  --text-h2: 34px;
  --text-h2--line-height: 1.05;
  --text-h2--letter-spacing: -0.02em;
  --text-h2--font-weight: 500;
  --text-h3: 22px;
  --text-h3--line-height: 1.3;
  --text-h3--letter-spacing: -0.01em;
  --text-h3--font-weight: 500;
  --text-body-lg: 19px;
  --text-body-lg--line-height: 1.6;
  --text-body-lg--font-weight: 400;
  --text-body: 17px;
  --text-body--line-height: 1.6;
  --text-body--font-weight: 400;
  --text-body-sm: 16px;
  --text-body-sm--line-height: 1.45;
  --text-body-sm--font-weight: 400;
  --text-caption: 15px;
  --text-caption--line-height: 1.6;
  --text-caption--font-weight: 500;

  /* Space: a 4px grid. --space-<n> is n × 4px */
  --spacing: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-10: 40px;
  --space-14: 56px;
  --space-16: 64px;
  --space-24: 96px;
  --space-section: 96px;
  --space-section-alt: 64px;
  --space-section-phone: 64px;

  /* Shape */
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 14px;
  --radius-3xl: 28px;
  --radius-full: 9999px;
  --shadow-xs: rgba(255, 255, 255, 0.18) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.25) 0px -1px 0px 0px inset, rgba(255, 255, 255, 0.12) 0px 0px 0px 0.5px, rgba(0, 0, 0, 0.65) 0px 6px 14px -6px;
  --shadow-sm: rgba(0, 0, 0, 0.12) 0px 1px 2px 0px;
  --shadow-md: rgba(0, 0, 0, 0.14) 0px 4px 12px -2px;
  --shadow-lg: rgba(0, 0, 0, 0.18) 0px 10px 28px -8px;
  --shadow-xl: rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.17) 0px 0px 0px 0.5px, rgba(0, 0, 0, 0.35) 0px 0px 0px 0.5px, rgba(0, 0, 0, 0.65) 0px 18px 40px -14px;
  --shadow-2xl: rgba(0, 0, 0, 0.35) 0px 0px 0px 0.5px, rgba(0, 0, 0, 0.65) 0px 18px 40px -14px;
  --shadow-ring: rgba(147, 182, 255, 0.34) 0px 0px 0px 1.5px inset;
  --border-width: 1px;

  /* Layout */
  --container-page: 1320px;
  --container-wide: 1248px;
  --container-narrow: 1208px;
  --breakpoint-sm: 601px; /* for reference: media queries can't read variables */
  --breakpoint-md: 901px; /* for reference: media queries can't read variables */

  /* Motion */
  --duration-fast: 80ms;
  --duration-base: 180ms;
  --ease-standard: ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-background: #0E1226;
    --color-text: #EEF0FA;
    --color-heading: #EEF0FA;
    --color-text-muted: #8A91B8;
    --color-border: #ffffff1f;
    --color-primary: #EEF0FA;
    --color-primary-foreground: #0E1226;
    --color-link: #9DF7E9;
    --color-focus: #9DF7E9;
    --color-accent: #9DF7E9;
    --color-accent-foreground: #0E1226;
    --color-surface: #1b2246cc;
    --color-surface-solid: #171d3a;
    --color-surface-sunken: #00000040;
    --color-warning: #F5A35B;
    --color-warning-surface: #F5A35B1a;
    --color-danger: #ff6b7a;
    --color-danger-foreground: #0E1226;
  }
}
:root[data-theme="dark"] {
  --color-background: #0E1226;
  --color-text: #EEF0FA;
  --color-heading: #EEF0FA;
  --color-text-muted: #8A91B8;
  --color-border: #ffffff1f;
  --color-primary: #EEF0FA;
  --color-primary-foreground: #0E1226;
  --color-link: #9DF7E9;
  --color-focus: #9DF7E9;
  --color-accent: #9DF7E9;
  --color-accent-foreground: #0E1226;
  --color-surface: #1b2246cc;
  --color-surface-solid: #171d3a;
  --color-surface-sunken: #00000040;
  --color-warning: #F5A35B;
  --color-warning-surface: #F5A35B1a;
  --color-danger: #ff6b7a;
  --color-danger-foreground: #0E1226;
}
