/* Ціни сайту Verstat CRM у мові нової стартової (26.11) — розмітку малює crm-prices.js у [data-price-slot]. Самодостатній модуль: класи .cp-*,
   кольори — лише токени словника --rf-* (rf-tokens.css; --rf-org-grad/--rf-on-or/--rf-focus — кандидати з crm-home.css,
   з запасним значенням на токенах), шрифти Inter / Inter Tight, радіуси словника (24 картка, 18 колодязь, 16 рядок, 999 таблетка).
   Сітка планів CRM: усі в ряд від 1100 (--cp-n — число планів, ставить crm-prices.js; розраховано на 3–5), 2×2 на планшеті, стовпчиком на телефоні; рядки карток вирівняні через subgrid. */

.cp { --cp-price: clamp(36px, 2.4vw + 18px, 52px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px);
  color: var(--rf-tx); font-family: 'Inter Variable', system-ui, sans-serif; }
.cp b { font-weight: 600; }
.cp-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-h3 { margin: 0; font: 600 clamp(24px, 2.2vw, 32px)/1.1 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.035em; }
.cp-fine { margin: 0; color: var(--rf-tx2); font-size: 13.5px; line-height: 1.5; }
.cp-fine a { color: var(--rf-tx); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cp-plan.is-short .cp-who { min-height: 0; }
.cp-short .cp-big-s { display: none; }
.cp-neutral { margin: 0; color: var(--rf-tx2); font-size: 16px; line-height: 1.55; }
.cp a:focus-visible, .cp input:focus-visible, .cp select:focus-visible, .cp summary:focus-visible { outline: none; box-shadow: var(--rf-focus, 0 0 0 3px var(--rf-orh)); }

/* ── принцип і оплата ── */
.cp-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.cp-principle { margin: 0; font: 500 clamp(19px, 1.5vw, 23px)/1.35 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.cp-pay { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; color: var(--rf-tx2); font-size: 14px; }
.cp-pay span:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--rf-tx3); }

/* ── картки тарифів ── */
.cp-grid { display: grid; grid-template-columns: repeat(var(--cp-n, 4), minmax(0, 1fr)); gap: 12px; }
.cp-plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; min-width: 0; padding: 24px;
  background: var(--rf-card); border: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--rf-bd); cursor: pointer;
  transition: box-shadow .18s, transform .18s; }
/* вибір: обрана (рекомендована) і та, на яку навели, - помаранчева рамка; поки наводять на іншу, рекомендована стає звичайною */
.cp-plan.is-rec, .cp-plan:hover, .cp-plan:focus-within { box-shadow: inset 0 0 0 2px var(--rf-or), 0 24px 48px -28px var(--rf-or); }
.cp-plan:hover, .cp-plan:focus-within { transform: translateY(-2px); }
.cp-grid:has(.cp-plan:hover) .cp-plan.is-rec:not(:hover):not(:focus-within) { box-shadow: inset 0 0 0 1px var(--rf-bd); }
.cp-plan:hover .cp-go, .cp-plan:focus-within .cp-go, .cp-plan.is-rec .cp-go { background: var(--rf-ink); box-shadow: none; color: var(--rf-inktx); }
.cp-grid:has(.cp-plan:hover) .cp-plan.is-rec:not(:hover) .cp-go { background: var(--rf-card); box-shadow: inset 0 0 0 1px var(--rf-bd), var(--rf-sh); color: var(--rf-tx); }
/* уся картка - посилання «Обрати»: ::after кнопки на всю картку; підказка «?» - над ним */
.cp-go::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
/* filter і transform на самій кнопці робили б її рамкою для ::after - «розтягнуте» посилання стискалося до кнопки при наведенні */
.cp-plan .cp-go:hover, .cp-plan .cp-go:active { filter: none; transform: none; }
.cp-plan .cp-go:focus-visible { box-shadow: none; }
.cp-add { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--rf-tx2); font-size: 13.5px; line-height: 1.35; }
.cp-add i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 999px;
  background: var(--rf-well); color: var(--rf-tx2); font-style: normal; font-weight: 600; font-size: 13px; }
.cp-add.is-on { color: var(--rf-tx); font-weight: 500; }
.cp-add.is-on i { background: var(--rf-orh); color: var(--rf-tx); }
/* докупки й сервіс плану (власник 30.11) - одна комірка останнього рядка картки */
.cp-foot { display: flex; flex-direction: column; gap: 8px; }
/* підказка замість зноски */
.cp-tip { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 2px;
  padding: 0; border: 0; border-radius: 999px; background: var(--rf-card); box-shadow: inset 0 0 0 1px var(--rf-bd); color: var(--rf-tx2);
  font: 600 11px/1 'Inter Variable', sans-serif; vertical-align: 1px; cursor: help; }
