:root {
  --primary: #2d4a32;
  --primary-dark: #1c3020;
  --accent: #b9603a;
  --accent-dark: #964929;
  --bg: #faf6ec;
  --surface: #f0e9d4;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --border: #d8d1bd;
  --max: 1100px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--primary); text-decoration: underline; }
a:hover { color: var(--accent); }

.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }

.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.brand-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85em;
  height: 0.85em;
  margin: 0 0.02em;
}
.brand-sun svg { width: 100%; height: 100%; }

.site-header nav a { margin-left: 1.25rem; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--primary); }

main { padding: 0; }
h1 { font-size: 2.25rem; line-height: 1.2; margin: 0 0 0.5rem; color: var(--ink); }
h2 { font-size: 1.75rem; margin: 1.5rem 0 1rem; color: var(--ink); }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }

.hero { padding: 1.75rem 1.25rem 0.5rem; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-title { font-size: 2.75rem; margin: 0 0 0.5rem; }
.hero-lead { font-size: 1.1rem; color: var(--muted); margin: 0 auto 1.25rem; max-width: 640px; line-height: 1.5; }
.hero .lead-form-wrap { text-align: left; margin: 0; }

.how-it-works { margin: 1.5rem auto 2.5rem; padding: 0 1.25rem; text-align: center; max-width: 720px; }
.how-it-works h2 { margin: 0 0 1.25rem; }
.how-it-works ol { font-size: 1.05rem; padding-left: 0; list-style: none; margin: 0 auto; counter-reset: step; }
.how-it-works li {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  counter-increment: step;
  position: relative;
}
.how-it-works li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.lead-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.25rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.lead-form-wrap h3 { margin-top: 0; color: var(--primary); }
.lead-form-wrap .sub { color: var(--muted); margin: 0.25rem 0 1.25rem; }
.lead-form-wrap form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.lead-form-wrap label { display: flex; flex-direction: column; font-size: 0.9rem; font-weight: 500; }
.lead-form-wrap input, .lead-form-wrap select {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 0.25rem;
  background: white;
}
.lead-form-wrap button {
  background: var(--accent);
  color: white;
  border: 0;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 0.75rem;
}
.lead-form-wrap button:hover { background: var(--accent-dark); }
.lead-form-wrap .legal { font-size: 0.8rem; color: var(--muted); margin: 0.75rem 0 0; }

@media (max-width: 600px) {
  .lead-form-wrap form .row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-lead br { display: none; }
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.quick-stats > div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.quick-stats strong { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.quick-stats span { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-top: 0.25rem; }

.incentives table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; }
.incentives th, .incentives td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.incentives th { background: var(--surface); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); }

.faqs details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faqs summary { font-weight: 600; cursor: pointer; color: var(--primary); }
.faqs p { margin: 0.75rem 0 0; }

.state-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
}
.state-grid a {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--ink);
}
.state-grid a:hover { border-color: var(--accent); color: var(--accent); }

.page-disclaimer {
  margin: 3rem auto 0;
  padding: 1.5rem 1.75rem;
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.page-disclaimer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page-disclaimer p { margin: 0 0 0.75rem; }
.page-disclaimer p:last-child { margin: 0; }
.page-disclaimer strong { color: var(--ink); }
.page-disclaimer a { color: var(--primary); }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--primary);
  color: var(--bg);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  text-align: center;
}
.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.site-footer .footer-brand {
  color: var(--bg);
  font-size: 1.5rem;
  justify-content: center;
}
.site-footer .footer-brand .brand-sun svg g { stroke: var(--bg); }
.site-footer .tagline-small {
  color: rgba(250, 246, 236, 0.75);
  font-size: 0.95rem;
  margin: 0.35rem 0 1.5rem;
}
.site-footer .legal {
  color: rgba(250, 246, 236, 0.7);
  margin: 0 0 1.25rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  color: rgba(250, 246, 236, 0.85);
  text-decoration: none;
}
.footer-nav a:hover { color: white; }
