/* ═══════════════════════════════════════════════════════════════════
   Pricing Flow — Guided, step-based SaaS onboarding experience
   ═══════════════════════════════════════════════════════════════════ */

.pf {
  --pf-fg: #0f172a;
  --pf-muted: #64748b;
  --pf-hint: #94a3b8;
  --pf-border: #e2e8f0;
  --pf-surface: #ffffff;
  --pf-canvas: #f8fafc;
  --pf-surface-mid: #f1f5f9;
  --pf-accent: #2563eb;
  --pf-accent-dark: #1d4ed8;
  --pf-accent-soft: #eff6ff;
  --pf-purple: #7c3aed;
  --pf-purple-dark: #6d28d9;
  --pf-purple-soft: #f5f3ff;
  --pf-teal: #0d9488;
  --pf-yes: #16a34a;
  --pf-gold: #b45309;
  --pf-gold-bg: #fffbeb;
  --pf-radius: 14px;
  --pf-shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 10px 20px -5px rgba(0,0,0,0.08);
  --pf-shadow-lg: 0 8px 30px -4px rgba(0,0,0,0.1), 0 20px 40px -8px rgba(0,0,0,0.08);

  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--pf-fg);
}

/* ── Progress bar ── */
.pf-progress {
  max-width: 280px;
  margin: 1.5rem auto 0;
  position: relative;
}

.pf-progress-track {
  height: 3px;
  background: var(--pf-border);
  border-radius: 99px;
  overflow: hidden;
}

.pf-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--pf-accent);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.pf[data-pf-path="residency"] .pf-progress-fill {
  background: var(--pf-purple);
}

.pf-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.pf-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--pf-surface-mid);
  color: var(--pf-hint);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pf-progress-dot--active {
  background: var(--pf-accent);
  color: #fff;
}

.pf-progress-dot--done {
  background: var(--pf-accent);
  color: #fff;
  font-size: 0;
}

.pf-progress-dot--done::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.55rem;
}

.pf[data-pf-path="residency"] .pf-progress-dot--active,
.pf[data-pf-path="residency"] .pf-progress-dot--done {
  background: var(--pf-purple);
}

/* ── Step container ── */
.pf-step {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.pf-step--active {
  display: block;
  animation: pfStepIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pf-step--exit {
  display: block;
  animation: pfStepOut 0.25s ease forwards;
}

@keyframes pfStepIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pfStepOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-step--active,
  .pf-step--exit {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.pf-step-inner {
  padding: 2rem 0;
}

.pf-step-inner--centered {
  text-align: center;
  padding: 3rem 0 2rem;
}

/* ── Typography ── */
.pf-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
}

.pf[data-pf-path="residency"] .pf-badge {
  color: var(--pf-purple);
  border-bottom-color: rgba(124, 58, 237, 0.28);
}

.pf-heading {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--pf-fg);
}

.pf-heading--sm {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin-bottom: 0.35rem;
}

.pf-subtext {
  font-size: 1rem;
  color: var(--pf-muted);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.pf-trust {
  font-size: 0.75rem;
  color: var(--pf-hint);
  margin-top: 2rem;
  letter-spacing: 0.01em;
}

.pf-trust i {
  margin-right: 0.3rem;
  font-size: 0.65rem;
}

/* ── Back button ── */
.pf-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pf-muted);
  cursor: pointer;
  padding: 0.4rem 0;
  margin-bottom: 1rem;
  transition: color 0.15s;
}

.pf-back:hover {
  color: var(--pf-fg);
}

.pf-back i {
  font-size: 0.7rem;
}

/* ══════════════════════════════════════════════════════════════
   STEP 1 — Choice cards
   ══════════════════════════════════════════════════════════════ */
.pf-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 540px;
  margin: 2rem auto 0;
}

.pf-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--pf-surface);
  border: 1.5px solid var(--pf-border);
  border-radius: var(--pf-radius);
  padding: 2rem 1.5rem 1.75rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: all 0.2s ease;
}

.pf-choice-card:hover {
  border-color: var(--pf-accent);
  box-shadow: var(--pf-shadow);
  transform: translateY(-2px);
}

.pf-choice-card:active {
  transform: translateY(0);
}

