.tools-heading {
  background: #eef3e9;
  border-bottom: 1px solid #bccfc4;
  padding-top: clamp(32px, 4vw, 64px);
}
.tools-heading-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; align-items: center; }
.tools-heading h1, .tool-intro h2, .budget-tool > h2 {
  color: #082837;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  margin: 0 0 16px;
}
.tools-heading p, .tool-intro > p, .budget-intro {
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}
.tools-heading nav { grid-column: 1 / -1; gap: 8px 22px; }
.tools-heading nav a {
  border-bottom: 3px solid transparent;
  padding: 7px 0;
  font-weight: 600;
}
.tools-heading nav a:first-child, .tools-heading nav a:hover { color: #0c6256; border-color: #0c6256; }
.answer-check-tool {
  background: #fff;
  border-bottom: 1px solid #d7e6e0;
  padding-block: clamp(42px, 5.8vw, 84px);
}
.tool-columns, .budget-workspace {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(24px, 7vw, 92px);
}
.home-landing .tool-intro h2 { max-width: 16ch; font-size: clamp(31px, 3.8vw, 52px); margin-bottom: 15px; }
.home-landing .tool-intro > p { max-width: 40ch; }
.buyer-prompt {
  margin: 20px 0 8px; border-left: 2px solid #75a591; padding: 1px 0 2px 16px;
  color: #214a43; font-weight: 550; font-size: 17px; line-height: 1.5;
}
.buyer-prompt span { display: block; margin-bottom: 2px; font-size: 13px; color: #536b61; font-weight: 450; }
.tool-text-link, .answer-guidance a, .budget-reset {
  color: #085c56;
  font-weight: 600;
  text-underline-offset: 4px;
}
.tool-text-link, .answer-guidance a { display: inline-flex; align-items: center; min-height: 44px; }
.answer-routing {
  min-width: 0; padding: clamp(16px, 2.5vw, 30px);
  background: #f4f7f0; border: 1px solid #cad9cd; border-radius: 14px;
}
.answer-routing h3 { font-size: 20px; }
.answer-branches { margin: 14px 0 0 7px; }
.answer-branches details { position: relative; padding: 4px 0 4px 20px; }
.answer-branches details::before, .answer-branches details::after {
  position: absolute; content: ''; pointer-events: none; left: 0;
}
.answer-branches details::before { top: 0; bottom: 0; border-left: 1px solid #9ab6a8; }
.answer-branches details:first-child::before { top: 28px; }
.answer-branches details:last-child::before { bottom: auto; height: 28px; }
.answer-branches details::after { width: 20px; top: 28px; border-top: 1px solid #9ab6a8; }
.answer-branches details[open]::after { border-color: #086d59; }
.answer-routing summary, .budget-method summary {
  cursor: pointer;
  color: #123c3d;
  font-weight: 600;
}
.answer-routing summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #c1d2c5; border-radius: 6px; background: #fff;
  list-style: none;
}
.answer-routing summary::-webkit-details-marker { display: none; }
.answer-routing summary::after {
  content: '';
  width: 9px;
  height: 9px;
  flex: none;
  border: solid #08756c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.answer-routing details[open] > summary::after { transform: rotate(225deg); }
.answer-routing summary:hover { border-color: #719d8a; }
.answer-routing details[open] > summary { border-color: #83ae95; background: #deefdf; border-radius: 6px 6px 0 0; }
.answer-routing summary:focus-visible { outline-offset: -4px; }
.answer-guidance { padding: 14px 16px 5px; background: white; border: 1px solid #a5c1ab; border-top: 0; border-radius: 0 0 6px 6px; }
.home-landing .answer-guidance p { margin: 0 0 6px; font-size: 15px; }
.budget-tool { padding-block: clamp(40px, 6vw, 78px); }
.budget-tool > h2 { font-size: clamp(31px, 3.8vw, 48px); }
.budget-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid #b6c9be;
  border-radius: 16px;
  overflow: hidden;
}
.budget-workspace fieldset {
  margin: 0;
  border: 0;
  min-width: 0;
  padding: 18px clamp(20px, 3vw, 40px) 22px;
  background: #f7f9f4;
}
.budget-workspace legend {
  float: left;
  width: 100%;
  margin: 10px 0 14px;
  color: #0f443e;
  font-size: 20px;
  font-weight: 650;
}
.budget-field { clear: both; margin-bottom: 16px; }
.budget-field label { color: #153a3c; display: block; font-weight: 600; margin-bottom: 3px; }
.budget-entry {
  display: flex;
  align-items: center;
  max-width: 24rem;
  border: 1px solid #869f9e;
  border-radius: 7px;
  background: white;
}
.budget-entry:focus-within { outline: 3px solid #087c78; outline-offset: 2px; }
.budget-entry span { flex: none; width: 3.15em; text-align: center; color: #345754; font-size: 13px; }
.budget-entry input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  border-left: 1px solid #d7e5e1;
  border-radius: 0 7px 7px 0;
  color: #082837;
  background: transparent;
  font: 600 20px Archivo, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.budget-entry input:focus { outline: none; }
.budget-entry:has(input[aria-invalid=true]) { border-color: #983c28; }
.budget-hint { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; }
.budget-reset {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.budget-reset:focus-visible { outline: 3px solid #087c78; outline-offset: 3px; }
.budget-field-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.budget-jump { display: none; }
.budget-receipt {
  --wave-position: 70% bottom;
  --wave-size: 155% clamp(140px, 16vw, 225px);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: radial-gradient(ellipse at 100% 0, #1d5150, transparent 65%), #103737;
  color: white;
  padding: clamp(20px, 3vw, 40px);
}
.budget-receipt h3 { margin: 0 0 22px; color: white; font-size: 23px; }
.budget-receipt > div { width: 100%; }
.budget-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.06fr); gap: 8px; align-items: start; }
.budget-number, .budget-leads { margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.budget-totals strong { display: block; font-size: clamp(40px, 13cqi, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 550; font-variant-numeric: tabular-nums; }
.budget-number strong { color: #b9f5cf; }
.budget-number span, .budget-leads span { display: block; margin-top: 5px; font-size: 15px; }
.budget-arrow { color: #aad4c1; align-self: start; font-size: 26px; padding: 3px 8px; }
.large-target .budget-totals { grid-template-columns: 1fr; gap: 12px; }
.large-target .budget-totals strong { font-size: clamp(22px, 6.9cqi, 36px); }
.large-target .budget-arrow { display: none; }
.budget-chart {
  margin: 18px 0 0; padding: 14px clamp(10px, 3cqi, 18px) 12px;
  border: 1px solid #4b6d63; border-radius: 10px;
  background: linear-gradient(112deg, #254c43, #163b39 70%); box-shadow: inset 0 1px #d2ead612;
}
#budget-marks:not([hidden]) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px 3px; }
.budget-mark {
  display: grid; justify-items: center; align-content: center; gap: 1px; height: 29px;
  color: #a3beb2;
}
.budget-mark::before, .budget-mark::after { content: ''; box-sizing: border-box; border: 1.4px solid currentColor; }
.budget-mark::before { width: 8px; height: 8px; border-radius: 50%; }
.budget-mark::after { width: 15px; height: 10px; border-radius: 8px 8px 3px 3px; }
.budget-mark.is-sale { color: #c1f5cf; }
.budget-mark.is-sale::before, .budget-mark.is-sale::after { background: currentColor; }
#budget-proportion { overflow: hidden; background: #496961; border-radius: 4px; }
#budget-proportion svg { display: block; width: 100%; height: 16px; fill: #b9f5cf; }
.budget-chart figcaption { margin-top: 7px; color: #d2e2d8; font-size: 14px; line-height: 1.45; }
.budget-payoff { margin: 12px 0 0; color: #e1ede4; font-size: 15px; font-variant-numeric: tabular-nums; }
.budget-payoff strong { color: #b9f5cf; }
.budget-scope { color: #d5e8e2; font-size: 15px; line-height: 1.5; margin: 18px 0; }
.budget-receipt .button { margin-top: auto; background: #a1f1d6; color: #103639; }
.budget-receipt .button:hover { background: #d0f9e9; }
.budget-receipt .button:focus-visible { outline-color: white; }
#budget-message { margin: 0; color: #f7e7c5; }
.budget-method { margin-top: 8px; }
.budget-method summary { padding-block: 10px; min-height: 44px; }
.budget-method p { max-width: 72ch; margin: 6px 0 0; }
@media (max-width: 700px) {
  .tool-columns, .budget-workspace, .tools-heading-inner { grid-template-columns: minmax(0, 1fr); }
  .tools-heading-inner { gap: 4px; }
  .tools-heading-inner p { margin-bottom: 12px; }
  .home-landing .tool-intro h2 { max-width: 21ch; }
  .budget-tool { padding-inline: 20px; }
  .budget-workspace:has(fieldset:enabled) .budget-jump { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
  .budget-receipt .budget-jump { color: #c0eacf; }
}
@container (max-width: 340px) {
  #budget-marks:not([hidden]) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .budget-arrow { padding-inline: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .answer-branches details[open] .answer-guidance { animation: show-guidance 200ms ease-out; }
  .budget-mark.is-sale { animation: win-inquiry 300ms ease-out; }
  #budget-share { transition: width 220ms ease-out; }
  @keyframes show-guidance { from { transform: translateY(-3px); opacity: .65; } }
  @keyframes win-inquiry { from { transform: translateY(3px); opacity: .6; } }
}
