/* Pricing page: the 3D checkout stage, the plan sheet, the calculator. */

/* ---------------------------------------------------------------- hero */
.pr-hero .phero__grid { align-items: start; }
.pr-hero .phero__copy { padding-top: clamp(0rem, 4vh, 3rem); }
.pr-facts { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.5rem; color: var(--on-ink-soft); font-size: 0.98rem; }
.pr-facts li { display: flex; gap: 0.6rem; align-items: center; }
.pr-facts svg { width: 1.05rem; height: 1.05rem; color: var(--cobalt-light); flex: none; }

.stage { display: grid; gap: 0.9rem; justify-items: center; min-width: 0; }
.stage__h { margin: 0; font-size: 1rem; font-weight: 600; color: var(--on-ink-soft); text-align: center; }
.t3d { position: relative; width: 100%; height: clamp(26rem, 68vh, 42rem); display: grid; place-items: center; }
.t3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: grab; }
.t3d.is-drag .t3d__canvas { cursor: grabbing; }
.t3d__glow { position: absolute; z-index: 0; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 69, 232, 0.4), rgba(43, 69, 232, 0)); pointer-events: none; }
.t3d__fallback { position: relative; z-index: 1; width: min(18rem, 86%); }
.t3d.is-3d .t3d__fallback { display: none; }
.stage__ctl { display: grid; gap: 0.6rem; justify-items: center; }
.stage__cap { margin: 0; max-width: 34rem; text-align: center; color: var(--on-ink-soft); font-size: 1rem; line-height: 1.5; min-height: 3em; }
.stage__cap b { color: var(--on-ink); font-weight: 650; }
.stage__hint { margin: -0.4rem 0 0; font-size: 0.84rem; color: var(--on-ink-soft); opacity: 0.8; }
.t3d:not(.is-3d) ~ .stage__hint { display: none; }