.cp-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 3; width: max-content; max-width: 240px; padding: 9px 12px;
  border-radius: 12px; background: var(--rf-ink); color: var(--rf-inktx); box-shadow: var(--rf-pop); font: 400 13px/1.4 'Inter Variable', sans-serif;
  text-align: left; white-space: normal; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.cp-tip:hover::after, .cp-tip:focus-visible::after, .cp-tip.is-open::after { opacity: 1; visibility: visible; }
.cp-pt { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.cp-pn { margin: 0; font: 600 22px/1.2 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.01em; }
/* «Рекомендуємо» - ярлик на верхній рамці картки: не тисне назву й кнопку у вузькій колонці */
.cp-plan .cp-badge { position: absolute; top: -13px; left: 20px; }
.cp-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--rf-orh);
  color: var(--rf-tx); font-size: 12.5px; font-weight: 700; white-space: nowrap; } /* темний текст на світло-оранжевому — AA */
.cp-who { margin: 0; color: var(--rf-tx2); font-size: 14.5px; line-height: 1.45; }
.cp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 4px 0 0; }
.cp-price b { font: 600 var(--cp-price)/1 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cp-price span { color: var(--rf-tx3); font-size: 14px; }
/* «на місяць» - завжди рядком під ціною: $109 і $249 у вузькій колонці не вміщали його поруч, картки були різні (лід 30.11) */
.cp-plan .cp-price span { flex-basis: 100%; }
.cp-price .cp-per { flex-basis: 100%; color: var(--rf-tx2); font-size: 13.5px; font-variant-numeric: tabular-nums; } /* у тому ж рядку сітки картки (subgrid на 5 рядків) */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--rf-card); box-shadow: inset 0 0 0 1px var(--rf-bd), var(--rf-sh); color: var(--rf-tx); font: 500 14.5px/1.2 'Inter Variable', sans-serif;
  text-align: center; text-decoration: none; transition: filter .15s, transform .15s; }
.cp-btn:hover { filter: var(--rf-hov, brightness(.96)); }
.cp-btn:active { transform: translateY(1px); }
.cp-btn.is-or { background: var(--rf-or); box-shadow: none; color: var(--rf-inktx); font-weight: 600; }
.cp-btn.is-or:hover { filter: brightness(1.04); }
.cp-lim { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 6px 14px; border-radius: 18px; background: var(--rf-well); }
.cp-lim div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; }
.cp-lim div + div { border-top: 1px solid var(--rf-bd); }
.cp-lim dt { color: var(--rf-tx2); font-size: 14px; }
.cp-lim dd { margin: 0; font: 600 15.5px 'Inter Tight Variable', 'Inter Variable', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Trial і пакети сторінок / Cloud ── */
.cp-trial { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 24px; background: var(--rf-card); border: 1px solid var(--rf-bd); box-shadow: var(--rf-sh); }
.cp-trial .cp-h3 { font-size: clamp(19px, 1.5vw, 22px); }
.cp-trial p { margin: 0; color: var(--rf-tx2); font-size: 14.5px; line-height: 1.55; max-width: 860px; }
.cp-rules.cp-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-rules.cp-packs > article:nth-child(n):nth-last-child(n) { grid-column: auto; }

/* ── рахувалка ── */
.cp-calc { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--rf-card);
  border: 1px solid var(--rf-bd); box-shadow: inset 0 1px 0 var(--rf-hi), var(--rf-sh); }
