:root {
  --soil: #3d2b1f;
  --leaf: #2f6f4e;
  --leaf-dark: #1f5138;
  --mint: #eaf5ec;
  --cream: #fffaf0;
  --sun: #f2c94c;
  --text: #203027;
  --muted: #66756c;
  --line: #dce6dd;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--leaf-dark); }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}
.brand { font-weight: 800; text-decoration: none; color: var(--soil); font-size: 1.15rem; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--text); font-weight: 650; font-size: .95rem; }
main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero, .page-hero { padding: clamp(3rem, 7vw, 6rem) 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 2rem; align-items: center; }
h1 { font-size: clamp(2.4rem, 7vw, 5.3rem); line-height: .95; letter-spacing: -0.06em; margin: .2rem 0 1rem; color: var(--soil); }
.narrow h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 850px; }
h2 { color: var(--soil); line-height: 1.1; }
.eyebrow { color: var(--leaf); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .8rem; }
.lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 680px; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button, button {
  display: inline-flex;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: white;
  padding: .85rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 111, 78, .18);
}
.button.secondary { background: white; color: var(--leaf-dark); border: 1px solid var(--line); }
.quick-card, .panel, .result-card, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.3rem;
  box-shadow: 0 18px 50px rgba(38, 55, 43, .08);
}
.quick-card { display: grid; gap: .9rem; }
label { display: grid; gap: .35rem; font-weight: 750; color: var(--soil); }
input, select {
  width: 100%;
  padding: .82rem .9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font: inherit;
}
.grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.three { grid-template-columns: repeat(3, 1fr); }
.card h2 { margin-top: 0; }
.band { background: var(--mint); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.2rem, 3vw, 2rem); margin: 2rem 0; }
.content { margin: 2rem 0 3rem; }
.prose { max-width: 780px; }
.calculator-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(280px, 1fr); gap: 1.2rem; align-items: stretch; }
.panel { display: grid; gap: 1rem; }
.result-card { background: var(--leaf-dark); color: white; display: grid; align-content: center; }
.result-card .eyebrow, .result-card p { color: #dceee2; }
.result-card strong { font-size: clamp(4rem, 12vw, 8rem); line-height: .9; letter-spacing: -0.08em; }
.result-card span { font-size: 1.3rem; font-weight: 800; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: .6rem; }
.month-picker { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; margin-bottom: 1rem; }
.month-picker label { width: min(280px, 100%); }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 2rem; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--mint); color: var(--soil); }
td span { color: var(--muted); font-size: .9rem; }
.site-footer { width: min(1120px, calc(100% - 2rem)); margin: 3rem auto 0; padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero, .calculator-layout, .three { grid-template-columns: 1fr; }
  h1 { letter-spacing: -0.04em; }
}
