/* Bait & Switch Pricing Report — WEB published version.
   Loads AFTER report.css and only overrides the print-page framing so the
   same content + styling reflows into one continuous responsive web page.
   Print output is unaffected (all overrides are screen-scoped). */

@media screen {
  html, body { background: #fff; }

  /* Flowing document instead of a stack of letter-size cards */
  .report {
    display: block;
    padding: 0;
    gap: 0;
  }

  .page {
    width: 100%;
    max-width: 760px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    box-shadow: none;
    overflow: visible;
    display: block;
  }
  .page-inner {
    display: block;
    padding: 60px 28px;
  }

  /* No page numbers / per-page footers on the web */
  .page-footer { display: none !important; }

  /* Hairline rule between sections */
  .page + .page { border-top: 1px solid var(--cp-grey-line); }

  /* Cover → full-bleed dark hero band, inner content constrained */
  .page.cover {
    max-width: none;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border-top: none;
  }
  .cover-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 76px 28px 68px;
  }
  .page.cover + .page { border-top: none; }

  /* Hero stat — centered, slightly wider copy so it wraps one fewer line */
  .cover-stat { justify-content: center; max-width: none; padding-top: 56px; }
  .cover-stat-body { max-width: 30ch; }

  /* Fee table: scroll horizontally on narrow screens, keep table layout */
  .fee-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fee-table thead,
  .fee-table tbody {
    display: table;
    width: 100%;
    min-width: 600px;
  }

  /* Phone tuning */
  @media (max-width: 680px) {
    .page-inner { padding: 40px 20px; }
    .cover-inner { padding: 52px 20px 48px; }
    .cover-receipt { display: none; }      /* decorative; declutter on small screens */
    /* Print cover title is 56px nowrap; scale it to the viewport so it doesn't clip */
    .cover-title {
      font-size: clamp(24px, 7.4vw, 56px);
      line-height: 1.12;
      text-wrap: balance;
    }
    .cover-title-kicker {
      font-size: clamp(19px, 5.6vw, 28px);
      line-height: 1.2;
    }
    .dealer-lot-grid { grid-template-columns: 1fr; }
    .quote-grid { grid-template-columns: 1fr; }
    .exec-numbers { grid-template-columns: 1fr; }
    .method-stats { grid-template-columns: 1fr; }
    .letter-body { columns: 1; }
  }
}
