/* ===== Billing Leak Scan landing page ===== */
.scan-trust { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.scan-trust li::before { content: "\2713\00a0"; font-weight: 700; }
.scan-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.scan-example { margin: 0; border: 1px solid #d6dbe4; border-radius: 10px; padding: 1rem; background: #fff; }
.scan-example__row { display: flex; flex-direction: column; gap: .2rem; padding: .75rem 0; border-bottom: 1px solid #eef1f5; }
.scan-example__row--alert { color: #8a3b00; }
.scan-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.scan-steps li { background: #fff; border: 1px solid #d6dbe4; border-radius: 10px; padding: 1rem; }
.scan-report { border: 1px solid #d6dbe4; border-radius: 12px; padding: 1.25rem; background: #fff; }
.scan-report__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.scan-report__summary div { background: #f5f7fa; border-radius: 8px; padding: .75rem; }
.scan-report__summary dt { font-size: .85rem; }
.scan-report__summary dd { margin: 0; font-size: 1.5rem; font-weight: 700; }
.scan-report__scroll { overflow-x: auto; }
.scan-report__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.scan-report__table th, .scan-report__table td { text-align: left; padding: .6rem; border-bottom: 1px solid #eef1f5; }
.scan-report__table tfoot th, .scan-report__table tfoot td { font-weight: 700; border-top: 2px solid #c9d0db; }
.scan-form-wrap { max-width: 720px; }
.scan-form { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.scan-form .form-group { display: flex; flex-direction: column; gap: .3rem; }
.scan-form input, .scan-form select, .scan-form textarea { width: 100%; }
.field-error { color: #b00020; font-size: .9rem; }
.form-error { color: #b00020; }
.form-error:empty, .validation-summary-valid { display: none; }
.scan-alt-contact { margin-top: 2rem; }

/* ===== Revenue protection service pages ===== */
.scan-steps--six { grid-template-columns: repeat(3, 1fr); }
.rev-states { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; }
.rev-states dt { font-weight: 700; }
.rev-states dd { margin: 0; }
.rev-kv { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 1rem 0; }
.rev-kv dt { font-weight: 600; }
.rev-kv dd { margin: 0; }
.rev-funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 1rem 0; }
.rev-funnel div { background: #f5f7fa; border-radius: 8px; padding: .75rem; border-top: 4px solid #94a3b8; }
.rev-funnel div:nth-child(2), .rev-funnel div:nth-child(3), .rev-funnel div:nth-child(4) { border-top-color: #0d9488; }
.rev-funnel div:nth-child(5) { border-top-color: #b45309; }
.rev-funnel dt { font-size: .85rem; }
.rev-funnel dd { margin: .25rem 0; font-size: 1.4rem; font-weight: 700; }
.rev-funnel p { margin: 0; font-size: .8rem; }
.rev-link-list { padding-left: 1.1rem; }
.rev-link-list li { margin-bottom: .4rem; }
.wf--vertical { flex-direction: column; }
.wf--vertical li + li::before { content: "\2193\00a0"; }
.cta-band { background: var(--primary-blue, #1e3a8a); color: #fff; text-align: center; padding: 3rem 0; }
.cta-band h2 { color: #fff; }
@media (max-width: 1000px) {
  .rev-funnel { grid-template-columns: repeat(2, 1fr); }
  .home-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rev-funnel, .rev-states, .rev-kv, .scan-steps--six, .home-grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .scan-two-col, .scan-steps, .scan-report__summary { grid-template-columns: 1fr; }
}

.scan-hero__note { font-size: .95rem; opacity: .85; margin-top: .75rem; }
.scan-steps { counter-reset: step; }
.scan-steps li { counter-increment: step; }
.scan-steps li h3::before { content: counter(step) '. '; }
.scan-report__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scan-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1rem; }
.scan-terms dt { font-weight: 700; }
.scan-terms dd { margin: 0; font-size: .9rem; }
@media (max-width: 760px) { .scan-terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .scan-terms { grid-template-columns: 1fr; } }
