/* Sunshine Community Foundation — color tokens
   Base values sampled from the official logo artwork (LOGO-01/04). */
:root {
  /* Brand base */
  --scf-navy: #04345b;          /* logo ink, wordmark, hands */
  --scf-navy-800: #0a4472;
  --scf-navy-700: #14568b;
  --scf-navy-100: #dce8f2;
  --scf-gold: #f4ac34;          /* the sun */
  --scf-gold-bright: #fbb434;   /* sun rays */
  --scf-gold-100: #fdeecd;
  --scf-orange: #f48c44;        /* warm leaf */
  --scf-orange-100: #fde5d4;
  --scf-green: #6c9c4c;         /* light leaf */
  --scf-green-deep: #3c6c1c;    /* dark leaf */
  --scf-green-100: #e4eeda;

  /* Neutrals — warm, sun-washed */
  --scf-cream: #fdf9f0;         /* page background */
  --scf-sand: #f6ecdb;          /* tinted panels */
  --scf-white: #ffffff;
  --scf-ink: #04345b;           /* primary text = brand navy */
  --scf-ink-soft: #3d5a75;      /* secondary text */
  --scf-ink-faint: #7d92a5;     /* placeholder / captions */
  --scf-line: #e5dcc9;          /* hairlines on cream */
  --scf-line-strong: #cfd9e2;   /* hairlines on white */

  /* Semantic status */
  --scf-success: #3c6c1c;
  --scf-success-bg: #e4eeda;
  --scf-warning: #b06a10;
  --scf-warning-bg: #fdeecd;
  --scf-danger: #b3402a;
  --scf-danger-bg: #f9e2dc;
  --scf-info: #14568b;
  --scf-info-bg: #dce8f2;

  /* Semantic aliases */
  --text-body: var(--scf-ink);
  --text-secondary: var(--scf-ink-soft);
  --text-muted: var(--scf-ink-faint);
  --text-on-dark: #ffffff;
  --text-on-gold: var(--scf-navy);
  --surface-page: var(--scf-cream);
  --surface-card: var(--scf-white);
  --surface-tint: var(--scf-sand);
  --surface-dark: var(--scf-navy);
  --accent-primary: var(--scf-gold);
  --accent-secondary: var(--scf-navy);
  --border-default: var(--scf-line);
  --border-on-white: var(--scf-line-strong);
  --focus-ring: 0 0 0 3px rgba(244, 172, 52, 0.45);
}

/* Sunshine Community Foundation — typography tokens
   Display face is Montserrat (closest to the logo wordmark: bold, geometric,
   wide caps); body is Nunito Sans for warmth + readability. Both are Google
   Fonts SUBSTITUTES for the real brand fonts — swap them here if supplied.
   The woff2 files are self-hosted; see css/fonts.css for the @font-face rules. */

:root {
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;

  /* Scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 19px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 44px;
  --text-4xl: 60px;

  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  --tracking-caps: 0.08em;   /* wordmark-style ALL CAPS labels */
  --tracking-wide: 0.02em;

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
}

/* Sunshine Community Foundation — spacing, radius, shadow, motion */
:root {
  /* Spacing (4px base) */
  --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;

  /* Radii — soft and friendly, echoing the sun disc */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows — warm-tinted, gentle */
  --shadow-card: 0 1px 3px rgba(4, 52, 91, 0.08), 0 4px 14px rgba(4, 52, 91, 0.06);
  --shadow-raised: 0 6px 24px rgba(4, 52, 91, 0.14);
  --shadow-overlay: 0 16px 48px rgba(4, 52, 91, 0.22);

  /* Motion — calm, no bounces */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 320ms; /* @kind other */
}

/* Sunshine Community Foundation — minimal base rules */
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--scf-navy);
  line-height: var(--leading-tight);
  margin: 0;
}
a { color: var(--scf-navy-700); text-decoration-color: var(--scf-gold); text-underline-offset: 3px; }
a:hover { color: var(--scf-navy); text-decoration-color: var(--scf-orange); }
::selection { background: var(--scf-gold-100); }
