:root {
  --bg: #f7f3ea;
  --surface: #fffaf1;
  --surface-2: #eef5ee;
  --text: #223027;
  --muted: #667064;
  --line: #ddd5c5;
  --green: #2f6f4e;
  --green-dark: #1f4d36;
  --sun: #d9912b;
  --shadow: 0 20px 60px rgba(41, 51, 42, 0.10);
  --radius: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: var(--green-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; }

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99; background: white; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, 0.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 213, 197, 0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; color: var(--text); font-size: 1.25rem; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: white; background: linear-gradient(135deg, var(--green), var(--sun)); }
.primary-nav ul, .site-footer ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: var(--text); text-decoration: none; font-weight: 650; font-size: 0.95rem; }
.nav-toggle { display: none; }

.hero { padding: 72px 0 48px; background: radial-gradient(circle at top right, rgba(217,145,43,.18), transparent 32%), linear-gradient(180deg, #fff8ec, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 44px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; margin: 0 0 18px; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.45rem; }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.hero-actions, .calc-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; text-decoration: none; cursor: pointer; font-size: 0.98rem; }
.button.primary { color: white; background: var(--green); box-shadow: 0 12px 28px rgba(47,111,78,.22); }
.button.primary:hover { background: var(--green-dark); color: white; }
.button.secondary { color: var(--text); background: rgba(255,255,255,.72); border-color: var(--line); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.hero-card { background: rgba(255, 250, 241, 0.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.stat { padding: 18px; border-radius: 18px; background: white; border: 1px solid rgba(221,213,197,.72); }
.stat span { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.04em; }
.stat small { color: var(--muted); }

.section { padding: 72px 0; }
.muted { background: var(--surface-2); border-top: 1px solid rgba(47,111,78,.12); border-bottom: 1px solid rgba(47,111,78,.12); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.cards { display: grid; gap: 18px; margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 40px rgba(41, 51, 42, 0.06); }
.card p { color: var(--muted); margin-bottom: 0; }
.post-card h2 { font-size: 1.55rem; }
.text-link { font-weight: 800; }
.page-hero { padding: 66px 0 36px; background: linear-gradient(180deg, #fff8ec, var(--bg)); border-bottom: 1px solid var(--line); }
.content { font-size: 1.08rem; }
.content h2, .content h3 { margin-top: 1.8em; }
.content p, .content li { color: #3b463d; }

.rve-calculator { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 4vw, 32px); box-shadow: var(--shadow); }
.calc-progress { height: 10px; background: #ece4d5; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.calc-progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--green), var(--sun)); transition: width .22s ease; }
.calc-step { display: none; border: 0; padding: 0; margin: 0; }
.calc-step.is-active { display: grid; gap: 12px; }
.calc-step legend { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.035em; margin-bottom: 14px; }
.calc-step label, .lead-box label { display: block; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; }
.calc-step label:hover { border-color: rgba(47,111,78,.45); }
.calc-step input[type="radio"] { margin-right: 10px; }
.calc-step.needs-answer legend::after { content: " Please choose one."; color: #a64727; font-size: .9rem; letter-spacing: 0; }
.calc-nav { justify-content: space-between; margin-top: 22px; }
.calc-result { margin-top: 28px; padding: 24px; border-radius: 22px; background: #f4f8f1; border: 1px solid rgba(47,111,78,.22); }
.calc-result ul { padding-left: 1.15rem; }
.lead-box { margin-top: 22px; padding: 20px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.lead-box input { width: 100%; margin-top: 7px; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 10px 12px; font: inherit; }
.lead-box label { margin-bottom: 10px; cursor: default; }
.privacy-note { display: block; margin-top: 12px; color: var(--muted); }

.site-footer { padding: 48px 0 24px; background: #1f2c23; color: #f4efe3; }
.site-footer a { color: #f4efe3; }
.site-footer p, .footer-bottom { color: rgba(244,239,227,.75); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 24px; }
.footer-bottom { padding-top: 22px; }

@media (max-width: 820px) {
  .hero-grid, .split, .cards.three, .cards.two { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 9px 14px; font-weight: 800; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 12px; }
  .footer-grid, .site-footer ul { display: grid; gap: 12px; }
  .hero { padding-top: 48px; }
}
