/* Mendocino Food Consulting design tokens: the single source of truth for both sites.
   Source: Website Migration/site/src/styles/shared/tokens.css
   Copied to the tools site as /assets/mfc/tokens.css by scripts/sync-design.mjs; never edit the copy.
   Rules and how to add things: DESIGN_SYSTEM.md.
   Dark mode applies only where <html data-mfc-dark="auto"> opts in (the tools site). */
:root {
  /* brand */
  --mfc-navy: #15223B;
  --mfc-navy-2: #1D2C47;
  --mfc-gold: #F2C66D;
  --mfc-gold-hover: #F6D58C;
  --mfc-cream: #F3EBDD;
  --mfc-white: #FFFFFF;
  /* roles on light */
  --mfc-bg: #FCFBF8;
  --mfc-surface: #FFFFFF;
  --mfc-band: #F3EEE3;
  --mfc-line: #E3E1DA;
  --mfc-text: #15223B;
  --mfc-muted: #5B6272;
  --mfc-link: #1D4A86;
  --mfc-link-hover: #163A6B;
  --mfc-on-link: #FFFFFF;
  --mfc-gold-ink: #83611A;
  /* semantic */
  --mfc-ok: #276F4F;
  --mfc-ok-bg: #E1F1E8;
  --mfc-warn: #8A5A0A;
  --mfc-warn-bg: #F7ECD5;
  --mfc-bad: #A83636;
  --mfc-bad-bg: #F6E0E0;
  /* on navy (constant in both themes) */
  --mfc-on-dark: #F3EBDD;
  --mfc-on-dark-strong: #FFFFFF;
  --mfc-on-dark-muted: #AEB8CB;
  --mfc-ok-on-dark: #7FD1A8;
  --mfc-shadow-color: rgba(10, 16, 30, .18);
  --mfc-shadow: 0 12px 32px var(--mfc-shadow-color);
  /* type: 13 / 16 / 18 / 21 / 28 / 44 (h2, h1 step down to 24, 32 on phones) */
  --mfc-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mfc-serif: "Source Serif 4", Georgia, serif;
  --mfc-fs-xs: 13px; --mfc-fs-sm: 16px; --mfc-fs-md: 18px; --mfc-fs-lg: 21px;
  --mfc-fs-xl: clamp(24px, 3vw, 28px); --mfc-fs-2xl: clamp(32px, 5vw, 44px);
  --mfc-lh-tight: 1.15; --mfc-lh-ui: 1.45; --mfc-lh-body: 1.65;
  /* 8-point spacing */
  --mfc-sp-4: 4px; --mfc-sp-8: 8px; --mfc-sp-16: 16px; --mfc-sp-24: 24px; --mfc-sp-32: 32px;
  --mfc-sp-48: 48px; --mfc-sp-64: 64px; --mfc-sp-96: 96px;
  /* shape + layout */
  --mfc-r-sm: 8px; --mfc-r-md: 12px; --mfc-r-pill: 999px;
  --mfc-max: 1120px; --mfc-read: 720px; --mfc-gutter: 24px;
}
@media (max-width: 600px) { :root { --mfc-gutter: 16px; } }

@media (prefers-color-scheme: dark) {
  :root[data-mfc-dark="auto"]:not([data-theme="light"]) {
    --mfc-bg: #0E1522; --mfc-surface: #162133; --mfc-band: #1D2C45; --mfc-line: #293850;
    --mfc-text: #E5EAF2; --mfc-muted: #9BA8BD; --mfc-link: #86AEE6; --mfc-link-hover: #A9C6EE; --mfc-on-link: #0E1522;
    --mfc-gold-ink: #E2B45C;
    --mfc-ok: #5FC59B; --mfc-ok-bg: #163428; --mfc-warn: #E2B45C; --mfc-warn-bg: #3A2E14; --mfc-bad: #EC7F7F; --mfc-bad-bg: #3D1C1F;
    --mfc-shadow-color: rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-mfc-dark][data-theme="dark"] {
  --mfc-bg: #0E1522; --mfc-surface: #162133; --mfc-band: #1D2C45; --mfc-line: #293850;
  --mfc-text: #E5EAF2; --mfc-muted: #9BA8BD; --mfc-link: #86AEE6; --mfc-link-hover: #A9C6EE; --mfc-on-link: #0E1522;
  --mfc-gold-ink: #E2B45C;
  --mfc-ok: #5FC59B; --mfc-ok-bg: #163428; --mfc-warn: #E2B45C; --mfc-warn-bg: #3A2E14; --mfc-bad: #EC7F7F; --mfc-bad-bg: #3D1C1F;
  --mfc-shadow-color: rgba(0, 0, 0, .45);
  color-scheme: dark;
}