.pf[data-pf-path="residency"] .pf-choice-card:hover,
.pf-choice-card[data-pf-choose="residency"]:hover {
  border-color: var(--pf-purple);
}

.pf-choice-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--pf-accent-soft);
  color: var(--pf-accent);
  margin-bottom: 1rem;
  transition: background 0.2s, color 0.2s;
}

.pf-choice-card[data-pf-choose="residency"] .pf-choice-icon {
  background: var(--pf-purple-soft);
  color: var(--pf-purple);
}

.pf-choice-card:hover .pf-choice-icon {
  background: var(--pf-accent);
  color: #fff;
}

.pf-choice-card[data-pf-choose="residency"]:hover .pf-choice-icon {
  background: var(--pf-purple);
  color: #fff;
}

.pf-choice-label {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--pf-fg);
}

.pf-choice-desc {
  font-size: 0.8125rem;
  color: var(--pf-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pf-choice-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pf-surface-mid);
  color: var(--pf-hint);
  font-size: 0.75rem;
  transition: all 0.2s;
}

.pf-choice-card:hover .pf-choice-arrow {
  background: var(--pf-accent);
  color: #fff;
  transform: translateX(2px);
}

.pf-choice-card[data-pf-choose="residency"]:hover .pf-choice-arrow {
  background: var(--pf-purple);
}

/* Lock hint (onboarding-locked users) */
.pf-lock-hint {
  font-size: 0.8125rem;
  color: var(--pf-muted);
  margin: 0 0 1rem;
}

.pf-lock-hint i {
  font-size: 0.7rem;
  margin-right: 0.2rem;
  color: var(--pf-hint);
}

.pf-lock-hint a {
  color: var(--pf-accent);
  text-decoration: none;
  font-weight: 500;
}

.pf-lock-hint a:hover {
  text-decoration: underline;
}

.pf[data-pf-path="residency"] .pf-lock-hint a {
  color: var(--pf-purple);
}

/* ══════════════════════════════════════════════════════════════
   STEP 2 — Category pills + plan cards
   ══════════════════════════════════════════════════════════════ */
.pf-step2-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pf-context-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pf-accent);
  background: var(--pf-accent-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pf-context-chip i {
  font-size: 0.65rem;
}

.pf[data-pf-path="residency"] .pf-context-chip {
  color: var(--pf-purple);
  background: var(--pf-purple-soft);
}

/* Category pills */
.pf-category-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pf-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--pf-border);
  border-radius: 999px;
  background: var(--pf-surface);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pf-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pf-pill:hover {
  border-color: #cbd5e1;
  color: var(--pf-fg);
}

.pf-pill[aria-selected="true"] {
  border-color: var(--pf-accent);
  background: var(--pf-accent-soft);
  color: var(--pf-accent);
  font-weight: 600;
}

.pf[data-pf-path="residency"] .pf-pill[aria-selected="true"] {
  border-color: var(--pf-purple);
  background: var(--pf-purple-soft);
  color: var(--pf-purple);
}

.pf-pill i {
  font-size: 0.75rem;
}

.pf-pill-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--pf-gold);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.15rem;
}

/* ══════════════════════════════════════════════════════════════
   STEP 2 — Comparison table  (modern minimal)
   ══════════════════════════════════════════════════════════════ */
.pf-table-wrap {
  margin-top: 0.5rem;
}

.pf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(0, 0, 0, 0.02);
}

.pf-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8125rem;
}

.pf-table-corner {
  width: 150px;
  min-width: 130px;
}

.pf-table th,
.pf-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  transition: background 0.15s ease;
}

/* Row hover */
.pf-table tbody tr:hover th,
.pf-table tbody tr:hover td {
  background: #fafbfd;
}

.pf-table tbody tr:hover td.pf-table-col--feat {
  background: rgba(37, 99, 235, 0.04);
}

.pf[data-pf-path="residency"] .pf-table tbody tr:hover td.pf-table-col--feat {
  background: rgba(124, 58, 237, 0.04);
}

.pf-table thead th {
  border-bottom: 1px solid var(--pf-border);
  background: var(--pf-canvas);
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

.pf-table thead .pf-table-corner {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--pf-canvas);
}