/* ---------------------------------------------------------- plan sheet */
.plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vh, 3rem); }
.plans-head .sec-head { margin-bottom: 0; }
.vol-pick { display: grid; gap: 0.5rem; }
.vol-pick__l { font-size: 0.92rem; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--e2); }
.plan { grid-row: span 6; display: grid; grid-template-rows: subgrid; gap: 0; padding: clamp(1.3rem, 2.4vw, 2rem); min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan:target { background: #F7F8FF; }
.plan__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.plan__name { margin: 0; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.025em; }
.plan__badge { padding: 0.32rem 0.6rem; border-radius: 999px; background: #EEF0FF; color: var(--cobalt-deep); font-size: 0.8rem; font-weight: 650; }
.plan__price { margin: 1.1rem 0 0; display: grid; gap: 0.2rem; align-content: start; }
.plan__price b { font-size: clamp(2.6rem, 2rem + 1.6vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.plan__price span { color: var(--text-soft); font-size: 0.98rem; }
.plan__line { margin: 1rem 0 0; color: var(--text); line-height: 1.5; }
.plan__terms { margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.plan__terms div { display: grid; gap: 0.15rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.plan__terms dt { font-size: 0.86rem; color: var(--text-soft); }
.plan__terms dd { margin: 0; font-weight: 600; line-height: 1.35; }
.plan__fit { margin: 1rem 0 0; font-size: 0.95rem; color: var(--text-soft); line-height: 1.5; }
.plan__act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.4rem; align-self: end; }
.plan__act .link { font-size: 0.95rem; }
[data-tier-fee] { transition: color 200ms; }
.is-flash [data-tier-fee] { color: var(--cobalt); }

.included { margin-top: clamp(2rem, 5vh, 3rem); display: grid; gap: 1rem; }
.ticks--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem 2rem; }
.tiers { margin-top: clamp(2.5rem, 6vh, 3.5rem); display: grid; gap: 1rem; }
.table--tiers { min-width: 34rem; }

@media (max-width: 960px) {
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; border: 0; box-shadow: none; background: none; gap: 1rem; }
  .plan { grid-row: auto; grid-template-rows: none; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--e1); }
  .plan + .plan { border-left: 1px solid var(--line); }
  .ticks--cols { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ calculator */
.calc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.calc__in { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.cf { display: grid; gap: 0.55rem; min-width: 0; }
.cf > label, .cf__l { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; font-weight: 600; }
.cf output { color: var(--cobalt); }
.cf__help, .cf__note { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-soft); }
.cf__note { padding-top: 1rem; border-top: 1px solid var(--line); }
.cf-row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1rem 1.25rem; }
.nbox { display: flex; align-items: center; gap: 0.35rem; padding: 0 0.9rem; border-radius: 10px; border: 1px solid #D3D7DE; background: var(--paper); transition: border-color 140ms var(--ease), box-shadow 140ms; }
.nbox:hover { border-color: #B9BFCA; }
.nbox:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(43, 69, 232, 0.18); }
.nbox span { color: var(--text-soft); font-weight: 500; }
.nbox input { flex: 1 1 0%; width: 100%; min-width: 0; padding: 0.8rem 0; border: 0; background: transparent; color: var(--text); font: 600 1.15rem/1.2 var(--font); outline: none; -moz-appearance: textfield; }
.nbox input::-webkit-outer-spin-button, .nbox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nbox--big input { font-size: 1.55rem; letter-spacing: -0.02em; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; --fill: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cobalt) 0 var(--fill), #D9DCE2 var(--fill) 100%); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: #D9DCE2; }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--cobalt); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: 0 2px 6px rgba(12, 15, 21, 0.2); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); }
.range:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }

.calc__out { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--hud) + 1.5rem); }
.chart { position: relative; margin: 0; display: grid; gap: 1.1rem; padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; }
.chart__t { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
.chart__s { font-size: 0.9rem; color: var(--text-soft); }
.bars2 { display: grid; gap: 0.35rem; }
.brow { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); align-items: center; gap: 0.25rem 1rem; padding: 0.6rem 0.5rem; margin: 0 -0.5rem; border-radius: 10px; cursor: default; }
.brow:hover, .brow:focus-visible { background: var(--mist); }
.brow__l { font-weight: 600; font-size: 0.98rem; }
.brow__l small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--text-soft); }
.brow__track { position: relative; display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.brow__bar { height: 16px; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--cobalt); transition: width 380ms var(--ease); }
.brow--now .brow__bar { background: var(--neutral-bar); }
.brow__v { font-weight: 650; white-space: nowrap; font-size: 0.98rem; }
.brow__x { grid-column: 2; font-size: 0.82rem; color: var(--text-soft); line-height: 1.35; }
.chart__tip { position: absolute; z-index: 5; min-width: 13rem; padding: 0.75rem 0.9rem; border-radius: 10px; background: var(--ink); color: var(--on-ink); font-size: 0.86rem; line-height: 1.45; box-shadow: var(--e3); pointer-events: none; }
.chart__tip b { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }
.chart__tip p { margin: 0; display: flex; justify-content: space-between; gap: 1rem; }
.chart__tip p span:first-child { color: var(--on-ink-soft); }
.table--calc { min-width: 40rem; font-size: 0.92rem; }
.table--calc td { }
.verdict { display: grid; gap: 0.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--ink); color: var(--on-ink); }
.verdict p { margin: 0; line-height: 1.5; color: var(--on-ink-soft); }
.verdict p:first-child { color: var(--on-ink); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.verdict b { color: #fff; }
.calc__foot { display: grid; gap: 0.8rem; }
.calc__foot .btn { justify-self: start; }
@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__out { position: static; }
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: minmax(0, 1fr); }
  .brow { grid-template-columns: minmax(0, 1fr); }
  .brow__x { grid-column: 1; }
}

/* --------------------------------------------------------- never / rules */
.struck { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; align-content: start; }
.struck li { padding: 0.85rem 0; border-bottom: 1px solid var(--ink-line); font-size: 1.08rem; color: var(--on-ink-soft); text-decoration: line-through; text-decoration-color: var(--cut); text-decoration-thickness: 1.5px; }
.rules { display: grid; gap: 1.6rem; }
.rule-item { display: grid; gap: 0.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.rule-item .body { max-width: 60ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .struck { grid-template-columns: minmax(0, 1fr); }
}
