/* Price calculator, home pricing section. Flat surfaces, 2px corners, Plex 400/600, site tokens. */
.price-calc{margin:36px 0 44px;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);border:1px solid var(--rule);border-top:3px solid var(--action);background:var(--surface);font-variant-numeric:tabular-nums}
.price-calc[hidden]{display:none}
.price-calc form{padding:30px 32px 32px;display:grid;gap:26px;align-content:start}
.price-calc h3{font-size:26px;line-height:1.2;margin:0}
.price-calc fieldset{border:0;margin:0;padding:0;min-width:0}
.price-calc legend,.pc-label{display:block;padding:0;margin:0 0 10px;font-size:15px;font-weight:600;color:var(--ink)}
.pc-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:0;border:1px solid var(--ink);border-radius:2px}
.pc-seg label{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:60px;padding:10px 14px;cursor:pointer;border-left:1px solid var(--ink);line-height:1.3}
.pc-seg label:first-child{border-left:0}
.pc-seg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.pc-seg b{font-weight:600;font-size:16px}
.pc-seg small{font-size:13px;color:var(--muted)}
.pc-seg label:hover{background:var(--page)}
.pc-seg label:has(input:checked){background:var(--action);color:#fff}
.pc-seg label:has(input:checked) small{color:var(--inverse)}
.pc-seg label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px;z-index:1}
.pc-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:26px 32px;align-items:start}
.pc-stepper{display:inline-grid;grid-template-columns:48px 72px 48px;border:1px solid var(--ink);border-radius:2px}
.pc-stepper button{display:grid;place-items:center;height:48px;border:0;background:var(--surface);color:var(--ink);cursor:pointer;padding:0}
.pc-stepper button:hover:not(:disabled){background:var(--page)}
.pc-stepper button:disabled{color:var(--rule);cursor:default}
.pc-stepper svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}
.pc-stepper input{width:100%;height:48px;border:0;border-left:1px solid var(--ink);border-right:1px solid var(--ink);border-radius:0;background:var(--surface);color:var(--ink);font:inherit;font-size:20px;font-weight:600;text-align:center;-moz-appearance:textfield;appearance:textfield;caret-color:var(--action)}
.pc-stepper input::-webkit-outer-spin-button,.pc-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pc-stepper input:disabled{color:var(--muted);background:var(--page)}
.pc-stepper button:focus-visible,.pc-stepper input:focus-visible{outline:3px solid var(--focus);outline-offset:2px;position:relative;z-index:1}
.pc-check{display:flex;align-items:flex-start;gap:12px;min-height:48px;cursor:pointer;line-height:1.4}
.pc-check input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--action);cursor:pointer}
.pc-check b{font-weight:600;display:block}
.pc-check small{font-size:14px;color:var(--muted)}
.pc-result{background:var(--ink);color:#fff;padding:30px 32px 32px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.pc-result ::selection{background:var(--accent);color:var(--ink)}
.pc-result p{margin:0}
.pc-plan{font-weight:600;font-size:17px;line-height:1.35;color:var(--inverse)}
.pc-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;line-height:1}
.pc-amount{font-size:clamp(40px,4.6vw,58px);font-weight:600;letter-spacing:-.03em;color:var(--accent)}
.pc-per{font-size:17px;color:var(--inverse)}
.pc-equiv,.pc-other{font-size:16px;line-height:1.5;color:var(--inverse);max-width:42ch}
.pc-lines{list-style:none;margin:4px 0 0;padding:0;width:100%;border-top:1px solid var(--on-ink-rule)}
.pc-lines li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--on-ink-rule);font-size:15px;line-height:1.4}
.pc-lines b{font-weight:600;white-space:nowrap}
.pc-other{padding-top:2px}
.pc-result .button{margin-top:auto}
.pc-result :focus-visible{outline-color:#fff}
.pc-result .pc-link{color:#fff;font-weight:600;text-underline-offset:4px}
@keyframes pc-tick{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.pc-amount.pc-tick{animation:pc-tick .28s cubic-bezier(.16,1,.3,1)}}
@media(max-width:900px){.price-calc{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .price-calc{margin:28px 0 36px}
  .price-calc form,.pc-result{padding:22px 18px 24px}
  .price-calc form{gap:22px}
  .pc-row{grid-template-columns:minmax(0,1fr);gap:22px}
  .pc-seg label{padding:9px 10px;min-height:58px}
  .pc-seg b{font-size:15px}
  .pc-seg small{font-size:12px}
  .pc-result .button{width:100%}
}
.pc-seg label,.pc-stepper button,.pc-stepper input,.pc-check input{margin:0;box-sizing:border-box}
.pc-seg,.pc-stepper{line-height:1.3}
.pc-stepper{vertical-align:top}
