/* ============================================================
   ReadMe Mortgage design system — unification layer (2026-11-21)
   ------------------------------------------------------------
   Loaded last (after broadsheet.css and motion-plus.css) on every
   page. The homepage redesign (home-v2.css, 2026-11-21 rd1) set
   the publication's composition language: ruled folios, editorial
   bands instead of floating boxes, standfirsts, marginalia. This
   file carries that language across the inner page types through
   their existing class vocabulary. No layout systems are replaced;
   treatments are unified. Tokens come from broadsheet.css :root.
   ============================================================ */

/* ---------- the page-top short version becomes a folio band ----------
   On ~15 inner pages the SHORT VERSION sat at the top as a bordered
   box floating over the page. It is now set the way the homepage
   folio is set: a ruled standfirst band, open at the sides. The
   in-article boxed variant (.prose .short-version) is a different
   element in the reading flow and keeps its box. */
main>.short-version{
  background:transparent;
  border:none;
  border-top:3px solid var(--oak);
  border-bottom:1px solid var(--line-dark);
  border-radius:0;
  box-shadow:none;
  padding:18px 2px 20px;
}

/* ---------- breadcrumbs read as the page's folio line ---------- */
.breadcrumb{
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
  letter-spacing:.08em;
}

/* ---------- standfirsts share one voice ---------- */
.lead{font-size:clamp(1.06rem,1.4vw,1.22rem);line-height:1.62}
.section-summary{font-size:clamp(1.02rem,1.3vw,1.16rem);line-height:1.6}

/* ---------- guides index: practice stops are marginalia ----------
   The "Try it / Check yourself" asides stretched to full grid-row
   height as mostly-empty dashed boxes. The grid now sizes cells to
   their content, and the asides read as ruled marginal notes. */
.roadmap-stage .grid{align-items:start}
.tool-stop{
  border:none;
  border-left:3px solid var(--brass);
  background:var(--paper-deep);
  border-radius:0;
  padding:16px 18px;
}

/* ---------- interaction system: one focus, one selection ---------- */
:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
::selection{background:var(--oak);color:var(--paper)}

/* ---------- print: the band prints as a rule, like the homepage ---------- */
@media print{
  main>.short-version{border-top:2px solid #000;border-bottom:1px solid #000}
}
