/* 2026-11-08 pricing, setup questionnaire, billing and checkout return. Built on gambit.css tokens and the welcome
   flow's .ask/.answer pieces (public.css); one accent (the brand green), borders do the structural work. */

.bp .alert > div > strong:first-child, .bb .alert > div > strong:first-child { display: inline; }  /* sentences, not titles */
.alert-info { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.alert-success { background: var(--accent-soft); color: var(--accent-ink); }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.bq-tag { display: inline-block; padding: 2px 8px; border-radius: var(--r-pill); background: var(--warn-soft); color: var(--warn-ink); font-size: var(--t-xs); font-weight: 650; letter-spacing: 0.02em; vertical-align: middle; }

/* ---- questionnaire ---- */
.bq-progress { height: 4px; border-radius: var(--r-pill); background: var(--border); overflow: hidden; margin: 0 0 var(--s4); }
.bq-progress-bar { display: block; height: 100%; background: var(--brand-green); border-radius: inherit; transition: width var(--dur-slow) var(--ease); }
.bq-skip { color: var(--text-muted); font-size: var(--t-sm); }
.bq-fine { margin: var(--s5) 0 0; color: var(--text-muted); font-size: var(--t-sm); }
.answer-hint { display: block; }

/* ---- preview ---- */
.bq-preview { display: flex; justify-content: center; padding: var(--s5) 1rem var(--s8); }
.bq-preview-inner { width: min(760px, 100%); }
.bq-first { margin: 0 0 var(--s7); padding: var(--s4) var(--s5); border-left: 3px solid var(--brand-green); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; }
.bq-first p:last-child { margin: 0; font-size: var(--t-lg); line-height: 1.55; color: var(--text); }
.bq-h2 { margin: 0 0 var(--s3); font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.015em; }
.bq-sample-label { margin: 0 0 var(--s4); color: var(--text-muted); font-size: var(--t-sm); display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.bq-flow { list-style: none; margin: 0 0 var(--s7); padding: 0; display: grid; gap: var(--s3); }
.bq-step { padding: var(--s4) var(--s5); border-radius: var(--r-md); }
.bq-step-n { margin: 0 0 var(--s2); color: var(--text-muted); font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.bq-takeaway { margin: 0 0 var(--s4); font-size: var(--t-lg); font-weight: 650; color: var(--text-strong); }
.bq-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: 0 0 var(--s4); }
.bq-figures > div { padding: var(--s3); background: var(--surface-2); border-radius: var(--r-sm); }
.bq-figures dt { color: var(--text-muted); font-size: var(--t-xs); font-weight: 600; }
.bq-figures dd { margin: 2px 0 0; font-size: var(--t-lg); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.bq-figures dd.quiet { font-size: var(--t-xs); font-weight: 500; color: var(--text-muted); margin: 2px 0 0; }
.bq-finding, .bq-a, .bq-next { margin: 0; line-height: 1.6; }
.bq-q { margin: 0 0 var(--s2); font-weight: 650; color: var(--text-strong); }
.bq-next { font-weight: 600; color: var(--text-strong); }
.bq-cta { padding: var(--s5); border-radius: var(--r-lg); }
.bq-cta p { line-height: 1.6; }
.bq-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s4); }

/* ---- pricing ---- */
.bp { padding: var(--s7) 0 var(--s8); }
.bp-inner { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.bp-head { text-align: center; margin: 0 auto var(--s6); max-width: 40rem; }
.bp-head h1 { margin: 0 0 var(--s3); font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.bp-sub { margin: 0; color: var(--text-muted); font-size: var(--t-lg); }
.bp-cards { list-style: none; margin: var(--s5) 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); align-items: stretch; }
.bp-card { display: flex; flex-direction: column; padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bp-card-rec { border-color: var(--text-strong); box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08); }
.bp-card-chosen { outline: 3px solid var(--focus); outline-offset: 2px; }
.bp-name { margin: 0 0 var(--s3); font-size: var(--t-lg); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.bp-rec { padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--t-xs); font-weight: 650; }
.bp-price { margin: 0 0 var(--s3); }
.bp-amount { font-size: 2.1rem; font-weight: 750; letter-spacing: -0.03em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.bp-per { color: var(--text-muted); font-weight: 600; }
.bp-promise { margin: 0 0 var(--s2); font-weight: 650; color: var(--text-strong); line-height: 1.4; min-height: 2.8em; }
.bp-for { margin: 0 0 var(--s4); color: var(--text-muted); font-size: var(--t-sm); line-height: 1.5; min-height: 3em; }
.bp-rows { margin: 0 0 var(--s5); border-top: 1px solid var(--border-soft); }
.bp-rows > div { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--border-soft); font-size: var(--t-sm); }
.bp-rows dt { color: var(--text-muted); }
.bp-rows dd { margin: 0; white-space: nowrap; font-weight: 650; color: var(--text-strong); font-variant-numeric: tabular-nums; text-align: right; }
.bp-action { margin-top: auto; }
.bp-action .btn { min-height: 44px; }
.bp-billed, .bp-note { margin: var(--s2) 0 0; color: var(--text-muted); font-size: var(--t-xs); text-align: center; }
.bp-current { margin: 0; padding: 10px; text-align: center; font-weight: 650; color: var(--accent-ink); background: var(--accent-soft); border-radius: var(--radius-sm); }
.bp-signin { text-align: center; color: var(--text-muted); font-size: var(--t-sm); margin: 0 0 var(--s6); }
.bp-every, .bp-terms { margin: var(--s7) auto 0; max-width: 46rem; }
.bp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.bp-ticks li { display: flex; gap: var(--s2); align-items: flex-start; line-height: 1.5; }
.bp-ticks .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.4; }
.bp-list { margin: 0; padding-left: 1.2rem; display: grid; gap: var(--s2); line-height: 1.55; color: var(--text); }
.bp-fine { color: var(--text-muted); font-size: var(--t-sm); line-height: 1.55; }
.bp-help { text-align: center; margin-top: var(--s7); }
.bp-code { margin: var(--s7) auto 0; max-width: 32rem; padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.bp-code summary { cursor: pointer; font-weight: 600; color: var(--text-muted); min-height: 32px; display: flex; align-items: center; }
.bp-code summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
.bp-code-form { margin-top: var(--s3); }
.bp-code-form label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: var(--s1); }
.bp-code-row { display: flex; gap: var(--s2); }
.bp-code-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font: inherit; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.bp-code-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* ---- billing ---- */
.bb { padding-bottom: var(--s8); max-width: 860px; }
.bb-plan { padding: var(--s5); margin-bottom: var(--s5); }
.bb-plan p { line-height: 1.55; }
.bb-plan-name { margin: 0 0 var(--s3); display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; font-size: var(--t-xl); }
.bb-price { color: var(--text-muted); font-size: var(--t-md); font-weight: 600; }
.bb-warn { color: var(--warn-ink); background: var(--warn-soft); padding: var(--s2) var(--s3); border-radius: var(--radius-sm); }
.bb-fine { color: var(--text-muted); font-size: var(--t-sm); margin: var(--s2) 0 0; }
.bb-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.bb-meter { padding: var(--s4); }
.bb-meter-title { margin: 0 0 var(--s1); color: var(--text-muted); font-size: var(--t-sm); font-weight: 600; }
.bb-meter-num { margin: 0 0 var(--s3); font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.bb-meter-note { margin: var(--s2) 0 0; color: var(--text-muted); font-size: var(--t-xs); }
.bb-bar { height: 6px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bb-bar span { display: block; height: 100%; background: var(--brand-green); border-radius: inherit; }

/* ---- checkout return ---- */
.br { padding: var(--s8) 0; display: flex; justify-content: center; }
.br-card { width: min(560px, 100%); padding: var(--s7) var(--s6); text-align: center; }
.br-card h1 { font-size: var(--t-2xl); margin: 0 0 var(--s3); }
.br-card p { line-height: 1.6; }
.br-spinner { display: inline-block; width: 28px; height: 28px; margin-bottom: var(--s4); border: 3px solid var(--accent-soft); border-top-color: var(--brand-green); border-radius: 50%; animation: br-spin 0.9s linear infinite; }
@keyframes br-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .bp-cards { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; }
  .bp-promise, .bp-for { min-height: 0; }
}
@media (max-width: 640px) {
  .bq-figures, .bb-meters { grid-template-columns: minmax(0, 1fr); }
  .bp { padding-top: var(--s5); }
  .br-card { padding: var(--s6) var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  .bq-progress-bar { transition: none; }
  .br-spinner { animation: none; }
}

/* The agency offer leads; the separate owner-analysis offer follows after a clear divider. */
.ob-agency { margin-top: 24px; }
.ob-owner { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line, #e3e7ef); }
.ob-agency-title { margin: 0 0 8px; font-size: 28px; }
.ob-agency .ob-small { margin-top: 16px; }
