/* /pricing (pricing.html): plan cards, the full feature matrix, extras, Bastion vs other apps (price slider and feature
   table) and the billing questions. Loaded after styles.css and built on its tokens (--ink, --surface, --seam, --white ...),
   its pills (.btn, .tag), its section switcher look (.switcher) and its accordion (.acc). Every class here starts with
   "pr-". Motion: transform and opacity only, gated by html.pr-motion (set in the page's <head>, never with reduced
   motion), and all of it off under prefers-reduced-motion. */

html.pricing { scroll-padding-top: 136px; }

.pr {
  --pr-line: var(--seam, #2e2e2e);
  --pr-card: var(--surface, #101010);
  --pr-raised: var(--raised, #171717);
  --pr-ease: var(--ease, cubic-bezier(.2, .8, .2, 1));
  /* where sticky table heads sit: under the capsule nav and the section switcher (styles.css .switcher: top 70 + 44 px,
     76 + 48 px from 768) */
  --pr-stick: 120px;
  --pr-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --pr-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { .pr { --pr-stick: 132px; } }

/* the switcher has three parts on this page */
.pr-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pr-sec { padding-top: var(--sec, 96px); }
.pr-h3 { font-size: 21px; font-weight: 500; line-height: 1.3; color: var(--white, #fff); }
.pr-sub { margin-top: 12px; color: var(--ash, #bdbdbd); font-size: 16px; }
.pr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }

/* ---------- hero ---------- */
.pr-hero { padding-top: 120px; }
@media (min-width: 768px) { .pr-hero { padding-top: 152px; } }
.pr-hero-in { display: grid; gap: 28px; }
.pr-hero .lead { margin-top: 20px; }
@media (min-width: 1024px) { .pr-hero-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* Yearly / Monthly: two equal halves, a white pill slides under the chosen one */
.pr-billing {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 380px; padding: 4px;
  border-radius: 999px; background: var(--pr-raised); border: 1px solid var(--pr-line);
}
.pr-billing::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--white, #fff); transition: transform .32s var(--pr-ease);
}
.pr[data-billing="monthly"] .pr-billing::before { transform: translateX(100%); }
.pr-billing button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px;
  padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ash, #bdbdbd); font-size: 14px; font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: color .2s; touch-action: manipulation;
}
.pr-billing button:hover { color: var(--white, #fff); }
.pr-billing button[aria-pressed="true"] { color: var(--ink, #050505); }
.pr-billing button:focus-visible { outline-offset: 2px; }
.pr-save { font-size: 12px; font-weight: 500; color: var(--slate, #8f8f8f); }
.pr-billing button[aria-pressed="true"] .pr-save { color: #4a4a4a; }
@media (pointer: coarse) { .pr-billing button { min-height: 44px; } }
html:not(.js) .pr-billing { display: none; }

/* yearly first; without JavaScript both prices show */
.js .pr[data-billing="yearly"] [data-period="monthly"], .js .pr[data-billing="monthly"] [data-period="yearly"] { display: none; }

/* ---------- plan cards ---------- */
.pr-plans { padding-top: 40px; }
@media (min-width: 768px) { .pr-plans { padding-top: 56px; } }
.pr-cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pr-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pr-cards > li { grid-column: span 2; }
  .pr-cards > li:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 1200px) {
  .pr-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pr-cards > li, .pr-cards > li:nth-child(n+4) { grid-column: auto; }
}
.pr-card {
  position: relative; display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--pr-line); border-radius: 20px;
  background: var(--pr-card);
}
.pr-card.is-top {
  border-color: var(--white, #fff);
  background: radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 62%), var(--pr-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -48px rgba(255, 255, 255, .35);
}
.pr-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.pr-card h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
.pr-tag-top { background: var(--white, #fff); border-color: var(--white, #fff); color: var(--ink, #050505); }
.pr-pitch { margin-top: 4px; color: var(--ash, #bdbdbd); font-size: 15px; line-height: 1.45; }
@media (min-width: 720px) { .pr-card .pr-pitch { min-height: 2.9em; } }
.pr-price { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; font-variant-numeric: tabular-nums; }
.pr-amt { font-size: clamp(34px, 3.2vw, 40px); line-height: 1; color: var(--white, #fff); letter-spacing: .01em; }
.pr-per { font-size: 15px; color: var(--ash, #bdbdbd); }
.pr-bill { flex-basis: 100%; margin-top: 8px; font-size: 13px; color: var(--slate, #8f8f8f); }
html:not(.js) .pr-price + .pr-price { margin-top: 12px; }
html:not(.js) .pr-price + .pr-price .pr-amt { font-size: 24px; }
.pr-go { width: 100%; margin-top: 20px; }
.pr-facts { list-style: none; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pr-line); display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ash, #bdbdbd); font-variant-numeric: tabular-nums; }
.pr-facts b { color: var(--white, #fff); font-weight: 500; }
.pr-boost { position: relative; }
.pr-plus { margin-top: 18px; font-size: 13px; color: var(--slate, #8f8f8f); }
.pr-unlocks { list-style: none; margin-top: 10px; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--chalk, #e3e3e3); }
.pr-unlocks li, .pr-ent-list li { position: relative; padding-left: 24px; }
.pr-unlocks li::before, .pr-ent-list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 16px; height: 16px; background: var(--white, #fff);
  -webkit-mask: var(--pr-check) center / contain no-repeat; mask: var(--pr-check) center / contain no-repeat;
}
.pr-note { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--slate, #8f8f8f); }
/* the card's last line, at its foot so every card's trial line sits level; the rule is drawn 18px into the
   padding, so it keeps its gap from the list even on the tallest card */
.pr-trial {
  margin-top: auto; padding-top: 35px; font-size: 13px; line-height: 1.4; color: var(--ash, #bdbdbd);
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(var(--pr-line), var(--pr-line)) 0 18px / 100% 1px no-repeat;
}
.pr-trial::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--white, #fff);
  -webkit-mask: var(--pr-check) center / contain no-repeat; mask: var(--pr-check) center / contain no-repeat;
}
.pr-note + .pr-trial { margin-top: 0; }

/* Enterprise: quiet, full width */
.pr-ent {
  display: grid; gap: 16px 32px; margin-top: 16px; padding: 24px 20px; border: 1px solid var(--pr-line); border-radius: 20px;
  background: var(--pr-card);
}
.pr-ent h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
.pr-ent-list { list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--chalk, #e3e3e3); }
.pr-ent .btn { justify-self: start; }
@media (min-width: 720px) { .pr-ent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; } }
@media (min-width: 1024px) {
  .pr-ent { grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; padding: 28px 32px; }
  .pr-ent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pr-free { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--ash, #bdbdbd); text-align: center; text-wrap: balance; }
.pr-free b { color: var(--white, #fff); font-weight: 500; margin-right: 4px; }
.pr-free a, .pr-how a, .pr-faq-side a {
  color: var(--white, #fff); text-underline-offset: 3px; text-decoration-color: var(--field, #6b6b6b);
}
.pr-free a { display: inline-flex; align-items: center; min-height: 44px; }
.pr-free a:hover, .pr-how a:hover, .pr-faq-side a:hover { text-decoration-color: var(--white, #fff); }

/* every-plan cards (after thenewblack.ai's capability row): an icon and a short label */
.pr-perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .pr-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pr-perks { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.pr-perks li {
  display: grid; gap: 14px; align-content: start; min-height: 104px; padding: 18px 16px; border: 1px solid var(--pr-line);
  border-radius: 14px; background: var(--pr-card); color: var(--white, #fff); font-size: 14px; font-weight: 500; line-height: 1.35;
}
.pr-perks .ico { width: 22px; height: 22px; fill: none; stroke: var(--white, #fff); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pr-extras { list-style: none; display: grid; gap: 0 24px; margin-top: 32px; }
@media (min-width: 768px) { .pr-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-extras li { padding: 16px 0; border-top: 1px solid var(--pr-line); }
.pr-extras h3 { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--white, #fff); }
.pr-extras p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ash, #bdbdbd); font-variant-numeric: tabular-nums; }

/* ---------- tooltips: the label is a button; its line shows on hover, on keyboard focus and on tap ---------- */
.pr-term {
  display: inline; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
  cursor: help; text-decoration: underline dotted var(--field, #6b6b6b); text-decoration-thickness: 1px; text-underline-offset: 5px;
  touch-action: manipulation; scroll-margin-top: 200px;
}
.pr-term:hover { text-decoration-color: var(--white, #fff); }
.pr-term:focus-visible { outline-offset: 2px; border-radius: 4px; }
.pr-tip {
  position: absolute; z-index: 8; left: 12px; top: calc(100% - 6px); width: max-content; max-width: min(280px, 78vw);
  padding: 8px 12px; border-radius: 10px; border: 1px solid #3a3a3a; background: #1c1c1c; color: var(--chalk, #e3e3e3);
  font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.pr-boost .pr-tip { left: 0; }
.pr-term:focus-visible + .pr-tip, .is-tip > .pr-tip, .pr-tip:hover { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
@media (hover: hover) { .pr-term:hover + .pr-tip { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; } }
.pr-term[data-tip-off] + .pr-tip { opacity: 0 !important; visibility: hidden !important; }

/* ---------- the tables: plan matrix and app comparison ---------- */
.pr-mx, .pr-cx { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
:is(.pr-mx, .pr-cx) thead th {
  position: sticky; top: var(--pr-stick); z-index: 4; padding: 14px 8px 12px; background: var(--ink, #050505);
  border-bottom: 1px solid var(--pr-line); text-align: center; vertical-align: bottom; font-weight: 500;
}
:is(.pr-mx, .pr-cx) thead .pr-corner { width: 30%; }
.pr-cx thead .pr-corner { width: 28%; }
.pr-hn { display: block; font-size: 15px; font-weight: 500; color: var(--white, #fff); line-height: 1.3; }
.pr-hp { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--ash, #bdbdbd); }
.pr-hp small { font-size: 12px; color: var(--slate, #8f8f8f); }
.pr-mx thead th.is-top { background: #0e0e0e; box-shadow: inset 0 2px 0 var(--white, #fff); border-radius: 10px 10px 0 0; }
.pr-cx thead th.us { background: #101010; box-shadow: inset 0 2px 0 var(--white, #fff); border-radius: 10px 10px 0 0; }

:is(.pr-mx, .pr-cx) tbody th, :is(.pr-mx, .pr-cx) tbody td { border-bottom: 1px solid var(--pr-line); }
:is(.pr-mx, .pr-cx) .pr-row > th {
  position: relative; padding: 12px 12px 12px 0; text-align: left; font-weight: 400; color: var(--chalk, #e3e3e3);
}
:is(.pr-mx, .pr-cx) .pr-row > td { height: 52px; padding: 8px 6px; text-align: center; vertical-align: middle; color: var(--ash, #bdbdbd); }
.pr-mx .pr-row > :nth-child(6) { background: rgba(255, 255, 255, .03); }
.pr-cx .pr-row > td.us { background: rgba(255, 255, 255, .04); }
@media (hover: hover) { :is(.pr-mx, .pr-cx) .pr-row:hover > * { background-color: rgba(255, 255, 255, .045); } }
:is(.pr-mx, .pr-cx) td.t { font-size: 13px; color: var(--chalk, #e3e3e3); }
:is(.pr-mx, .pr-cx) td small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--slate, #8f8f8f); }
:is(.pr-mx, .pr-cx) td.y::before, :is(.pr-mx, .pr-cx) td.n::before {
  content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: var(--white, #fff);
  -webkit-mask: var(--pr-check) center / contain no-repeat; mask: var(--pr-check) center / contain no-repeat;
}
:is(.pr-mx, .pr-cx) td.n::before { width: 16px; height: 16px; background: var(--field, #6b6b6b); -webkit-mask-image: var(--pr-cross); mask-image: var(--pr-cross); }
.pr-cx td.u { font-size: 16px; color: var(--slate, #8f8f8f); }
/* Bastion's own checks: black on a white disc */
.pr-cx td.us.y::before {
  width: 22px; height: 22px; border-radius: 50%; -webkit-mask: none; mask: none;
  background: var(--white, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pr-cx td.us small { color: var(--ash, #bdbdbd); }

/* group rows: a real button, the count and a chevron (matrix); a plain label (comparison) */
.pr-gh th { padding: 0; text-align: left; border-bottom: 1px solid var(--pr-line); }
.pr-gbtn, .pr-gstatic {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 22px 0 10px; border: 0; background: none;
  color: var(--white, #fff); font: inherit; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer; touch-action: manipulation;
  scroll-margin-top: 200px;
}
.pr-gstatic { cursor: default; flex-wrap: wrap; }
.pr-gbtn:focus-visible { outline-offset: -2px; border-radius: 8px; }
.pr-gcount {
  min-width: 26px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--pr-line); font-size: 12px; font-weight: 500;
  color: var(--ash, #bdbdbd); text-align: center; font-variant-numeric: tabular-nums;
}
.pr-chev { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: var(--ash, #bdbdbd); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--pr-ease); }
.pr-gbtn:hover .pr-chev { stroke: var(--white, #fff); }
.pr-gbtn[aria-expanded="false"] .pr-chev { transform: rotate(-90deg); }
.pr-grp[data-open="false"] .pr-row { display: none; }
.pr-gnote { flex-basis: 100%; font-size: 13px; font-weight: 400; color: var(--slate, #8f8f8f); }
.pr-gh-only .pr-gstatic { padding-top: 36px; }
.pr-gh-only .pr-gname { padding: 4px 10px; border-radius: 999px; background: var(--white, #fff); color: var(--ink, #050505); font-size: 14px; }

/* phones and small tablets: one pair of plans (or Bastion and one app) at a time, chosen above the table */
.pr-pick { display: none; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; font-size: 14px; color: var(--ash, #bdbdbd); }
.pr-pick select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--field, #6b6b6b);
  background: var(--pr-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
  color: var(--white, #fff); font-size: 15px; cursor: pointer;
}
.pr-pick select:hover { border-color: var(--white, #fff); }
@media (max-width: 719px) {
  .js .pr-pick:has(#pr-mx-pick) { display: flex; }
  /* the group rows span 8 columns: the two plans shown take 28% each, so the hidden columns get no width */
  .pr-mx thead .pr-corner { width: 44%; }
  .pr-mx thead th:not(.pr-corner) { width: 28%; }
  .pr-mx tr > :nth-child(n+2) { display: none; }
  .pr-mx[data-pair="2"] tr > :is(:nth-child(2), :nth-child(3)),
  .pr-mx[data-pair="3"] tr > :is(:nth-child(3), :nth-child(4)),
  .pr-mx[data-pair="4"] tr > :is(:nth-child(4), :nth-child(5)),
  .pr-mx[data-pair="5"] tr > :is(:nth-child(5), :nth-child(6)),
  .pr-mx[data-pair="6"] tr > :is(:nth-child(6), :nth-child(7)),
  .pr-mx[data-pair="7"] tr > :is(:nth-child(7), :nth-child(8)) { display: table-cell; }
}
@media (max-width: 719px) {
  .js .pr-pick:has(#pr-cx-pick) { display: flex; }
  .pr-cx thead .pr-corner { width: 44%; }
  .pr-cx thead th:not(.pr-corner) { width: 28%; }
  .pr-cx tr > :nth-child(n+3) { display: none; }
  .pr-cx[data-app="3"] tr > :nth-child(3), .pr-cx[data-app="4"] tr > :nth-child(4), .pr-cx[data-app="5"] tr > :nth-child(5),
  .pr-cx[data-app="6"] tr > :nth-child(6), .pr-cx[data-app="7"] tr > :nth-child(7) { display: table-cell; }
}
/* browsers without :has() show both pickers on small screens */
@supports not selector(:has(*)) { @media (max-width: 719px) { .js .pr-pick { display: flex; } } }
/* tablets: every column, a little tighter */
@media (min-width: 720px) and (max-width: 1023px) {
  :is(.pr-mx, .pr-cx) thead .pr-corner { width: 26%; }
  :is(.pr-mx, .pr-cx) thead th { padding-inline: 4px; }
  .pr-hn { font-size: 14px; }
  :is(.pr-mx, .pr-cx) .pr-row > td { padding-inline: 4px; }
  :is(.pr-mx, .pr-cx) td.t { font-size: 12px; }
}
@media (max-width: 639px) {
  :is(.pr-mx, .pr-cx) .pr-row > th { padding-right: 8px; font-size: 14px; }
  .pr-term { display: inline-flex; align-items: center; min-height: 32px; }
}
@media (pointer: coarse) { .pr-term { min-height: 40px; } }

/* ---------- Bastion vs other apps: the reference's section head (label, huge title, a row of names, one line, a pill) ---------- */
.pr-vs-title {
  font-size: clamp(36px, 7.4vw, 88px); font-weight: 400; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
  color: var(--white, #fff); text-wrap: balance;
}
.pr-names { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pr-names li {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--pr-line);
  background: var(--pr-card); color: var(--chalk, #e3e3e3); font-size: 14px; font-weight: 500;
}
.pr-vs-row { display: grid; gap: 24px; margin-top: 24px; }
.pr-vs-row .lead { margin-top: 0; max-width: 46ch; }
.pr-vs-row .btn { justify-self: start; }
@media (min-width: 900px) { .pr-vs-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; } }

/* the price slider: a large rounded panel */
.pr-calc {
  display: grid; gap: 28px; margin-top: 48px; padding: 24px 20px; border: 1px solid var(--pr-line); border-radius: 24px;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%), var(--pr-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
@media (min-width: 640px) { .pr-calc { padding: 32px; } }
@media (min-width: 1024px) { .pr-calc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 40px; align-items: center; } }
.pr-calc-label { display: block; font-size: 14px; font-weight: 500; color: var(--ash, #bdbdbd); }
.pr-size-out { display: block; margin-top: 8px; font-size: clamp(44px, 7vw, 72px); line-height: 1; color: var(--white, #fff); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pr-range { display: block; width: 100%; height: 44px; margin: 20px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.pr-range:focus-visible { outline: none; }
.pr-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--white, #fff) var(--fill, 60%), #333 var(--fill, 60%));
}
.pr-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; border: 0; background: var(--white, #fff);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 4px 14px rgba(0, 0, 0, .6); transition: transform .15s var(--pr-ease);
}
.pr-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.pr-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink, #050505), 0 0 0 5px var(--white, #fff); }
.pr-range::-moz-range-track { height: 6px; border-radius: 999px; background: #333; }
.pr-range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--white, #fff); }
.pr-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--white, #fff); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1); }
.pr-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink, #050505), 0 0 0 5px var(--white, #fff); }
html:not(.js) .pr-range, html:not(.js) .pr-ticks { display: none; }
.pr-ticks { position: relative; height: 20px; font-size: 12px; color: var(--slate, #8f8f8f); font-variant-numeric: tabular-nums; }
.pr-ticks span { position: absolute; top: 0; left: calc(13px + var(--at) * (100% - 26px)); transform: translateX(-50%); }
.pr-ticks span:first-child { transform: translateX(-13px); }
.pr-verdict { margin-top: 20px; min-height: 3em; font-size: 16px; line-height: 1.5; color: var(--chalk, #e3e3e3); }
.pr-verdict b { color: var(--white, #fff); font-weight: 500; }

.pr-bars { list-style: none; display: grid; gap: 2px; }
.pr-bars li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "app val" "bar bar"; align-items: center; gap: 8px 16px;
  padding: 12px 14px; border-top: 1px solid var(--pr-line);
}
.pr-bars li:first-child, .pr-bars li.is-us + li { border-top-color: transparent; }
.pr-bars li.is-us { border: 0; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
@media (min-width: 640px) {
  .pr-bars li { grid-template-columns: 170px minmax(0, 1fr) 128px; grid-template-areas: "app bar val"; }
}
.pr-app { grid-area: app; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.pr-app-n { font-size: 15px; font-weight: 500; color: var(--white, #fff); }
.pr-app-s { flex-basis: 100%; font-size: 12px; line-height: 1.35; color: var(--slate, #8f8f8f); }
.pr-app-s:empty { display: none; }
.pr-flag {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--white, #fff); color: var(--ink, #050505);
  font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .02em;
}
.pr-flag[hidden] { display: none; }
.pr-bar { grid-area: bar; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pr-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #5c5c5c; transform-origin: 0 50%; }
.is-us .pr-bar i { background: var(--white, #fff); }
.pr-val { grid-area: val; text-align: right; font-size: 15px; font-weight: 500; color: var(--chalk, #e3e3e3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.is-us .pr-val { color: var(--white, #fff); font-size: 17px; }
.pr-val.is-none { font-weight: 400; font-size: 13px; color: var(--slate, #8f8f8f); }
.pr-calc-note { margin-top: 14px; max-width: 90ch; }

.pr-sizes-wrap { margin-top: 8px; }
.pr-sizes-wrap summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white, #fff); font-size: 14px; font-weight: 500;
  cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--field, #6b6b6b); text-underline-offset: 4px;
}
.pr-sizes-wrap summary::-webkit-details-marker { display: none; }
.pr-sizes-wrap summary:hover { text-decoration-color: var(--white, #fff); }
.pr-scroll { overflow-x: auto; margin-top: 8px; border: 1px solid var(--pr-line); border-radius: 14px; }
.pr-sizes { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.pr-sizes th, .pr-sizes td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--pr-line); white-space: nowrap; }
.pr-sizes thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--slate, #8f8f8f); }
.pr-sizes tbody th { font-weight: 400; color: var(--chalk, #e3e3e3); }
.pr-sizes td { color: var(--ash, #bdbdbd); }
.pr-sizes td.us { color: var(--white, #fff); font-weight: 500; background: rgba(255, 255, 255, .04); }
.pr-sizes small { color: var(--slate, #8f8f8f); font-weight: 400; font-size: 12px; }

.pr-cx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 72px 0 16px; }
.pr-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ash, #bdbdbd); }
.pr-legend li { display: inline-flex; align-items: center; gap: 8px; }
.pr-k { display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--slate, #8f8f8f); font-size: 15px; line-height: 1; }
.pr-k.y, .pr-k.n { background: var(--white, #fff); -webkit-mask: var(--pr-check) center / contain no-repeat; mask: var(--pr-check) center / contain no-repeat; }
.pr-k.n { background: var(--field, #6b6b6b); -webkit-mask-image: var(--pr-cross); mask-image: var(--pr-cross); }

.pr-how { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--pr-line); }
.pr-how .pr-h3 { font-size: 15px; }
.pr-how ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; max-width: 96ch; font-size: 13px; line-height: 1.55; color: var(--slate, #8f8f8f); }
.pr-how a { display: inline-block; padding: 2px 0; }

/* ---------- billing questions (styles.css .acc) ---------- */
.pr-faq { display: grid; gap: 32px; }
.pr-faq-side .small { margin-top: 16px; }
@media (min-width: 1024px) { .pr-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }

/* ---------- the last word ---------- */
.pr-end-in {
  display: grid; justify-items: center; gap: 12px; padding: 56px 24px; border: 1px solid var(--pr-line); border-radius: 24px; text-align: center;
  background: radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 65%), var(--pr-card);
}
.pr-end-in .actions { justify-content: center; margin-top: 12px; }
@media (max-width: 479px) { .pr-end-in .actions .btn { flex: 1 1 100%; } }

/* ---------- motion: gentle reveals, rows that settle in when a group opens, crossfading prices ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pr-motion .pr-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--pr-ease), transform .6s var(--pr-ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .pr-motion .pr-rv.is-in { opacity: 1; transform: none; }
  .pr-motion :is(.pr-mx, .pr-cx):not(.is-in) .pr-row { opacity: 0; }
  .pr-motion :is(.pr-mx, .pr-cx).is-in .pr-row, .pr-motion .pr-grp.is-opening .pr-row { animation: pr-row .45s var(--pr-ease) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }
  .pr-motion :is(.pr-mx, .pr-cx).is-in .pr-row > th, .pr-motion .pr-grp.is-opening .pr-row > th { animation: pr-slide .45s var(--pr-ease) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }
  .pr-motion .pr-price { animation: pr-fade .25s ease-out; }
  .pr-motion .pr-bar i { transition: transform .55s var(--pr-ease); }
  .pr-motion .pr-calc.is-in .pr-bars li { animation: pr-fade .5s ease-out both; animation-delay: calc(var(--n, 0) * 50ms); }
}
@keyframes pr-row { from { opacity: 0; } }
@keyframes pr-slide { from { transform: translateX(-8px); } }
@keyframes pr-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pr *, .pr *::before, .pr *::after, .pr-switcher, .pr-switcher * { animation: none !important; transition: none !important; }
}
