/* Pricing block (resources/views/pricing/_block.blade.php, _matrix.blade.php): /pricing and the home page pricing section.
   Hand-written, mobile-first, logical properties only (the same rules serve LTR and RTL). Tokens come from landing.css (--lp-*): orange #F97316, ink #0F172A.
   Text on orange is ink. The public site is light only (no dark overrides). */

.pr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pr { width: 100%; }
.pr :focus-visible, .pr-tablewrap:focus-visible { outline: 3px solid var(--lp-ink); outline-offset: 3px; border-radius: .5rem; }

/* ---------- monthly / yearly toggle (only shown once the script ran: without JS the page simply stays monthly) ---------- */
.pr-toggle-wrap { display: none; justify-content: center; margin-block: 0 2.5rem; }
.pr[data-js="1"] .pr-toggle-wrap { display: flex; }
.pr-toggle { display: inline-flex; max-width: 100%; padding: .25rem; gap: .25rem; background: var(--lp-surface); border: 1px solid var(--lp-line-strong); border-radius: 9999px; box-shadow: var(--lp-elev); }
.pr-toggle__opt { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem 1.25rem; border: 0; border-radius: 9999px; background: transparent;
  font: inherit; font-size: .9375rem; font-weight: 700; color: var(--lp-text-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pr-toggle__opt:hover { color: var(--lp-text); background: var(--lp-surface-3); }
.pr-toggle__opt.is-on, .pr-toggle__opt.is-on:hover { background: var(--lp-ink); color: #fff; }
.pr-toggle__opt:focus-visible { outline: 3px solid var(--lp-orange-text); outline-offset: 2px; }
.pr-chip { display: inline-block; padding: .125rem .625rem; border-radius: 9999px; background: var(--lp-orange-tint); color: var(--lp-orange-text); border: 1px solid #FDBA74; font-size: .75rem; font-weight: 700; line-height: 1.25rem; white-space: nowrap; }
.pr-toggle__opt.is-on .pr-chip { background: var(--lp-orange); color: var(--lp-ink); border-color: var(--lp-orange); }
@media (max-width: 479px) { .pr-toggle__opt { padding-inline: .75rem; font-size: .875rem; } .pr-chip { font-size: .6875rem; padding-inline: .5rem; white-space: normal; text-align: center; line-height: 1.1rem; } }

/* ---------- cards ---------- */
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; text-align: start; }
@media (min-width: 640px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } .pr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; padding: 2rem 1.5rem 1.5rem; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); }
.pr-card.is-featured { border: 2px solid var(--lp-orange); box-shadow: 0 12px 32px rgba(249, 115, 22, .14), var(--lp-elev); background: linear-gradient(180deg, var(--lp-orange-tint), var(--lp-surface) 14rem); }
.pr-card.is-requested { border: 2px solid var(--lp-ink); box-shadow: 0 0 0 4px rgba(249, 115, 22, .45), var(--lp-elev); }
.pr-card[data-requested] { scroll-margin-block-start: 6rem; }
.pr-card__picked { align-self: flex-start; display: inline-block; margin: 0 0 .5rem; padding: .25rem .75rem; border-radius: 9999px; background: var(--lp-ink); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.25rem; }
.pr-card__badge { position: absolute; inset-block-start: -.8125rem; inset-inline-start: 1.5rem; padding: .25rem .875rem; border-radius: 9999px; background: var(--lp-orange); color: var(--lp-ink); font-size: .75rem; font-weight: 700; line-height: 1.25rem; }
.pr-card__name { margin: 0 0 .375rem; font-size: 1.375rem; line-height: 1.3; font-weight: 800; color: var(--lp-text); }
.pr-card__tag { margin: 0; min-height: 4.5rem; font-size: .875rem; line-height: 1.5; color: var(--lp-text-2); }

.pr-price { min-height: 8.75rem; }
.pr-price__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; margin: 0 0 .5rem; font-size: .9375rem; font-weight: 600; color: var(--lp-text-2); }
.pr-price__main b { font-size: 2.25rem; line-height: 1.15; font-weight: 800; color: var(--lp-text); font-variant-numeric: lining-nums; }
.pr-card.is-featured .pr-price__main b { color: var(--lp-orange-text); }
.pr-strike { display: block; flex: 0 0 100%; font-size: 1rem; font-weight: 600; color: var(--lp-text-2); text-decoration-thickness: 2px; }
.pr-note { margin: 0 0 .375rem; font-size: .8125rem; line-height: 1.5; color: var(--lp-text-2); }
.pr-gift { margin: 0 0 .5rem; font-size: .875rem; line-height: 1.5; font-weight: 700; color: var(--lp-text); }
.pr-gift__tag { display: block; width: fit-content; margin-block-end: .25rem; padding: .0625rem .5rem; border-radius: 9999px; background: var(--lp-orange-tint); border: 1px solid #FDBA74; color: var(--lp-orange-text); font-size: .75rem; font-weight: 700; }

/* the toggle only switches a data attribute; the cards show the matching view */
.pr[data-cycle="monthly"] [data-view="yearly"], .pr[data-cycle="yearly"] [data-view="monthly"],
.pr[data-cycle="monthly"] [data-cta="yearly"], .pr[data-cycle="yearly"] [data-cta="monthly"] { display: none; }

.pr-list { display: grid; gap: .625rem; margin: 0; padding: 1.25rem 0 0; list-style: none; border-block-start: 1px solid var(--lp-surface-3); font-size: .875rem; line-height: 1.5; color: var(--lp-text); }
.pr-feat { display: flex; align-items: flex-start; gap: .625rem; }
.pr-feat__ic { flex: none; display: inline-flex; margin-block-start: .125rem; color: var(--lp-ok); }
.pr-feat.is-soon { color: var(--lp-text-2); }
.pr-feat.is-soon .pr-feat__ic { color: var(--lp-text-3); }
.pr-includes { margin-block-start: .25rem; font-size: .8125rem; font-weight: 700; color: var(--lp-text-2); }
.pr-more { font-size: .8125rem; color: var(--lp-text-2); }
.pr-soon { display: inline-block; margin-inline-start: .25rem; padding: 0 .5rem; border-radius: 9999px; background: var(--lp-surface-3); color: var(--lp-text-2); font-style: normal; font-size: .6875rem; font-weight: 700; line-height: 1.25rem; white-space: nowrap; }
.pr-card__cta { margin-block-start: auto; padding-block-start: .5rem; }
.pr-trial { margin: 2rem 0 0; text-align: center; font-size: .875rem; color: var(--lp-text-2); }

/* ---------- comparison table ---------- */
.pr-tablewrap { position: relative; /* contains the visually-hidden (absolute) labels, otherwise they stretch the page sideways in RTL */ overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); }
.pr-table { width: 100%; min-width: 44rem; border-collapse: separate; border-spacing: 0; font-size: .875rem; color: var(--lp-text); }
.pr-table th, .pr-table td { padding: .875rem 1rem; text-align: center; border-block-end: 1px solid var(--lp-surface-3); background: var(--lp-surface); vertical-align: middle; }
.pr-table .pr-table__feat { text-align: start; font-weight: 600; min-width: 13rem; }
.pr-table thead th { font-size: .9375rem; font-weight: 800; border-block-end: 2px solid var(--lp-line-strong); }
.pr-table .is-featured { background: var(--lp-orange-tint); }
.pr-table thead th.is-featured { color: var(--lp-orange-text); }
.pr-table__group th { padding-block: .625rem; text-align: start; background: var(--lp-surface-2); font-size: .8125rem; font-weight: 800; color: var(--lp-orange-text); }
.pr-yes { display: inline-flex; color: var(--lp-ok); }
.pr-no { color: var(--lp-text-3); font-weight: 700; }
.pr-soon-cell { display: inline-block; padding: 0 .5rem; border-radius: 9999px; background: var(--lp-surface-3); color: var(--lp-text-2); font-size: .75rem; font-weight: 700; line-height: 1.375rem; }
/* phones: the plan columns scroll sideways inside the region, the feature name stays pinned */
@media (max-width: 1023px) { .pr-table .pr-table__feat { position: sticky; inset-inline-start: 0; z-index: 1; box-shadow: 1px 0 0 var(--lp-line); min-width: 10rem; } .pr-table__group th { position: sticky; inset-inline-start: 0; } }
/* desktop: the page scrolls, the header row stays under the site header */
@media (min-width: 1024px) {
  .pr-tablewrap { overflow: visible; }
  .pr-table { min-width: 0; }
  .pr-table thead th { position: sticky; inset-block-start: var(--lp-header-h); z-index: 2; }
  .pr-table thead th:first-child { border-start-start-radius: var(--lp-r-md); }
  .pr-table thead th:last-child { border-start-end-radius: var(--lp-r-md); }
}
.pr-compare-cta { display: flex; justify-content: center; margin-block-start: 2.5rem; }
.pr-home-more { display: flex; justify-content: center; margin-block-start: 2rem; }
.pr-home-more a { font-weight: 700; color: var(--lp-orange-text); text-decoration: underline; text-underline-offset: 4px; }
.pr-home-more a:hover { color: var(--lp-orange-press); }
.pr-hero .lp-head { margin-block-end: 2rem; }
.lp-faq__a p { margin: 0; }

@media (prefers-reduced-motion: reduce) { .pr-toggle__opt { transition: none; } }
