/**
 * Intopia design tokens.
 * Headings: Lato (pass 1) + px size tokens; brand target Signika 600 (pass 2).
 * Everything else: pass 1 values (Lato 18px, rem/em components, 1.5 line-heights).
 */
:root {
	/* Brand */
	--intopia-color-brand: #bb3200;
	--intopia-color-brand-legacy: #d3420d;
	--intopia-color-brand-hover: #a3330a;

	/* Surfaces */
	--intopia-color-surface-peach: #fff0ed;
	--intopia-color-surface-peach-alt: #fdede8;

	/* Text */
	--intopia-color-text: #474444;
	--intopia-color-text-heading: #2d2926;
	--intopia-color-text-strong: #000;
	--intopia-color-text-muted: #1a1a1a;
	--intopia-color-white: #fff;
	--intopia-color-black: #000;

	/* Type — families */
	--intopia-type-family-text: Lato, sans-serif;
	--intopia-type-family-heading: Lato, sans-serif;
	--intopia-type-family-action: Lato, sans-serif;
	--intopia-type-family-accent: Manrope, sans-serif;
	--intopia-type-family-campaign-heading: "Signika", sans-serif;
	--intopia-type-family-campaign-text: "Work Sans", sans-serif;

	/* Legacy font aliases */
	--intopia-font-body: var(--intopia-type-family-text);
	--intopia-font-heading: var(--intopia-type-family-heading);
	--intopia-font-accent: var(--intopia-type-family-accent);
	--intopia-font-ui: var(--intopia-type-family-campaign-text);

	/* Type — weights */
	--intopia-type-weight-text: 400;
	--intopia-type-weight-heading: 400;
	--intopia-type-weight-heading-strong: 600;
	--intopia-type-weight-action: 600;
	--intopia-type-weight-link: 400;
	--intopia-type-weight-nav: 700;

	/* Type — line heights */
	--intopia-type-line-height-body: 1.5;
	--intopia-type-line-height-heading: 1.15;
	--intopia-type-line-height-btn: 1.5;
	--intopia-type-line-height-link: 1.5;

	/* Type — root & body */
	--intopia-type-size-html-bootstrap: 10px;
	--intopia-type-size-html: 100%;
	--intopia-type-size-body: 18px;
	--intopia-type-size-link: var(--intopia-type-size-body);
	--intopia-type-size-nav: var(--intopia-type-size-body);
	--intopia-type-family-nav: var(--intopia-type-family-text);
	--intopia-type-size-btn: 18px;
	--intopia-type-size-action: var(--intopia-type-size-btn);

	/* Type — heading scale (brand px) */
	--intopia-type-size-h1: 50px;
	--intopia-type-size-h2: 35px;
	--intopia-type-size-h3: 28px;
	--intopia-type-size-h4: 24px;
	--intopia-type-size-h5: 20px;
	--intopia-type-size-h6: 20px;

	/* Type — legacy home / marketing (em; pass 1) */
	--intopia-type-size-home-section-h2: 2.5em;
	--intopia-type-size-home-h2-narrow: 1.8em;

	/* Type — components */
	--intopia-type-size-lead: 24px;

	/* Type — flexible sections (rem; pass 1) */
	--intopia-type-size-fh-section-title: 2.5rem;
	--intopia-type-size-fh-section-heading: 2rem;
	--intopia-type-size-fh-subheading: 1.25rem;
	--intopia-type-size-fh-card-title: 1.25rem;
	--intopia-type-size-fh-body: 1rem;
	--intopia-type-size-fh-action: 1.0625rem;
	--intopia-type-size-fh-mobile-heading: 1.75rem;
	--intopia-type-size-fh-icon-lg: 1.75rem;
	--intopia-type-size-fh-icon-fa: 0.8em;

	/* Type — banner CTA band (pass 1 clamps) */
	--intopia-type-size-fh-banner-title-min: 1.75rem;
	--intopia-type-size-fh-banner-title-max: 2rem;
	--intopia-type-size-fh-banner-intro-min: 1.125rem;
	--intopia-type-size-fh-banner-intro-max: 1.5rem;
	--intopia-type-size-fh-client-heading-max: 2.5rem;

	/* Type — campaign template */
	--intopia-type-size-campaign-body: 16px;
	--intopia-type-size-campaign-h1: 2.5rem;
	--intopia-type-size-campaign-h2: 2rem;
	--intopia-type-size-campaign-h3: 28px;
	--intopia-type-size-campaign-h4: 20px;
	--intopia-type-size-campaign-banner-lead: 20px;
	--intopia-type-size-campaign-banner-secondary: 14px;
	--intopia-type-size-campaign-section-lead: 1.25rem;

	/* Coloured box themes (flexible sections) */
	--intopia-theme-orange-surface: #feeee9;
	--intopia-theme-blue: #1d7a85;
	--intopia-theme-blue-surface: #ecf9fb;
	--intopia-theme-pink: #c11040;
	--intopia-theme-pink-surface: #fdeaef;
	--intopia-theme-red: #b91c1c;
	--intopia-theme-red-surface: #fde8e8;
	--intopia-theme-teal: #0f766e;
	--intopia-theme-teal-surface: #e6f7f5;
	--intopia-theme-grey-surface: #fafafa;

	/* Optional CMS overrides (defaults match theme surfaces) */
	--intopia-global-newsletter-bg: var(--intopia-color-surface-peach-alt);
	--intopia-global-cta-bg: var(--intopia-color-surface-peach);

	/* Flexible section aliases */
	--fh-orange: var(--intopia-color-brand);
	--fh-orange-btn: var(--intopia-color-brand);
	--fh-peach: var(--intopia-color-surface-peach);
	--fh-text: var(--intopia-color-text);
}
