/* Pricing-page additions. The header, hero, plan cards and footer use the site theme. */
#estimate, #plans, #hourly-rates { scroll-margin-top: 6rem; }
.price-estimate {
  padding: clamp(22px, 3.2vw, 42px);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 22px 48px -32px rgba(0, 29, 65, .45);
}
.price-estimate h3 { font-size: clamp(21px, 2vw, 28px); }
.estimate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 14px; }
.estimate-fields label { display: block; font-size: 15px; font-weight: 700; }
.estimate-fields input {
  width: 100%; min-height: 46px; margin-top: 5px; padding: 8px 12px;
  background: #fff; color: var(--navy); border: 1px solid #8292a8;
  border-radius: 7px; font: inherit; font-size: 18px;
}
.estimate-fields input:focus-visible, .price-sample summary:focus-visible,
.price-table:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.estimate-fields input[aria-invalid="true"] { border-color: #a12a0a; }
.estimate-settings, .estimate-note, .estimate-message { color: var(--text); font-size: 14px; line-height: 1.5; }
.estimate-message { margin: 12px 0 0; color: #833001; }
.estimate-message:empty { display: none; }
.estimate-totals { margin: 15px 0; }
.estimate-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.estimate-totals .estimate-business { color: #fff; background: var(--navy-d); border-radius: 8px; border-color: transparent; }
.estimate-totals dt { font-weight: 700; }
.estimate-totals dd { margin: 0; font-weight: 700; font-size: clamp(20px, 2vw, 27px); line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-estimate a, .price-sample summary { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
#prices .p3--ess .p3-not { color: var(--text); }
#prices .p3--pre .plan-tag { color: var(--navy-d); background: #ffac85; }
#prices .pricing-footnote { text-align: center; margin-top: 16px; }
.price-table { position: relative; width: 100%; }
.price-table table { min-width: 550px; }
.price-table .no { color: var(--text); }
#sample-invoice { scroll-margin-top: 6rem; }
.price-sample { max-width: 770px; margin: 24px auto 0; padding: 18px 24px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.price-sample summary { cursor: pointer; font-weight: 700; }
.price-sample p { margin-top: 10px; color: var(--text); }
.price-sample dl { margin-top: 14px; }
.price-sample dl div { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.price-sample dt { font-weight: 700; }
.price-sample dd { margin: 0; color: var(--text); }
@media (max-width: 430px) {
  .estimate-fields { gap: 10px; }
  .estimate-fields label { font-size: 14px; }
  .price-sample { padding: 16px; }
}
