/* NeDNA design tokens v0.5 (29-09-2026)
   Direction: authoritative and approachable; petrol + Dutch orange; light header and hero; no flag colours.
   Source of truth: styleguide/tokens.json. Keep both in sync.
   Fonts: IBM Plex Sans (400, 500, 600, 700), SIL Open Font License. Self-host as WOFF2.
   Icons: Font Awesome Free 6.7.2 (see STYLEGUIDE §8). */

:root {
  /* Brand */
  --nedna-ink: #13232E;          /* text, headings, footer background */
  --nedna-petrol: #0B5D6E;       /* structure: links, environment bands, logo strand */
  --nedna-petrol-tint: #E6F1F3;
  --nedna-orange: #F26A1B;       /* Dutch orange: primary CTA fill (with ink text), application bands, logo strand */
  --nedna-orange-text: #B84A0E;  /* orange for text on white (5.2:1); plain orange fails as text (3.1:1) */
  --nedna-orange-tint: #FDE7D8;
  --nedna-rung: #9FB3BD;         /* decorative only */

  /* Neutrals (cool, no beige) */
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F2F5F7;
  --color-line: #DDE3E8;
  --color-text: var(--nedna-ink);
  --color-text-muted: #52606B;
  --color-link: var(--nedna-petrol);
  --color-cta: var(--nedna-orange);      /* Join / main CTA only: orange fill, ink text */
  --color-on-cta: var(--nedna-ink);
  --color-action: var(--nedna-petrol);   /* other buttons */
  --color-on-action: #FFFFFF;
  --color-accent: var(--nedna-orange-text);

  /* Matrix bands */
  --band-environment: var(--nedna-petrol);
  --band-application: var(--nedna-orange);
  --band-opacity: 0.16;
  --band-opacity-hover: 0.34;

  /* Status */
  --color-warning: #A8400A;
  --color-success: #15803D;

  /* Footer (both themes) */
  --footer-bg: var(--nedna-ink);
  --footer-text: #E6EDF1;
  --footer-muted: #9FB0BC;

  /* Typography */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;       /* sans, 600, uppercase, letter-spacing 0.1em, orange-text */
  --lh-body: 1.6;
  --measure: 68ch;

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem;  --space-8: 2rem;   --space-12: 3rem;   --space-16: 4rem; --space-24: 6rem;

  /* Layout */
  --container: 74rem;
  --gutter: 1rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgb(19 35 46 / 0.06), 0 6px 20px rgb(19 35 46 / 0.06);
  --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--nedna-petrol);
}

@media (min-width: 48rem) { :root { --gutter: 2rem; } }

/* Light theme only (decision 29-09-2026). No automatic dark mode from the device setting.
   The dark values below apply only if the site explicitly sets data-theme="dark" (not used in v1). */
:root[data-theme="dark"] {
  --color-bg: #0E1A22; --color-surface: #15242E; --color-surface-alt: #12202A; --color-line: #24363F;
  --color-text: #E6EDF1; --color-text-muted: #9FB0BC; --color-link: #5CC3D3;
  --color-cta: #FF8A3D; --color-on-cta: #0E1A22; --color-action: #5CC3D3; --color-on-action: #0E1A22;
  --color-accent: #FF8A3D; --band-environment: #5CC3D3; --band-application: #FF8A3D;
  --band-opacity: 0.18; --band-opacity-hover: 0.36; --footer-bg: #0A141B;
  --focus-ring: 0 0 0 3px #0E1A22, 0 0 0 5px #5CC3D3;
  color-scheme: dark;
}
