/* MCCD Design Tokens — load first
   Keep this file LIMITED to variables and global primitives only. */

:root{
  /* Brand */
  --brand-600: #135e3b;     /* primary green */
  --brand-500: #1a7b50;
  --brand-050: #eef6f1;     /* tile/card/search background */

  /* Grays / borders */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #475569;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;

  /* Text & background */
  --text-color: var(--gray-800);
  --page-bg: #ffffff;

  /* Sizing / spacing */
  --radius: 14px;
  --radius-sm: 12px;
  --radius-lg: 18px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* Borders / shadows */
  --border: 1px solid var(--gray-200);
  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.04);

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;

  /* Card/search background alias (used site-wide) */
  --mccd-card-bg: var(--brand-050);
}

/* Global primitives (no components here) */
html, body { height: 100%; }
body{
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* A11y helper (used by templates for hidden H1) */
.visually-hidden{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Container helper for main content width (no layout specifics yet) */
.container{
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-6);
}
