/* ==========================================================================
   global.css — CSS variables, reset, and base layout
   Matches joinhclnow.com color palette and typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --primary:    #37ca37;   /* green — positive text, CTA */
  --red:        #911f1f;   /* dark red — checkmarks, emphasis */
  --navy:       #2e3787;   /* navy blue — body list text */
  --footer-bg:  #222222;   /* dark gray — footer */
  --link-color: #e6c862;   /* gold — footer links */
  --text-color: #000000;   /* default text */
  --white:      #ffffff;
  --black:      #000000;

  /* Typography */
  --font-headline: 'Montserrat', sans-serif;
  --font-text:     'Open Sans', sans-serif;

  /* Font sizes (matching original) */
  --size-heading:        27px;
  --size-sub-heading:    23px;
  --size-footer:         16px;
  --size-footer-mobile:  13px;

  /* Layout */
  --max-width:     1170px;
  --section-pad-v: 50px;
  --section-pad-h: 10px;
  --row-width:     90%;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-headline);
  font-size: var(--size-footer);
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Color utility classes (used inline on text spans)
   -------------------------------------------------------------------------- */
.red   { color: var(--red); }
.green { color: var(--primary); }
.navy  { color: var(--navy); }
.black { color: var(--black); }