.pf-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--pf-fg);
  font-size: 0.8rem;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--pf-surface);
}

.pf-table-col {
  min-width: 130px;
  text-align: center;
}

/* ── Featured column — most valuable plan (leftmost) ── */
.pf-table thead .pf-table-col--feat {
  background: var(--pf-accent-soft);
  box-shadow: inset 0 3px 0 var(--pf-accent);
}

.pf[data-pf-path="residency"] .pf-table thead .pf-table-col--feat {
  background: var(--pf-purple-soft);
  box-shadow: inset 0 3px 0 var(--pf-purple);
}

.pf-table tbody td.pf-table-col--feat {
  background: rgba(37, 99, 235, 0.022);
}

.pf[data-pf-path="residency"] .pf-table tbody td.pf-table-col--feat {
  background: rgba(124, 58, 237, 0.022);
}

.pf-table tfoot td.pf-table-col--feat {
  background: rgba(37, 99, 235, 0.022);
}

.pf[data-pf-path="residency"] .pf-table tfoot td.pf-table-col--feat {
  background: rgba(124, 58, 237, 0.022);
}

/* Table header cells */
.pf-table-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0;
}

.pf-table-tag {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.pf-table-tag--best {
  color: #fff;
  background: var(--pf-accent);
}

.pf[data-pf-path="residency"] .pf-table-tag--best {
  background: var(--pf-purple);
}

.pf-table-tag--owned {
  color: var(--pf-yes);
  background: #ecfdf5;
}

.pf-table-plan-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pf-fg);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.pf-table-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--pf-fg);
  margin-top: 0.1rem;
}

.pf-table-col--feat .pf-table-plan-price {
  color: var(--pf-accent);
}

.pf[data-pf-path="residency"] .pf-table-col--feat .pf-table-plan-price {
  color: var(--pf-purple);
}

.pf-table-plan-once {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--pf-hint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Table body cells */
.pf-table-cell--yes {
  text-align: center;
}

.pf-table-cell--yes i {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--pf-yes);
  font-size: 0.55rem;
}

/* Infinity glyph used in "unlimited" comparison cells. Sized just slightly
 * above a numeric cell so the column scans naturally with numbers + ∞, with
 * a normal weight so it reads as a value, not a heavy accent. */
.pf-table-infinity {
  display: inline-block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 400;
  color: var(--pf-accent);
  letter-spacing: -0.02em;
}

.pf[data-pf-path="residency"] .pf-table-infinity {
  color: var(--pf-purple);
}

.pf-table-cell--num {
  text-align: center;
  font-weight: 600;
  color: var(--pf-fg);
  font-size: 0.9rem;
}

.pf-table-cell--no {
  text-align: center;
  color: #d4d4d8;
  font-size: 0.7rem;
}

/* Table footer — Select buttons */
.pf-table tfoot th,
.pf-table tfoot td {
  border-bottom: none;
  border-top: 1px solid var(--pf-border);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background: var(--pf-canvas);
}

.pf-table tfoot td.pf-table-col--feat {
  background: var(--pf-accent-soft);
}

.pf[data-pf-path="residency"] .pf-table tfoot td.pf-table-col--feat {
  background: var(--pf-purple-soft);
}

.pf-table-btn {
  display: block;
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--pf-surface);
  color: var(--pf-muted);
  border: 1.5px solid var(--pf-border);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.pf-table-btn:hover {
  border-color: #cbd5e1;
  color: var(--pf-fg);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Primary button — featured column CTA */
.pf-table-btn--primary {
  background: var(--pf-accent);
  color: #fff;
  border-color: var(--pf-accent);
  font-weight: 600;
  box-shadow: 0 2px 8px -2px rgba(37, 99, 235, 0.25);
}

.pf-table-btn--primary:hover {
  background: var(--pf-accent-dark);
  border-color: var(--pf-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.4);
}

.pf[data-pf-path="residency"] .pf-table-btn--primary {
  background: var(--pf-purple);
  border-color: var(--pf-purple);
  box-shadow: 0 2px 8px -2px rgba(124, 58, 237, 0.25);
}

.pf[data-pf-path="residency"] .pf-table-btn--primary:hover {
  background: var(--pf-purple-dark);
  border-color: var(--pf-purple-dark);
  box-shadow: 0 4px 14px -3px rgba(124, 58, 237, 0.4);
}

.pf-table-btn--top {
  margin-top: 0.6rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  max-width: 110px;
}

.pf-table-common {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  background: var(--pf-canvas);
}

.pf-table-common-title {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pf-muted);
}

