/* =========================================================
   Pricing page: layered on the existing design tokens.
   No new fonts, no new accent colors, no new card style.
   ========================================================= */

/* ---- Hero ---- */
.price-hero { padding: 72px 0 40px; }
.price-hero .eyebrow { margin-bottom: 22px; }
.price-hero h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.03em; }
.price-hero__deck { margin-top: 22px; font-size: 19px; color: var(--on-surface-soft); max-width: 620px; }
.price-hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Estimate disclaimer: visible, not suppressed */
.estimate-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 30px; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; color: var(--on-surface-soft); max-width: 640px;
}
.estimate-note svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.estimate-note strong { color: var(--on-surface); }

/* ---- Ladder price additions (reuses .ladder from styles.css) ---- */
.ladder__price {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--on-surface); letter-spacing: -0.01em;
}
.ladder__note {
  margin-top: 12px; font-size: 13.5px; color: var(--gold);
  display: inline-flex; align-items: center; gap: 7px;
}
.ladder__audit { margin-top: 12px; font-size: 14px; color: var(--on-surface-soft); }
.ladder__audit strong { color: var(--on-surface); }
.ladder-close {
  max-width: 780px; margin: 36px auto 0; text-align: center;
  font-size: 18px; color: var(--on-surface-soft);
}
.ladder-close strong { color: var(--on-surface); }

/* =========================================================
   Calculator (signature element)
   ========================================================= */
.calc {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}

/* Inputs column */
.calc__inputs { display: grid; gap: 20px; }
.calc-field { display: grid; gap: 9px; }
.calc-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-field__label { font-size: 14.5px; color: var(--on-surface-soft); }
.calc-field__val {
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--on-surface);
  letter-spacing: -0.01em;
}

/* Range slider */
.calc-range { position: relative; }
input[type="range"].slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--hairline); outline: none; margin: 6px 0;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 2px 8px -1px rgba(0,0,0,0.4);
  cursor: pointer; transition: transform 0.15s;
}
input[type="range"].slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  border: 3px solid var(--surface); cursor: pointer;
}
input[type="range"].slider:hover::-webkit-slider-thumb { transform: scale(1.08); }
input[type="range"].slider:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="range"].slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--accent-soft); }

/* Direct-entry number input */
.calc-num {
  width: 84px; text-align: right; font-family: var(--font-mono); font-size: 13px;
  color: var(--on-surface); background: var(--surface-2); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 6px 8px;
}
.calc-num:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.calc-field__entry { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--on-surface-mute); }

/* Select */
.calc-select {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--on-surface);
  background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 11px 12px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8aa3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.calc-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Outputs column */
.calc__outputs { display: grid; gap: 20px; }
.calc-headline {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--on-surface);
}
.calc-headline strong { color: var(--gold); }
.calc-subline { font-size: 15px; color: var(--on-surface-soft); margin-top: -6px; }
.calc-subline strong { color: var(--on-surface); }

/* Cost table */
.calc-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-table__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--line); }
.calc-table__row:first-child { border-top: 0; }
.calc-table__row > * { padding: 12px 14px; }
.calc-table__head { background: var(--surface-2); }
.calc-table__head span { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--on-surface-mute); }
.calc-table__head .col-rent { color: var(--on-surface-soft); }
.calc-table__head .col-own { color: var(--accent); }
.calc-table__k { font-size: 13.5px; color: var(--on-surface-soft); align-self: center; }
.calc-table__v { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--on-surface); align-self: center; }
.calc-table__v small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--on-surface-mute); margin-top: 2px; }
.calc-table__row--key { background: var(--gold-soft); }
.calc-table__row--key .calc-table__v { color: var(--on-surface); }
.calc-table__row--key .calc-table__k { color: var(--on-surface); font-weight: 500; }
.calc-table__own { color: var(--accent); }

/* Chart */
.calc-chart { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 6px; background: var(--surface); }
.calc-chart svg { width: 100%; height: auto; display: block; }
.chart-axis { stroke: var(--line-strong); stroke-width: 1; }
.chart-own { stroke: var(--gold); stroke-width: 2.5; }
.chart-rent { stroke: var(--accent); stroke-width: 2.5; }
.chart-guide { stroke: var(--on-surface-mute); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.7; }
.chart-dot { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.chart-mark { fill: var(--on-surface); font-family: var(--font-mono); font-size: 15px; font-weight: 500; }
.chart-lbl { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.chart-lbl--rent { fill: var(--accent); }
.chart-lbl--own { fill: var(--gold); }
.chart-tick { fill: var(--on-surface-mute); font-family: var(--font-mono); font-size: 13px; }

/* Copy button */
.calc-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc-copy {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px;
  padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent);
  transition: background 0.2s, transform 0.2s;
}
.calc-copy:hover { transform: translateY(-2px); }
.calc-copy.is-copied { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }
.calc-copy svg { flex-shrink: 0; }
.calc-hint { font-size: 13px; color: var(--on-surface-mute); }

.calc-foot { max-width: 820px; margin: 24px auto 0; text-align: center; font-size: 13.5px; color: var(--on-surface-mute); }

/* =========================================================
   What's NOT in the price
   ========================================================= */
.exclude-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.exclude-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.exclude-item__mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  color: var(--on-surface-mute); background: var(--surface-2); border: 1px solid var(--hairline);
}
.exclude-item__mark::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.exclude-item h3 { font-size: 17px; margin-bottom: 6px; }
.exclude-item p { font-size: 14.5px; color: var(--on-surface-soft); }

/* =========================================================
   Support retainer tiers
   ========================================================= */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-soft);
}
.tier--featured { border-color: var(--gold); box-shadow: 0 20px 50px -28px rgba(226, 180, 90, 0.4); position: relative; }
.tier__badge {
  position: absolute; top: -11px; left: 28px; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: #2a1d05; background: var(--gold);
  padding: 4px 10px; border-radius: 999px;
}
.tier__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.tier__price { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: var(--on-surface); }
.tier__price span { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--on-surface-mute); }
.tier__desc { margin-top: 10px; font-size: 14.5px; color: var(--on-surface-soft); }
.tier__for { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--on-surface-mute); font-style: italic; }

/* =========================================================
   Consortium block
   ========================================================= */
.consortium {
  max-width: 820px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 40px;
  background: linear-gradient(120deg, var(--accent-soft), transparent);
}
.consortium p { font-size: 17px; color: var(--on-surface-soft); margin-top: 14px; }
.consortium p + p { margin-top: 14px; }
.consortium .btn { margin-top: 26px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; gap: 28px; }
  .tiers { grid-template-columns: 1fr; }
  .exclude-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .calc { padding: 20px; }
  .calc-table__row { grid-template-columns: 1fr; }
  .calc-table__head { display: none; }
  .calc-table__v::before { content: attr(data-col) " "; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--on-surface-mute); display: inline-block; margin-right: 6px; }
  .calc-field__val { font-size: 16px; }
  .calc-num { width: 72px; }
  .ladder__price { font-size: 15px; overflow-wrap: anywhere; }
  .consortium { padding: 26px; }
}
