/* ============================================================
   CONVERGENCE DURABLE — Minimal Baseline CSS
   ============================================================ */

/* --- Self-hosted Lato font ---------------------------------- */
@font-face {
  font-family: 'Lato';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../vendor/fonts/lato-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../vendor/fonts/lato-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url('../vendor/fonts/lato-900-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url('../vendor/fonts/lato-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------- */
:root {
  --green:       #3a7c4e;   /* primary brand green */
  --green-dark:  #2a5c38;   /* hover / headings */
  --green-light: #eef2ec;   /* very subtle green tint — used sparingly */
  --gray-light:  #f2f2f0;   /* neutral section backgrounds */
  --gray-mid:    #e0e0dc;   /* borders, dividers */
  --gray-dark:   #252520;   /* footer */
  --text:        #1a1a1a;
  --muted:       #666;
  --border:      #e0e0dc;
  --white:       #ffffff;
  --nav-bg:      #2e4428;   /* dark olive nav */

  --font-body:   "Lato", sans-serif;
  --font-ui:     "Lato", sans-serif;

  --radius:      10px;
  --max-w:       860px;
  --gap:         1.5rem;
}

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

/* --- Base --------------------------------------------------- */
body {
  font-family:  var(--font-body);
  font-size:    1rem;
  line-height:  1.7;
  color:        var(--text);
  background:   var(--white);
}

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

a {
  color:           var(--green);
  text-decoration: none;
}
a:hover { text-decoration: underline; color: var(--green-dark); }

/* --- Typography --------------------------------------------- */
h1, h2, h3, h4 {
  font-family:  var(--font-ui);
  font-weight:  900;
  color:        var(--green-dark);
  line-height:  1.25;
  margin-bottom: .5rem;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem);  letter-spacing: -.02em; }
h3 { font-size: 1.15rem;                        letter-spacing: -.01em; }

p       { margin-bottom: 1rem; }
ul, ol  { padding-left: 1.5rem; margin-bottom: 1rem; }
strong  { color: var(--green-dark); }

/* --- Layout ------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 1.25rem;
}

section {
  padding: 3rem 0;
}

/* --- Nav ---------------------------------------------------- */
.site-nav {
  background: var(--nav-bg);
  padding:    .75rem 1.25rem;
}
.site-nav a {
  color:       var(--white);
  font-family: var(--font-ui);
  font-size:   .9rem;
  margin-right: 1.25rem;
}
.site-nav a:hover { text-decoration: underline; }

/* --- Cards -------------------------------------------------- */
.card {
  border:        1px solid var(--border);
  border-radius: var(--radius);
  padding:       1.25rem;
  background:    var(--white);
}
.card h3 { font-size: 1rem; margin-bottom: .25rem; }
.card .tags {
  font-family: var(--font-ui);
  font-size:   .75rem;
  color:       var(--muted);
}

/* --- Grid (cards, team) ------------------------------------ */
.grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap:                   var(--gap);
}

/* --- Tinted section ---------------------------------------- */
.section--tinted { background: var(--green-light); }

/* --- Button ------------------------------------------------- */
.btn {
  display:         inline-block;
  font-family:     var(--font-ui);
  font-size:       .9rem;
  font-weight:     900;
  background:      var(--green);
  color:           var(--white);
  padding:         .6rem 1.4rem;
  border-radius:   var(--radius);
  border:          none;
  cursor:          pointer;
  text-decoration: none;
}
.btn:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }

/* --- Footer ------------------------------------------------- */
.site-footer {
  background:  var(--nav-bg);
  color:       rgba(255,255,255,.8);
  font-family: var(--font-ui);
  font-size:   .85rem;
  padding:     2rem 1.25rem;
}
.site-footer a { color: var(--white); }

/* --- Utility ----------------------------------------------- */
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
