/* ============================================================
 * /claiming  —  page-specific styles
 *
 * Loads alongside /brand.css. Shared components (.product-hero,
 * .data-card, .cap-grid/.cap-card, .aud-grid/.aud-card,
 * .proof-bar.tight, .faq-list, .section-heading, .cta-options,
 * blockquote) come from brand.css; this file adds only the
 * page-specific pieces.
 *
 * Brand-canon notes baked in:
 *   - A Medicare answer is never an error. Paid = Success green;
 *     Rejected = Navy (a result we surface, not a failure);
 *     Pending = Info slate; Lodged leads in Navy. Error red is
 *     reserved for our own failures and appears nowhere on this page.
 *     (colour-palette.md §"Eligibility verdicts".)
 *   - Functional UI colour is never marketing decoration.
 *   - Data-as-imagery leads: the hero claim and the payment report
 *     are designed objects, laid out with print-specimen care; the
 *     deposit is the big-number hero in DM Serif Display.
 *     (imagery-direction.md §5 · data-visualisation.md.)
 *   - Quiet elevation by Mist fill over shadow inside the cards.
 *     (layout-grid.md §"Card elevation".)
 * ============================================================ */


/* ============================================================ */
/* §1  HERO                                                       */
/* ============================================================ */
/* 48px breath between descriptor and CTAs — matches sibling pages. */
.product-hero .cta-row { margin-top: var(--space-48); }

/* — Hero card: a single bulk bill claim, lodged (data-card chrome). — */
.cl-card .cl-fields { display: grid; gap: 0; margin: 0; }
.cl-card .cl-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16);
  align-items: baseline;
  padding: var(--space-12) 0;
}
.cl-card .cl-field + .cl-field { border-top: 1px solid var(--color-stone-20); }
.cl-card .cl-field-label {
  font-family: var(--font-sans);
  font-size: var(--type-label-m);     /* 12 */
  font-weight: 500;
  color: var(--color-stone-60);
}
.cl-card .cl-field-value {
  font-size: var(--type-body-s);
  color: var(--color-midnight);
  text-align: right;
  justify-self: end;
}
.cl-card .cl-field-value .mono { font-size: 13px; letter-spacing: 0.02em; }
.cl-card .cl-mbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: var(--space-8);
}

/* Lodged stamp — the verdict, Navy-tinted. A Medicare answer (accepted
   for processing), calm by design. The claim reference sits to the right. */
.cl-card .cl-verdict {
  display: flex; align-items: center; gap: var(--space-12);
  margin-top: var(--space-8);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-default);
}
.cl-card .cl-verdict-lodged {
  background: color-mix(in srgb, var(--color-navy) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-navy) 16%, transparent);
}
.cl-card .cl-verdict-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--color-navy);
}
.cl-card .cl-verdict-mark svg { width: 22px; height: 22px; }
.cl-card .cl-verdict-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cl-card .cl-verdict-title {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-navy);
}
.cl-card .cl-verdict-reason {
  font-size: var(--type-body-s);
  color: var(--color-midnight);
}
.cl-card .cl-verdict-id {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--color-navy);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* Narrow cards: let the reference drop under the verdict text. */
@media (max-width: 420px) {
  .cl-card .cl-verdict { flex-wrap: wrap; }
  .cl-card .cl-verdict-id { margin-left: 34px; }
}


/* ============================================================ */
/* §2  THREE CHANNELS — bulk bill · DVA · patient claims         */
/* cap-icon (Royal) leads each card; a two-node payer→payee      */
/* micro-diagram on a Mist fill carries the who-pays-whom        */
/* difference; stream pills sit at the foot. 3-col at desktop.    */
/* ============================================================ */
.cl-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}
@media (min-width: 640px) {
  .cl-channels-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-32); }
}
@media (min-width: 1024px) {
  .cl-channels-grid { grid-template-columns: repeat(3, 1fr); }
}
.cl-channel {
  background: var(--color-paper);
  border: 1px solid var(--color-stone-20);
  border-radius: var(--radius-default);
  padding: var(--space-32);
  display: grid;
  gap: var(--space-16);
  align-content: start;
}
.cl-channel h3 { color: var(--color-midnight); }
.cl-channel .cl-channel-desc {
  color: var(--color-stone-60);
  line-height: var(--lh-body-relaxed);
  margin: 0;
}

/* Payer → payee micro-diagram — the essential difference between the
   three channels. The recipient of the money (You / Patient) is the
   emphasised Navy node; the payer is muted Stone. Quiet Mist fill. */