.cp-calc-h { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.cp-calc-h p { margin: 0; color: var(--rf-tx2); font-size: 14.5px; line-height: 1.55; }
.cp-calc-b { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.cp-ctl { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cp-f { display: flex; flex-direction: column; gap: 6px; }
.cp-fl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.cp-fl label { font-weight: 500; }
.cp-fl span { color: var(--rf-tx3); font-size: 13px; white-space: nowrap; }
.cp-fc { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 14px; align-items: center; }
.cp-rw { position: relative; min-width: 0; padding-bottom: 22px; }
/* бігунок: доріжка заповнюється до повзунка (--p ставить crm-prices.js), повзунок - біле коло з помаранчевою рамкою */
.cp-fc input[type=range] { display: block; width: 100%; height: 44px; margin: 0; cursor: pointer; background: transparent; -webkit-appearance: none; appearance: none; }
.cp-fc input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--rf-or) var(--p, 0%), var(--rf-well) var(--p, 0%)); box-shadow: inset 0 0 0 1px var(--rf-bd); }
.cp-fc input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--rf-or) var(--p, 0%), var(--rf-well) var(--p, 0%)); box-shadow: inset 0 0 0 1px var(--rf-bd); }
.cp-fc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 999px; background: var(--rf-card); box-shadow: inset 0 0 0 3px var(--rf-or), var(--rf-pop); }
.cp-fc input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 999px; background: var(--rf-card); box-shadow: inset 0 0 0 3px var(--rf-or), var(--rf-pop); }
.cp-fc input[type=range]:focus-visible { box-shadow: none; }
.cp-fc input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: inset 0 0 0 3px var(--rf-or), var(--rf-focus, 0 0 0 3px var(--rf-orh)); }
/* позначки планів під бігунком і зона «Enterprise» правіше межі (позиції - від сходинок, у %) */
.cp-ticks { position: absolute; left: 13px; right: 13px; bottom: 0; height: 22px; font-size: 11.5px; color: var(--rf-tx2); font-variant-numeric: tabular-nums; }
.cp-ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.cp-ticks span::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 6px; background: var(--rf-tx3); }
.cp-zone { position: absolute; right: -13px; top: -16px; bottom: 0; padding: 18px 8px 0; border-radius: 0 10px 10px 0; font-style: normal; font-weight: 600; text-align: right;
  color: var(--rf-tx2); background: repeating-linear-gradient(135deg, transparent 0 5px, var(--rf-bd) 5px 7px); pointer-events: none; }
.cp-calc.is-ent .cp-zone { color: var(--rf-tx); }
.cp-num { width: 100%; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--rf-well); box-shadow: inset 0 0 0 1px var(--rf-bd);
  color: var(--rf-tx); font: 600 15px 'Inter Variable', sans-serif; font-variant-numeric: tabular-nums; text-align: right; -moz-appearance: textfield; }
