:root {
  --primary: #1b7b3a;       /* Virginia Forest Green */
  --primary-dark: #115426;
  --secondary: #e3f4ea;     /* Soft Mint */
  --accent: #dcfce7;        /* Highlight */
  --text: #1f2933;          /* Dark Gray for reading */
  --muted: #6b7280;         /* Soft Gray for secondary text */
  --bg: #f8fafc;            /* Very light blue-gray background */
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left { display: flex; align-items: center; gap: 0.75rem; }

.logo-mark {
  background: var(--primary);
  color: white;
  font-weight: 800;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.1rem;
}

.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.site-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: transform 0.1s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle { display: none; }

/* --- HERO SECTION --- */
.hero {
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at top right, var(--secondary), transparent 70%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.hero-highlight {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: #a7f3d0;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.hero-actions { display: flex; gap: 1rem; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(27, 123, 58, 0.4);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 123, 58, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--text);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* --- CARDS & UI --- */
.hero-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  border: 1px solid #e2e8f0;
}

.hero-metric-row {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero-metric {
  flex: 1;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.hero-metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

/* --- SECTIONS --- */
section { padding: 4rem 1.5rem; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; }
.section-title { font-size: 2rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.section-kicker { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card-title { font-size: 1.25rem; margin-top: 0.5rem; color: var(--primary-dark); }
.card-eyebrow { color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.card-text { font-size: 0.95rem; color: #475569; }

/* --- FORM UI (ZONE HELPER) --- */
.zone-helper {
  background: linear-gradient(to right, #f0fdf4, #ffffff);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.zone-select { flex: 1; }
.zone-select label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.zone-select select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.zone-select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 123, 58, 0.2);
}

.zone-output {
  flex: 1.5;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* --- FOOTER --- */
footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a { color: var(--primary); text-decoration: none; }

/* --- MOBILE --- */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-links { display: none; } /* Simplified mobile handling */
  .nav-toggle { display: block; font-size: 1.5rem; background: none; border: none; cursor: pointer; }
  .zone-helper { flex-direction: column; align-items: stretch; gap: 1rem; }
}