/* ==========================================================================
   PRICING · V8, new design (16 Oct 2026)
   Kept clean: the plans, Enterprise, one plan finder, how conversations
   are counted, FAQ and the form.
   ========================================================================== */

/* --- Shared ------------------------------------------------------------------ */
.pr-head { max-width: 1040px; margin-inline: auto; text-align: center; }
.pr-head .lede { margin: 18px auto 0; max-width: 46em; text-wrap: pretty; }
.page-pr main .h2 { text-wrap: balance; }
[data-mascot] > svg, [data-pr-bot] > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pr-tick { list-style: none; }

/* ==========================================================================
   1 · HERO AND PLANS
   ========================================================================== */
.pr-hero { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); background: radial-gradient(50% 40% at 50% 0%, #EEF0FB 0%, transparent 70%), #fff; }
.pr-hero__title { font-size: 48px; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.pr-hero__lede { font: 500 clamp(17px, 1.4vw, 19px)/1.55 var(--font); color: var(--ink-2); }
.pr-bill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 40px; padding: 5px; border-radius: var(--r-pill); background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.pr-bill button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 30px; min-width: 150px; border: 0; border-radius: var(--r-pill); background: none; font: 700 15px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: color .3s; }
.pr-bill button[aria-pressed="true"] { color: #fff; }
.pr-bill button em { position: absolute; right: -18px; top: -16px; padding: 7px 11px; border-radius: var(--r-pill); background: linear-gradient(135deg, #22C08F, #14A578); font: 800 12.5px/1 var(--font); font-style: normal; letter-spacing: .01em; color: #fff; white-space: nowrap; box-shadow: 0 0 0 3px #fff, 0 10px 20px -8px rgba(20, 165, 120, .7); transform: rotate(4deg); animation: prTag 2.6s ease-in-out infinite; }
@keyframes prTag { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pr-bill button em { animation: none; } }
.pr-bill button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-bill__pill { position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--accent); box-shadow: 0 10px 22px -12px rgba(72, 87, 194, .8); transition: transform .45s var(--ease-soft); }
.pr-bill.is-a .pr-bill__pill { transform: translateX(100%); }
.pr-trust { list-style: none; margin: 26px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 500 14.5px/1.4 var(--font); color: var(--body); }
.pr-trust li { display: inline-block; }
.pr-trust li::before { content: ''; display: inline-block; vertical-align: -4px; margin-right: 8px; width: 18px; height: 18px; border-radius: 50%; background: #22C08F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.pr-trust b { color: var(--ink); }

/* --- the five plans --- */
.pr-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; margin-top: clamp(40px, 5vw, 60px); }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--card-shadow); }
.pr-card--hl { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -36px rgba(72, 87, 194, .55); }
.pr-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.pr-card__top h2 { margin: 0; font: 700 20px/1.2 var(--font); letter-spacing: -.01em; color: var(--ink); }
.pr-badge { padding: 5px 8px; border-radius: var(--r-pill); background: var(--accent-tint); font: 700 11px/1 var(--font); color: var(--accent-ink); white-space: nowrap; }
.pr-card--hl .pr-badge { background: var(--accent); color: #fff; }
.pr-card__who { min-height: 4.4em; margin: 8px 0 0; font: 400 14px/1.45 var(--font); color: var(--body); }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 14px; }
.pr-price b { font: 700 34px/1 var(--font); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-price small { font: 600 13px/1 var(--font); color: var(--muted); }
.pr-price__was { display: none; width: 100%; font: 600 13px/1 var(--font); color: var(--muted); }
.pr-price__yr { display: none; margin: 6px 0 0; font: 600 12.5px/1.35 var(--font); color: var(--green-ink); }
.page-pr.is-annual .pr-price__was, .page-pr.is-annual .pr-price__yr { display: block; }
.pr-card__cta { justify-content: center; width: 100%; margin-top: 16px; padding-inline: 10px; font-size: 14.5px; }
.pr-key { list-style: none; margin: 18px 0 0; padding: 16px 0 0; align-content: start; min-height: var(--keyh, 0px); display: grid; gap: 9px; border-top: 1px solid var(--line); }
.pr-key li, .pr-grp li { position: relative; padding-left: 24px; font: 500 13.5px/1.45 var(--font); color: var(--ink); }
.pr-key li::before, .pr-grp li::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%234857C2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.pr-over { margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--sand); font: 500 12.5px/1.35 var(--font); color: var(--body); }
.pr-over b { color: var(--ink); }
.pr-more { margin-top: 10px; }
.pr-more summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px; list-style: none; font: 700 13.5px/1.2 var(--font); color: var(--accent-ink); cursor: pointer; }
.pr-more summary::-webkit-details-marker { display: none; }
.pr-more summary span { position: relative; width: 14px; height: 14px; flex: none; }
.pr-more summary span::before, .pr-more summary span::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease-soft); }
.pr-more summary span::after { transform: rotate(90deg); }
.pr-more[open] summary span::after { transform: rotate(0); }
.pr-more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.pr-more__in { display: grid; gap: 14px; padding: 4px 0 6px; }
.pr-grp h3 { margin: 0 0 8px; font: 700 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pr-grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }

/* --- Enterprise --- */
.pr-ent { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 16px; padding: clamp(28px, 3.5vw, 40px); border-radius: 30px; background: radial-gradient(70% 90% at 0% 0%, #3B3484 0%, transparent 60%), linear-gradient(165deg, #24214A, #15142B); color: #fff; }
.pr-ent__copy { display: grid; justify-items: start; gap: 10px; }
.pr-ent__bot { display: block; width: 64px; height: 64px; }
.pr-ent h3 { margin: 0; font: 700 28px/1.15 var(--font); letter-spacing: -.02em; }
.pr-ent p { margin: 0; max-width: 28em; font: 500 16px/1.5 var(--font); color: var(--on-deep-2); }
.pr-ent__btn { margin-top: 10px; background: #fff; color: #2A2752; }
.pr-ent__btn:hover { background: #F1F2FF; color: #2A2752; }
.pr-ent__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.pr-ent__list li { position: relative; padding-left: 28px; font: 500 15px/1.45 var(--font); color: #fff; }
.pr-ent__list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(142, 155, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23C9CEFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.pr-fine { display: grid; gap: 6px; max-width: 900px; margin: 22px auto 0; text-align: center; font: 500 12.5px/1.5 var(--font); color: var(--muted); }
.pr-fine p { margin: 0; }

/* ==========================================================================
   2 · FIND YOUR PLAN
   ========================================================================== */
.pr-find { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: start; max-width: 1080px; margin: clamp(36px, 4.5vw, 56px) auto 0; }
.pr-find__in { display: grid; gap: 22px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: var(--card-shadow); }
.pr-field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pr-field > label, .pr-field legend { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; padding: 0; font: 700 15px/1.3 var(--font); color: var(--ink); }
.pr-field small { font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.pr-field--row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.pr-range { display: flex; align-items: center; gap: 14px; }
.pr-range input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); height: 28px; }
.pr-find input[type=number] { width: 110px; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); font: 700 15px/1 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-step { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 14px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.pr-step input[type=number] { width: 56px; text-align: center; box-shadow: none; background: transparent; }
.pr-step button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #fff; font: 700 18px/1 var(--font); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(23, 23, 43, .1); }
.pr-needs { grid-template-columns: 1fr 1fr; gap: 8px; }
.pr-needs legend { grid-column: 1 / -1; margin-bottom: 10px; }
.pr-needs label { position: relative; display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border-radius: 14px; background: var(--sand); font: 600 13.5px/1.35 var(--font); color: var(--ink-2); cursor: pointer; transition: background-color .25s, box-shadow .25s, color .25s; }
.pr-needs input, .pr-prem input { position: absolute; opacity: 0; pointer-events: none; }
.pr-needs label::before, .pr-prem::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px #C3C9F2; transition: background-color .25s, box-shadow .25s; }
.pr-needs label:has(input:checked) { background: var(--accent-tint); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.pr-needs label:has(input:checked)::before, .pr-prem:has(input:checked)::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; box-shadow: none; }
.pr-needs label:has(input:focus-visible), .pr-prem:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-voice { padding: 16px; border-radius: 18px; background: var(--accent-tint); }
.pr-voice[hidden] { display: none; }
.pr-prem { position: relative; display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px; font: 600 13.5px/1.35 var(--font); color: var(--ink); cursor: pointer; }
.pr-prem small { display: block; font-weight: 500; }
.pr-res { position: sticky; top: 96px; display: grid; gap: 14px; padding: 26px; border-radius: 28px; background: radial-gradient(80% 60% at 100% 0%, #3B3484 0%, transparent 60%), linear-gradient(165deg, #24214A, #15142B); color: #fff; }
.pr-res__bot { position: absolute; right: 18px; top: 18px; width: 60px; height: 60px; }
.pr-res__k { margin: 0; font: 700 12.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #C9CEFF; }
.pr-res__plan { margin: 6px 0 0; font: 700 26px/1.15 var(--font); letter-spacing: -.02em; }
.pr-res__big { margin: 14px 0 0; font: 700 46px/1 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pr-res__sub { margin: 6px 0 0; font: 500 13.5px/1.4 var(--font); color: var(--on-deep-2); }
.pr-lines { display: grid; margin: 4px 0 0; }
.pr-lines p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); font: 500 13.5px/1.35 var(--font); color: var(--on-deep-2); }
.pr-lines p b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-lines p.is-sum { color: #fff; font-weight: 700; }
.pr-also { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); font: 500 13px/1.45 var(--font); color: var(--on-deep-2); }
.pr-also b { color: #fff; }
.pr-res .btn { justify-content: center; width: 100%; background: #fff; color: #2A2752; }
.pr-res .btn:hover { background: #F1F2FF; }
.pr-res__note { margin: 0; font: 500 12px/1.45 var(--font); color: var(--on-deep-2); }

/* ==========================================================================
   3 · HOW CONVERSATIONS ARE COUNTED
   ========================================================================== */
.pr-cnt { list-style: none; margin: clamp(36px, 4.5vw, 56px) auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pr-cnt li { padding: 18px 18px 24px; border-radius: var(--card-r); background: var(--sand); box-shadow: none; }
.pr-cnt__vis { display: grid; place-items: center; align-content: center; gap: 10px; height: 120px; margin-bottom: 18px; border-radius: 18px; background: #fff; }
.pr-cnt__vis small { font: 700 12px/1 var(--font); color: var(--accent-ink); }
.pr-cnt h3 { margin: 0 6px; font: 700 19px/1.25 var(--font); color: var(--ink); }
.pr-cnt p { margin: 6px 6px 0; font: 400 15.5px/1.5 var(--font); color: var(--body); }
.pr-dots { display: flex; align-items: flex-end; gap: 5px; }
.pr-dots i { width: 22px; height: 14px; border-radius: 7px; background: #C9CEF0; }
.pr-dots i.is-me { background: var(--accent); }
.pr-model { display: flex; gap: 6px; }
.pr-model i { padding: 8px 12px; border-radius: var(--r-pill); background: var(--sand); font: 700 12px/1 var(--font); font-style: normal; color: var(--muted); }
.pr-model i.is-on { background: var(--accent); color: #fff; }
.pr-meter { display: flex; align-items: center; gap: 8px; width: 78%; }
.pr-meter i { flex: 1; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) calc(var(--v) * 100%), #E1E4F0 0); }
.pr-meter em { padding: 6px 9px; border-radius: var(--r-pill); background: var(--green-tint); font: 700 11.5px/1 var(--font); font-style: normal; color: var(--green-ink); white-space: nowrap; }

/* Lists line up in a row of cards; set in px so it holds whatever wraps. */
@media (min-width: 1300px) { .pr-cards { --keyh: 252px; } }
@media (min-width: 1181px) and (max-width: 1299px) { .pr-cards { --keyh: 272px; } }
@media (min-width: 761px) and (max-width: 1180px) { .pr-cards { --keyh: 252px; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .pr-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pr-card { grid-column: span 2; }
  .pr-card:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 960px) {
  .pr-ent { grid-template-columns: minmax(0, 1fr); }
  .pr-find { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .pr-res { position: static; }
  .pr-cnt { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 760px) {
  .pr-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pr-card, .pr-card:nth-child(4) { grid-column: auto; }
  .pr-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pr-hero__title { font-size: clamp(32px, 8.6vw, 48px); }
  .pr-bill button { min-width: 120px; padding: 0 18px; font-size: 14px; }
  .pr-bill button em { right: -8px; font-size: 11.5px; }
  .pr-cards { grid-template-columns: minmax(0, 1fr); }
  .pr-card:last-child { grid-column: auto; }
  .pr-card__who { min-height: 0; }
  .pr-ent__list { grid-template-columns: minmax(0, 1fr); }
  .pr-needs { grid-template-columns: minmax(0, 1fr); }
  .pr-find__in, .pr-res { padding: 20px; }
  .pr-res__big { font-size: 40px; }
}