.cp-num::-webkit-inner-spin-button, .cp-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cp-res { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; border-radius: 18px; background: var(--rf-well); min-width: 0; }
.cp-tot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.cp-tot b { font: 600 var(--cp-price)/1 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cp-tot span { color: var(--rf-tx2); font-size: 14px; }
.cp-lines { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.cp-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rf-bd); }
.cp-lines li span { color: var(--rf-tx2); min-width: 0; }
.cp-lines li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cp-lines li.is-ok span { color: var(--rf-ok); }
.cp-hint { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--rf-infob); color: var(--rf-tx); font-size: 14px; line-height: 1.5; }
.cp-hint a { color: var(--rf-info); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cp-rates { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.cp-rates li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 6px 0; }
.cp-rates li span { color: var(--rf-tx2); }
.cp-rates li b { font-variant-numeric: tabular-nums; text-align: right; }
.cp-rates li i { grid-column: 1 / -1; color: var(--rf-tx3); font-style: normal; font-size: 12.5px; }

/* липкий підсумок: лише коли рахувалка в одну колонку (підсумок під полями) — плашка внизу екрана в межах полів */
.cp-bar { display: none; }
@media (max-width: 899px) {
  .cp-bar { position: sticky; bottom: 10px; z-index: 2; display: flex; align-items: baseline; gap: 8px; min-height: 52px; margin: 4px 0 0; padding: 12px 18px;
    border-radius: 999px; background: var(--rf-ink); color: var(--rf-inktx); box-shadow: var(--rf-pop); }
  .cp-bar span:first-child { font-weight: 500; opacity: .75; }
  .cp-bar b { margin-left: auto; font: 500 22px/1 'Inter Tight Variable', 'Inter Variable', sans-serif; font-variant-numeric: tabular-nums; }
  .cp-bar span:last-child { font-size: 13px; opacity: .75; }
  .cp-f input { scroll-margin-bottom: 84px; } /* поле у фокусі не ховається під плашкою */
}

/* ── простими словами ── */
.cp-plain, .cp-plans { display: flex; flex-direction: column; gap: 12px; }
/* правила: сітка на 6 - три картки по 2, а коли їх п'ять, дві останні по 3 (ряд закритий, без порожнього місця) */
.cp-rules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cp-rules > article { grid-column: span 2; }
.cp-rules > article:nth-child(3n + 1):nth-last-child(2), .cp-rules > article:nth-child(3n + 2):last-child { grid-column: span 3; }
.cp-rules > article:nth-child(3n + 1):last-child { grid-column: 1 / -1; }
.cp-rules article { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; background: var(--rf-card); border: 1px solid var(--rf-bd); box-shadow: var(--rf-sh); }
.cp-rules h3 { margin: 0; font: 500 18px/1.25 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.01em; }
.cp-rules p { margin: 0; color: var(--rf-tx2); font-size: 14.5px; line-height: 1.55; }

/* ── більше — індивідуально: контрастна смуга на всю ширину (.rf-feat — тема-незалежна темна з оранжевим світлом) ── */
.cp-big { display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto; gap: 24px clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 3.4vw, 40px); border-radius: 24px; }
.cp-big h3 { margin: 0 0 8px; font: 500 clamp(22px, 2vw, 28px)/1.15 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.02em; }
.cp-big-t p, .cp-big-c span, .cp-big-s li { color: color-mix(in srgb, currentColor 78%, transparent); }
.cp-big-t p { margin: 0; font-size: 15px; line-height: 1.5; }
.cp-big-p { margin: 0; }
.cp-big-p b { font: 600 var(--cp-price)/1 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.035em; }
.cp-big .cp-btn.is-ghost { min-width: 190px; min-height: 52px; font-size: 16px; font-weight: 600; background: var(--rf-on-or, var(--rf-card)); box-shadow: 0 14px 30px -14px var(--rf-or); color: var(--rf-mark-bg, var(--rf-tx)); }
.cp-big-c { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.cp-big-c li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 4px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); font-size: 14.5px; line-height: 1.5; }
.cp-big-c li + li { padding-left: 20px; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.cp-big-c b { font-size: 15.5px; }
.cp-big-s { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.cp-big-s > p { margin: 0; font-weight: 600; font-size: 14px; }
.cp-big-s ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: cp; }
.cp-big-s li { counter-increment: cp; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; }
.cp-big-s li::before { content: counter(cp); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; opacity: 1; }

/* ── питання ── */
.cp-faq { display: flex; flex-direction: column; gap: 8px; }
.cp-faq .cp-h3 { margin-bottom: 8px; }
.cp-faq details { border-radius: 18px; background: var(--rf-card); border: 1px solid var(--rf-bd); }
.cp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; border-radius: 18px;
  font-weight: 500; font-size: 15.5px; line-height: 1.4; cursor: pointer; list-style: none; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary .cp-ic { color: var(--rf-tx3); transition: transform .2s; }
.cp-faq details[open] summary .cp-ic { transform: rotate(180deg); }
.cp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--rf-tx2); font-size: 15px; line-height: 1.6; max-width: 820px; }

/* ── адаптив ── */
@media (max-width: 1099px) {
  .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-plan:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cp-big { grid-template-columns: minmax(0, 1fr) auto; }
  .cp-big-t { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .cp-calc-b { grid-template-columns: minmax(0, 1fr); }
  .cp-rules, .cp-rules.cp-packs { grid-template-columns: minmax(0, 1fr); }
  .cp-rules > article:nth-child(n):nth-last-child(n) { grid-column: auto; }
  .cp-big-c, .cp-big-s ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cp-big-s ol { gap: 10px; }
  .cp-big-c li, .cp-big-c li + li { padding: 14px 0; border-left: 0; }
}
@media (max-width: 639px) {
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-plan:last-child:nth-child(odd) { grid-column: auto; }
  .cp-plan { padding: 20px 18px; }
  .cp-calc, .cp-res, .cp-trial { padding: 18px; }
  .cp-fc { grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
  .cp-big { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .cp-big .cp-btn.is-ghost { width: 100%; }
  .cp-faq summary { padding: 14px 16px; }
  .cp-faq details p { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-btn, }

/* ── без JS: статичні таблиці цін у слоті (будує tools/site-seo.mjs з DATA, звіряє тест site-prices.test.ts) ── */
.cp-static + .cp-static, .cp-static + .fine { margin-top: 16px; }
.cp-static { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 20px; background: var(--rf-card); border: 1px solid var(--rf-bd); font-size: 15px; }
.cp-static caption { padding: 0 0 10px; text-align: left; color: var(--rf-tx2); font-size: 14px; }
.cp-static th, .cp-static td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rf-bd); font-variant-numeric: tabular-nums; }
.cp-static thead th { color: var(--rf-tx2); font-size: 13px; font-weight: 600; background: var(--rf-well); }
.cp-static tbody tr:last-child > * { border-bottom: 0; }
.cp-static a { color: var(--rf-tx); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .cp-static th, .cp-static td { padding: 10px 8px; font-size: 13.5px; }
  .cp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .cp-scroll .cp-static td, .cp-scroll .cp-static th { white-space: nowrap; }
}
.cp-scroll + .cp-scroll, .cp-scroll + .fine { margin-top: 16px; }
/* головна на телефоні: картки тарифів — стрічкою зі scroll-snap (повна сітка — на сторінці «Ціни») */
@media (max-width: 639px) {
  .cp-short .cp-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; margin: 0 -16px; padding: 4px 16px 16px; scroll-padding: 0 16px; }
  .cp-short .cp-plan { scroll-snap-align: start; grid-column: auto !important; grid-row: auto; display: flex; flex-direction: column; gap: 14px; }
}

/* «Гортайте вбік» — лише коли картки справді в стрічці (телефон); на ширших екранах вони вміщаються */
.cp-swipe { display: none; }
@media (max-width: 639px) { .cp-short .cp-swipe { display: block; margin: 0; color: var(--rf-tx2); font-size: 13.5px; } }
.cp-all-rules { margin: 20px 0 0; }
.cp-all-rules a { color: var(--rf-tx); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rf-or); }

