/*
 * Falcon Automation huisstijl: design tokens.
 * Overgenomen uit het Falcon Automation design system (project/tokens.css).
 * Waarden niet hier aanpassen maar in het design system; de app-specifieke
 * mapping naar Fluent UI staat in app.css.
 */
:root, [data-theme="light"] {
  --surface: #ffffff; /* Page background. Light = brand Wit #FFFFFF. Dark: derived. */
  --surface-subtle: #f4f4f4; /* Section ground behind white cards (stat blocks, comparison panels), alternating table rows. Neutral grey as on the website. */
  --ink: #191919; /* Primary text and headings on surface, surface-subtle, surface-card and fill-neutral. Also the dark "submit" button fill. Light = brand Tekst #191919. Dark: derived. */
  --ink-muted: #5e5e5e; /* Secondary text, captions, metadata on surface, surface-subtle, surface-card, fill-neutral and cream (≥ 5.6:1). Derived. */
  --border: #dde2e0; /* Hairline dividers and card outlines. Decorative only. Derived. */
  --border-strong: #7a8580; /* Input and checkbox borders, focusable control edges (≥ 3:1 on surface and surface-subtle). Derived. */
  --focus-ring: var(--primary-text); /* Keyboard focus outline on every interactive element: 3px, 3px offset (5.8:1 light, 7.6:1 dark on surface). */
  --surface-card: #fafafa; /* Service cards and inner comparison cards on surface. From the website. */
  --fill-neutral: #f2f2f2; /* Secondary buttons, unselected chips, the form panel inside ContactForm. ink text on it. From the website. */
  --cream: #fbf6f0; /* Warm hero and header wash, behind the dot texture. ink text on it. From the website. */
  --on-ink: #ffffff; /* Text on ink fills (the dark submit button). */
  --positive: var(--success); /* Deprecated: alias of success, kept so older references keep working. Use success. */
  --positive-soft: var(--success-soft); /* Deprecated: alias of success-soft. Use success-soft. */
  --negative: var(--danger); /* Deprecated: alias of danger, kept so older references keep working. Use danger. */
  --negative-soft: var(--danger-soft); /* Deprecated: alias of danger-soft. Use danger-soft. */
  --gauge-track: #e6e6e6; /* Unfilled part of the MaturityGauge ring. Decorative. */
  --primary: #516b63; /* Brand Primair (sage green): primary buttons, headers, active states, hero blocks, main chart series. Text on it: on-primary. */
  --on-primary: #ffffff; /* Text and icons on primary and primary-deep fills (5.8:1). */
  --on-secondary: #ffffff; /* Text and icons on green, blue and rust fills (IconTile, category tags). On rust: icons and large text only (4.3:1). On yellow use on-accent. */
  --primary-deep: #425850; /* Wordmark green from the logo. Hover/pressed state of primary, dark footer bands. Text on it: on-primary. */
  --primary-text: #516b63; /* Links and green text on surface. Dark: derived lighter green for 4.5:1. */
  --primary-soft: #e6ecea; /* Tinted panels, selected rows, info callouts; ink text on it. Derived. */
  --accent: #cc995c; /* Brand Accent (gold): highlights, one call-to-action per view, badges, dividers, chart accent. As a fill, text is ink-on-accent — never white (2.5:1). */
  --on-accent: #191919; /* Text and icons on accent fills (6.9:1). */
  --accent-text: #8c6224; /* Gold-coloured text on surface (small labels, eyebrows). Light: derived darker gold for 4.5:1. */
  --logo-gold-start: #957247; /* Start stop of the logo mark's gold gradient (ends at accent). Logo reproduction only, not UI. */
  --green: #347949; /* Secondary brand colour: charts, illustrations, category tags. White text on it (5.3:1). */
  --blue: #3b6d91; /* Secondary brand colour: charts, illustrations, category tags. White text on it (5.6:1). */
  --yellow: #c99a00; /* Secondary brand colour: charts, illustrations, category tags. ink text on it (6.8:1), never white. */
  --rust: #bd6031; /* Secondary brand colour: charts, illustrations, category tags. Large text only on it (4.3:1 white). */
  --success: #347949; /* Status text/icon: healthy, resolved, backup OK. Light = brand green; dark: derived. */
  --success-soft: #eaf2eb; /* Background of positive StatusTags and success callouts; success text on it (4.6:1 light, 5.0:1 dark). Derived. */
  --info: #3b6d91; /* Status text/icon: information, in progress. Light = brand blue; dark: derived. */
  --warning: #8a6a00; /* Status text/icon: attention needed, licence expiring. Derived from brand yellow for 4.5:1. */
  --danger: #a8522a; /* Status text/icon: incident, failed, destructive actions. Derived from brand rust for 4.5:1. */
  --danger-soft: #fcefe8; /* Background of negative StatusTags and error callouts; danger text on it (4.8:1 light, 5.6:1 dark). Derived. */
  --chart-grid: #e6e6e6; /* Gridlines and axis lines in charts. Decorative only; values carry labels. */
  --chart-operations: #1f5a33; /* Data series for operations in multi-domain charts. Darkest of the four, so the domains differ in lightness, not hue alone. Derived from green. */
  --chart-automation: #bd6031; /* Data series for digital solutions & automation. Second in lightness. Light = brand rust. */
  --chart-cloud: #5f91b8; /* Data series for cloud. Third in lightness (3.4:1 on white). Derived lighter from blue. */
  --chart-security: #c99a00; /* Data series for security. Lightest; only 2.3:1 on white, so always label bars and lines directly. Light = brand yellow. */
}
[data-theme="dark"] {
  --surface: #141816;
  --surface-subtle: #1c211f;
  --ink: #ededed;
  --ink-muted: #a6aba8;
  --border: #2e3633;
  --border-strong: #69736f;
  --focus-ring: var(--primary-text);
  --surface-card: #1f2522;
  --fill-neutral: #262c29;
  --cream: #221f1a;
  --on-ink: #141816;
  --positive: var(--success);
  --positive-soft: var(--success-soft);
  --negative: var(--danger);
  --negative-soft: var(--danger-soft);
  --gauge-track: #3a433f;
  --primary: #516b63;
  --on-primary: #ffffff;
  --on-secondary: #ffffff;
  --primary-deep: #425850;
  --primary-text: #8fb0a5;
  --primary-soft: #2a3632;
  --accent: #cc995c;
  --on-accent: #191919;
  --accent-text: #cc995c;
  --logo-gold-start: #957247;
  --green: #347949;
  --blue: #3b6d91;
  --yellow: #c99a00;
  --rust: #bd6031;
  --success: #5fae78;
  --success-soft: #1e3322;
  --info: #78a9cf;
  --warning: #e0b52e;
  --danger: #e08a5c;
  --danger-soft: #3a2218;
  --chart-grid: #2e3633;
  --chart-operations: #3f8a58;
  --chart-automation: #e08a5c;
  --chart-cloud: #9dc3e0;
  --chart-security: #e0b52e;
}
:root {
  --space-1: 4px; /* Icon-to-label gap, tight inline gaps. */
  --space-2: 8px; /* Gaps inside controls, between chips. */
  --space-3: 12px; /* Button vertical padding x2, list item padding. */
  --space-4: 16px; /* Card padding on mobile, form field spacing. */
  --space-6: 24px; /* Card padding, gutters between cards. */
  --space-8: 32px; /* Gap between content groups. */
  --space-12: 48px; /* Section spacing on mobile, slide margins. */
  --space-16: 64px; /* Section spacing on desktop web pages. */
  --radius-sm: 4px; /* Checkboxes, small colour blocks. */
  --radius-md: 8px; /* Inputs, icon tiles, table cells. */
  --radius-lg: 16px; /* Cards: service cards, stat cards, gauge cards, package cards, inner form panel. */
  --radius-xl: 24px; /* Large panels and sections: comparison panels, the ContactForm panel, stat blocks. */
  --radius-full: 9999px; /* Buttons, chips and tags (pills), avatars, status dots. */
  --bp-sm: 640px; /* Phones → small tablets: stack columns below this. Derived. */
  --bp-md: 960px; /* Tablets → desktop: two-column layouts from here. Derived. */
  --bp-lg: 1280px; /* Wide desktop: max content width 1200px. Derived. */
  --font-display: "Aptos Display", Aptos, "Segoe UI", system-ui, sans-serif;
  --font-sans: Aptos, "Segoe UI", system-ui, sans-serif;
  --font-narrow: "Aptos Narrow", Aptos, "Arial Narrow", "Segoe UI", sans-serif;
  --font-mono: "Aptos Mono", Consolas, "Cascadia Mono", monospace;
  --text-stat: 400 88px/88px var(--font-display); /* Big numbers in StatCard and on slides; the suffix (%, +, u) in accent-text, all white on green. Regular weight: Aptos Display only has 400 and 700. */
  --text-display: 700 56px/60px var(--font-display);
  --text-h1: 700 40px/48px var(--font-display);
  --text-h2: 700 28px/36px var(--font-display);
  --text-h3: 700 20px/28px var(--font-display);
  --text-body-lg: 400 18px/28px var(--font-sans);
  --text-body: 400 15px/24px var(--font-sans);
  --text-body-strong: 600 15px/24px var(--font-sans);
  --text-label: 600 13px/16px var(--font-narrow);
  --text-data: 400 14px/20px var(--font-narrow);
  --text-caption: 400 12px/16px var(--font-narrow);
}

@font-face {
  font-family: "Aptos";
  src: url("../fonts/Aptos.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos";
  src: url("../fonts/Aptos-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Display";
  src: url("../fonts/Aptos-Display.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Display";
  src: url("../fonts/Aptos-Display-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Mono";
  src: url("../fonts/Aptos-Mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Narrow";
  src: url("../fonts/Aptos-Narrow.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos Narrow";
  src: url("../fonts/Aptos-Narrow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos";
  src: url("../fonts/Aptos-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
