/* /pricing: four plans, a calculator, what every plan includes, a short FAQ */
.pr { padding-top: 60px; }
.pr h1 { margin: 0 0 12px; font-size: clamp(44px, 6vw, 84px); font-weight: 800; font-stretch: 125%; letter-spacing: -.045em; line-height: .95; text-transform: lowercase; }
.pr h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; font-stretch: 120%; letter-spacing: -.035em; line-height: 1; text-transform: lowercase; }
.pr-head { padding: 64px 0 34px; }
.pr-head .lead { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.45; color: var(--text-2); text-transform: lowercase; }
.pr-sec { padding: 0 0 72px; }
.pr-fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.pr-fine a { color: var(--text-2); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 22px 20px 18px; border-radius: 22px; background: var(--bg-1); border: 1px solid var(--line); }
.plan.hot { border-color: rgba(239, 106, 61, .6); background: linear-gradient(180deg, rgba(239, 106, 61, .09), rgba(239, 106, 61, 0) 60%), var(--bg-1); }
.plan.custom { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 60%), var(--bg-1); border-style: dashed; border-color: rgba(255, 255, 255, .18); }
.plan header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.plan h3 { margin: 0; font-size: 15px; font-weight: 700; font-stretch: 110%; color: var(--text); text-transform: lowercase; }
.plan .tag { height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; font-stretch: 106%; color: #1a0f0a; background: var(--safe); }
.plan .tag.dim { color: var(--text); background: rgba(255, 255, 255, .12); }
.plan-for { margin: 4px 0 18px; font-size: 13.5px; color: var(--text-3); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 46px; font-weight: 800; font-stretch: 118%; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; color: var(--text-3); }
.plan-credits { margin: 14px 0 0; font-size: 15px; color: var(--text-2); }
.plan-credits b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-buys { margin: 4px 0 18px; min-height: 20px; font-size: 13px; color: var(--text-3); }
.plan .btn { margin-top: auto; width: 100%; height: 46px; }
.plan .btn.accent { background: var(--safe); color: #170c08; border-color: transparent; }
.plan .btn.accent:hover { background: #ff7c4f; }
.plan-note { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--text-3); }
.plan .cu-range { width: 100%; margin: 14px 0 4px; }

/* the slider used by custom and the calculator */
.cu-range, .calc input[type=range] { height: 22px; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; --fill: 50%; }
.cu-range::-webkit-slider-runnable-track, .calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--text) var(--fill), rgba(255, 255, 255, .13) var(--fill)); }
.cu-range::-moz-range-track, .calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--text) var(--fill), rgba(255, 255, 255, .13) var(--fill)); }
.cu-range::-webkit-slider-thumb, .calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.cu-range::-moz-range-thumb, .calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }

/* not sure which? */
.calc { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center; padding: 28px; border-radius: 24px; background: var(--bg-1); border: 1px solid var(--line); }
.calc p { margin: 0; color: var(--text-3); font-size: 15px; }
.calc-r { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: 110px 1fr 46px 180px; align-items: center; gap: 14px; }
.calc-row label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.calc-row output { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-row select { height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); font: 600 13.5px 'Archivo', sans-serif; }
.calc-out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
#calc-total { font-size: 20px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
#calc-pick { flex: 1; font-size: 14px; color: var(--text-2); }
.calc-out .btn { height: 44px; }

/* every plan includes */
.inc { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inc li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
.inc b { font-size: 15px; font-weight: 700; font-stretch: 108%; text-transform: lowercase; }
.inc span { font-size: 13.5px; line-height: 1.45; color: var(--text-3); }

/* every model's price */
.all-prices { border-radius: 20px; border: 1px solid var(--line); padding: 0 22px; }
.all-prices summary { cursor: pointer; padding: 20px 0; font-size: 16px; font-weight: 700; font-stretch: 108%; list-style: none; display: flex; justify-content: space-between; }
.all-prices summary::-webkit-details-marker { display: none; }
.all-prices summary::after { content: '+'; color: var(--text-3); font-weight: 500; }
.all-prices[open] summary::after { content: '–'; }
.all-prices .costs { margin: 0 0 22px; }

@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr-head { padding: 40px 0 26px; }
  .plans, .inc { grid-template-columns: 1fr; }
  .calc { padding: 20px; }
  .calc-row { grid-template-columns: 1fr 40px; }
  .calc-row label { grid-column: 1 / -1; }
  .calc-row select { grid-column: 1 / -1; }
}