.pf-table-common-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem 1rem;
}

.pf-table-common-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--pf-fg);
  line-height: 1.35;
}

.pf-table-common-list i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--pf-yes);
  font-size: 0.5rem;
  margin-top: 0.15rem;
}

.pf-table-btn--owned {
  background: #ecfdf5;
  color: var(--pf-yes);
  cursor: default;
  border: 1.5px solid #bbf7d0;
  font-weight: 500;
}

.pf-table-btn--owned:hover {
  background: #ecfdf5;
  color: var(--pf-yes);
  box-shadow: none;
  transform: none;
}

/* ── Section header rows inside the comparison table ── */
.pf-table-section-row .pf-table-section-th {
  position: static;             /* override the sticky-left from .pf-table tbody th */
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pf-muted);
  background: var(--pf-canvas);
  padding: 1rem 1rem 0.55rem;
  border-top: 1px solid var(--pf-border);
  border-bottom: 1px solid var(--pf-border);
}

.pf-table tbody.pf-table-section:first-of-type .pf-table-section-th {
  border-top: none;
}

/* Section header rows shouldn't respond to row-hover. */
.pf-table tbody.pf-table-section .pf-table-section-row:hover .pf-table-section-th {
  background: var(--pf-canvas);
}

/* Subtle accent on the section header for the path's primary color. */
.pf-table-section-th {
  border-left: 3px solid var(--pf-accent);
}

.pf[data-pf-path="residency"] .pf-table-section-th {
  border-left-color: var(--pf-purple);
}

/* ── Feature row label + (i) info icon ── */
.pf-row-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  line-height: 1.35;
}

.pf-row-label-text {
  display: inline;
}

.pf-info {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--pf-border);
  background: var(--pf-surface);
  color: var(--pf-muted);
  border-radius: 50%;
  font: 700 0.625rem/1 'Inter', system-ui, sans-serif;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pf-info:hover,
.pf-info:focus-visible {
  background: var(--pf-accent-soft);
  border-color: var(--pf-accent);
  color: var(--pf-accent);
  transform: scale(1.1);
  outline: none;
}

.pf[data-pf-path="residency"] .pf-info:hover,
.pf[data-pf-path="residency"] .pf-info:focus-visible {
  background: var(--pf-purple-soft);
  border-color: var(--pf-purple);
  color: var(--pf-purple);
}

/* ── Floating tooltip popover (anchored to body by JS so it escapes the
   table's overflow:auto clip) ── */
.pf-info-tip {
  position: absolute;
  z-index: 1000;
  max-width: 280px;
  padding: 0.65rem 0.85rem;
  background: #0f172a;
  color: #f8fafc;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  border-radius: 10px;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.45), 0 4px 10px -2px rgba(15, 23, 42, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pf-info-tip--visible {
  opacity: 1;
  transform: translateY(0);
}

.pf-info-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
}

.pf-info-tip--below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  .pf-info-tip { transition: none; }
  .pf-info { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   STEP 3 — Minimal confirmation
   ══════════════════════════════════════════════════════════════ */
.pf-back--center {
  display: flex;
  margin: 0 auto 1.5rem;
}

.pf-confirm {
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

.pf-confirm-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--pf-yes);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.pf-confirm-plan {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  color: var(--pf-fg);
}

.pf-confirm-price {
  font-size: 1rem;
  color: var(--pf-muted);
  margin: 0 0 1.5rem;
}

.pf-confirm-assurance {
  font-size: 0.75rem;
  color: var(--pf-hint);
  margin: 0;
}

.pf-confirm-assurance i {
  margin-right: 0.25rem;
  font-size: 0.65rem;
}

/* Checkout CTA — premium minimal */
.pf-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: auto;
  min-width: 260px;
  margin: 0 auto 1.25rem;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--pf-fg);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.pf-checkout-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.2);
  color: #fff;
}