.cl-pays {
  display: flex; align-items: center; gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  background: var(--color-mist);
  border-radius: var(--radius-default);
}
.cl-pays .cl-node {
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-stone-60);
  white-space: nowrap;
}
.cl-pays .cl-node-you,
.cl-pays .cl-node-patient { color: var(--color-navy); }
.cl-pays .cl-pays-arrow {
  display: inline-flex; align-items: center;
  color: var(--color-stone-60);
}
.cl-pays .cl-pays-arrow svg { width: 16px; height: 16px; }

/* Stream pills — general / specialist / pathology, on every channel. */
.cl-streams {
  display: flex; flex-wrap: wrap; gap: var(--space-8);
  list-style: none; padding: 0; margin: 0;
}
.cl-streams li {
  font-size: 12px; font-weight: 500;
  color: var(--color-navy);
  padding: 3px 10px;
  background: color-mix(in srgb, var(--color-navy) 5%, transparent);
  border-radius: var(--radius-pill);
}


/* ============================================================ */
/* §3  WHAT COMES BACK — claim statuses                          */
/* Bare text blocks with a 2px left rule in the verdict colour,  */
/* matching the eligibility-check / patient-verification         */
/* outcome typology. Paid green · Pending slate · Rejected navy. */
/* ============================================================ */
.cl-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  margin-top: var(--space-48);
}
@media (min-width: 720px) {
  .cl-outcomes-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-48); }
}
.cl-outcome {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--space-12);
  padding-left: var(--space-20);
  border-left: 2px solid var(--color-stone-20);
}
.cl-outcome-paid     { border-left-color: var(--verdict-eligible); }
.cl-outcome-pending  { border-left-color: var(--verdict-cannot-determine); }
.cl-outcome-rejected { border-left-color: var(--verdict-not-eligible); }
.cl-outcome-icon { display: inline-flex; }
.cl-outcome-icon svg { width: 28px; height: 28px; }
.cl-outcome-paid     .cl-outcome-icon { color: var(--verdict-eligible); }
.cl-outcome-pending  .cl-outcome-icon { color: var(--verdict-cannot-determine); }
.cl-outcome-rejected .cl-outcome-icon { color: var(--verdict-not-eligible); }
.cl-outcome-title { margin: 0; letter-spacing: -0.01em; line-height: 1.3; }
.cl-outcome-paid     .cl-outcome-title { color: var(--verdict-eligible); }
.cl-outcome-pending  .cl-outcome-title { color: var(--verdict-cannot-determine); }
.cl-outcome-rejected .cl-outcome-title { color: var(--verdict-not-eligible); }
.cl-outcome-desc { margin: 0; color: var(--color-stone-60); line-height: var(--lh-body); }

.cl-outcomes-handoff {
  margin-top: var(--space-48);
  text-align: center;
  max-width: 64ch;
  margin-left: auto; margin-right: auto;
  color: var(--color-stone-60);
}
.cl-outcomes-handoff code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--color-mist);
  color: var(--color-navy);
  padding: 1px 5px;
  border-radius: var(--radius-xs);
}


/* ============================================================ */
/* §4  RECONCILIATION — heading + payment-report card, 2-col     */
/* Mirrors the .pv-source / .specimen-feature layout: heading +  */
/* lede left, the designed payment-report object right. The      */
/* deposit is the big-number hero (DM Serif Display, Navy).      */
/* ============================================================ */
.cl-reconcile .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-48);
  align-items: center;
}
@media (min-width: 960px) {
  .cl-reconcile .container { grid-template-columns: 1fr 1fr; gap: var(--space-64); }
}
.cl-reconcile .cl-reconcile-heading { max-width: 52ch; margin-bottom: 0; }
.cl-reconcile-stage { display: flex; justify-content: center; }

.cl-payment-card {
  background: var(--color-paper);
  border: 1px solid var(--color-stone-20);
  border-radius: var(--radius-soft);
  padding: var(--space-32);
  box-shadow: var(--shadow-card-hero);
  width: 100%;
  max-width: 520px;
}
.cl-payment-card .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-mist);
  gap: var(--space-12);
}
.cl-payment-card .card-meta .meta-left {
  display: inline-flex; align-items: center; gap: var(--space-12);
  color: var(--color-navy);
}
.cl-payment-card .brand-mark {
  width: 28px; height: 28px;
  color: var(--color-navy);
  display: block; flex-shrink: 0;
}
.cl-payment-card .card-meta .label-s { color: var(--color-navy); }
.cl-tag {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-navy);
  padding: 4px 10px;
  background: color-mix(in srgb, var(--color-navy) 6%, transparent);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.cl-deposit {
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--color-mist);
}
.cl-deposit-amount {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-hero-num);
  line-height: 1;
  font-weight: 400;
  letter-spacing: var(--track-tight);
  color: var(--color-navy);
  font-feature-settings: "tnum" 1;
}
.cl-deposit-meta {
  display: block;
  margin-top: var(--space-12);
  font-size: var(--type-body-s);
  color: var(--color-stone-60);
  line-height: var(--lh-body-relaxed);
}
.cl-deposit-meta .mono { font-size: 13px; letter-spacing: 0.02em; color: var(--color-stone-90); }

