/**
 * Design tokens.
 *
 * Single source of truth for colours, type, spacing, radii, layout and
 * breakpoints. Components reference these variables only.
 *
 * Every value below was ESTIMATED from the exported Figma frames in /design
 * (no Dev Mode access yet). Desktop frames were measured against a 1920px
 * artboard, mobile frames against 393px.
 *
 * @package cartrack
 */

:root {
	/* ---------- Colour ---------- */
	/* TODO: verify in Figma */
	--color-primary: #f47735;          /* Brand orange: "Get a demo" nav button, logo dot, footer links. */
	--color-primary-hover: #e0652a;    /* Darker orange for hover (no hover frame supplied). */
	--color-secondary: #8ccbf4;        /* Light blue: "Contact Us" nav button. */
	--color-secondary-hover: #72bdee;
	--color-secondary-light: #aad4f9;  /* Icon gradient border end, blue connector lines. */
	--color-text: #1a1a1a;             /* Nav link text. */
	--color-text-inverse: #ffffff;     /* Text on dark/photo backgrounds. */
	--color-text-inverse-muted: rgba(255, 255, 255, 0.75); /* Hero eyebrow, small print. */
	--color-bg: #ffffff;
	--color-dark: #000000;             /* Top utility bar, desktop footer. */
	--color-dark-soft: #222222;        /* Mobile footer, mobile utility bar. */
	--color-border: #e6e6e6;           /* Line under the main nav. */
	--color-border-inverse: rgba(255, 255, 255, 0.45); /* Divider above hero logo strip. */
	--color-rating: #f7b500;           /* Review stars. */
	--color-rating-empty: rgba(255, 255, 255, 0.55);
	--color-focus: #8ccbf4;            /* Focus ring on dark/photo backgrounds. */
	--color-focus-dark: #1a1a1a;       /* Focus ring on white (light blue fails 3:1 there). */
	--color-text-muted: #595959;       /* Mega menu card descriptions. */
	/*
	 * Orange TEXT on light backgrounds (links, text links, phone links): 2.2 to 2.8:1, below AA
	 * (contrast report, CLAUDE.md 4.11). ONE-LINE SWITCH once the designer decides, e.g. #c2410c
	 * (5.2:1 on white). Orange fills (buttons) keep --color-primary.
	 */
	--color-text-accent: var(--color-primary);
	--color-text-accent-hover: var(--color-primary-hover);
	--color-on-secondary: #ffffff;     /* "Contact Us" text. NOTE: ~1.9:1 on light blue, fails WCAG AA. */

	/* ---------- Typography ---------- */
	/* TODO: verify in Figma */
	--font-heading: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;

	--font-size-xs: 0.75rem;    /* 12px */
	--font-size-sm: 0.875rem;   /* 14px */
	--font-size-base: 1rem;     /* 16px */
	--font-size-md: 1.125rem;   /* 18px: hero body copy, desktop. */
	--font-size-lg: 1.5rem;     /* 24px */
	--font-size-xl: 2.25rem;    /* 36px: hero h1, mobile. */
	--font-size-2xl: 2.75rem;   /* 44px: hero h1, desktop. */

	--line-height-tight: 1.15;
	--line-height-snug: 1.3;
	--line-height-body: 1.55;

	--letter-spacing-eyebrow: 0.06em;

	/* ---------- Type scale (Figma Dev Mode, see CLAUDE.md → Global cleanup) ---------- */
	/*
	 * Every style: family (its role), weight, size (unitless px: -size-min at 360px and
	 * -size-max at 1440px, fluid in between), line-height (unitless) and tracking (em).
	 * Site Manager → Typography overrides any of these. Classes: assets/css/typography.css.
	 */
	/* body: Dev Mode 17/24; mobile 16 (TODO) */
	--t-body-family: var(--font-body);
	--t-body-weight: 400;
	--t-body-size-min: 16;
	--t-body-size-max: 17;
	--t-body-size: clamp(calc(var(--t-body-size-min) * 0.0625rem), calc(var(--t-body-size-min) * 0.0625rem + (var(--t-body-size-max) - var(--t-body-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-body-size-max) * 0.0625rem));
	--t-body-line-height: 1.4118;
	--t-body-tracking: 0em;
	--t-body-transform: none;
	/* body-bold: Dev Mode 17/24 500 */
	--t-body-bold-family: var(--font-body);
	--t-body-bold-weight: 500;
	--t-body-bold-size-min: 16;
	--t-body-bold-size-max: 17;
	--t-body-bold-size: clamp(calc(var(--t-body-bold-size-min) * 0.0625rem), calc(var(--t-body-bold-size-min) * 0.0625rem + (var(--t-body-bold-size-max) - var(--t-body-bold-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-body-bold-size-max) * 0.0625rem));
	--t-body-bold-line-height: 1.4118;
	--t-body-bold-tracking: 0em;
	--t-body-bold-transform: none;
	/* small: Dev Mode 14/20 */
	--t-small-family: var(--font-body);
	--t-small-weight: 400;
	--t-small-size-min: 14;
	--t-small-size-max: 14;
	--t-small-size: calc(var(--t-small-size-max) * 0.0625rem);
	--t-small-line-height: 1.4286;
	--t-small-tracking: 0em;
	--t-small-transform: none;
	/* small-bold: Dev Mode 14/20 600 */
	--t-small-bold-family: var(--font-body);
	--t-small-bold-weight: 600;
	--t-small-bold-size-min: 14;
	--t-small-bold-size-max: 14;
	--t-small-bold-size: calc(var(--t-small-bold-size-max) * 0.0625rem);
	--t-small-bold-line-height: 1.4286;
	--t-small-bold-tracking: 0em;
	--t-small-bold-transform: none;
	/* subtitle: Dev Mode 20/28 2%; mobile 18 (TODO) */
	--t-subtitle-family: var(--font-body);
	--t-subtitle-weight: 400;
	--t-subtitle-size-min: 18;
	--t-subtitle-size-max: 20;
	--t-subtitle-size: clamp(calc(var(--t-subtitle-size-min) * 0.0625rem), calc(var(--t-subtitle-size-min) * 0.0625rem + (var(--t-subtitle-size-max) - var(--t-subtitle-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-subtitle-size-max) * 0.0625rem));
	--t-subtitle-line-height: 1.4;
	--t-subtitle-tracking: 0.02em;
	--t-subtitle-transform: none;
	/* subtitle-medium: Dev Mode 20/28 2% 500 */
	--t-subtitle-medium-family: var(--font-body);
	--t-subtitle-medium-weight: 500;
	--t-subtitle-medium-size-min: 18;
	--t-subtitle-medium-size-max: 20;
	--t-subtitle-medium-size: clamp(calc(var(--t-subtitle-medium-size-min) * 0.0625rem), calc(var(--t-subtitle-medium-size-min) * 0.0625rem + (var(--t-subtitle-medium-size-max) - var(--t-subtitle-medium-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-subtitle-medium-size-max) * 0.0625rem));
	--t-subtitle-medium-line-height: 1.4;
	--t-subtitle-medium-tracking: 0.02em;
	--t-subtitle-medium-transform: none;
	/* eyebrow: Dev Mode 15/120% uppercase; mobile 13 (TODO) */
	--t-eyebrow-family: var(--font-heading);
	--t-eyebrow-weight: 600;
	--t-eyebrow-size-min: 13;
	--t-eyebrow-size-max: 15;
	--t-eyebrow-size: clamp(calc(var(--t-eyebrow-size-min) * 0.0625rem), calc(var(--t-eyebrow-size-min) * 0.0625rem + (var(--t-eyebrow-size-max) - var(--t-eyebrow-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-eyebrow-size-max) * 0.0625rem));
	--t-eyebrow-line-height: 1.2;
	--t-eyebrow-tracking: 0em;
	--t-eyebrow-transform: uppercase;
	/* h1: Dev Mode 42/52 700; mobile 30 (TODO) */
	--t-h1-family: var(--font-heading);
	--t-h1-weight: 700;
	--t-h1-size-min: 30;
	--t-h1-size-max: 42;
	--t-h1-size: clamp(calc(var(--t-h1-size-min) * 0.0625rem), calc(var(--t-h1-size-min) * 0.0625rem + (var(--t-h1-size-max) - var(--t-h1-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-h1-size-max) * 0.0625rem));
	--t-h1-line-height: 1.2381;
	--t-h1-tracking: 0em;
	--t-h1-transform: none;
	/* h2: Dev Mode 36/40 600; mobile 26 (TODO) */
	--t-h2-family: var(--font-heading);
	--t-h2-weight: 600;
	--t-h2-size-min: 26;
	--t-h2-size-max: 36;
	--t-h2-size: clamp(calc(var(--t-h2-size-min) * 0.0625rem), calc(var(--t-h2-size-min) * 0.0625rem + (var(--t-h2-size-max) - var(--t-h2-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-h2-size-max) * 0.0625rem));
	--t-h2-line-height: 1.1111;
	--t-h2-tracking: 0em;
	--t-h2-transform: none;
	/* h3: TODO: not in Dev Mode, interpolated 30/36 */
	--t-h3-family: var(--font-heading);
	--t-h3-weight: 600;
	--t-h3-size-min: 24;
	--t-h3-size-max: 30;
	--t-h3-size: clamp(calc(var(--t-h3-size-min) * 0.0625rem), calc(var(--t-h3-size-min) * 0.0625rem + (var(--t-h3-size-max) - var(--t-h3-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-h3-size-max) * 0.0625rem));
	--t-h3-line-height: 1.2;
	--t-h3-tracking: 0em;
	--t-h3-transform: none;
	/* h4: Dev Mode 24/32 2%; mobile 20 (TODO) */
	--t-h4-family: var(--font-heading);
	--t-h4-weight: 600;
	--t-h4-size-min: 20;
	--t-h4-size-max: 24;
	--t-h4-size: clamp(calc(var(--t-h4-size-min) * 0.0625rem), calc(var(--t-h4-size-min) * 0.0625rem + (var(--t-h4-size-max) - var(--t-h4-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-h4-size-max) * 0.0625rem));
	--t-h4-line-height: 1.3333;
	--t-h4-tracking: 0.02em;
	--t-h4-transform: none;
	/* h5: TODO: not in Dev Mode, interpolated 20/28 */
	--t-h5-family: var(--font-heading);
	--t-h5-weight: 600;
	--t-h5-size-min: 18;
	--t-h5-size-max: 20;
	--t-h5-size: clamp(calc(var(--t-h5-size-min) * 0.0625rem), calc(var(--t-h5-size-min) * 0.0625rem + (var(--t-h5-size-max) - var(--t-h5-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-h5-size-max) * 0.0625rem));
	--t-h5-line-height: 1.4;
	--t-h5-tracking: 0em;
	--t-h5-transform: none;
	/* h6: TODO: not in Dev Mode, interpolated 17/24 */
	--t-h6-family: var(--font-heading);
	--t-h6-weight: 600;
	--t-h6-size-min: 17;
	--t-h6-size-max: 17;
	--t-h6-size: calc(var(--t-h6-size-max) * 0.0625rem);
	--t-h6-line-height: 1.4118;
	--t-h6-tracking: 0em;
	--t-h6-transform: none;
	/* card-title: Dev Mode 34/124% 0.25px (Roboto 500); mobile 26 (TODO) */
	--t-card-title-family: var(--font-body);
	--t-card-title-weight: 500;
	--t-card-title-size-min: 26;
	--t-card-title-size-max: 34;
	--t-card-title-size: clamp(calc(var(--t-card-title-size-min) * 0.0625rem), calc(var(--t-card-title-size-min) * 0.0625rem + (var(--t-card-title-size-max) - var(--t-card-title-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-card-title-size-max) * 0.0625rem));
	--t-card-title-line-height: 1.24;
	--t-card-title-tracking: 0.0074em;
	--t-card-title-transform: none;
	/* display: Dev Mode 34/124% 0.25px; mobile 26 (TODO) */
	--t-display-family: var(--font-body);
	--t-display-weight: 400;
	--t-display-size-min: 26;
	--t-display-size-max: 34;
	--t-display-size: clamp(calc(var(--t-display-size-min) * 0.0625rem), calc(var(--t-display-size-min) * 0.0625rem + (var(--t-display-size-max) - var(--t-display-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-display-size-max) * 0.0625rem));
	--t-display-line-height: 1.24;
	--t-display-tracking: 0.0074em;
	--t-display-transform: none;
	/* btn-1: Dev Mode 16/120% -0.5% */
	--t-btn-1-family: var(--font-heading);
	--t-btn-1-weight: 600;
	--t-btn-1-size-min: 16;
	--t-btn-1-size-max: 16;
	--t-btn-1-size: calc(var(--t-btn-1-size-max) * 0.0625rem);
	--t-btn-1-line-height: 1.2;
	--t-btn-1-tracking: -0.005em;
	--t-btn-1-transform: none;
	/* btn-1-sm: TODO: small buttons (plan decision) */
	--t-btn-1-sm-family: var(--font-heading);
	--t-btn-1-sm-weight: 600;
	--t-btn-1-sm-size-min: 14;
	--t-btn-1-sm-size-max: 14;
	--t-btn-1-sm-size: calc(var(--t-btn-1-sm-size-max) * 0.0625rem);
	--t-btn-1-sm-line-height: 1.2;
	--t-btn-1-sm-tracking: -0.005em;
	--t-btn-1-sm-transform: none;
	/* btn-2: Dev Mode 17/120% */
	--t-btn-2-family: var(--font-body);
	--t-btn-2-weight: 400;
	--t-btn-2-size-min: 17;
	--t-btn-2-size-max: 17;
	--t-btn-2-size: calc(var(--t-btn-2-size-max) * 0.0625rem);
	--t-btn-2-line-height: 1.2;
	--t-btn-2-tracking: 0em;
	--t-btn-2-transform: none;
	/* btn-2-sm: Dev Mode 14/120% */
	--t-btn-2-sm-family: var(--font-body);
	--t-btn-2-sm-weight: 400;
	--t-btn-2-sm-size-min: 14;
	--t-btn-2-sm-size-max: 14;
	--t-btn-2-sm-size: calc(var(--t-btn-2-sm-size-max) * 0.0625rem);
	--t-btn-2-sm-line-height: 1.2;
	--t-btn-2-sm-tracking: 0em;
	--t-btn-2-sm-transform: none;
	/* nav: TODO: measured from Navigation.png (plan decision) */
	--t-nav-family: var(--font-heading);
	--t-nav-weight: 500;
	--t-nav-size-min: 16;
	--t-nav-size-max: 16;
	--t-nav-size: calc(var(--t-nav-size-max) * 0.0625rem);
	--t-nav-line-height: 1.2;
	--t-nav-tracking: 0em;
	--t-nav-transform: none;
	/* stat: TODO: measured from homepage section 5 (~30px) */
	--t-stat-family: var(--font-body);
	--t-stat-weight: 400;
	--t-stat-size-min: 26;
	--t-stat-size-max: 30;
	--t-stat-size: clamp(calc(var(--t-stat-size-min) * 0.0625rem), calc(var(--t-stat-size-min) * 0.0625rem + (var(--t-stat-size-max) - var(--t-stat-size-min)) * (100vw - 22.5rem) / 1080), calc(var(--t-stat-size-max) * 0.0625rem));
	--t-stat-line-height: 1.2;
	--t-stat-tracking: 0em;
	--t-stat-transform: none;
	/* footer-heading: TODO: measured from footer.png (plan decision) */
	--t-footer-heading-family: var(--font-heading);
	--t-footer-heading-weight: 600;
	--t-footer-heading-size-min: 18;
	--t-footer-heading-size-max: 18;
	--t-footer-heading-size: calc(var(--t-footer-heading-size-max) * 0.0625rem);
	--t-footer-heading-line-height: 1.3333;
	--t-footer-heading-tracking: 0em;
	--t-footer-heading-transform: none;
	/* Aliases: the earlier --type-* tokens now follow the scale (fluid sizes, so -desktop = the same value). */
	--type-h1-size: var(--t-h1-size);
	--type-h1-size-desktop: var(--t-h1-size);
	--type-h1-line-height: var(--t-h1-line-height);
	--type-h1-tracking: var(--t-h1-tracking);
	--type-h2-size: var(--t-h2-size);
	--type-h2-size-desktop: var(--t-h2-size);
	--type-h2-line-height: var(--t-h2-line-height);
	--type-h2-tracking: var(--t-h2-tracking);
	--type-h3-size: var(--t-h3-size);
	--type-h3-size-desktop: var(--t-h3-size);
	--type-h3-line-height: var(--t-h3-line-height);
	--type-h3-tracking: var(--t-h3-tracking);
	--type-h4-size: var(--t-h4-size);
	--type-h4-size-desktop: var(--t-h4-size);
	--type-h4-line-height: var(--t-h4-line-height);
	--type-h4-tracking: var(--t-h4-tracking);
	--type-body-size: var(--t-body-size);
	--type-body-size-desktop: var(--t-body-size);
	--type-body-line-height: var(--t-body-line-height);
	--type-body-tracking: var(--t-body-tracking);
	--type-small-size: var(--t-small-size);
	--type-small-size-desktop: var(--t-small-size);
	--type-small-line-height: var(--t-small-line-height);
	--type-small-tracking: var(--t-small-tracking);

	/* ---------- Spacing ---------- */
	/* TODO: verify in Figma */
	--space-2xs: 0.25rem;  /* 4px */
	--space-xs: 0.5rem;    /* 8px */
	--space-sm: 1rem;      /* 16px */
	--space-md: 1.5rem;    /* 24px: mobile page gutter. */
	--space-lg: 2rem;      /* 32px */
	--space-xl: 3rem;      /* 48px */
	--space-2xl: 4rem;     /* 64px */
	--space-3xl: 6rem;     /* 96px */

	/* ---------- Radii ---------- */
	/* TODO: verify in Figma */
	--radius-sm: 2px;      /* Buttons, rating badge. */
	--radius-md: 4px;

	/* ---------- Layout ---------- */
	/* TODO: verify in Figma */
	--container-max: 90rem;        /* 1440px: nav + footer content width. */
	--container-narrow: 75rem;     /* 1200px: hero content + logo strip. */
	--container-gutter: var(--space-md);
	--header-height: 6.25rem;      /* 100px: mobile utility bar + nav. */

	/* ---------- Breakpoints ---------- */
	/* TODO: verify in Figma */
	/*
	 * CSS cannot read custom properties inside @media, so media queries repeat
	 * these values with a comment naming the token. JS reads them from here.
	 */
	--bp-sm: 36em;   /* 576px */
	--bp-md: 48em;   /* 768px */
	--bp-lg: 64em;   /* 1024px */
	--bp-xl: 80em;   /* 1280px */

	/* ---------- Motion ---------- */
	--transition-fast: 150ms ease;
	--transition-base: 300ms ease;

	/* ---------- Buttons ---------- */
	/* TODO: verify in Figma */
	--button-padding-y: 0.5rem;
	--button-padding-x: 1.5rem;
	--button-font-size: var(--font-size-base);
	--button-min-height: 2.25rem;  /* 36px */

	/* ---------- Hero ---------- */
	/* TODO: verify in Figma */
	--hero-height-full: calc(100svh - var(--header-height));
	--hero-height-large: 80svh;
	--hero-height-medium: 60svh;
	--hero-min-height: 32rem;
	--hero-content-max: 40rem;              /* ~640px text column. */
	--hero-overlay-colour: #4a2a17;         /* Warm brown tint seen over the footage. */
	--hero-overlay-opacity: 0.55;
	--hero-scrim: rgba(0, 0, 0, 0.25);      /* Constant base darkening for legibility. */
	/* Link pills (homepage hero audience links, subpage hero). TODO: verify in Figma */
	--link-pills-font-size: var(--font-size-sm);
	--link-pills-gap-x: var(--space-md);
	--link-pills-gap-y: var(--space-xs);
	--link-pills-hover-colour: var(--color-primary);
	--link-pills-suffix-colour: var(--color-text-inverse-muted); /* On dark/photo backgrounds. */
	--hero-logo-height: 2.5rem;             /* 40px */
	--hero-logo-height-mobile: 3.5rem;
	--hero-logo-max-width: 9rem;
	--hero-overlay-fade-to: 0.35;           /* Desktop: overlay strength at the right edge (x opacity). */
	--hero-rating-logo-size: 2.25rem;       /* 36px */
	--hero-star-size: 1rem;
	--video-toggle-size: 2.5rem;              /* Background video pause/play (homepage + subpage hero). */
	--video-toggle-bg: rgba(0, 0, 0, 0.25);

	/* ---------- Header / navigation ---------- */
	/* TODO: verify in Figma */
	--bp-nav: 80em;                          /* 1280px: desktop nav from here; drawer below. */
	--utility-bar-height: 1.5rem;            /* 24px mobile (ENG only). */
	--utility-bar-bg: var(--color-dark-soft);
	--utility-items-gap: var(--space-lg);    /* Between country, ENG, Download App and Login (~24px). */
	/* Desktop header (Navigation.png at 1920, roughly 1:1). */
	/* Gaps are the frame's at 1920 and shrink fluidly to fit at 1280 (--bp-nav). */
	--nav-logo-gap: clamp(2.5rem, 5vw - 1.5rem, 4.5rem);        /* Logo to "Home": 72px at 1920, 40px at 1280. */
	--nav-item-gap: clamp(1.5rem, 1.5625vw + 0.25rem, 2.125rem); /* Visible 35 to 39px at 1920 (the chevron box adds 4px). */
	--nav-chevron-gap: 0.4375rem;            /* Visible label-to-chevron ~11px (the icon box adds 4px). */
	--nav-text: var(--color-text);           /* Default item colour (#212121 in the frame). */
	--nav-active-colour: var(--color-primary); /* Open and current items. Orange on white is 2.79:1 (contrast report). */
	--nav-hover-colour: var(--color-primary);  /* No hover frame. */
	--header-btn-height: 2.25rem;            /* Contact Us 108 x 36, Get a demo 114 x 36. */
	--header-btn-padding-x: 0.5rem;          /* Gives the frame's 108 and 114px widths. */
	--header-btn-gap: 1.25rem;               /* 20px between the buttons. */
	--header-search-gap: clamp(1rem, 2.5vw - 1rem, 2rem); /* Get a demo to the search icon: ~31px at 1920. */
	--header-btn-secondary-bg: var(--color-secondary-light); /* "Contact Us": #aad4f9 in Navigation.png. */
	--header-btn-secondary-bg-hover: var(--color-secondary);
	--header-btn-text: var(--color-text-inverse); /* White, as designed: 1.6:1 on the blue, 2.79:1 on the orange. */
	/* Country selector (header dropdown proposal: mega style, no scrim). */
	--country-panel-width: 40rem;            /* ~640px, four region columns. */
	--country-panel-padding: var(--space-lg);
	--country-panel-shadow: var(--nav-panel-shadow);
	--country-flag-width: 1.25rem;           /* 20 x 15 */
	--country-link-hover: var(--color-primary);
	--main-bar-height: 4.75rem;              /* 76px mobile. */
	--nav-font-size: var(--font-size-base);
	--nav-panel-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.12);
	--nav-backdrop: rgba(0, 0, 0, 0.08);     /* Grey dim behind open mega panel. */
	--nav-panel-padding: var(--space-lg);
	--nav-link-gap: 0.75rem;                 /* Vertical gap between mega links (~12px). */
	--nav-icon-size: 1rem;
	--nav-card-image-ratio: 8 / 3;           /* Company card images (~437x165). */
	--nav-toggle-size: 2.75rem;              /* Hamburger: orange square. */
	--nav-row-height: 3.5rem;                /* Mobile drawer rows. */
	--nav-drawer-transition: 250ms ease;
	--logo-height-header-mobile: 2rem;       /* Figma: 179.94 x 32, width auto (2026-11-13). */
	--logo-height-header: 2rem;              /* Figma: 179.94 x 32, width auto. */
	--logo-max-width-header: 11.25rem;       /* 180px: keeps an oversized upload in its box. */
	--nav-feature-gradient: var(--gradient-orange); /* Resources promo card. */
	--color-badge-bg: var(--color-secondary);
	--color-badge-text: var(--color-text);

	/* ---------- Gradients ---------- */
	/* TODO: verify in Figma */
	--gradient-orange: linear-gradient(110deg, #f65a0a 0%, #f4834a 100%);  /* Orange feature cards. */
	--gradient-blue: linear-gradient(110deg, #a3cffa 0%, #b6daf9 100%);    /* Blue feature cards. */
	--gradient-surface: linear-gradient(90deg, #f3eeea 0%, #edf5fd 100%);  /* Pills and tiles. */

	/* ---------- Glow orb (circle with a rotating gradient border) ---------- */
	/* TODO: verify in Figma */
	--glow-color-1: var(--color-primary);
	--glow-color-2: var(--color-secondary-light);
	--glow-orb-size: 8rem;                 /* 128px */
	--glow-radius: 3px;                    /* Rounded square (your instruction; the spec estimated ~8px). */
	--glow-orb-border-width: 3px;
	--glow-orb-icon-size: 4rem;            /* Mark is ~64px wide inside the 128px export. */
	--glow-orb-blur: 0.75rem;
	--glow-orb-glow-opacity: 0.55;
	--glow-orb-duration: 4s;

	/* ---------- Connector lines (drawn on scroll) ---------- */
	/* TODO: verify in Figma */
	--line-color: var(--color-secondary-light);  /* Default (blue). */
	--line-color-alt: var(--color-primary);      /* Lines leaving orange cards. */
	--line-width: 1.5;                           /* SVG stroke width (~1px in the 0.68x export). */
	--line-duration: 1.2s;

	/* ---------- Intro cards section ---------- */
	/* TODO: verify in Figma (measured from 1920px frame exported at ~0.68x, cards at 1x) */
	--intro-cards-max: 66.5rem;            /* 1064px content width. */
	--intro-cards-col-gap: 1rem;           /* 16px between card and links. */
	--intro-cards-card-ratio: 0.515;       /* Card column share: 540 / (1064 - 16). */
	--intro-cards-row-gap: 11rem;          /* 176px; keep in sync with CONNECTOR_HEIGHT in section-intro_cards.php. */
	--intro-cards-intro-gap: var(--space-xl);
	--intro-cards-card-padding: 2.5rem;    /* 40px */
	--intro-cards-image-inset: 1.5rem;     /* 24px from card edge to screenshot. */
	--intro-cards-image-height-mobile: 14rem;
	--intro-cards-tag-bg: rgba(0, 0, 0, 0.42);
	--intro-cards-tile-min-height: 10rem;  /* 160px */
	--intro-cards-tile-gap: 0.75rem;       /* 12px */
	--intro-cards-tile-padding: 1.25rem;   /* 20px */
	--intro-cards-pill-gap: 1.125rem;      /* 18px between pills (58px pitch). */
	--intro-cards-pill-padding-y: 0.625rem;
	--intro-cards-pill-padding-x: 1rem;
	--intro-cards-pill-indent-1: 4rem;     /* Staggered pill offsets from the card edge (tablet). */
	--intro-cards-pill-indent-2: 1.5rem;
	--intro-cards-pill-indent-3: 3.5rem;
	--intro-cards-pill-indent-4: 2.5rem;

	/* ---------- Card slider section ---------- */
	/* TODO: verify in Figma (mobile measured at 1x; desktop from the 1920px frame, exported at ~0.26x) */
	--section-dark-bg: #161616;                    /* TODO: verify in Figma. Sampled from the section 3 frame. */
	--card-slider-bg-position: 30% 50%;            /* Mobile: keeps the glow on the right edge. */
	--card-slider-padding-y: 5rem;                 /* ~80px mobile */
	--card-slider-header-gap: var(--space-md);     /* Between eyebrow, heading, text. */
	--card-slider-header-max: 50rem;               /* ~784px heading/text measure on desktop. */
	--card-slider-eyebrow-size: var(--font-size-sm);
	--card-slider-track-gap: 1.25rem;              /* ~19px mobile */
	--card-slider-track-gap-desktop: 1.625rem;     /* ~26px at 1920 */
	--card-slider-track-offset: 3.5rem;            /* Header → cards (~56px). */
	--card-slider-card-width: 16.375rem;           /* 262px mobile (fixed) */
	--card-slider-per-view-tablet: 2.4;            /* Fluid from --bp-md: full cards + a peek. */
	--card-slider-full-cards-tablet: 2;
	--card-slider-per-view-desktop: 4.2;           /* 4 full cards + a fifth running off the edge. */
	--card-slider-full-cards-desktop: 4;
	--card-slider-card-ratio: 5 / 7;               /* ~349x499 at 1920; matches card-portrait (min 350x500). */
	--card-slider-card-radius: var(--radius-md);   /* ~4px */
	--card-slider-card-padding: 1.25rem;           /* ~19px mobile */
	--card-slider-card-padding-desktop: 1.625rem;  /* ~26px */
	--card-slider-card-title-size: var(--font-size-base);         /* ~16px mobile */
	--card-slider-card-title-size-desktop: 1.375rem;              /* ~22px */
	--card-slider-card-link-size: var(--font-size-sm);            /* ~13-14px mobile */
	--card-slider-card-link-size-desktop: var(--font-size-md);    /* ~18px */
	--card-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
	--card-overlay-height: 50%;                    /* Overlay covers the lower half of the card. */
	--card-slider-hover-zoom: 1.05;
	--card-slider-controls-offset: 2rem;           /* Cards → arrows: ~31px mobile */
	--card-slider-controls-offset-desktop: 1.875rem; /* ~29px */
	--card-slider-arrow-size: 3.25rem;             /* 52px square, mobile frame */
	--card-slider-arrow-size-desktop: 3.25rem;     /* ~51px square, same as mobile */
	--card-slider-arrow-gap: 1.125rem;             /* ~18px mobile */
	--card-slider-arrow-gap-desktop: 1.125rem;     /* ~19px */
	--card-slider-arrow-icon-size: 1.5rem;
	--card-slider-arrow-icon-size-desktop: 1.5rem;
	--card-slider-arrow-disabled-opacity: 0.35;

	/* ---------- Stat (value + label under a gradient hairline) ---------- */
	/* TODO: verify in Figma (desktop from a 1920 frame exported at ~0.66x; mobile at ~0.65x) */
	--stat-line-width: 16.25rem;                   /* ~260px */
	--stat-line-thickness: 2px;
	--stat-line-gradient: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 80%, transparent) 0%, transparent 100%);
	--stat-line-offset: 1.75rem;                   /* Line → value (~27px). */
	--stat-label-gap: 1.5rem;                      /* Value → label (~22-26px). */

	/* ---------- Count-up (js/countup.js) ---------- */
	/* TODO: verify in Figma */
	--countup-duration: 1.8s;
	--countup-stagger: 120ms;                      /* Between stats entering together (desktop). */

	/* ---------- CTA bar (whole bar is one link) ---------- */
	/* TODO: verify in Figma */
	--cta-bar-bg: var(--gradient-surface);
	--cta-bar-min-height: 2.75rem;                 /* 44px tap target on mobile. */
	--cta-bar-min-height-desktop: 3.875rem;        /* ~62px */
	--cta-bar-padding-y: var(--space-sm);
	--cta-bar-padding-start: 1rem;                 /* ~15px */
	--cta-bar-padding-end: 1.625rem;               /* Arrow sits ~26px from the right edge. */
	--cta-bar-font-size: var(--font-size-base);

	/* ---------- Image accent (gradient panel offset behind a photo) ---------- */
	/* TODO: verify in Figma */
	--color-primary-tint: #fde4d6;                 /* Pale peach at the bottom of the accent panel. */
	--image-accent-offset: 3.125rem;               /* ~50px strip visible beside the photo. */
	--image-accent-gradient: linear-gradient(180deg, var(--color-secondary-light) 0%, var(--color-primary) 58%, var(--color-primary-tint) 100%);
	--image-accent-radius: var(--radius-md);       /* Photo corners (~4px); the panel is square. */

	/* ---------- Stats + image section ---------- */
	/* TODO: verify in Figma */
	--stats-image-padding-y: 4rem;                 /* Mobile */
	--stats-image-padding-y-desktop: 6rem;
	--stats-image-heading-max: 42rem;              /* ~670px measure */
	--stats-image-heading-gap: 3.5rem;             /* Heading → first stat line (~55-64px). */
	--stats-image-stats-gap: 1.25rem;              /* Mobile: between stacked stats (~20px). */
	--stats-image-stats-col-gap: 4.5rem;           /* Desktop: ~74px between stat columns. */
	--stats-image-stats-row-gap: 4rem;             /* Desktop: ~62px between stat rows. */
	--stats-image-cta-gap: 3.5rem;                 /* Mobile: last stat → CTA (~62px). */
	--stats-image-cta-gap-desktop: 5.5rem;         /* ~90px */
	--stats-image-col-gap: 5.25rem;                /* ~85px between text and photo. */
	--stats-image-photo-width: 36.75rem;           /* 588px (confirmed). */
	--stats-image-photo-height: 38.9375rem;        /* 623px (confirmed). */
	--stats-image-text-min: 20rem;                 /* Text column never narrower than this; the photo shrinks first. */

	/* ---------- Case-study grid section ---------- */
	/* TODO: verify in Figma (desktop frame 1920x802 exported at ~0.594x; mobile at ~0.65x) */
	--case-study-max: 66.625rem;                   /* 1066px: 4 x 247px columns + 3 x 26px gaps, so story cards are 520px. */
	--case-study-padding-y: 4rem;                  /* Mobile */
	--case-study-padding-y-desktop: 9rem;          /* ~145-160px */
	--case-study-heading-max: 47rem;               /* ~750px */
	--case-study-intro-size: var(--font-size-base);
	--case-study-intro-size-desktop: var(--font-size-md);
	--case-study-intro-max: 49rem;                 /* ~783px */
	--case-study-heading-gap: 1.875rem;            /* Heading → intro (~30px). */
	--case-study-intro-gap: 2.25rem;               /* Intro → button (~37px). */
	--case-study-grid-offset: 3.25rem;             /* Button → grid (~52px). */
	--case-study-gap: 1.625rem;                    /* ~26px between columns. */
	--case-study-row-gap: 4.25rem;                 /* ~67px between rows; the row line sits in the middle. */
	--case-study-stack-gap: 1.5rem;                /* Mobile: between stacked story cards (~25px). */
	--case-study-row-ratio: calc(347 / 247);       /* Row height / column width: story cards 520 x 347 (confirmed). */
	--case-study-line-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
	--case-study-line-mask: linear-gradient(90deg, transparent 13%, #000 50%, transparent 87%); /* Fades the line out at both ends (~74% wide). */

	--case-card-overlay: rgba(0, 0, 0, 0.55);      /* Story card hover overlay (not in the frame). */
	--case-card-reveal-duration: 300ms;            /* Duration only (easing is set where it's used). */
	--case-card-padding: 2rem;                     /* Story card (~32px). */
	--case-card-radius: 2px;                       /* Story card photo corners (confirmed). */
	--case-card-stat-padding: 1.25rem;             /* Stat card (~20px). */
	--case-card-logo-height: 2.625rem;             /* ~42px */
	--case-card-link-size: 0.9375rem;              /* ~15px */
	--case-card-hover-text-size: var(--font-size-base);
	--case-card-title-size: 1.5625rem;             /* ~25px stat titles */
	--case-card-icon-size: 2.875rem;               /* ~46px */
	--case-card-strip-width: 0.9375rem;            /* ~15px right-edge strip */
	--case-card-band-top-ratio: 0.26;              /* Top band, share of card height. */
	--case-card-band-bottom-ratio: 0.29;           /* Bottom band, share of card height. */
	--case-card-strip: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-tint) 50%, var(--color-secondary-light) 100%);
	--case-card-ember: linear-gradient(to bottom left, #121212 30%, #7a3c1d 68%, var(--color-primary) 100%);
	--case-card-sky: linear-gradient(to bottom left, var(--color-secondary-light) 0%, #5a6f80 45%, #0d0d0d 100%);
	--case-card-black: #000000;
	--case-card-charcoal: linear-gradient(135deg, #2b2b2b 0%, #111111 50%, #2b2b2b 100%);
	--case-card-band-top: linear-gradient(90deg, #f6c9b4 0%, var(--color-secondary-light) 100%);
	--case-card-band-bottom: linear-gradient(90deg, var(--color-primary-tint) 0%, var(--color-primary) 100%);

	/* ---------- Goals table section ---------- */
	/* TODO: verify in Figma (desktop frame exported at ~0.6x of 1920; mobile at ~0.64x) */
	--section-warm-bg: #fffaf8;                    /* Warm off-white base, sampled from the frame. */
	--goals-max: 66.625rem;                        /* ~1066px, same as the case-study grid. */
	--goals-padding-y: 4rem;                       /* Mobile */
	--goals-padding-y-desktop: 7.5rem;             /* ~120px */
	--goals-intro-max: 50rem;                      /* ~800px */
	--goals-heading-gap: 1.5rem;                   /* Heading → intro. */
	--goals-cta-gap: 2.5rem;                       /* Intro → CTA (~40px mobile). */
	--goals-cta-gap-desktop: 3.625rem;             /* ~58px */
	--goals-table-gap: 3.25rem;                    /* CTA → column labels (~52px). */
	--goals-col-gap: 0.5rem;                       /* Small, so solutions start at ~50% as in the frame. */
	--goals-label-size: var(--font-size-sm);       /* ~14px */
	--goals-label-gap: var(--space-sm);            /* Label → divider. */
	--goals-divider: #ece7e4;                      /* Hairline under labels and rows. */
	--goals-row-padding-top: 2.5rem;               /* ~40px */
	--goals-row-padding-bottom: 2rem;              /* ~33px */
	--goals-row-padding-mobile: 2rem;
	--goals-title-size: 1.25rem;                   /* ~20px */
	--goals-badge-size: 1.6875rem;                 /* ~27px square */
	--goals-badge-bg: var(--color-secondary-light); /* #aad4f9, sampled. */
	--goals-badge-gap: 0.75rem;
	--goals-solution-size: var(--font-size-base);  /* 16px over 24px */
	--goals-solution-gap: 0.75rem;                 /* Between bullets (~12px). */
	--goals-bullet-size: 0.3125rem;                /* ~5px dot */
	--cta-bar-bg-dark: linear-gradient(90deg, #212020 0%, #212020 38%, #f4874e 100%); /* Sampled from the section 7 CTA. */

	/* ---------- Type chip (content type label with icon) ---------- */
	/* TODO: verify in Figma */
	--type-chip-border: #cfcfcf;
	--type-chip-padding-y: 0.25rem;
	--type-chip-padding-x: 0.5rem;
	--type-chip-gap: 0.375rem;
	--type-chip-font-size: 0.8125rem;              /* ~13px */
	--type-chip-icon-size: 0.875rem;               /* ~14px */

	/* ---------- Post card ---------- */
	/* TODO: verify in Figma (desktop frame ~0.6x of 1920) */
	--post-card-image-ratio: 16 / 9;               /* 336 x 189; image size post-card 672x378. */
	--post-card-image-bg: var(--color-border);     /* Shown when a post has no featured image. */
	/* Mobile values (cards must fit 335 x 424); desktop values are in the --bp-md block below. */
	--post-card-chip-gap: 0.625rem;
	--post-card-title-gap: 0.625rem;
	--post-card-title-size: var(--font-size-base);
	--post-card-meta-gap: 0.75rem;
	--post-card-meta-size: 0.8125rem;
	--post-card-excerpt-gap: 0.625rem;
	--post-card-excerpt-size: 0.8125rem;
	--post-card-excerpt-lines: 2;
	--post-card-link-gap: 0.75rem;
	--post-card-link-size: var(--font-size-sm);
	--post-card-hover-zoom: 1.04;
	--post-card-play-size: 2.75rem;                /* Play button on Video cards (related posts frame). */
	--post-card-play-bg: #ffffff;
	--post-card-play-colour: var(--color-text);
	--post-card-width-mobile: 20.9375rem;          /* 335px (confirmed). */
	--post-card-height-mobile: 26.5rem;            /* 424px (confirmed), minimum. */

	/* ---------- Blog grid section ---------- */
	/* TODO: verify in Figma */
	--blog-grid-max: 66.625rem;                    /* ~1066px, same as sections 6-7. */
	--blog-grid-padding-y: 4rem;                   /* Mobile */
	--blog-grid-padding-y-desktop: 6rem;
	--blog-grid-col-gap: 1.75rem;                  /* ~28px */
	--blog-grid-row-gap: 3.375rem;                 /* ~54px */
	--blog-grid-track-gap: 0.75rem;                /* 12px between mobile carousel cards (confirmed). */
	--blog-grid-intro-gap: 1.875rem;               /* Heading → paragraph (~30px). */
	--blog-grid-button-gap: 2.25rem;               /* Paragraph → button (~37px). */
	--blog-grid-cards-offset: 2.5rem;              /* Mobile: intro → carousel (~40px). */

	/* ---------- Ratings (compact: score + star, then logo + "on {platform}") ---------- */
	/* TODO: verify in Figma */
	--rating-score-size: 1.5rem;                   /* ~24px mobile */
	--rating-score-size-desktop: 1.625rem;         /* ~26px */
	--rating-star-size: 1.5rem;
	--rating-logo-size: 1.25rem;                   /* ~20px */
	--rating-source-size: var(--font-size-base);   /* "on Google", mobile */
	--rating-source-size-desktop: var(--font-size-sm);
	--rating-gap: 2.5rem;                          /* Between ratings, desktop (~42px). */

	/* ---------- Forms (Gravity Forms) ---------- */
	/* TODO: verify in Figma */
	--color-error: #c62828;
	--form-label-size: var(--font-size-base);      /* ~15-16px */
	--form-label-gap: 0.625rem;                    /* Label → input (~10px). */
	--form-field-gap: 1.375rem;                    /* Between fields (~20-27px). */
	--form-input-height: 2.625rem;                 /* ~42px */
	--form-input-padding-x: 1rem;
	--form-input-bg: var(--color-bg);
	--form-input-border: #d9d9d9;
	--form-input-border-focus: var(--color-text);
	--form-input-radius: var(--radius-sm);
	--form-placeholder: #9a9a9a;
	--form-button-gap: 1.5rem;                     /* Last field → button. */
	--form-column-gap: 1rem;                       /* Half / third width fields, sub-fields. */
	--form-subfield-min: 12rem;                    /* Name / Address sub-fields wrap below this. */
	--form-choice-gap: 0.625rem;                   /* Radio / checkbox rows. */
	--form-choice-size: 1.125rem;

	/* ---------- Form section ---------- */
	/* TODO: verify in Figma (desktop ~0.6x of 1920; mobile 1x) */
	--section-form-bg: #ffffff;                    /* Base under the 40%-opacity background image. */
	--form-section-padding-top: 5rem;              /* Mobile (~80px) */
	--form-section-padding-bottom: 6rem;           /* Mobile (~100px) */
	--form-section-padding-y-desktop: 5rem;        /* ~74-85px */
	--form-section-content-max: 37.5rem;           /* ~600px fields */
	--form-section-content-offset: 8rem;           /* ~127px from the split to the content */
	--form-section-intro-gap: 1.25rem;
	--form-section-ratings-gap: 1.75rem;           /* Intro → ratings. */
	--form-section-form-gap: 2.5rem;               /* Ratings → form. */

	/* ---------- Footer ---------- */
	/* TODO: verify in Figma (desktop frame exported at ~0.79x of 1440; mobile 1x at 393) */
	--footer-bg: var(--color-dark-soft);           /* Mobile frame: #222. */
	--footer-bg-desktop: var(--color-dark);        /* Desktop frame: #000. */
	--footer-text: var(--color-text-inverse);
	--footer-text-muted: rgba(255, 255, 255, 0.8);
	--footer-rule: rgba(255, 255, 255, 0.2);       /* Hairline dividers. */
	--footer-link-hover: var(--color-primary);
	--footer-max: var(--container-narrow);         /* ~1100px content width at 1440. */
	--footer-padding-top: 2.5rem;                  /* Mobile (~40px) */
	--footer-padding-top-desktop: 4rem;            /* ~64px */
	--footer-padding-bottom: 3rem;
	--footer-padding-bottom-desktop: 2rem;
	--footer-row-gap: 3.5rem;                      /* Row content → divider (~57px), desktop. */
	--footer-row-gap-small: 2.5rem;                /* Divider → row content / panel (~40px). */
	--footer-brand-width: 32.75%;                  /* Brand column ~283 of 864 in the frame. */
	--footer-column-gap: 1.5rem;
	--footer-logo-height: 2rem;                    /* Figma: 179.94 x 32, width auto (2026-11-13). */
	--footer-logo-height-desktop: 2rem;
	/* Footer type from Figma (2026-11-13): headings Montserrat 600, text and links Roboto 400, all 17px. */
	--footer-heading-font-size: 1.0625rem;         /* 17px */
	--footer-heading-line-height: 1.5rem;          /* 24px */
	--footer-heading-tracking: 0.02em;             /* 2% */
	--footer-link-font-size: 1.0625rem;            /* 17px */
	--footer-text-font-size: 1.0625rem;            /* 17px */
	--footer-text-line-height: 1.5rem;             /* 24px */
	--footer-heading-size: var(--footer-heading-font-size);     /* "Main Office", "Find us on", newsletter title. */
	--footer-heading-size-desktop: var(--footer-heading-font-size);
	--footer-text-size: var(--footer-text-font-size);
	--footer-text-size-desktop: var(--footer-text-font-size);
	--footer-title-size: var(--footer-heading-font-size);       /* Column titles (mobile accordion titles too). */
	--footer-title-size-desktop: var(--footer-heading-font-size);
	--footer-link-size: var(--footer-link-font-size);
	--footer-link-size-desktop: var(--footer-link-font-size);
	--footer-link-line-height: 1.2;                /* 120% */
	/* The newsletter form keeps its earlier inherited size and line-height (decided: its text stays as it is). */
	--footer-newsletter-text-size: var(--font-size-base);
	--footer-newsletter-text-size-desktop: var(--font-size-sm);
	--footer-newsletter-line-height: var(--line-height-body);
	--footer-link-gap: 0.75rem;                    /* Mobile list gap. */
	--footer-link-gap-desktop: 0.375rem;           /* ~24px pitch at 13px. */
	--footer-title-gap: 1rem;                      /* Column title → first link. */
	--footer-accordion-height: 4rem;               /* Mobile row pitch ~64px. */
	--footer-icon-size: 1.125rem;                  /* Mail / phone / globe. */
	--footer-social-size: 1.375rem;                /* Mobile ~22px. */
	--footer-social-size-desktop: 1.25rem;         /* ~19px */
	--footer-social-gap: 1rem;
	--footer-badge-height: 1.875rem;               /* Mobile ~30px. */
	--footer-badge-height-desktop: 2.0625rem;      /* ~33px */
	--footer-badge-gap: 0.5rem;
	--footer-newsletter-width: 20rem;              /* ~250 x 1.27 */
	--footer-input-height: 2.5rem;                 /* ~40px */
	--footer-chip-border: rgba(255, 255, 255, 0.85);
	--footer-chip-size: 0.6875rem;                 /* ~11px */
	--footer-flag-width: 1.25rem;
	--footer-panel-bg: #141414;                    /* Country panel (current footer). */
	--footer-legal-gap: 1.5rem;
	--footer-error: #ff8a80;                       /* Error text on the dark footer (4.5:1+ on #000 and #222). */
	--footer-consent-size: var(--font-size-sm);    /* ~14px mobile; desktop ~11px x 1.27. */
	--footer-consent-size-desktop: var(--font-size-xs);

	/* ---------- Subpages ---------- */
	/* TODO: verify in Figma (no subpage measurements yet; frames are ~0.4-0.5x of 1920) */
	--breadcrumb-bg: #fafafa;                      /* Light bar under the header. */
	--breadcrumb-border: var(--color-border);
	--breadcrumb-text: var(--color-text-muted);
	--breadcrumb-current: var(--color-text);
	--breadcrumb-link-hover: var(--color-text);
	--breadcrumb-separator: #9a9a9a;
	--breadcrumb-font-size: var(--font-size-xs);   /* ~12-13px */
	--breadcrumb-height: 2.75rem;                  /* ~44px */
	--breadcrumb-gap: var(--space-xs);             /* Around the chevron. */
	--breadcrumb-separator-size: 0.75rem;
	/* Page hero. Frames: ~490-510px tall at 1920; text aligned with the header container. */
	--page-hero-height-small: 20rem;               /* Mobile (proposal). */
	--page-hero-height-medium: 26rem;
	--page-hero-height-large: 32rem;
	--page-hero-height-small-desktop: 24rem;       /* ~384px */
	--page-hero-height-medium-desktop: 32rem;      /* ~512px: blog, contact, company, product frames. */
	--page-hero-height-large-desktop: 40rem;       /* ~640px */
	--page-hero-padding-y: var(--space-2xl);
	--page-hero-content-max: 40rem;                /* Heading wraps at ~600-640px in the frames. */
	--page-hero-gap: var(--space-md);              /* Heading → pills / intro. */
	--page-hero-actions-gap: var(--space-lg);
	--page-hero-intro-size: var(--font-size-base);
	--page-hero-intro-size-desktop: var(--font-size-md);
	--page-hero-light-heading-size: var(--type-h1-size);
	--page-hero-light-heading-size-desktop: 2.5rem; /* "Success Stories" ~40px. */
	--page-hero-light-bg: #ffffff;                 /* Case-study frame looks white. */
	--page-hero-light-border: var(--color-border);
	--page-hero-image-base: #1a1a1a;
	--page-hero-image-position: 60% 50%;           /* Keep the person (right of centre) in view. */
	--page-hero-overlay-colour: #000000;           /* Mobile bottom-to-top overlay (proposal, TODO). */
	--page-hero-overlay-mobile-light: 0.45;
	--page-hero-overlay-mobile-medium: 0.65;
	--page-hero-overlay-mobile-strong: 0.85;
	/* Desktop overlay between the image/video and the text: from the design (exact). */
	--page-hero-overlay: linear-gradient(270deg, rgba(0, 0, 0, 0) 2.59%, #000000 90.53%);
	--page-hero-overlay-strong-layer: rgba(0, 0, 0, 0.2); /* "Strong": extra flat layer for very bright photos. */
	--page-hero-overlay-light: 0.7;               /* "Light" fades the overlay. */
	--page-hero-overlay-medium: 1;                /* Default = the design value. */
	--page-hero-overlay-strong: 1;
	/* Gradient hero with a PLAYING video (import, CLAUDE.md 8.14): the desktop overlay over this flat layer, chosen so
	   white text passes 4.5:1 on the brightest pixel under the text of each Vimeo thumbnail at 1024 to 1920 (worst
	   5.35:1). TODO: re-check on real frames. Below --bp-lg the bottom-to-top overlay at this opacity (15:1 or more). */
	--page-hero-video-overlay-layer: rgba(0, 0, 0, 0.35);
	--page-hero-video-overlay-mobile: 0.85;
	--page-hero-gradient-position: 25% 50%;        /* Mobile crop keeps the orange behind the text. */
	/* Fallback until the mesh-gradient images arrive. Mobile (proposal): orange behind the text, blue bottom-right. */
	--page-hero-gradient:
		radial-gradient(95% 70% at 25% 45%, #f0630f 0%, rgba(244, 119, 53, 0.92) 45%, rgba(244, 119, 53, 0) 85%),
		radial-gradient(60% 40% at 95% 100%, #a7d1f7 0%, rgba(170, 212, 249, 0) 100%),
		#f3ece7;
	/* Desktop: orange left, blue right, as in the frames. */
	--page-hero-gradient-desktop:
		radial-gradient(55% 95% at 22% 55%, #f0630f 0%, rgba(244, 119, 53, 0.92) 38%, rgba(244, 119, 53, 0) 72%),
		radial-gradient(42% 85% at 84% 55%, #a7d1f7 0%, rgba(170, 212, 249, 0.85) 30%, rgba(170, 212, 249, 0) 72%),
		#f3ece7;
	/* Anchor tabs (contact-us frame): ~72px strip, centred links, active orange. */
	--anchor-tabs-bg: var(--color-bg);
	--anchor-tabs-border: var(--color-border);
	--anchor-tabs-text: var(--color-text);
	--anchor-tabs-active: var(--color-primary);
	--anchor-tabs-font-size: var(--font-size-sm);
	--anchor-tabs-height: 4rem;
	--anchor-tabs-gap: var(--space-xl);           /* ~48px between links. */
	/* Customer logos strip (company frame). */
	--logo-strip-bg: var(--color-bg);
	--logo-strip-border: var(--color-border);
	--logo-strip-padding-y: var(--space-lg);
	--logo-strip-heading-size: var(--font-size-sm);
	--logo-strip-heading-width: 16rem;            /* "Trusted by millions…" wraps over 2 lines. */
	--logo-strip-gap: var(--space-xl);
	--logo-strip-logo-height: 3rem;               /* ~48px */
	--logo-strip-logo-max-width: 8rem;
	--logo-strip-logo-opacity: 0.7;               /* Greyscale logos. */
	--logo-strip-fade: 2rem;                      /* Edge fade while scrolling. */
	--logo-strip-toggle-size: 2rem;
	--subpage-strip-sticky-height: 0px;            /* Set to the strip height when anchor tabs become sticky. */
	--subpage-anchor-offset: calc(var(--header-height) + var(--subpage-strip-sticky-height) + var(--space-sm)); /* scroll-margin-top for #anchors (sticky header). */

	/* ---------- Subpage builder sections ---------- */
	/* TODO: verify in Figma (frames are ~0.5-0.65x of 1920; no mobile frames). */
	--sp-content-max: 66.5rem;                     /* ~1064px content column (FAQ, related, intro). */
	--sp-space-small: 2rem;                        /* Section Settings spacing, mobile (proposal). */
	--sp-space-medium: 3.5rem;
	--sp-space-large: 5rem;
	--sp-space-small-desktop: 3rem;
	--sp-space-medium-desktop: 5.5rem;             /* ~75-115px in the frames. */
	--sp-space-large-desktop: 8rem;
	--sp-bg-light: #f8f9fb;                        /* Related-posts frame background. */
	--sp-bg-tinted: linear-gradient(90deg, #fdf8f4 0%, #f5f8fb 100%); /* Intro frames: warm left, cool right. */
	/* Accordion (FAQ and content). */
	--accordion-trigger-padding-y: 1.25rem;        /* ~63px rows in the FAQ frame. */
	--accordion-trigger-padding-x: 0;
	--accordion-faq-padding-x: 1rem;
	--accordion-trigger-size: var(--font-size-base);
	--accordion-panel-size: var(--font-size-base);
	--accordion-panel-padding-bottom: 1.5rem;
	--accordion-divider: var(--color-border);
	--accordion-divider-open: #8c8c8c;            /* Darker line under the open question. */
	--accordion-tab-border-width: 3px;
	--accordion-tab-border: #e0e0e0;
	--accordion-tab-border-open: var(--color-primary);
	--accordion-tab-open-bg: #fdeee6;             /* Peach tint on the open item (content frame). */
	--accordion-tab-gap: 0.25rem;
	/* Intro. */
	--intro-bg: linear-gradient(72.21deg, rgba(255, 230, 216, 0.2) 26.03%, rgba(170, 212, 249, 0.2) 130.18%); /* Figma (2026-11-13). */
	--intro-heading-max: 58rem;
	--intro-features-max: var(--sp-content-max);
	--intro-features-gap: 4rem;                    /* Heading → features (~66px). */
	--intro-feature-gap-x: 3.5rem;
	--intro-feature-gap-y: 4rem;
	--intro-feature-title-size: 1.125rem;          /* ~19px */
	--intro-feature-text-size: 0.9375rem;          /* ~15px */
	--intro-feature-text-gap: 0.75rem;
	--intro-feature-icon-size: 2rem;              /* ~32px, the optional feature icon (cartrack.id). TODO: verify in Figma */
	--intro-feature-icon-gap: 1rem;               /* Icon → title. TODO: verify in Figma */
	--intro-trust-gap: 5rem;
	--intro-label-colour: var(--color-primary);
	--intro-label-size: 0.9375rem;
	--intro-label-gap: 3rem;                       /* Heading → label (industry list). */
	--intro-industries-max: 54rem;
	--intro-industry-size: 0.9375rem;
	--intro-industry-gap-y: 1rem;
	--intro-separator-width: 2px;
	--intro-separator-height: 1.25rem;
	--intro-separator-gap: 0.875rem;
	/* Media (content items and rows). */
	--media-ratio: 4 / 3;                          /* Content frames: ~300 x 225. */
	--media-ratio-number: 1.3333;                  /* Same ratio as a number, for calc(). */
	--media-radius: var(--radius-sm);
	--media-bg: #eef1f5;
	--media-video-empty-bg: #1a1a1a;              /* A video with no poster yet. TODO: verify in Figma. */
	--media-play-size: 3.5rem;
	--media-play-bg: rgba(0, 0, 0, 0.6);
	--btn-link-icon-colour: var(--color-text-accent); /* "Call us now!" */
	/* Content. */
	--content-header-max: 40rem;                   /* Heading wraps at ~580px. */
	--content-header-gap: 3.5rem;                  /* Header → accordion (~58px). */
	--content-intro-size: var(--font-size-md);
	--content-item-title-size: 1.0625rem;          /* ~17px */
	--content-item-text-size: 0.9375rem;
	--content-item-padding-x: 1.25rem;
	--content-media-share: 0.57;                   /* Media ~585px of ~1025px. */
	--content-column-gap: 2.5rem;
	--content-row-gap: 6rem;                       /* Between media rows. */
	--content-row-columns: minmax(0, 4fr) minmax(0, 5fr); /* Text | media. */
	--content-row-columns-reversed: minmax(0, 5fr) minmax(0, 4fr);
	/* Banner (call to action). Colours sampled from the frames; gradients are fallbacks until the exports arrive. */
	--banner-orange-frame: #f55a0a;               /* Frame orange behind the text (#f55601 to #f68244). */
	--banner-orange-safe: #c2410c;                /* 5.2:1 with white (AA for body text): awaiting designer sign-off. */
	--banner-orange: var(--banner-orange-frame);  /* ONE-LINE SWITCH: var(--banner-orange-safe) after sign-off. */
	--banner-text-logo-bg:
		radial-gradient(55% 85% at 38% 50%, var(--banner-orange) 0%, var(--banner-orange) 30%, transparent 75%),
		radial-gradient(30% 65% at 0% 100%, #aeceed 0%, transparent 100%),
		radial-gradient(28% 70% at 100% 25%, #e6f3ff 0%, transparent 100%),
		#f2a47c;
	/* Mobile (proposal, TODO): orange behind the full-width text, blue only in the bottom corner. */
	--banner-text-logo-bg-mobile:
		radial-gradient(110% 60% at 30% 30%, var(--banner-orange) 0%, var(--banner-orange) 45%, transparent 90%),
		radial-gradient(50% 30% at 0% 100%, #aeceed 0%, transparent 100%),
		#f2a47c;
	--banner-cards-bg: radial-gradient(60% 60% at 50% 115%, #6a8399 0%, #3a4855 40%, transparent 80%), #000000;
	--banner-title-list-bg:
		radial-gradient(40% 75% at 0% 100%, #7896b0 0%, #3f4e5c 40%, transparent 80%),
		radial-gradient(35% 55% at 60% 10%, #20272e 0%, transparent 100%),
		#000000;
	--banner-image-base: #1a1a1a;
	--banner-overlay-colour: #000000;
	--banner-overlay-light: 0.35;
	--banner-overlay-medium: 0.55;
	--banner-overlay-strong: 0.75;
	--banner-attribution-size: var(--font-size-sm);
	--banner-text-size: 1.25rem;                  /* Mobile (proposal). */
	--banner-text-size-desktop: 1.625rem;         /* ~26-29px in the frame. */
	--banner-text-line-height: 1.4;
	--banner-text-max: 40rem;
	--banner-tile-size: 19rem;                    /* ~308px square tile. */
	--banner-tile-size-mobile: 14rem;
	--banner-tile-padding: 2rem;
	--banner-tile-bg: linear-gradient(90deg, #f6dccd 0%, #e6f3ff 60%);
	--banner-photo-fade: 35%;
	--banner-column-gap: 5rem;
	--banner-light-button-hover: #fde4d6;
	--banner-heading-gap: 3rem;
	--banner-cards-max: 76rem;                    /* Cards span ~1215px in the frame. */
	--banner-cards-heading-max: 32rem;
	--banner-check-outline: #c9d6e3;
	/* cta_band (blog-overview, faq-main; ~1220 x 170 at 1920). TODO: verify in Figma; gradients are fallbacks until the exports arrive. */
	--banner-band-max: 76.25rem;
	--banner-band-padding-x: 5rem;                 /* ~81px text inset. */
	--banner-band-padding-y: 2.5rem;
	--banner-band-padding-x-mobile: var(--space-md); /* Proposal (no mobile frame). */
	--banner-band-padding-y-mobile: var(--space-lg);
	--banner-band-gap: var(--space-lg);
	--banner-band-radius: 0;
	--banner-band-heading-max: 32rem;
	--banner-band-icon-size: 3.25rem;              /* ~52px white square (faq-main). */
	--banner-band-icon-glyph: 1.25rem;
	/* Orange left fading to peach on the right (blog-overview). White text sits on the orange part: see the contrast report. */
	--banner-band-orange-bg: linear-gradient(90deg, var(--banner-orange) 0%, #f68244 55%, #fbd2b8 85%, #fde9dd 100%);
	/* Blue-grey glow bottom-left, black middle, orange right (faq-main). */
	--banner-band-dark-bg:
		radial-gradient(35% 140% at 0% 100%, #8fa9c2 0%, transparent 70%),
		linear-gradient(90deg, #1b2229 0%, #0b0b0b 45%, #3a1a08 75%, #c2560f 100%);
	--banner-check-filled: #6f8396;
	--banner-divider: rgba(255, 255, 255, 0.15);
	--banner-title-list-columns: minmax(0, 5fr) minmax(0, 7fr);
	/* Check list. */
	--check-list-size: var(--font-size-base);
	--check-list-icon-size: 1.25rem;
	--check-list-icon-gap: 0.75rem;
	--check-list-icon-colour: currentColor;
	--check-list-card-bg: rgba(255, 255, 255, 0.05);
	--check-list-card-border: rgba(255, 255, 255, 0.18);
	--check-list-card-blur: 6px;
	--check-list-card-padding: 1.5rem;
	--check-list-card-gap-x: 3rem;
	--check-list-card-gap-y: 1.5rem;
	--check-list-card-min-height: 7.5rem;          /* ~118px cards. */
	--check-list-divided-padding: 1.25rem;
	--check-list-divider: rgba(255, 255, 255, 0.15);
	/* Related posts (section-six frame). */
	--related-header-gap: 2.5rem;                  /* Intro → cards (~40px). */
	--related-card-width-mobile: 85%;              /* DECIDED: the next card peeks in. */
	--related-card-width-tablet: 45%;
	--related-gap-mobile: 0.75rem;                 /* 12px */
	--related-gap-x: 1.5rem;                       /* ~36px at 1920. */
	--related-gap-y: 2rem;
	--related-button-gap: 2.5rem;
	--related-intrinsic-height: 40rem;             /* content-visibility placeholder height. */
	/* Form footer (section-seven frame). */
	--form-footer-bg:
		radial-gradient(40% 70% at 100% 30%, #f9b48c 0%, transparent 80%),
		linear-gradient(90deg, #edf4fb 0%, #fdf2ea 70%, #fbe1cf 100%); /* Fallback until the export arrives. */
	--form-footer-input-height: 3rem;              /* 48px tap targets on mobile (DECIDED). */
	--form-footer-input-height-desktop: var(--form-input-height);
	--form-footer-intrinsic-height: 50rem;         /* content-visibility placeholder height. */
	/* Rich text (legal and long-form). No frame: TODO verify in Figma. */
	--rich-text-measure: 68ch;                     /* ~65-75 characters per line (narrow width). */
	--rich-text-size: var(--font-size-base);
	--rich-text-line-height: 1.65;
	--rich-text-heading-gap: 1.5rem;               /* Heading / last updated → body. */
	--rich-text-heading-space: 2.25rem;            /* Space above body headings. */
	--rich-text-block-gap: 1rem;
	--rich-text-list-indent: 1.5rem;
	--rich-text-link: var(--color-text);           /* Underlined; orange on hover. */
	--rich-text-table-min: 36rem;                  /* Narrower screens scroll the table. */
	--rich-text-cell-padding-y: 0.625rem;
	--rich-text-cell-padding-x: 0.875rem;
	/* FAQ. */
	--faq-columns: minmax(0, 5fr) minmax(0, 7fr);  /* Heading ~290px | questions ~410px of 700. */
	--faq-column-gap: 3.5rem;
	--faq-stacked-gap: var(--space-lg);            /* Heading → questions when stacked. TODO: verify in Figma */
	--faq-hairline-colour: var(--color-border);    /* faq-main: rule under "General". TODO: verify in Figma */
	--faq-hairline-gap: 4.5rem;                    /* Last question → rule (~78px at 1920). TODO: verify in Figma */
	/* Split text (faq-main "More Frequently Asked Questions"): same columns as the faq layout. TODO: verify in Figma */
	--split-text-columns: var(--faq-columns);
	--split-text-column-gap: var(--faq-column-gap);
	--split-text-colour: var(--color-text-muted);  /* Grey body text in the frame. */
	--split-text-link-gap: 1.25rem;                /* Text → link (~22px). */
	--split-text-hairline-colour: var(--color-border);
	--split-text-hairline-gap: 4.5rem;

	/* ---------- Pages phase components ---------- */
	/* TODO: verify in Figma (measured from the 1920 frames in /design/subpages; no mobile frames). */
	/* Tag chips: peach Tags on FAQ and blog posts; outlined industry and product tags on story cards. */
	--tag-chip-bg: var(--color-primary-tint);      /* Peach (faq-single-for-grid-overview). */
	--tag-chip-colour: var(--color-text);
	--tag-chip-border: transparent;
	--tag-chip-outline-border: var(--type-chip-border);
	--tag-chip-padding-y: 0.3125rem;               /* ~26px tall chips. */
	--tag-chip-padding-x: 0.5rem;
	--tag-chip-font-size: 0.8125rem;               /* ~13px */
	--tag-chip-outline-font-size: 0.75rem;         /* ~12px on story cards. */
	--tag-chip-gap: 0.5rem;                        /* Between chips. */
	--tag-chip-icon-size: 1rem;
	--tag-chip-radius: var(--radius-sm);
	/* Share links (case-study-single): orange icons ~20px on a ~48px pitch. */
	--share-links-colour: var(--color-primary);
	--share-links-icon-size: 1.25rem;
	--share-links-button-size: 2rem;               /* 32px hit area. */
	--share-links-gap: 1rem;
	--share-links-label-size: var(--font-size-sm);
	--share-links-status-size: var(--font-size-xs);
	/* Download link ("Download study as PDF"). */
	--download-link-colour: var(--color-text-accent);
	--download-link-size: var(--font-size-sm);
	--download-link-icon-size: 1rem;
	/* Story card (case-study-overview): 3:2 photo, logo over a light scrim. */
	--story-card-image-ratio: 3 / 2;               /* ~344 x 229; image size story-card 690x460. */
	--story-card-image-bg: var(--color-border);
	--story-card-scrim: rgba(0, 0, 0, 0.25);       /* Only when a client logo is set. */
	--story-card-logo-max-width: 60%;
	--story-card-logo-max-height: 45%;
	--story-card-tags-gap: 1.125rem;               /* Image → tags (~19px). */
	--story-card-title-gap: 0.75rem;
	--story-card-title-size: var(--font-size-base);
	--story-card-link-gap: 0.75rem;
	--story-card-link-size: var(--font-size-sm);
	--story-card-link-colour: var(--color-text);   /* Dark underlined text in the frame. */
	--story-card-hover-zoom: 1.04;
	/* FAQ card (faq-subpage-grid-overview): 16:9 image, title, orange "Read more". */
	--faq-card-image-ratio: 16 / 9;                /* ~332 x 187; image size post-card. */
	--faq-card-image-bg: var(--color-border);
	--faq-card-title-gap: 1rem;
	--faq-card-title-size: 1.0625rem;              /* ~17px */
	--faq-card-link-gap: 0.75rem;
	--faq-card-link-size: var(--font-size-sm);
	--faq-card-hover-zoom: 1.04;
	/* Arrow link (faq-main: "See more frequently asked questions >"). */
	--link-arrow-colour: var(--color-text-accent);
	--link-arrow-colour-hover: var(--color-text-accent-hover);
	--link-arrow-size: var(--font-size-sm);        /* ~14-15px */
	--link-arrow-gap: 0.5rem;
	--link-arrow-icon-size: 1rem;
	--link-arrow-hover-shift: 2px;

	/* ---------- Legacy aliases ---------- */
	/*
	 * Old footer/section CSS in style.css still reads these names.
	 * They used to come from the Site Manager options page. Remove each one
	 * once the component using it has been rebuilt.
	 */
	--font-primary: var(--font-body);
	--color-link: var(--color-text);
	--container-width: var(--container-max);
}

@media (min-width: 48em) { /* --bp-md */
	:root {
		/* TODO: verify in Figma. Orange glow top-right, blue bottom-centre. */
		--card-slider-bg-position: 50% 50%;

		/* Post card, desktop frame (~0.6x of 1920). TODO: verify in Figma */
		--post-card-chip-gap: 0.8125rem;           /* Image → chip (~13px). */
		--post-card-title-gap: 0.9375rem;          /* Chip → title (~15px). */
		--post-card-title-size: var(--font-size-md); /* ~18px */
		--post-card-meta-gap: 1.125rem;            /* Title → meta (~18px). */
		--post-card-meta-size: var(--font-size-sm); /* ~14px */
		--post-card-excerpt-gap: 0.875rem;
		--post-card-excerpt-size: var(--font-size-sm);
		--post-card-excerpt-lines: 3;
		--post-card-link-gap: 0.9375rem;           /* Excerpt → "Continue reading" (~15px). */
	}
}

@media (min-width: 64em) { /* --bp-lg */
	:root {
		/* TODO: verify in Figma */
		--container-gutter: var(--space-lg);
		--intro-cards-pill-indent-1: 13.5rem;  /* Desktop pill offsets, from the 1920 frame. */
		--intro-cards-pill-indent-2: 6rem;
		--intro-cards-pill-indent-3: 12.5rem;
		--intro-cards-pill-indent-4: 8rem;
		--card-slider-padding-y: 7.5rem;   /* ~125px desktop */
	}
}

@media (min-width: 80em) { /* --bp-nav */
	:root {
		/* TODO: verify in Figma */
		--utility-bar-height: 2.5rem;  /* 40px */
		--utility-bar-bg: var(--color-dark);
		--main-bar-height: 5rem;       /* 80px */
		--header-height: 7.5rem;       /* 120px: 40px utility bar + 80px nav. */
	}
}
