/* Two buying pages share the site typography, form controls and action styles. */
.hp-buyer {
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hp-buyer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  padding: 18px 0 clamp(40px, 6vw, 74px);
}
.hp-buyer-intro h1 {
  max-width: none;
  font-size: clamp(35px, 4.2vw, 56px);
  text-wrap: balance;
}
.hp-buyer-intro > p {
  max-width: 29ch;
  margin-top: 19px;
  color: var(--hp-muted);
  font-size: clamp(17px, 2vw, 21px);
}
.hp-buyer-intro .hp-actions {
  margin-top: 24px;
}
.hp-buyer--kso .hp-buyer-intro h1 {
  max-width: none;
  font-size: clamp(35px, 4.25vw, 60px);
  overflow-wrap: anywhere;
}
.hp-buyer .hp-buyer-equipment {
  margin-top: 24px;
}
.hp-buyer-equipment img {
  display: block;
  width: auto;
  height: clamp(142px, 19vw, 248px);
}
.hp-buyer-estimate {
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 28px;
  background: #fff;
}
.hp-buyer-estimate-fields {
  padding: clamp(20px, 3vw, 36px);
}
.hp-buyer-estimate-fields h2 {
  margin-bottom: 22px;
  font-size: clamp(23px, 3vw, 31px);
  text-wrap: wrap;
}
.hp-buyer-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hp-buyer-estimate label {
  display: grid;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
}
.hp-buyer-estimate label small {
  display: block;
  margin-top: 2px;
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 550;
}
.hp-buyer-estimate input,
.hp-buyer-estimate select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #d6dcd1;
  border-radius: 11px;
  background: #f8f9f5;
  color: var(--hp-ink);
  font: 600 16px Manrope, sans-serif;
}
.hp-buyer-estimate input:focus-visible,
.hp-buyer-estimate select:focus-visible {
  outline: 2px solid #527700;
  outline-offset: 2px;
}
.hp-buyer-estimate select:disabled {
  color: #5d6259;
  opacity: 1;
}
.hp-buyer-estimate .hp-buyer-register {
  margin-top: 15px;
}
.hp-buyer-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  min-height: 118px;
  padding: 20px clamp(20px, 3vw, 36px);
  background: #171a15;
  color: #fff;
}
.hp-buyer-total p {
  color: #d1d8ca;
  font-size: 13px;
}
.hp-buyer-total output {
  display: block;
  margin-top: 5px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.hp-buyer-total .hp-button {
  min-height: 46px;
  padding: 11px 19px;
  white-space: normal;
}
.hp-buyer-total .hp-button:focus-visible {
  outline-color: #fff;
}
.hp-buyer-total .hp-buyer-estimate-error {
  max-width: 26ch;
  margin-top: 6px;
}
.hp-buyer-estimate .hp-buyer-noscript {
  padding: 10px 22px;
  font-size: 14px;
}
.hp-buyer-app {
  display: grid;
  place-items: center;
  min-height: clamp(285px, 36vw, 467px);
  padding: 24px;
  border-radius: 28px;
  background: var(--hp-surface);
}
.hp-buyer-app img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(235px, 30vw, 385px);
  object-fit: contain;
}
.hp-buyer-details {
  padding-top: clamp(26px, 4vw, 46px);
  border-top: 1px solid var(--hp-line);
}
.hp-buyer-details h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  text-wrap: wrap;
}
.hp-buyer-details .hp-buyer-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 45px);
  padding: 0;
  margin-top: 24px;
  list-style: none;
  counter-reset: buyer-step;
}
.hp-buyer-items h3 {
  font-size: 19px;
  text-wrap: wrap;
}
.hp-buyer-items p,
.hp-buyer-details .hp-buyer-note {
  margin-top: 7px;
  color: var(--hp-muted);
  font-size: 15px;
}
.hp-buyer-details .hp-buyer-note {
  margin-top: 17px;
}
.hp-buyer-items > li {
  padding-top: 16px;
  border-top: 1px solid var(--hp-line);
}
ol.hp-buyer-items > li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  counter-increment: buyer-step;
}
ol.hp-buyer-items > li::before {
  grid-row: span 2;
  color: var(--hp-muted);
  font-weight: 750;
  content: counter(buyer-step, decimal-leading-zero);
}
ol.hp-buyer-items > li > * {
  grid-column: 2;
}
.hp-buyer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin-top: 23px;
}
.hp-buyer-links .hp-buyer-link {
  display: grid;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 880px) {
  .hp-buyer-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding-top: 1px;
  }
  .hp-buyer-intro h1,
  .hp-buyer--kso .hp-buyer-intro h1 {
    max-width: 18ch;
    font-size: clamp(30px, 8.5vw, 45px);
    overflow-wrap: anywhere;
  }
  .hp-buyer-intro > p { margin-top: 12px; }
  .hp-buyer .hp-buyer-equipment { display: none; }
  .hp-buyer-app { min-height: 260px; padding: 12px; }
  .hp-buyer-app img { height: 240px; }
  .hp-buyer-details .hp-buyer-items { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 425px) {
  .hp-buyer-estimate { border-radius: 20px; }
  .hp-buyer-total .hp-button { width: 100%; }
  .hp-buyer-intro .hp-button { min-width: 0; }
}
