/* AtEase.org design tokens
   Copied from the AtEase.org Design System (colors.css, typography.css,
   spacing.css, fonts.css), with font paths repointed at ../fonts/.
   The design system is the source of truth — re-copy rather than edit here. */

@font-face { font-family: "Bureau Grot"; src: url("../fonts/BureauGrot-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Bureau Grot"; src: url("../fonts/BureauGrot-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bureau Grot"; src: url("../fonts/BureauGrot-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bureau Grot Condensed"; src: url("../fonts/Bureau-Grot-Condensed-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Base palette — drawn from the AtEase.org logo suite */
  --cream-100: #fdfaf6;
  --cream-200: #f5e0cc;
  --cream-300: #e9cba8;
  --sage-100: #c9d6b3;
  --sage-300: #9db478;
  --sage-500: #71984a;
  --sage-700: #54763a;
  --sage-900: #3a5228;
  --charcoal-100: #8c8781;
  --charcoal-300: #5b5650;
  --charcoal-500: #3d3935;
  --charcoal-700: #28251f;
  --charcoal-900: #1a1815;
  --white: #ffffff;

  /* Semantic aliases */
  --bg-page: var(--cream-100);
  --bg-surface: var(--white);
  --bg-inverse: var(--charcoal-700);
  --bg-accent: var(--sage-500);
  --bg-accent-soft: var(--sage-100);
  --bg-tag: var(--cream-200);

  --text-primary: var(--charcoal-700);
  --text-secondary: var(--charcoal-300);
  --text-on-inverse: var(--cream-200);
  --text-on-accent: var(--white);
  --text-link: var(--sage-700);
  --text-link-hover: var(--sage-900);

  --border-subtle: var(--cream-300);
  --border-strong: var(--charcoal-300);

  --accent-primary: var(--sage-500);
  --accent-primary-hover: var(--sage-700);
  --accent-secondary: var(--charcoal-500);

  /* Type */
  --font-display: "Bureau Grot Condensed", "Bureau Grot", sans-serif;
  --font-body: "Bureau Grot", -apple-system, sans-serif;

  --size-display-xl: 64px;
  --size-display-l: 44px;
  --size-display-m: 32px;
  --size-heading: 24px;
  --size-subheading: 20px;
  --size-body-l: 18px;
  --size-body: 16px;
  --size-caption: 14px;
  --size-eyebrow: 13px;

  --weight-light: 300;
  --weight-medium: 500;
  --weight-bold: 700;

  --leading-tight: 1.05;
  --leading-heading: 1.2;
  --leading-body: 1.6;

  --tracking-eyebrow: 0.12em;
  --tracking-display: 0.01em;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 8px rgba(26, 24, 21, 0.08);
  --shadow-raised: 0 8px 24px rgba(26, 24, 21, 0.12);

  --container-max: 1120px;
}