/* ── докупки чипами під картками (замість абзацу) ── */
.cp-xtra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 12px 12px 20px; border-radius: 24px; background: var(--rf-card); box-shadow: inset 0 0 0 1px var(--rf-bd); }
.cp-xtra-h { margin: 0; color: var(--rf-tx2); font-size: 14px; font-weight: 500; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--rf-well); font-size: 14px; }
.cp-chip span { color: var(--rf-tx2); }
.cp-chip b { font-variant-numeric: tabular-nums; }
.cp-pick { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 38px; padding: 0 6px 0 10px; border-radius: 999px; color: var(--rf-tx2); font-size: 14px; text-decoration: none; }
.cp-pick b { color: var(--rf-tx); }
.cp-pick .cp-ic { color: var(--rf-or); transition: transform .15s; }
.cp-pick:hover .cp-ic { transform: translateX(3px); }

/* ── лестниця пакетів: сходинки заповнюються до обраної, під ними - обсяг, ціна й ціна за одиницю ── */
.cp-lad { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-lad-h { padding: 0; font: 500 18px/1.25 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.01em; }
.cp-lad-n { margin: -4px 0 0; color: var(--rf-tx2); font-size: 14px; line-height: 1.5; }
.cp-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--rf-well); }
.cp-step { position: relative; display: flex; }
.cp-step input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cp-step span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 2px; border-radius: 999px; color: var(--rf-tx2);
  font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background .15s, color .15s; }
.cp-step:hover span { color: var(--rf-tx); background: var(--rf-card); }
.cp-step.is-fill span { background: var(--rf-orh); color: var(--rf-tx); }
.cp-step.is-on span { background: var(--rf-ink); color: var(--rf-inktx); font-weight: 600; box-shadow: var(--rf-sh); }
.cp-step input:focus-visible + span { box-shadow: var(--rf-focus, 0 0 0 3px var(--rf-orh)); }
.cp-lad-o { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 30px; margin: 2px 0 0; font-size: 14px; }
.cp-lad-o b { font: 600 22px/1.1 'Inter Tight Variable', 'Inter Variable', sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cp-lad-o span { font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-lad-o em { color: var(--rf-tx2); font-style: normal; font-variant-numeric: tabular-nums; }
.cp-lad-o a { color: var(--rf-tx); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rf-or); text-underline-offset: 3px; }
.cp-calc .cp-lad-h { font: 500 14px 'Inter Variable', sans-serif; letter-spacing: 0; }
.cp-calc .cp-lad-n { display: none; }
.cp-calc .cp-lad-o b { font-size: 17px; }
/* головна: дві лестниці поруч у білих картках */
.cp-packs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cp-pk { padding: 20px; border-radius: 24px; background: var(--rf-card); box-shadow: inset 0 0 0 1px var(--rf-bd); }
@media (max-width: 899px) { .cp-packs2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  /* телефон: сходинки двома рядами по 5, кожна ≥ 44 px під палець */
  .cp-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 22px; }
  .cp-step span { min-height: 44px; }
  .cp-xtra { padding: 14px; }
  .cp-pick { margin-left: 0; padding-left: 0; }
  /* вузький бігунок: лише риски планів, числа - у полі поруч (підписи наїжджали одне на одне) */
  .cp-ticks span { font-size: 0; }
  .cp-pk { padding: 18px; }
}
