/* Verdant Almanac design tokens (Apothecary Garden). GENERATED from tokens.json by tools/build_tokens.py. Do not edit by hand. */
/* Fonts: preferred is <link> in <head> (see style-guide.md). This @import is a fallback for standalone use. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

:root {
  /* Color */
  --color-bg: #F6F2E9; /* Page background (warm parchment) */
  --color-surface: #FFFDF8; /* Cards, panels, specimen label, form fields */
  --color-surface-alt: #E9EEE4; /* Pale sage bands, image placeholders, chip backgrounds */
  --color-surface-sunk: #ECE4D2; /* Table header rows, code, subtle wells */
  --color-primary: #3E5F47; /* Deep sage: links, primary buttons, headings accents, wordmark */
  --color-primary-hover: #2F4A37; /* Hover/active for primary; footer background */
  --color-on-primary: #FFFDF8; /* Text/icons on primary or primary-hover */
  --color-on-primary-muted: #C9DBC5; /* Secondary text in footer */
  --color-accent: #8E4F40; /* Dusty madder rose: eyebrows, ordinals, focus ring, small highlights */
  --color-text: #2B2A26; /* Body text (ink) */
  --color-muted: #5F5B52; /* Captions, meta, helper text */
  --color-border: #D9D1C0; /* Decorative dividers and card borders (not for text, not for inputs) */
  --color-border-strong: #8A8270; /* Form-field and chip borders (meets 3:1 non-text) */
  --color-success-bg: #E4EEE0; /* Success message background */
  --color-success-text: #2E5935; /* Success text/icon */
  --color-caution-bg: #FBEED6; /* Safety & interactions callout background */
  --color-caution-text: #7A4A0C; /* Caution heading/icon text */
  --color-caution-border: #C98F2B; /* Caution callout border (decorative) */
  --color-danger-bg: #F8E1DC; /* Look-alike / poisoning warning background */
  --color-danger-text: #8A2A1C; /* Danger heading/icon text */
  --color-danger-border: #B5483A; /* Danger callout border (decorative, paired with text) */
  --color-error-text: #9B2C1F; /* Form error text and invalid-field border */
  --color-focus: #8E4F40; /* Focus ring colour (= accent) */

  /* Type */
  --font-heading: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --fw-heading: 600;
  --fw-heading-strong: 700;
  --fw-body: 400;
  --fw-strong: 600;
  --fs-display: 2.75rem;
  --fs-h1: 2.25rem;
  --fs-h2: 1.75rem;
  --fs-h3: 1.375rem;
  --fs-h4: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.9375rem;
  --lh-body: 1.7;
  --lh-heading: 1.15;
  --lh-tight: 1.3;
  --lh-caption: 1.5;
  --measure-prose: 68ch;
  --measure-narrow: 52ch;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --container: 72rem;
  --container-narrow: 46rem;
  --gutter: 1rem;
  --header-h: 64px;

  /* Shape & depth */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43,42,38,.06);
  --shadow-md: 0 1px 2px rgba(43,42,38,.06), 0 4px 14px rgba(43,42,38,.06);
  --shadow-lg: 0 2px 4px rgba(43,42,38,.06), 0 12px 32px rgba(43,42,38,.10);
  --bw-hairline: 1px;
  --bw-strong: 2px;
  --bw-rule: 4px;
  --focus-width: 3px;
  --focus-offset: 2px;
  --tap: 44px;
  --dur: 160ms;
  --ease: ease-out;
  --z-header: 20;
  --z-menu: 30;
  --z-skip-link: 40;
}

/* Breakpoints (for reference; CSS vars can't be used in media queries): sm 30em, md 48em, lg 64em, xl 80em */
@media (min-width: 48em) { :root { --gutter: 1.5rem; } }
@media (min-width: 64em) {
  :root {
    --gutter: 2rem;
    --header-h: 76px;
    --fs-display: 4rem;
    --fs-h1: 3.25rem;
    --fs-h2: 2.375rem;
    --fs-h3: 1.625rem;
    --fs-h4: 1.3125rem;
    --fs-body: 1.125rem;
    --fs-lead: 1.3125rem;
    --fs-small: 0.875rem;
    --fs-eyebrow: 1rem;
  }
}