.cl-claims { margin: 0; padding: var(--space-16) 0 0; display: grid; gap: 0; }
.cl-claim-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-12) 0;
}
.cl-claim-row + .cl-claim-row { border-top: 1px solid var(--color-stone-20); }
.cl-claim-id {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  color: var(--color-stone-90);
  letter-spacing: 0.02em;
}
.cl-claim-amt {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--color-midnight);
  font-feature-settings: "tnum" 1;
}
.cl-claims-more {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-mist);
  font-size: var(--type-body-s);
  color: var(--color-stone-60);
}
.cl-card-footer {
  margin-top: var(--space-16);
  font-family: var(--font-mono);
  font-size: var(--type-label-s);
  color: var(--color-stone-60);
  letter-spacing: 0.02em;
  text-align: right;
}


/* ============================================================ */
/* §5  CAPABILITIES — everything around the claim                */
/* cap-card from brand.css; 3-col at desktop. One paragraph per  */
/* card (icon + h3 + p), no bullet list.                         */
/* ============================================================ */
@media (min-width: 1024px) {
  .cl-cap-grid { grid-template-columns: repeat(3, 1fr); }
}
.cl-cap-grid .cap-card h3 {
  color: var(--color-midnight);
  letter-spacing: -0.01em;
  line-height: var(--lh-title-s);
}
.cl-cap-grid .cap-card p {
  font-size: var(--type-body-s);
  line-height: var(--lh-body-relaxed);
  color: var(--color-stone-60);
  margin: 0;
}
/* In-card link (the eligibility-check tie-in) underlines — colour alone
   fails WCAG / Lighthouse link-in-text-block in a card body. */
.cl-cap-grid .cap-card p a {
  color: var(--color-royal);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.cl-cap-grid .cap-card p a:hover { color: var(--color-navy); }


/* ============================================================ */
/* §6  ONE CONNECTION — web app · API                           */
/* Two mode cards, then a quiet setup note. Mirrors the          */
/* eligibility-check .mode-grid pattern (rebuilt locally).       */
/* ============================================================ */
.cl-conn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}
@media (min-width: 768px) {
  .cl-conn-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-32); }
}
.cl-conn-card {
  background: var(--color-paper);
  border: 1px solid var(--color-stone-20);
  border-radius: var(--radius-default);
  padding: var(--space-32);
  display: grid;
  gap: var(--space-16);
  align-content: start;
}
.cl-conn-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-navy);
  padding: 4px 10px;
  background: color-mix(in srgb, var(--color-navy) 6%, transparent);
  border-radius: var(--radius-pill);
  justify-self: start;
}
.cl-conn-card h3 { color: var(--color-midnight); line-height: var(--lh-title-m); }
.cl-conn-card .cl-conn-lede { color: var(--color-stone-60); line-height: var(--lh-body-relaxed); margin: 0; }
/* .cl-conn-card links underline via the shared .copy rule (grid carries .copy). */
.cl-conn-card a:hover { color: var(--color-navy); }

.cl-setup-note {
  margin-top: var(--space-32);
  max-width: 72ch;
  color: var(--color-stone-60);
  line-height: var(--lh-body-relaxed);
}


/* ============================================================ */
/* §7b  TESTIMONIAL — centered customer voice                    */
/* ============================================================ */
.cl-testimonial .container-content {
  display: flex;
  justify-content: center;
}
.cl-testimonial blockquote { max-inline-size: 40rem; }


/* ============================================================ */
/* §8  AUDIENCE — 3+3 grid                                       */
/* ============================================================ */
.cl-audience .aud-card h3 {
  color: var(--color-midnight);
  margin-bottom: var(--space-8);
  line-height: 1.3;
}


/* ============================================================ */
/* §9  IN EVERY PLAN                                             */
/* ============================================================ */
.cl-every-plan { text-align: center; }
.cl-every-plan .label-s {
  display: block;
  color: var(--color-navy);
  margin-bottom: var(--space-12);
}
.cl-every-plan h2 { margin-bottom: var(--space-16); }
.cl-every-plan .lead {
  margin-bottom: var(--space-32);
  max-width: 48ch;
  margin-left: auto; margin-right: auto;
}
.cl-every-plan .action { display: flex; justify-content: center; }


/* ============================================================ */
/* §10  FAQ                                                      */
/* ============================================================ */
.cl-faq .section-heading { margin-left: auto; margin-right: auto; }


/* ============================================================ */
/* §11  CTA                                                      */
/* ============================================================ */
.cl-cta { text-align: center; }
.cl-cta h2 { margin-bottom: var(--space-16); }
