/* ==========================================================================
   pricing.html — page-specific rules (tokens only, no new colours)
   ========================================================================== */

/* ---------- Plans: three bordered cards on the full canvas width ---------- */
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan .card__price { font-size: clamp(24px, 2.36vw, 34px); }      /* "Interchange++" must fit on one line */
.plan__from { display: block; margin-bottom: 8px; font-family: var(--font-body); font-size: 14px; line-height: 1; color: var(--ink-75); }
.card--dark .plan__from { color: var(--white-60); }
.plan .spec { border-top-color: var(--line); }
.plan .spec > dt, .plan .spec > dd { padding: 12px 0; font-size: 14px; }
.plan .spec > dd { color: var(--black); }
.plan.card--dark .spec > dd { color: var(--white); }
.plan__list { display: flex; flex-direction: column; gap: 12px; }
.plan__list .check-item { align-items: flex-start; font-size: 15px; }
.plan__list .icon--check { margin-top: 4px; }
.plan .card__foot { padding-top: 10px; }

/* ---------- Fee tables (dark band) ---------- */
.table--white .num { color: var(--white); }
.fees { min-width: 640px; }
.fees th, .fees td { width: 25%; }
.fees .small, .extra .small { display: block; margin-top: 6px; color: var(--white-50); }
.fees__from { display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white-50); }
.extra { min-width: 560px; }
.extra th:first-child, .extra td:first-child { width: 30%; }
.extra th:nth-child(2), .extra td:nth-child(2) { width: 22%; }

/* ---------- Calculator ---------- */
.calc__label { position: absolute; left: 10px; top: 14px; font-size: 12px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-75); pointer-events: none; }
.calc__label--static { position: static; pointer-events: auto; }
.calc__range-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.calc__value { display: block; font-family: var(--font-display); font-size: clamp(36px, 3.82vw, 55px); line-height: 1; white-space: nowrap; }
.calc__scale { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--ink-75); }
.calc__fields { align-items: end; }
.calc__input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.calc__input::-webkit-outer-spin-button, .calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__derived { position: relative; display: block; height: 66px; padding: 38px 10px 14px; border-bottom: 1px solid var(--black); font-size: 14px; line-height: 14px; }
.calc__hint { font-size: 20px; line-height: 1.3; max-width: 670px; }
.calc-table { min-width: 560px; }
.calc-table th:first-child, .calc-table td:first-child { width: 34%; }
.calc-table th, .calc-table td { width: 22%; }
.calc-table .is-total td { color: var(--black); font-weight: 700; }
.calc-table .is-total .num { font-size: 24px; }
.fees .num, .extra .num, .calc-table .num { white-space: nowrap; }
/* Totals in the stat cards: Monument is wide, so the number is smaller than the 55px default and never wraps */
.calc-stats .stat__num { font-size: clamp(32px, 3.06vw, 44px); white-space: nowrap; }

/* Range input: 1px track, square thumb (no radius, no shadow) */
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 1px; background: var(--black); border: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -10px; background: var(--black); border: 0; border-radius: 0; transition: transform var(--dur) var(--ease); }
.range::-moz-range-track { height: 1px; background: var(--black); border: 0; }
.range::-moz-range-thumb { width: 20px; height: 20px; background: var(--black); border: 0; border-radius: 0; }
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { transform: scale(1.2); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 1px solid var(--black); outline-offset: 4px; }
.range:focus-visible::-moz-range-thumb { outline: 1px solid var(--black); outline-offset: 4px; }

/* ---------- Volume discounts band ---------- */
.discounts__title { max-width: 1015px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan .card__price { font-size: clamp(26px, 3.4vw, 34px); }
  .calc__fields { row-gap: 32px; }
  .calc__hint { max-width: none; }
}

@media (max-width: 639px) {
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .plan .card__price { font-size: 26px; }
  .fees { min-width: 620px; }
  .fees th:first-child, .fees td:first-child { width: 31%; }
  .fees th:not(:first-child), .fees td:not(:first-child) { width: 23%; }
  .extra, .calc-table { min-width: 520px; }
  .fees .num, .extra .num, .calc-table .num { font-size: 16px; }
  .calc-table .is-total .num { font-size: 18px; }
  .calc__range-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .calc__value { font-size: 32px; }
  .calc__hint { font-size: 17px; }
}
