:root {
  --bg: #f7faf7;
  --surface: #ffffff;
  --text: #163024;
  --muted: #5f7168;
  --line: #d9e5dc;
  --accent: #2f6f45;
  --accent-2: #8abf6d;
  --shadow: 0 8px 24px rgba(17, 44, 28, 0.08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }
.topbar {
  background: #112c1c;
  color: #d9eadf;
  font-size: 0.95rem;
}
.topbar .container { padding: 0.65rem 0; }
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,250,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.nav-toggle { display: none; }
nav.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
nav.primary-nav a {
  color: var(--text);
  font-weight: 600;
}
.button, button {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}
.button.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}
.hero {
  padding: 4.5rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(138,191,109,0.20), transparent 35%), linear-gradient(180deg, #fbfdfb 0%, #f3f8f4 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #ebf4ec;
  color: var(--accent);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}
.hero h1, .page-hero h1 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.05; margin: 0.75rem 0 1rem; }
.hero p { font-size: 1.12rem; max-width: 60ch; color: var(--muted); }
.hero-card, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.info-list li { display: flex; justify-content: space-between; gap: 1rem; }
.info-list span:last-child { color: var(--muted); text-align: right; }
.section { padding: 3.5rem 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-top: 0; margin-bottom: 0.6rem; }
.section-intro { color: var(--muted); max-width: 70ch; margin-top: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card h3 { margin-top: 0.2rem; margin-bottom: .4rem; }
.kicker { color: var(--accent); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); font-size: .94rem; }
.page-hero { padding: 3rem 0 1.5rem; }
.page-hero p { max-width: 70ch; color: var(--muted); }
.breadcrumbs { font-size: .94rem; color: var(--muted); margin-bottom: .5rem; }
.breadcrumbs a { color: var(--muted); }
.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.prose h2, .prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }
.sidebar .card { margin-bottom: 1rem; }
.callout {
  background: #f0f7f1;
  border: 1px solid #d7eadb;
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: .9rem;
}
.tile-link { display: flex; flex-direction: column; height: 100%; }
.tile-link p { color: var(--muted); }
footer {
  background: #10241a;
  color: #dce9df;
  padding: 3rem 0;
  margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 1.25rem; }
footer a { color: #dce9df; }
form.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}
label { font-weight: 700; }
input, textarea, select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #cfded3;
  background: white;
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
.small { font-size: .92rem; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.stat { background: white; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; text-align: center; }
.stat strong { display: block; font-size: 1.4rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag { display: inline-flex; padding: .35rem .7rem; border-radius: 999px; background: #edf4ef; color: #355541; font-size: .9rem; font-weight: 700; }
@media (max-width: 980px) {
  .hero-grid, .content-wrap, .footer-grid, .grid.cols-3, .grid.cols-4, .grid.cols-2, .stat-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    background: white;
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: none;
  }
  nav.primary-nav { display: none; }
  nav.primary-nav.open { display: block; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); }
  nav.primary-nav.open ul { flex-direction: column; align-items: flex-start; padding: 1rem; }
}

/* ---------- Navigation Layout Fix ---------- */

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
  max-width: 800px;
}

.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #1a1a1a;
  padding: 6px 4px;
}

.primary-nav a:hover {
  color: #0b6b4f;
}

/* Stack navigation nicely on smaller screens */

@media (max-width: 900px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav {
    justify-content: flex-start;
  }
}








/* ===== Responsive Navigation v2 ===== */
.nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(0,0,0,0.04);
}

.responsive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.responsive-nav a {
  display: inline-block;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
}

.responsive-nav a:hover {
  background: rgba(0,0,0,0.08);
  color: #0b6b4f;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .responsive-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 4px;
  }

  .responsive-nav.open {
    display: flex;
  }

  .responsive-nav a {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
  }
}


.logo-brand img {
  display: block;
  max-width: 100%;
  height: 64px;
}

@media (max-width: 760px) {
  .logo-brand img {
    height: 52px;
  }
}




/* ===== Homepage reset styles ===== */
.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-wordmark-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header-wordmark {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #142018;
}

.header-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #59645b;
  margin-top: 5px;
}

.homepage-hero {
  background:
    radial-gradient(circle at top, rgba(215,201,164,0.12), transparent 38%),
    linear-gradient(180deg, #f5f1e8 0%, #ece6d8 100%);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 52px 20px 44px;
}

.homepage-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.homepage-badge-logo {
  width: min(380px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto 22px;
}

.homepage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  color: #17221a;
  letter-spacing: -0.02em;
}

.hero-subline {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: #3d473f;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: #38423a;
}

.homepage-section {
  padding: 48px 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  background: #f7f3ea;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.guide-card h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.05;
  color: #18231b;
}

.guide-card p {
  margin: 0 0 22px;
  color: #4c564f;
  font-size: 17px;
  line-height: 1.6;
}

.guide-button {
  display: inline-block;
  text-decoration: none;
  background: #c9a66b;
  color: #18231b;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 18px;
}

.guide-button:hover {
  background: #b89254;
}

.homepage-intro h2 {
  margin: 0 0 14px;
  font-size: 34px;
  color: #18231b;
}

.homepage-intro p {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.7;
  color: #414a43;
}

.site-footer {
  padding: 40px 20px 60px;
  background: #121b15;
  color: #d5dbd3;
}

.site-footer a {
  color: #e7dcc6;
  text-decoration: none;
}

@media (max-width: 980px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-wordmark {
    font-size: 24px;
  }

  .header-tagline {
    font-size: 12px;
  }

  .homepage-badge-logo {
    width: min(280px, 84vw);
    margin-bottom: 18px;
  }

  .hero-copy,
  .homepage-intro p,
  .guide-card p {
    font-size: 16px;
  }

  .guide-card h2 {
    font-size: 28px;
  }
}
