/* ==========================================================================
   Premium / plans (/premium) — redesign approved 1 Oct 2026

   Every active plan side by side with its button right under the price (so
   the buttons line up whatever the feature lists), a slim trust row, the
   comparison table, real premium designs and the FAQ. Loaded after
   listing.css, which gives the tokens (.lp-page), the page head, the design
   cards and the FAQ. Classes here are prefixed pr-.
   ========================================================================== */
.pr-hero { padding: 22px 0 30px; text-align: center; }
.pr-hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; color: var(--lp-ink); }
.pr-hero p { max-width: 640px; margin: 12px auto 0; color: var(--lp-muted); font-size: 16px; }

/* ---------- plan cards ---------- */
.pr-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pr-plans--1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.pr-plans--2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.pr-plans--3 { grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; }
.pr-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 22px 22px; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; }
.pr-plan--popular { border: 2px solid var(--lp-brand); padding: 23px 21px 21px; box-shadow: 0 20px 44px -24px rgba(37, 99, 235, .5); }
.pr-plan--dark { background: #0f172a; border-color: #0f172a; }
.pr-plan__ribbon { position: absolute; top: -12px; left: 20px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--lp-brand); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.pr-plan__name { font-size: 15px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; color: var(--lp-ink); }
.pr-plan__tag { min-height: 40px; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--lp-muted); }
.pr-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 14px; }
.pr-plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--lp-ink); }
.pr-plan__price span { font-size: 14px; font-weight: 600; color: var(--lp-muted); }
.pr-plan__per { min-height: 19px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--lp-muted); }
.pr-plan__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 16px; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 14.5px; font-weight: 800; line-height: 1.25; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.pr-plan__cta--primary { background: var(--lp-brand); color: #fff; }
.pr-plan__cta--primary:hover { background: var(--lp-brand-hover); }
.pr-plan__cta--primary:disabled { opacity: .75; cursor: progress; }
.pr-plan__cta--line { border-color: var(--lp-line); background: #fff; color: var(--lp-ink); }
.pr-plan__cta--line:hover { border-color: var(--lp-ink-2); }
.pr-plan__cta--current, .pr-plan__cta--current:disabled { background: var(--lp-brand-soft); color: var(--lp-brand); opacity: 1; cursor: default; }
.pr-plan__note { margin-top: 6px; font-size: 12.5px; text-align: center; color: var(--lp-muted); }
.pr-plan__list { display: grid; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--lp-line-soft); list-style: none; }
.pr-plan__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--lp-ink-2); }
.pr-plan__list li svg { flex-shrink: 0; margin-top: 1px; color: var(--lp-brand); }
.pr-plan__list li.is-off { color: var(--lp-faint); }
.pr-plan__list li.is-off svg { color: #cbd5e1; }

/* the dark plan */
.pr-plan--dark .pr-plan__name, .pr-plan--dark .pr-plan__price b { color: #fff; }
.pr-plan--dark .pr-plan__tag, .pr-plan--dark .pr-plan__price span, .pr-plan--dark .pr-plan__per, .pr-plan--dark .pr-plan__note { color: #94a3b8; }
.pr-plan--dark .pr-plan__cta--current { background: rgba(255, 255, 255, .1); color: #fff; }
.pr-plan--dark .pr-plan__list { border-top-color: rgba(255, 255, 255, .1); }
.pr-plan--dark .pr-plan__list li { color: #cbd5e1; }
.pr-plan--dark .pr-plan__list li svg { color: #60a5fa; }
.pr-plan--dark .pr-plan__list li.is-off, .pr-plan--dark .pr-plan__list li.is-off svg { color: #64748b; }

/* ---------- trust row + payment options ---------- */
.pr-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 24px; font-size: 13.5px; font-weight: 700; color: var(--lp-ink-2); }
.pr-trust span { display: inline-flex; align-items: center; gap: 7px; }
.pr-trust svg { flex-shrink: 0; color: var(--lp-brand); }
.pr-pay { margin-top: 8px; text-align: center; font-size: 13px; color: var(--lp-muted); }
.pr-pay b { font-weight: 600; color: var(--lp-ink-2); }

/* ---------- section heads ---------- */
.pr-sec__hd { margin-bottom: 18px; }
.pr-sec__hd--center { text-align: center; }
.pr-sec__hd h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--lp-ink); }
.pr-sec__hd p { margin-top: 6px; color: var(--lp-muted); font-size: 14.5px; }
.pr-sec__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.pr-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--lp-brand); white-space: nowrap; }
.pr-more:hover { color: var(--lp-brand-hover); }
.pr-more svg { flex-shrink: 0; }

/* ---------- comparison table ---------- */
.pr-table { max-width: 1000px; margin: 0 auto; border: 1px solid var(--lp-line); border-radius: 16px; overflow-x: auto; background: #fff; }
.pr-table table { width: 100%; min-width: 640px; border-collapse: collapse; }
.pr-table th, .pr-table td { padding: 13px 18px; border-bottom: 1px solid var(--lp-line-soft); text-align: center; font-size: 14px; font-weight: 500; color: var(--lp-ink-2); }
.pr-table thead th { background: var(--lp-soft); font-size: 13px; font-weight: 800; color: var(--lp-ink); white-space: nowrap; }
.pr-table th:first-child { text-align: left; font-weight: 700; color: var(--lp-ink); }
.pr-table tbody tr:last-child > * { border-bottom: 0; }
.pr-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-brand-soft); color: var(--lp-brand); vertical-align: middle; }
.pr-no { font-weight: 700; color: #cbd5e1; }

/* ---------- FAQ extras (the FAQ itself is listing.css .lp-faq) ---------- */
.pr-faq__sub { margin-top: 6px; color: var(--lp-muted); font-size: 14.5px; }
.pr-faq__link { margin-top: 14px; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .pr-plans, .pr-plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}
@media (max-width: 767px) {
  .pr-hero { padding: 14px 0 22px; }
  .pr-hero h1 { font-size: 27px; }
  .pr-hero p { font-size: 14.5px; }
  .pr-plans, .pr-plans--1, .pr-plans--2, .pr-plans--3 { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pr-plan__tag { min-height: 0; }
  .pr-plan__tag:empty, .pr-plan__per:empty { display: none; }
  .pr-trust { justify-content: flex-start; gap: 8px 18px; font-size: 13px; }
  .pr-pay { text-align: left; }
  .pr-sec__hd h2 { font-size: 20px; }
  .pr-sec__row { flex-wrap: wrap; align-items: flex-start; }
  .pr-table { border-radius: 12px; }
  .pr-table th, .pr-table td { padding: 11px 12px; font-size: 13px; }
  .pr-table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--lp-line-soft); }
  .pr-table thead th:first-child { background: var(--lp-soft); }
}
