.estimate { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; color: var(--ink); font-family: var(--font); }
.estimate * { box-sizing: border-box; }
.estimate p { margin: 0; line-height: 1.6; }
.estimate button { font: inherit; cursor: pointer; color: inherit; }
.estimate :is(button, input, a):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.estimate h2:focus { outline: none; }
.estimate .estimate-header { padding: 28px 32px 22px; border-bottom: 1px solid var(--line); }
.estimate .estimate-header h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.03em; margin: 10px 0 20px; font-weight: 550; }
.estimate-progress { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.estimate-progress li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 20px; }
.estimate-progress li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--wash); font-size: 11px; font-weight: 650; }
.estimate-progress li.done span { background: #cfe5dc; color: #175e55; }
.estimate-progress li[aria-current] { color: white; background: #175e55; border-color: #175e55; }
.estimate-progress li[aria-current] span { background: white; color: #175e55; }
.estimate .estimate-body { padding: 30px 32px 32px; }
.estimate h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.3; }
.estimate .estimate-lede { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.estimate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.estimate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estimate-field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; min-width: 0; font-size: 13px; line-height: 1.4; font-weight: 550; }
.estimate-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.estimate-field small { font-size: 12px; font-weight: 400; color: var(--muted); }
.estimate input:not([type="radio"], [type="checkbox"]) { display: block; width: 100%; min-height: 46px; padding: 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid #9cb4ab; border-radius: 5px; font: inherit; font-size: 16px; font-weight: 400; }
.estimate input[aria-invalid="true"] { border-color: #a43e30; }
.estimate-choices { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.estimate-checks { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.estimate-buttons { grid-template-columns: 1fr 1fr; align-items: start; }
.estimate-choices legend { font-size: 13px; font-weight: 550; padding: 0; margin-bottom: 10px; }
.estimate-choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 14px 42px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; transition: border-color .15s, background .15s; }
.estimate-choice input { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; margin: 0; accent-color: #175e55; }
.estimate-choice small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.estimate-choice:has(input:checked) { border-color: #175e55; background: #eff6f2; }
.estimate-choice:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.estimate-error { margin-top: 16px; color: #963a2e; font-size: 13px; }
.estimate-error:empty { display: none; }
.estimate-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.estimate :is(.estimate-back, .estimate-restart) { border: 0; background: transparent; padding: 8px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.estimate .button.primary { color: white; }
.estimate .button:disabled { opacity: .6; cursor: progress; }
.estimate-calculating { display: flex; gap: 28px; align-items: center; min-height: 260px; }
.estimate-calculating ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.estimate-calculating li { opacity: 0; animation: estimate-in .35s ease forwards; animation-delay: var(--delay); }
.estimate-calculating li::before { content: "✓"; color: #175e55; font-weight: 700; margin-right: 10px; }
.estimate-spinner { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; border: 4px solid var(--wash); border-top-color: #175e55; animation: estimate-spin .9s linear infinite; }
@keyframes estimate-spin { to { transform: rotate(360deg); } }
@keyframes estimate-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .estimate-calculating li { animation: none; opacity: 1; } .estimate-spinner { animation-duration: 3s; } }
.estimate .estimate-gate { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; padding: 0; }
.estimate-teaser { padding: 30px 32px; background: #eff6f2; border-right: 1px solid var(--line); }
.estimate-contact { padding: 30px 32px 32px; }
.estimate-kicker { font-size: 11px; letter-spacing: .12em; font-weight: 650; }
.estimate-counts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; }
.estimate-counts li { padding: 10px 0; border-top: 1px solid var(--line); }
.estimate-counts strong { font-size: 18px; margin-right: 6px; }
.estimate-summary { font-size: 13px; color: var(--muted); margin-top: 14px; }
.estimate-private { font-size: 11px; color: var(--muted); margin-top: 14px; }
.estimate-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.estimate-disclaimer { font-size: 12px; color: var(--muted); margin-top: 18px; }
@media (max-width: 800px) {
  .estimate .estimate-header, .estimate .estimate-body, .estimate-teaser, .estimate-contact { padding: 22px 20px; }
  .estimate .estimate-gate { grid-template-columns: 1fr; padding: 0; }
  .estimate-teaser { border-right: 0; border-bottom: 1px solid var(--line); }
  .estimate-grid, .estimate-choices { grid-template-columns: 1fr 1fr; }
  .estimate-progress li { font-size: 0; padding: 4px; gap: 0; }
  .estimate-progress li[aria-current] { font-size: 12px; padding-right: 12px; gap: 8px; }
}
@media (max-width: 480px) {
  .estimate-grid, .estimate-choices, .estimate-pair { grid-template-columns: 1fr; }
  .estimate-nav { flex-wrap: wrap-reverse; }
  .estimate-nav .button { width: 100%; }
  .estimate-calculating { flex-direction: column; align-items: flex-start; }
}
