/* ── Pricing page - Merchant Powerpack ─────────────────────────────────── */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Nav active state ──────────────────────────────────────────────────── */
.nav-links a[aria-current="page"] { color: var(--ink-900); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.pr-hero {
  padding: 80px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink-400) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.pr-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.pr-hero-inner .eyebrow { margin-bottom: 18px; }
.pr-hero-inner h1 {
  font-size: 52px;
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: var(--ink-900);
  margin: 0 0 20px;
  text-wrap: balance;
}
.pr-hero-sub {
  font-size: 18px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0 0 32px;
}
.pr-trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.pr-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-600);
  font-weight: 500;
}
.pr-trust-item svg { color: var(--green); flex: none; }
.pr-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}

/* ── Toggle ────────────────────────────────────────────────────────────── */
.pr-plans { padding: 48px 0; }

/* ── Launch banner ─────────────────────────────────────────────────────── */
.pr-launch-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 14px 18px;
  border: 1px solid var(--blue-100);
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, var(--blue-50), #fff);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
}
.pr-launch-badge {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  color: #fff;
  background: var(--blue-600);
  border-radius: 999px;
  padding: 6px 13px;
}
.pr-launch-banner > div strong { display: block; font-size: 14px; color: var(--ink-900); }
.pr-launch-banner > div span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-600); line-height: 1.5; }
.pr-launch-banner .pr-launch-badge { color: #fff; }

/* ── Terms / small print under the comparison table ────────────────────── */
.pr-terms {
  max-width: 880px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

.pr-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.pr-toggle {
  display: inline-flex;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  padding: 3px;
  gap: 0;
  margin: 0;
}
.pr-toggle-opt {
  position: relative;
  z-index: 1;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: color .18s ease;
  user-select: none;
}
.pr-toggle-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.pr-toggle-opt--active { color: var(--ink-900); }
.pr-toggle-pill {
  position: absolute;
  inset: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .22s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.pr-toggle-opt:last-of-type:has(input:checked) ~ .pr-toggle-pill,
.pr-toggle-opt--active:last-of-type ~ .pr-toggle-pill { transform: translateX(100%); }

.pr-save-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #abefc6;
  transition: opacity .22s ease;
}

/* ── Plan grid ─────────────────────────────────────────────────────────── */
.pr-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.pr-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.pr-plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.95); }
.pr-plan--featured {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47,95,216,.08), var(--shadow), inset 0 1px 0 rgba(255,255,255,.95);
}
.pr-plan--featured:hover {
  box-shadow: 0 0 0 3px rgba(47,95,216,.07), var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.95);
}

/* Animated indigo accent cap on featured plan */
.pr-plan-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-500), var(--accent-300), var(--blue-500), var(--blue-700));
  background-size: 220% 100%;
  border-radius: var(--rad-xl) var(--rad-xl) 0 0;
  animation: pr-accent-shimmer 6s linear infinite;
}
@keyframes pr-accent-shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .pr-plan-accent { animation: none; } }

/* "Most popular" badge */
.pr-plan-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.pr-plan-badge--soft { background: var(--bg-soft); color: var(--ink-600); border: 1px solid var(--line); }
.pr-plan--featured .pr-plan-badge { background: var(--blue-600); color: #fff; }

.pr-plan-head { margin-bottom: 20px; }
.pr-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -.01em;
  margin-bottom: 10px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-500);
}
.pr-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pr-price-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: opacity .18s ease;
}
.pr-price-was {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-400);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.pr-price-per {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}
.pr-plan-sites {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-700);
}
.pr-plan-fineprint {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.45;
}
.pr-price-monthly-note {
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 12px;
  min-height: 16px;
}
.pr-plan-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.5;
}

.pr-plan-btn {
  width: 100%;
  justify-content: center;
  margin: 20px 0 0;
  height: 44px;
  font-size: 14.5px;
}
.pr-plan-btn--agency {
  border-color: var(--ink-700);
  color: var(--ink-900);
}
.pr-plan-btn--agency:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.pr-plan-divider {
  height: 1px;
  background: var(--line-2);
  margin: 22px 0;
}

/* Feature list */
.pr-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pr-feat {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.4;
}
.pr-feat svg { flex: none; margin-top: 1px; }
.pr-feat--yes svg { color: var(--green); }
.pr-feat--no { color: var(--ink-400); }
.pr-feat--no svg { color: var(--ink-300, #c9c5bd); }

/* Money-back note */
.pr-mbg-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 28px auto 0;
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}
.pr-mbg-note svg { color: var(--green); flex: none; }
.pr-mbg-note strong { color: var(--ink-700); }

/* ── What's included ───────────────────────────────────────────────────── */
.pr-included {
  padding: 72px 0;
  background: var(--bg-tint);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.pr-included::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink-400) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .12;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.pr-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.pr-included-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.pr-included-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.95); }
.pr-inc-ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pr-included-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pr-included-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.55;
}

/* ── Feature comparison table ─────────────────────────────────────────── */
.pr-compare { padding: 16px 0 48px; }
.pr-compare-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  padding: 10px 0;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}
.pr-compare-trigger::-webkit-details-marker { display: none; }
.pr-compare-chevron { transition: transform .22s ease; flex: none; }
.pr-compare-toggle[open] .pr-compare-chevron { transform: rotate(180deg); }

