* { box-sizing: border-box; }
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18212b;
  background: #f5f7f4;
}
body { margin: 0; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: #18212b; color: white; }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: white; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.tag { color: #c9d3da; font-size: .9rem; }
.hero { padding: 72px 0 44px; max-width: 780px; }
.eyebrow { margin: 0 0 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; color: #66736b; }
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 20px; }
h2 { margin: 0 0 8px; font-size: 1.7rem; }
.hero-copy { font-size: 1.15rem; line-height: 1.6; color: #53605a; max-width: 650px; }
.calculator-card { background: white; border: 1px solid #dce3de; border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 12px 35px rgba(24,33,43,.07); }
.card-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.card-heading p:not(.eyebrow) { margin: 0; color: #637067; }
.badge { background: #e8f2ea; color: #2f6840; height: fit-content; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
label { font-weight: 700; font-size: .9rem; color: #3c4942; }
input, select { width: 100%; margin-top: 8px; padding: 13px 12px; border: 1px solid #cbd5ce; border-radius: 10px; font: inherit; background: white; }
input:focus, select:focus { outline: 3px solid #dcefe1; border-color: #4d875d; }
button { margin-top: 22px; border: 0; border-radius: 11px; padding: 14px 20px; font: inherit; font-weight: 800; cursor: pointer; background: #2f6840; color: white; }
button:hover { filter: brightness(.95); }
.result { margin-top: 24px; padding: 22px; border-radius: 14px; background: #f0f6f1; border: 1px solid #d5e6d8; }
.result-number { font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; }
.result p { margin: 6px 0 0; color: #53605a; line-height: 1.5; }
.tools { padding: 58px 0 25px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.tool { background: white; border: 1px solid #dce3de; border-radius: 15px; padding: 20px; display: grid; gap: 6px; }
.tool span { font-size: 1.6rem; }
.tool small { color: #6a766f; }
.note { padding: 25px 0 65px; color: #66736b; }
.note p { line-height: 1.6; }
footer { background: #18212b; color: #bfc8ce; padding: 25px 0; font-size: .85rem; }
@media (max-width: 720px) {
  .tag { display: none; }
  .hero { padding-top: 48px; }
  .grid, .tool-grid { grid-template-columns: 1fr; }
  .card-heading { align-items: flex-start; }
}

.secondary-card { margin-top: 24px; }
