/* Competitor comparison pages (cp-), 2026-11-05: App\Services\PageMigration\ComparisonPageSections over the feature-page
   pieces (geo-, fp-) of loyalty-feature-pages.css. Loaded for any page whose HTML contains "cp-hero". Logical properties
   for the RTL build (comparison.rtl.css, made with rtlcss). */

.bqr-feature .cp-checked { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; padding: 6px 13px 6px 9px; border-radius: 999px; background: #ece8fd; color: var(--feature-accent); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.bqr-feature .cp-checked svg { flex: none; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bqr-feature .cp-answer h2 { margin: 0; font-size: 20px; }
.bqr-feature .cp-answer dd { font-size: 15.5px; }

.bqr-feature .cp-table-wrap { overflow-x: auto; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(140,125,238,.12), 0 18px 40px -32px rgba(49,32,85,.5); }
.bqr-feature .cp-table { width: 100%; min-width: 640px; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.bqr-feature .cp-table th, .bqr-feature .cp-table td { padding: 16px 20px; border-bottom: 1px solid #eeebf8; text-align: start; vertical-align: top; }
.bqr-feature .cp-table thead th { position: sticky; top: 0; background: #faf9fe; color: var(--feature-ink); font-size: 16px; font-weight: 800; }
.bqr-feature .cp-table thead th.cp-us { color: var(--feature-accent); }
.bqr-feature .cp-table tbody th { width: 22%; color: var(--feature-ink); font-weight: 700; }
.bqr-feature .cp-table tbody td { width: 39%; color: var(--feature-muted); }
.bqr-feature .cp-table tbody td:nth-child(2) { background: rgba(140,125,238,.05); color: var(--feature-ink); }
.bqr-feature .cp-table tbody tr:last-child th, .bqr-feature .cp-table tbody tr:last-child td { border-bottom: 0; }
.bqr-feature .cp-table-note { max-width: 900px; margin: 18px auto 0; color: var(--feature-muted); font-size: 14px; text-align: center; }

.bqr-feature .cp-side-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bqr-feature .cp-side { padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(140,125,238,.14), 0 18px 40px -32px rgba(49,32,85,.5); }
.bqr-feature .cp-side--us { box-shadow: 0 0 0 2px var(--feature-accent), 0 18px 40px -30px rgba(49,32,85,.55); }
.bqr-feature .cp-side h3 { margin-bottom: 14px; font-size: 20px; }
.bqr-feature .cp-side p { margin: 0 0 14px; color: var(--feature-muted); font-size: 16px; line-height: 1.65; }
.bqr-feature .cp-side .feature-actions { margin-top: 8px; }

.bqr-feature .cp-steps { margin-top: 8px; }

.bqr-feature .cp-sources h2 { margin-bottom: 8px; }
.bqr-feature .cp-sources p { max-width: 860px; margin: 0 0 12px; color: var(--feature-muted); font-size: 14.5px; }
.bqr-feature .cp-sources ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.bqr-feature .cp-sources a { word-break: break-all; }

@media (max-width: 767.98px) {
    .bqr-feature .cp-side-grid { grid-template-columns: minmax(0, 1fr); }
    .bqr-feature .cp-side { padding: 22px; }
    .bqr-feature .cp-table th, .bqr-feature .cp-table td { padding: 12px 14px; font-size: 14px; }
}

/* the hub of the comparisons (/p/loyalty-app-comparisons) */
.bqr-feature .cp-hub-copy { max-width: 820px; }
.bqr-feature .cp-hub-card p { margin: 6px 0 10px; color: var(--feature-muted); font-size: 15px; line-height: 1.55; }
.bqr-feature .cp-hub-card p strong { color: var(--feature-ink); }
.bqr-feature .cp-hub-hero .geo-trust { margin-top: 22px; }
.bqr-feature .cp-group + .cp-group { margin-top: 44px; }
.bqr-feature .cp-group-head { max-width: 760px; margin-bottom: 18px; }
.bqr-feature .cp-group-head h3 { margin-bottom: 4px; font-size: 21px; }
.bqr-feature .cp-group-head p { margin: 0; color: var(--feature-muted); font-size: 15.5px; line-height: 1.6; }
.bqr-feature .cp-matrix { min-width: 760px; }
.bqr-feature .cp-matrix tbody th { width: 18%; }
.bqr-feature .cp-matrix tbody td { width: auto; }
.bqr-feature .cp-matrix tbody td:nth-child(2) { width: 11%; background: none; color: var(--feature-ink); font-weight: 600; }
.bqr-feature .cp-matrix tbody td:nth-child(3) { width: 33%; background: none; }
.bqr-feature .cp-matrix tbody tr.cp-us-row th, .bqr-feature .cp-matrix tbody tr.cp-us-row td { background: rgba(140,125,238,.07); color: var(--feature-ink); }
.bqr-feature .cp-matrix tbody tr.cp-us-row th { color: var(--feature-accent); }
.bqr-feature .cp-matrix tbody th a { color: var(--feature-ink); }
.bqr-feature .cp-question-grid { margin-top: 8px; }
.bqr-feature .cp-question-grid::before { display: none; }
.bqr-feature .cp-sources li { min-width: 0; max-width: 100%; }
.bqr-feature .cp-sources a { overflow-wrap: anywhere; }

/* numbered cards: the switch steps and the six questions (fp-step without its icon) */
.bqr-feature .cp-steps, .bqr-feature .cp-question-grid { gap: 20px; }
.bqr-feature .cp-steps::before { display: none; }
.bqr-feature .cp-steps .fp-step, .bqr-feature .cp-question-grid .fp-step { padding: 26px; border-radius: 22px; background: #fff; text-align: start; box-shadow: 0 0 0 1px rgba(140,125,238,.14), 0 18px 40px -32px rgba(49,32,85,.5); }
.bqr-feature .cp-steps .fp-step-num, .bqr-feature .cp-question-grid .fp-step-num { position: static; margin-bottom: 14px; box-shadow: none; }
.bqr-feature .cp-steps .fp-step h3, .bqr-feature .cp-question-grid .fp-step h3 { margin-bottom: 8px; font-size: 19px; }
.bqr-feature .cp-steps .fp-step p, .bqr-feature .cp-question-grid .fp-step p { max-width: none; margin: 0; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 991.98px) {
    .bqr-feature .cp-steps, .bqr-feature .cp-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 575.98px) {
    .bqr-feature .cp-steps, .bqr-feature .cp-question-grid { grid-template-columns: minmax(0, 1fr); }
}

/* at-a-glance rows without an icon need no room for one */
.bqr-feature .fp-glance-row:not(:has(.fp-glance-icon)) { padding-inline-start: 0; }

/* feature by feature: scores, then a tick, a cross or "not stated" per row */
.bqr-feature .cp-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto 24px; }
.bqr-feature .cp-score { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(140,125,238,.14), 0 18px 40px -32px rgba(49,32,85,.5); }
.bqr-feature .cp-score--us { box-shadow: 0 0 0 2px var(--feature-accent), 0 18px 40px -30px rgba(49,32,85,.55); }
.bqr-feature .cp-score-name { color: var(--feature-ink); font-size: 17px; font-weight: 700; }
.bqr-feature .cp-score b { color: var(--feature-ink); font-size: 30px; font-weight: 800; line-height: 1; }
.bqr-feature .cp-score--us b { color: var(--feature-accent); }
.bqr-feature .cp-score b small { color: var(--feature-muted); font-size: 16px; font-weight: 600; }
.bqr-feature .cp-score-bar { grid-column: 1 / -1; display: block; height: 10px; border-radius: 999px; background: #f1eefb; overflow: hidden; }
.bqr-feature .cp-score-bar span { display: block; height: 100%; border-radius: inherit; background: #b9b1d9; }
.bqr-feature .cp-score--us .cp-score-bar span { background: linear-gradient(90deg, #8c7dee, #5944ad); }
.bqr-feature .cp-score-note { grid-column: 1 / -1; margin: 0; color: var(--feature-muted); font-size: 14px; text-align: center; }

.bqr-feature .cp-checklist { width: 100%; min-width: 0; margin: 0; border-collapse: collapse; font-size: 15.5px; }
.bqr-feature .cp-checklist th, .bqr-feature .cp-checklist td { padding: 12px 20px; border-bottom: 1px solid #eeebf8; text-align: start; vertical-align: middle; }
.bqr-feature .cp-checklist thead th { background: #faf9fe; color: var(--feature-ink); font-size: 16px; font-weight: 800; }
.bqr-feature .cp-checklist thead th.cp-us { color: var(--feature-accent); }
.bqr-feature .cp-checklist thead th:not(:first-child), .bqr-feature .cp-checklist td { width: 26%; text-align: center; }
.bqr-feature .cp-checklist tbody th { color: var(--feature-ink); font-weight: 600; }
.bqr-feature .cp-checklist td:nth-child(2) { background: rgba(140,125,238,.05); }
.bqr-feature .cp-checklist .cp-group-row th { padding-top: 22px; padding-bottom: 8px; background: #fff; color: var(--feature-accent); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bqr-feature .cp-checklist tbody tr:last-child th, .bqr-feature .cp-checklist tbody tr:last-child td { border-bottom: 0; }
.bqr-feature .cp-st { display: inline-flex; align-items: center; gap: 8px; }
.bqr-feature .cp-st svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bqr-feature .cp-st--yes svg { background: #e3f6ea; stroke: #1b8a4b; }
.bqr-feature .cp-st--paid svg { background: #fdf1dc; stroke: #a5620a; }
.bqr-feature .cp-st--no svg { background: #fde6e4; stroke: #c0362c; }
.bqr-feature .cp-st--unknown svg { background: #f0eff4; stroke: #9a97a8; }
.bqr-feature .cp-st-text { color: var(--feature-muted); font-size: 13px; font-weight: 600; line-height: 1.25; text-align: start; }
.bqr-feature .cp-st--paid .cp-st-text { color: #8a5208; }
.bqr-feature .cp-plan { padding: 2px 8px; border-radius: 999px; background: #ece8fd; color: var(--feature-accent); font-size: 12px; font-weight: 700; }
@media (max-width: 575.98px) {
    .bqr-feature .cp-scores { grid-template-columns: minmax(0, 1fr); }
    .bqr-feature .cp-checklist th, .bqr-feature .cp-checklist td { padding: 10px 10px; font-size: 14px; }
    .bqr-feature .cp-st-text { display: none; }
}
@media (max-width: 575.98px) {
    .bqr-feature .cp-checklist thead th:not(:first-child), .bqr-feature .cp-checklist td { width: 24%; }
    .bqr-feature .cp-checklist thead th { font-size: 14px; }
    .bqr-feature .cp-st { flex-direction: column; gap: 4px; }
    .bqr-feature .cp-plan { padding: 1px 6px; font-size: 10.5px; }
}