.pr-compare-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.95);
}
.pr-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #fff;
  border-radius: var(--rad-lg);
  overflow: hidden;
}
.pr-compare-table thead th {
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.pr-compare-table thead th:first-child { text-align: left; }
.pr-col-featured { background: color-mix(in srgb, var(--blue-50) 60%, #fff) !important; }
.pr-compare-table tbody tr:nth-child(even) td { background: var(--bg-tint); }
.pr-compare-table tbody tr:nth-child(even) .pr-col-featured { background: color-mix(in srgb, var(--blue-50) 50%, #fff) !important; }
.pr-compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-700);
  text-align: center;
  vertical-align: middle;
}
.pr-compare-table td:first-child { text-align: left; color: var(--ink-800); font-weight: 500; }
.pr-compare-table tr:last-child td { border-bottom: none; }
.pr-compare-group td {
  background: var(--bg-soft) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-500);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.pr-yes { color: var(--green); }
.pr-no { color: var(--ink-300, #c9c5bd); }

/* ── Guarantee band ────────────────────────────────────────────────────── */
.pr-guarantee {
  padding: 64px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.pr-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.pr-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.95);
}
.pr-g-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pr-guarantee-item > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.pr-guarantee-item strong { display: block; font-size: 14px; font-weight: 650; color: var(--ink-900); }
.pr-guarantee-item span { font-size: 13px; color: var(--ink-600); line-height: 1.5; }

/* ── FAQ section overrides ─────────────────────────────────────────────── */
.pr-faq { background: var(--bg-tint); }

/* ── Final CTA spacing ─────────────────────────────────────────────────── */
.pr-cta-section { padding-bottom: 0; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pr-plan-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .pr-included-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-guarantee-grid { grid-template-columns: 1fr; max-width: 560px; }
  .pr-hero-inner h1 { font-size: 38px; }
}

@media (max-width: 640px) {
  .pr-hero { padding: 56px 0 48px; }
  .pr-hero-inner h1 { font-size: 30px; }
  .pr-hero-sub { font-size: 16px; }
  .pr-trust-strip { gap: 8px; }
  .pr-trust-dot { display: none; }
  .pr-trust-item { font-size: 12px; }
  .pr-plan-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pr-included-grid { grid-template-columns: 1fr; }
  .pr-compare-table { font-size: 12.5px; }
  .pr-compare-table td, .pr-compare-table th { padding: 10px 12px; }
}

/* ── Currency switcher ─────────────────────────────────────────────────── */
.pr-currency-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto 18px;
}
.pr-currency-switch label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
}
.pr-currency-switch select {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg, 12px);
  padding: 8px 34px 8px 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b85' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pr-currency-switch select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-500) 16%, transparent);
}
@media (max-width: 600px) {
  .pr-currency-switch { justify-content: center; }
}

/* Merchant Powerpack post-checkout thank-you page. */
.mpp-thank-you { background: linear-gradient(180deg, #f8fbff 0%, #fff 64%); }
.mpp-thank-you-hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.mpp-thank-you-hero::before { content: ''; position: absolute; inset: 12% auto auto 58%; width: 420px; height: 420px; border-radius: 999px; background: radial-gradient(circle, rgba(47,95,216,.16), transparent 66%); pointer-events: none; }
.mpp-thank-you-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.mpp-thank-you-copy { max-width: 720px; }
.mpp-thank-you-copy h1 { font-family: var(--display); font-size: clamp(42px, 7vw, 78px); line-height: .92; letter-spacing: -.055em; margin: 14px 0 20px; color: var(--ink); }
.mpp-thank-you-note { margin-top: 18px; max-width: 650px; color: var(--muted); font-size: 14px; }
.mpp-thank-you-card { background: rgba(255,255,255,.9); border: 1px solid rgba(15,23,42,.09); border-radius: 28px; padding: 26px; box-shadow: 0 24px 70px rgba(15,23,42,.12); backdrop-filter: blur(16px); }
.mpp-thank-you-card__head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(15,23,42,.08); }
.mpp-thank-you-card__head strong { display: block; font-size: 18px; color: var(--ink); }
.mpp-thank-you-card__head span:not(.mpp-thank-you-check) { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mpp-thank-you-check { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 16px; background: linear-gradient(135deg, #2f5fd8, #5f8fff); color: transparent; font-size: 0; font-weight: 900; box-shadow: 0 16px 28px rgba(47,95,216,.24); position: relative; }
.mpp-thank-you-check::before { content: '✓'; color: #fff; font-size: 24px; line-height: 1; font-weight: 900; }
.mpp-thank-you-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; counter-reset: thankyou; }
.mpp-thank-you-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: start; color: var(--muted); }
.mpp-thank-you-steps li::before { counter-increment: thankyou; content: counter(thankyou); grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(47,95,216,.1); color: var(--blue); font-weight: 800; }
.mpp-thank-you-steps strong { display: block; grid-column: 2; color: var(--ink); margin-bottom: 3px; }
.mpp-thank-you-steps span { display: block; grid-column: 2; min-width: 0; font-size: 14px; line-height: 1.55; }

@media (max-width: 860px) {
  .mpp-thank-you-hero { padding: 72px 0 54px; }
  .mpp-thank-you-grid { grid-template-columns: 1fr; }
}
