/* pi-brand-2027 tokens. Source of truth: Pragmatic Brand 2027 design system (tokens.json).
   Palette colours read the Elementor Kit globals (same IDs on every subsite) so a Kit edit
   reaches code too; the hex after each is the fallback. Sizes in rem (1rem = 16px default).
   Declared on body as well as :root: Elementor sets the Kit globals on body.elementor-kit-N,
   and var() resolves where the property is declared. */
:root, body {
	/* palette */
	--pi-midnight: var(--e-global-color-dd4a373, #082c3c);
	--pi-deep-teal: var(--e-global-color-f7f1952, #054255);
	--pi-brand-teal: var(--e-global-color-65314a0, #42b6b1);
	--pi-neon-teal: var(--e-global-color-7aef3be, #2ce6d6);
	--pi-orange: var(--e-global-color-0e12061, #f37720);
	--pi-gold: var(--e-global-color-835ba48, #e89f00);
	--pi-mist: var(--e-global-color-4571e8d, #ddf1ef);
	--pi-off-white: var(--e-global-color-dd79b7f, #f7fafb);
	--pi-white: var(--e-global-color-87e1946, #ffffff);

	/* tints (colour at N% over white), for borders, dividers, quiet fills and secondary text */
	--pi-midnight-80: #395663;
	--pi-midnight-60: #6b808a;
	--pi-midnight-40: #9cabb1;
	--pi-midnight-20: #ced5d8;
	--pi-deep-teal-80: #376877;
	--pi-deep-teal-60: #698e99;
	--pi-deep-teal-40: #9bb3bb;
	--pi-deep-teal-20: #cdd9dd;
	--pi-brand-teal-80: #68c5c1;
	--pi-brand-teal-60: #8ed3d0;
	--pi-brand-teal-40: #b3e2e0;
	--pi-brand-teal-20: #d9f0ef;
	--pi-neon-teal-80: #56ebde;
	--pi-neon-teal-60: #80f0e6;
	--pi-orange-80: #f5924d;
	--pi-orange-60: #f8ad79;
	--pi-orange-20: #fde4d2;
	--pi-mist-80: #e4f4f2;
	--pi-mist-60: #ebf7f5;
	--pi-mist-40: #f1f9f9;
	--pi-mist-20: #f8fcfc;

	/* AI pages: dark surfaces between midnight and deep teal (no brand token yet) */
	--pi-ai-surface: #0b3a4d;
	--pi-ai-surface-deep: #0a3446;

	/* type */
	--pi-font-display: Pragmaticway, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--pi-font-text: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	/* web-display: 44px at 390px wide to 70px at 1440px+ (fs-web-display) */
	--pi-fs-display: clamp(2.75rem, 2.146rem + 2.476vw, 4.375rem);
	--pi-lh-display: 1.1;
	/* web-heading, section headings: 28px at 390px to 40px at 1440px+ */
	--pi-fs-heading: clamp(1.75rem, 1.471rem + 1.143vw, 2.5rem);
	--pi-lh-heading: 1.12;
	--pi-fs-heading-sm: 1.75rem;   /* secondary headings, big labels: 28px */
	--pi-fs-title: 1.5rem;         /* card titles: 24px */
	--pi-fs-lede: 1.125rem;        /* web-lede: 18px */
	--pi-fs-body: 1.0625rem;       /* web-body: 17px */
	--pi-lh-body: 1.5;
	--pi-fs-small: 0.9375rem;      /* supplementary text, captions: 15px */
	--pi-fs-eyebrow: 0.8125rem;    /* web-eyebrow: 13px, Black, capitals */
	--pi-ls-eyebrow: 2.5px;
	--pi-fs-button: 1.0625rem;     /* web-button: 17px Bold */

	/* radius (component tokens) */
	--pi-radius-tag: 2px;
	--pi-radius-control: 4px;
	--pi-radius-box: 8px;
	--pi-radius-card: 12px;
	--pi-radius-plate: 24px;

	/* controls */
	--pi-btn-min-height: 48px;

	/* spacing: 4px grid, named as in the brand guide (spacing-N00 = N x 4px) */
	--pi-spacing-000: 0px;
	--pi-spacing-100: 4px;
	--pi-spacing-200: 8px;
	--pi-spacing-300: 12px;
	--pi-spacing-400: 16px;
	--pi-spacing-500: 20px;
	--pi-spacing-600: 24px;
	--pi-spacing-700: 28px;
	--pi-spacing-800: 32px;
	--pi-spacing-900: 36px;
	--pi-spacing-1000: 40px;
	--pi-spacing-1100: 44px;
	--pi-spacing-1200: 48px;
	--pi-spacing-1300: 52px;
	--pi-spacing-1400: 56px;
	--pi-spacing-1500: 60px;
	--pi-spacing-1600: 64px;
	--pi-spacing-2000: 80px;
	--pi-spacing-2400: 96px;
}
