/* ==========================================================================
   Flora — design tokens v1.0
   Warm botanical, editorial, lightly neo-brutalist.
   Drop this file in first; every Flora component reads from these variables.
   ========================================================================== */

:root {
  /* — Color: surfaces — */
  --flora-canvas: #F1E9DC;          /* warm page background */
  --flora-surface: #FBF6EC;         /* paper cards, panels */
  --flora-surface-hover: #E9DDCD;   /* hover + secondary surface */
  --flora-surface-sunk: #E4D7C4;    /* inputs on cards, wells */

  /* — Color: ink — */
  --flora-ink: #2F4038;             /* headings, primary text */
  --flora-muted: #6D786D;           /* supporting copy, metadata */
  --flora-border: #31473B;          /* thick outlines */
  --flora-shadow-color: #35483B;    /* hard offset shadows */

  /* — Color: accents — */
  --flora-sage: #C7D2B1;            /* soft primary accent */
  --flora-sage-strong: #B4C39A;     /* sage hover */
  --flora-terracotta: #B86752;      /* actions, warm emphasis */
  --flora-terracotta-strong: #9C5341; /* action hover / pressed */
  --flora-rose: #DDA095;            /* floral accent */
  --flora-botanical-blue: #82998C;  /* cool supporting accent */
  --flora-deep-teal: #273A32;       /* dark contrast surface */
  --flora-on-dark: #F1E9DC;         /* text on deep teal / terracotta */

  /* — Color: feedback — */
  --flora-success: #4F7A55;
  --flora-warning: #B98A2E;
  --flora-danger: #A4473A;
  --flora-focus: #B86752;

  /* — Borders + radius — */
  --flora-border-thin: 1.5px;
  --flora-border-medium: 2px;
  --flora-border-thick: 3px;
  --flora-radius-sm: 6px;
  --flora-radius-button: 8px;
  --flora-radius-card: 12px;
  --flora-radius-panel: 18px;
  --flora-radius-pill: 999px;

  /* — Shadows (always hard, never blurred) — */
  --flora-shadow-small: 2px 2px 0 var(--flora-shadow-color);
  --flora-shadow-card: 4px 4px 0 var(--flora-shadow-color);
  --flora-shadow-large: 6px 6px 0 var(--flora-shadow-color);
  --flora-shadow-hover: 6px 6px 0 var(--flora-shadow-color);
  --flora-shadow-pressed: 0 0 0 var(--flora-shadow-color);

  /* — Typography — */
  --flora-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --flora-font-serif: "DM Serif Display", ui-serif, Georgia, serif;
  --flora-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --flora-text-xs: 0.75rem;    /* 12 — metadata, pills */
  --flora-text-sm: 0.875rem;   /* 14 — secondary copy */
  --flora-text-base: 1rem;     /* 16 — body */
  --flora-text-lg: 1.125rem;   /* 18 — lead */
  --flora-text-xl: 1.5rem;     /* 24 — card titles */
  --flora-text-2xl: 2rem;      /* 32 — section titles */
  --flora-text-3xl: clamp(2.5rem, 5vw + 1rem, 4.25rem); /* hero */

  --flora-leading-tight: 1.1;
  --flora-leading-snug: 1.35;
  --flora-leading-body: 1.65;
  --flora-tracking-meta: 0.08em;

  /* — Spacing (4px base) — */
  --flora-space-1: 0.25rem;
  --flora-space-2: 0.5rem;
  --flora-space-3: 0.75rem;
  --flora-space-4: 1rem;
  --flora-space-5: 1.5rem;
  --flora-space-6: 2rem;
  --flora-space-7: 3rem;
  --flora-space-8: 4.5rem;

  /* — Layout — */
  --flora-container: 72rem;
  --flora-measure: 68ch;

  /* — Motion — */
  --flora-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --flora-duration: 160ms;
}
