.pricing.frame {
  --pricing-gray: #e9e9e9;
  --pricing-ink: #141414;
  --pricing-muted: #4c4c4c;
  --pricing-rule: #c5c5c5;
  color: var(--pricing-ink);
  background: var(--pricing-gray);
  padding-block: clamp(42px, 5.2vw, 82px);
  border-radius: 0 0 clamp(32px, 4vw, 64px) 0;
}

.pricing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  grid-template-areas: "intro calculator" "rates calculator";
  gap: 28px clamp(44px, 6vw, 98px);
  padding-inline: clamp(30px, 4.7vw, 76px);
  align-items: start;
}

.price-intro { grid-area: intro; }
.price-intro h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 3.85vw, 4.3rem);
  line-height: .99;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.price-intro h2 em { font: inherit; }
.price-intro p, .price-note, .terms p {
  color: var(--pricing-muted);
  line-height: 1.48;
}
.price-intro p { max-width: 48ch; }
.price-table { grid-area: rates; }
.price-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}
.price-table caption {
  margin: 0 0 10px;
  text-align: start;
  font-size: 1.18rem;
  font-weight: 600;
}
.price-table thead th {
  color: var(--pricing-muted);
  border-bottom: 1px solid #9b9b9b;
  font-size: .875rem;
  font-weight: 400;
}
.price-table th, .price-table td {
  padding: 9px 12px;
  text-align: start;
}
.price-table thead th { padding-block: 4px 7px; }
.price-table tbody tr { border-bottom: 1px solid var(--pricing-rule); }
.price-table tbody th { font-weight: 400; }
.price-table td, .price-table th:last-child {
  text-align: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table td { font-size: 1.08rem; font-weight: 600; }
.price-table tr.current {
  background: #fff;
  box-shadow: inset 3px 0 var(--pricing-ink);
}
.price-table tr.current th { font-weight: 600; }
.price-note, .terms p { font-size: .92rem; }
.price-note { margin: 11px 0 16px; }
.terms { border-top: 1px solid var(--pricing-rule); }
.terms summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: '+'; font-size: 1.1rem; font-weight: 400; }
.terms[open] summary::after { content: '−'; }
.terms p { padding-bottom: 8px; }

.estimate-card {
  grid-area: calculator;
  align-self: center;
  min-width: 0;
  width: 100%;
  border-radius: 0 0 32px 0;
  overflow: hidden;
  background: white;
}
.estimate-controls, .estimate-result { padding: clamp(24px, 2.7vw, 42px); }
.estimate-controls h3 {
  margin: 0 0 26px;
  font-size: clamp(1.35rem, 1.75vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.estimate-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.estimate-field label { font-weight: 600; }
.estimate-field small {
  display: block;
  color: var(--pricing-muted);
  font-size: .875rem;
  line-height: 1.32;
  margin-top: 3px;
}
.estimate-card input, .estimate-card button {
  font: inherit;
  color: var(--pricing-ink);
}
.estimate-card input[type=number] {
  min-width: 0;
  appearance: textfield;
  -moz-appearance: textfield;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.estimate-card input::-webkit-inner-spin-button,
.estimate-card input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.estimate-card :is(input,button):focus-visible,
.terms summary:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}
#parcels {
  width: 5.5rem;
  height: 44px;
  padding: 0 6px;
  border: 1px solid #929292;
  border-radius: 0;
  background: #fff;
}
#volume {
  display: block;
  width: 100%;
  height: 36px;
  margin: 10px 0 0;
  appearance: none;
  background: transparent;
  color: var(--pricing-ink);
  cursor: pointer;
}
#volume::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, currentColor var(--fill, 25%), #d5d5d5 var(--fill, 25%));
}
#volume::-webkit-slider-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  margin-top: -8px;
  background: var(--pricing-ink);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--pricing-ink);
}
#volume::-moz-range-track { height: 4px; background: #d5d5d5; }
#volume::-moz-range-progress { height: 4px; background: var(--pricing-ink); }
#volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--pricing-ink);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--pricing-ink);
}
.range-ends {
  display: flex;
  justify-content: space-between;
  color: var(--pricing-muted);
  font-size: .85rem;
  line-height: 1.2;
}
.storage-field {
  border-top: 1px solid #d9d9d9;
  margin-top: 22px;
  padding-top: 22px;
}
.rack-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #929292;
}
.rack-stepper button, .rack-stepper input {
  height: 42px;
  border: 0;
  padding: 0;
  background: #fff;
}
.rack-stepper button {
  width: 39px;
  font-size: 1.12rem;
  cursor: pointer;
}
.rack-stepper button:hover:enabled { background: #e8e8e8; }
.rack-stepper button:disabled { color: #888; cursor: default; }
.rack-stepper input { width: 3.1rem; }
.estimate-result {
  color: white;
  background: var(--pricing-ink);
}
.estimate-caption, #breakdown { font-size: .96rem; line-height: 1.45; color: #e5e5e5; }
#total {
  display: block;
  margin: 5px 0 12px;
  font-size: clamp(3.25rem, 4.6vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#total.text-output { font-size: clamp(1.85rem, 3vw, 2.9rem); }
#breakdown { margin: 0; }

@media (max-width: 900px) {
  .pricing-inner { gap: 22px 28px; padding-inline: 26px; }
  .estimate-controls, .estimate-result { padding: 24px; }
}
@media (max-width: 760px) {
  .pricing-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "calculator" "rates";
    gap: 24px;
    padding-inline: clamp(16px, 4.5vw, 32px);
  }
  .price-intro h2 { margin: 14px 0; }
  .estimate-controls, .estimate-result { padding: clamp(18px, 4.7vw, 32px); }
  .estimate-controls h3 { margin-bottom: 20px; }
  .estimate-card { border-bottom-right-radius: 24px; }
  .storage-field { gap: 10px; }
  .rack-stepper button { width: 36px; }
  .rack-stepper input { width: 2.55rem; }
}
@media (forced-colors: active) {
  #volume { appearance: auto; }
  .price-table tr.current th { border-left: 3px solid Highlight; }
}