.pf-checkout-btn:active {
  transform: translateY(0);
}

.pf-checkout-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s;
  opacity: 0.7;
}

.pf-checkout-btn:hover i {
  transform: translateX(3px);
  opacity: 1;
}

/* Add-ons accordion */
.pf-addons {
  max-width: 640px;
  margin: 0 auto 2rem;
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  background: var(--pf-surface);
  overflow: hidden;
}

.pf-addons-toggle {
  list-style: none;
  cursor: pointer;
}

.pf-addons-toggle::-webkit-details-marker {
  display: none;
}

.pf-addons-toggle-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  transition: background 0.15s;
}

.pf-addons-toggle:hover .pf-addons-toggle-inner {
  background: var(--pf-canvas);
}

.pf-addons-toggle-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--pf-teal);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pf-addons-toggle-text {
  flex: 1;
  text-align: left;
}

.pf-addons-toggle-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-fg);
}

.pf-addons-toggle-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--pf-muted);
  margin-top: 0.1rem;
}

.pf-addons-chevron {
  color: var(--pf-hint);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.pf-addons[open] .pf-addons-chevron {
  transform: rotate(180deg);
}

.pf-addons-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--pf-border);
}

.pf-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.pf-addon-card {
  background: var(--pf-canvas);
  border: 1px solid var(--pf-border);
  border-radius: 10px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
}

.pf-addon-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--pf-fg);
}

.pf-addon-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pf-fg);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.pf-addon-price span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--pf-hint);
  margin-left: 0.25rem;
}

.pf-addon-desc {
  font-size: 0.75rem;
  color: var(--pf-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.pf-addon-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  flex: 1;
}

.pf-addon-features li {
  font-size: 0.75rem;
  color: #3f3f46;
  padding: 0.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.45;
}

.pf-addon-features li i {
  color: var(--pf-yes);
  font-size: 0.55rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pf-addon-btn {
  display: block;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--pf-surface);
  color: var(--pf-fg);
  border: 1px solid var(--pf-border);
  transition: all 0.15s;
}

.pf-addon-btn:hover {
  background: var(--pf-canvas);
  border-color: #cbd5e1;
  color: var(--pf-fg);
}

/* Guarantee */
.pf-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 480px;
  margin: 0 auto;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-left: 3px solid var(--pf-accent);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.pf[data-pf-path="residency"] .pf-guarantee {
  border-left-color: var(--pf-purple);
}

.pf-guarantee > i {
  font-size: 1.1rem;
  color: var(--pf-muted);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pf-guarantee strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.pf-guarantee p {
  font-size: 0.8125rem;
  color: var(--pf-muted);
  margin: 0;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
.pf-faq {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pf-border);
}

.pf-faq h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.pf-faq-list {
  max-width: 40rem;
}

.pf-faq-item {
  border-bottom: 1px solid var(--pf-border);
}

.pf-faq-item summary {
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--pf-fg);
  transition: color 0.15s;
}

.pf-faq-item summary:hover {
  color: var(--pf-muted);
}

.pf-faq-item summary::-webkit-details-marker {
  display: none;
}

.pf-faq-item summary::after {
  content: '+';
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--pf-hint);
  flex-shrink: 0;
}

.pf-faq-item[open] summary::after {
  content: '\2212';
}

.pf-faq-item p {
  padding: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--pf-muted);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .pf-choice-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .pf-choice-card {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .pf-category-pills {
    gap: 0.35rem;
  }

  .pf-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }

  .pf-pill-badge {
    font-size: 0.5rem;
    padding: 0.1rem 0.35rem;
  }

  .pf-step-inner--centered {
    padding: 2rem 0 1.5rem;
  }

  .pf-heading {
    font-size: 1.5rem;
  }

  .pf-addons-grid {
    grid-template-columns: 1fr;
  }

  .pf-confirm-plan {
    font-size: 1.25rem;
  }
}

@media (max-width: 420px) {
  .pf {
    padding: 0 0.75rem 3rem;
  }
}

/* ── Accessibility ── */
.pf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
