/* NVDF tokens — generated from design-system/tokens.json. Light on :root; dark follows the system setting or data-theme. */
:root {
  --leaf: #288a3d;
  --forest: #29682f;
  --forest-deep: #1f5225;
  --lime: #a2d61d;
  --lime-bright: #b5e33f;
  --sprout: #97d42d;
  --meadow: #70ad46;
  --slate: #505155;
  --surface-0: #ffffff;
  --surface-100: #f5f8f1;
  --surface-200: #e9f1e1;
  --surface-inverse: #0f2416;
  --ink: #13231a;
  --ink-muted: #4a594e;
  --ink-inverse: #f1f6ec;
  --ink-inverse-muted: #b5c4b4;
  --line: #d9e3d2;
  --line-strong: #8a9a8c;
  --text-brand: var(--forest);
  --action: var(--forest);
  --action-hover: var(--forest-deep);
  --on-action: #ffffff;
  --on-accent: #10240f;
  --focus-ring: var(--forest-deep);
  --focus-ring-inverse: var(--lime);
  --danger: #b42318;
  --sector-fsl: #8dca84;
  --sector-protection: #e9579e;
  --sector-wash: #5fa2d7;
  --sector-health: #8c6290;
  --sector-nutrition: #edbe76;
  --shadow-card: 0 1px 2px rgba(15,36,22,0.06), 0 8px 24px rgba(15,36,22,0.07);
  --shadow-lift: 0 24px 56px rgba(15,36,22,0.16);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-leaf: 48px;
  --radius-pill: 999px;
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --surface-0: #142419;
  --surface-100: #0f1d14;
  --surface-200: #16281c;
  --surface-inverse: #07110b;
  --ink: #eef4ea;
  --ink-muted: #a9b8aa;
  --line: #26392b;
  --line-strong: #5f7363;
  --text-brand: var(--lime);
  --action: var(--lime);
  --action-hover: var(--lime-bright);
  --on-action: #10240f;
  --focus-ring: var(--lime);
  --focus-ring-inverse: var(--lime);
  --danger: #ff8a7a;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 24px 56px rgba(0,0,0,0.55);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface-0: #142419;
  --surface-100: #0f1d14;
  --surface-200: #16281c;
  --surface-inverse: #07110b;
  --ink: #eef4ea;
  --ink-muted: #a9b8aa;
  --line: #26392b;
  --line-strong: #5f7363;
  --text-brand: var(--lime);
  --action: var(--lime);
  --action-hover: var(--lime-bright);
  --on-action: #10240f;
  --focus-ring: var(--lime);
  --focus-ring-inverse: var(--lime);
  --danger: #ff8a7a;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 24px 56px rgba(0,0,0,0.55);
  color-scheme: dark;
}
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-display); font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.015em; }
.stat { font-family: var(--font-display); font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.h1 { font-family: var(--font-display); font-size: 34px; line-height: 42px; font-weight: 600; }
.h2 { font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 600; }
.h3 { font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 500; }
.lead { font-family: var(--font-body); font-size: 17px; line-height: 29px; font-weight: 400; }
.body { font-family: var(--font-body); font-size: 15px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-body); font-size: 13px; line-height: 21px; font-weight: 400; }
.label { font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; }
.button { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 600; }
