/* Marlmont Capital: the cousin layer over base.css (the original Marlmont stylesheet, recolored to the owner's reference blue scheme).
   The owner, 18 November 2026: "It should look like Marlmont's cousin ... Marlmont style with a slightly different layout."
   So the original's components keep their look; this file changes the two typefaces and lays some sections out differently
   (a few sections flipped; the hero is back in the original's layout, the owner's word of 18 November 2026), and adds the two pieces the original does not have: the lender groups in
   place of client logos, and the reference-rate strip above the footer. No decorative rules, no uppercase labels, no film controls
   (the version with those was rejected the same day: "it looks a little bit like AI slop"). */

/* ---------- 1. Type: Apple's system font, San Francisco, on Apple devices; Geist (free, drawn in the same spirit) everywhere else ----------
   The owner, 18 November 2026: "lets use a font like the apple font". San Francisco may not be served from a website, so the site asks
   each device for its own system font: Macs, iPhones and iPads show San Francisco; other devices get Geist, which the browser only
   downloads when it needs it. Headings and titles in medium with tight spacing. */
:root {
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;
}
.h1, .h2, .h3, .h4, .serif { font-weight: 500; font-variation-settings: normal; }   /* medium: one step lighter than semibold (the owner, 18 November 2026: "slightly too bold, so lower it down by one") */
.h1 { letter-spacing: -.028em; line-height: 1.04; }
.h2 { letter-spacing: -.024em; line-height: 1.08; }
.h3, .h4 { letter-spacing: -.014em; }
/* every title and large figure the original sets in its serif */
:root,
/* the spam trap in the sign-up form */

/* ---------- 3. Type: Literata in its display cut for headings,
as on the original ---------- */
.h1,
.panel__hub,
.panel__fbody b,
.drawer summary,
.drawer__link,
.hcard__t b,
.hcase__t,
.barrier__n,
.models .mh,
.fig b,
.cov__n,
.cov__end b,
.promise__q,
.steps3__n,
.tests__t,
/* the figure and its label on one line */   /* the figure,
its label on the line under it */
.wcard__fig b,
.wcard__t,
.case__t,
/* each figure box outlined (2026-10-18) */
.stat b,
.vcol__n,
.mtile__t,
.mcard__t,
/* no line along the top: its draw-in was removed at his request (2026-10-18); the numbered steps stay */
.tl__n,
.faq__q,
.read__t,
.close__pt b,
.ftr__sign h2,
.article h2,
.pstrip__c--two b,
.phub__i b,
.ptabs__tab b,
.pchal__n,
.pstat__f b,
.psit__t,
.psit__r b,
.psit__f b,
.pacc__q b,
.pcase__h,
.pcase__s b,
.pctab__t,
.pctab__f b,
/* filled with the tint,
so a wall of answers is not a wall of white */
.pans__q,
.prel__t,
.pidx__n,
.mglance__s b,
.pform__done-t,
.pquiz__q legend,
.pquiz__count b,
.pquiz__t,
.pcov__r b,
.plegal__h,
.chk__body b,
.chk__count b,
.calc__v,
.calc__t,
.art__h,
.aside--fig b,
.aside__k,
/* ==== ROLLOUT 2026-10-19: the section library's approved designs,
live on every page ====
   Moved from css/library.css (.lib-prop scope) when the client approved the library ("all of the sections are now finalized"); scoped to
   main so they sit over the older rules exactly as they did in the library. Numbers refer to the library items. */
/* numbered circles as on the homepage timeline: a Navy hairline,
serif figures */
main .pchal__n,
main .ptabs__tab i,
main .prail__n,
/* the words fill their column up to the one gap */
main .pfv__n,
main .pfv__boxes b,
/* the icon centred on the title and its line (2026-10-20) */
main .tbox__t,
.plogin__t,
.plogin__h,
.pcset__f b,
.lead2__n,
main .bio__fig b,
main .bio__h,
main .fun__t,
main .fun__n { font-weight: 500; letter-spacing: -.016em; font-variation-settings: normal; }
.models .mv__v,
.pchal__lead,
.pnet__head p,
.chk__msg,
.aside--quote p,
main .ptime__head p { font-weight: 400; letter-spacing: -.008em; font-variation-settings: normal; }

/* ---------- 1b. The logo, 18 November 2026: the original Marlmont logo, then Capital, less bold ----------
   The owner: "use the original logo and then put Capital. You can do it less bold. Don't have it super thin". Marlmont is the original
   logo file itself (img/logo.svg, the same picture, in the same place); Capital follows in Helvetica Neue Medium, the same size, set as
   the original is set (its font, Helvetica Neue, 22.5/1000 em tighter than normal, the font's kerning, the original's word space), on
   its baseline: img/logo-capital-v5.svg (white) and img/logo-capital-v5-dark.svg (the heading blue, for an <img> on white). How it is made,
   and a Regular-weight alternative, in previews/2026-11-18 logo v5 (original Marlmont, medium Capital)/. Earlier versions stay in img/.
   Drawn as a mask, as on the original, so it takes the colour around it: white on the dark hero and footer, the heading blue (--navy)
   once the header turns white. Marlmont exactly the size of the original logo (its box 20px tall per 324 units in the
   header, 21px in the footer); in the header the box moves down by half the depth of the p's tail, so the capitals are centred.
   v6 (18 November 2026, the owner: "switch the lower case capital to the same as the original marlmont logo"): Capital in Helvetica Neue
   Bold, the original's own weight, set the same way, so it has Marlmont's cap height, weight and baseline. v7, the same evening (the owner:
   "make sure its the same size and design, because right now it looks like 2 seperate things, make sure you use the original marlmont"):
   v6 drew Marlmont as the original's picture and Capital as an outline, and browsers, Safari most, scale the two differently. Now one
   picture: the original's own pixels with Capital drawn into them at the same scale with the same edges: img/logo-capital-v7.svg (white,
   and the mask here) and img/logo-capital-v7-dark.svg (the heading blue). No SVG filter, 20 units of room after the final l. How it is
   made: previews/2026-11-18 logo v7 (one picture)/make7.py. Boxes at the original's scale (20px per 324 units in the header, 21px in the footer).
   v8 (19 November 2026, the owner: "try the marlmont capital logo not bold, try it one level down for the whole thing but make the text
   styling of marlmont the same as the original"): both words in Helvetica Neue Medium, the weight below the original's Bold, set exactly
   as the original sets Marlmont (measured from its picture: 23.25/1000 em tighter than normal, cap height 312, its baseline and starting
   point, the font's kerning), one outline: img/logo-capital-v8.svg (white, and the mask here) and img/logo-capital-v8-dark.svg. How it is
   made: previews/2026-11-19 logo v8 (medium, both words)/. v7 stays in img/ to go back to. */
.logo { width: 202.44px; height: 24.87px; -webkit-mask-image: url("/img/logo-capital-v8.svg"); mask-image: url("/img/logo-capital-v8.svg"); }
.hdr .logo { translate: 0 2.35px; }
.ftr .logo { width: 212.56px; height: 26.11px; }
/* the wordmark is wider than the stand-in, so the full menu and its button fit beside it from 1400px (from 1180px before, when the menu
   already wrapped onto two lines up to about 1290px); narrower screens get the menu button, as tablets do */
@media (min-width: 1180px) and (max-width: 1399.98px) {
  :root { --hdr: 68px; }
  .nav, .hdr__right { display: none; }
  .burger { display: inline-grid; }
  .drawer { display: block; }
}

/* ---------- 2. Layouts the original arranges the other way ---------- */
@media (min-width: 1024px) {
  /* the hero in the original's layout (the owner, 18 November 2026: "put it in the same layout as the original Marlmont hero"; the
     mirrored version, film on the left, is retired): the words and the two picture cards on the left, the tall film card on the right
     (base.css 9). The bigger card at the page's edge is Real estate, the smaller one beside the film Debt solutions (his choice the same
     day); the same gaps, their bottoms level. Tablets and phones keep the original's order. */
  .hero--alt .hcard--b { grid-column: 1 / 5; height: clamp(320px, var(--cw) * .265, 470px); }
  .hero--alt .hcard--a { grid-column: 5 / 8; height: calc(clamp(320px, var(--cw) * .265, 470px) - 28px); }
  /* the comparison: the dark panel first */
  .thesis--flip { grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); }
  .thesis--flip .thesis__panel { order: -1; }
  /* the firm: the words and figures on the left, the pictures on the right */
  .capability--flip > .capm { grid-column: 7 / 13; }
  .capability--flip .capability__words, .capability--flip .figs { grid-column: 1 / 7; }
  /* the questions: the list first, the words beside it on the right */
  .faqs--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .faqs--flip .faqs__aside { order: 2; }
}

/* ---------- 3. The lender groups, where the original shows client logos ---------- */
.marquee__track .lg { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; color: var(--navy); font: 400 clamp(18px, 1.35vw, 21px)/1.2 var(--serif); letter-spacing: -.01em; }
.marquee__track .lg .icon { width: 22px; height: 22px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .marquee__track .lg--dup { display: none; } .marquee__track .lg { white-space: normal; text-align: left; } .marquee__track { gap: 20px 56px; } .logos .marquee, main .logos .marquee { -webkit-mask-image: none; mask-image: none; } }

/* ---------- 4. Reference rates, above the footer (the source site's place for them), in the footer's blue, a shade darker ---------- */
.rates { background: #001F3F; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.4; }
.rates__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; min-height: 64px; padding-block: 14px; }
.rates__k { color: #fff; font-weight: 600; }
.rates__r b { margin-left: 8px; color: #F46C0B; font-weight: 600; font-size: 15px; }   /* orange figures on the footer's blue (the owner: "the orange isn't bad"; it was the purple-leaning navy behind them that clashed) */
.rates__note { margin-left: auto; color: rgba(255, 255, 255, .52); font-size: 13px; }

/* ---------- 5. Small notes under figures ---------- */
.draft-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

@media (max-width: 759.98px) {
  .rates__note { margin-left: 0; }
}

/* ---------- 6. Orange only where it reads: on the dark blue it is 3.1:1, enough for bars, icons and large numbers, not small words ---------- */
.promise__box--new .promise__k { color: #fff; }

/* ---------- 7. The comparison table: the same space on every side of every cell ----------
   The owner, 18 November 2026, of this table on both sites: "the padding on these looks bad". Measured at 1440: 27px at the sides
   but 15 to 18px above and below, so the rows looked squeezed; on a phone 14px at the sides. Now one padding all round, a little
   more room between a row's name and its words, and the lines of the "In practice" lists evenly spaced. */
.models > div, .models > .mh, .models > .ml { padding: var(--pad); }
.models .mv, .models .ml { gap: 8px; }
.models .mh { row-gap: 0; }
.models .mh small { margin-top: 0; }   /* the line under a column heading sits close to it (the owner, 18 November 2026: "make this smaller") */
.models .ml .ilist { margin-top: 10px; }
.models .ml .ilist li { padding: 12px 0; }
.models .ml .ilist li:last-child { padding-bottom: 0; }
@media (max-width: 759.98px) {
  .models > div, .models > .mh, .models > .ml { padding: 20px 18px; }
  .models .mv__v { font-size: 16px; line-height: 1.35; }
}

/* ---------- 8. The picture blocks beside "the firm": the same gap as every other set of boxes ----------
   The owner, 18 November 2026: "The spacing on these should be the same as the spacing on all of the other boxes ... we need it back."
   The original widened it to 24 to 34px (12px on phones); every other grid of boxes uses --g (24px). */
.capability > .capm, main .capability > .capm { --mg: var(--g); }

/* ---------- 9. The menu: medium, one step lighter than the original's 550 (shown as semibold in Apple's font) ----------
   The owner, 18 November 2026, of the menu items: "too bold, though, so that should be lowered down". */
.nav__top { font-weight: 500; }

/* ---------- 10. The six steps: room between the rows for the numbered circles ----------
   The owner, 18 November 2026: the circled numbers of the second row (4, 5, 6) were "too close to the box above". Each circle rises
   21px above its box, and the rows were 24px apart; now the rows are far enough apart for the circle to sit clear. */
.tl { row-gap: clamp(56px, 4.4vw, 68px); }
@media (max-width: 1023.98px) { .tl { row-gap: 60px; } }

/* ---------- 11. Links one step lighter ----------
   The owner, 18 November 2026, of "Explore acquisition financing" and the other card links: "can be brought down a tiny bit boldness".
   The original sets links at 550, which Apple's font shows as semibold; medium now. */
.link { font-weight: 500; }

/* ---------- 12. The parts of the inner pages the original does not have, in its look (18 November 2026, the full build) ---------- */
/* breadcrumb over the page title */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.crumbs span[aria-current] { color: #fff; }
/* overview: the words beside the "at a glance" box */
.ovw { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--g) var(--split); align-items: start; }
.ovw--solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.ovw__words { display: grid; gap: 18px; }
.ovw__words > p { max-width: 64ch; font-size: 17px; line-height: 1.7; color: var(--text); }
.ovw__glance { border: 1px solid var(--line); background: #fff; }
.ovw__k { padding: 18px var(--pad); border-bottom: 1px solid var(--line); background: var(--panel, var(--navy)) var(--wash) center / cover no-repeat; color: #fff; font: 500 19px/1.3 var(--serif); }
.ovw__glance dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; padding: 14px var(--pad); border-top: 1px solid var(--line); }
.ovw__glance dl > div:first-child { border-top: 0; }
.ovw__glance dt { color: var(--accent); font-size: 14px; font-weight: 600; line-height: 1.45; }
.ovw__glance dd { margin: 0; color: var(--navy); font-size: 15px; line-height: 1.5; }
/* the inquiry: who we are and what happens, beside the form */
.iq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--g) var(--split); align-items: start; padding: var(--pad-l); border: 1px solid var(--line); background: var(--grey); }
.iq__words { display: grid; gap: 18px; }
.iq__words > p { color: var(--text); font-size: 17px; line-height: 1.7; }
.iq__start { display: grid; gap: 8px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.iq__start p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.iq .pform { background: #fff; padding: var(--pad); border: 1px solid var(--line); }
.iq__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.iq__trust span { display: inline-flex; align-items: center; gap: 8px; }
.iq__trust span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
/* the disclosure under each page */
.sec--disc { padding-top: 40px; }
.pdisc { max-width: 980px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
/* text cards (hubs) */
.cxcards .card__body { gap: 10px; }
.cxcards .card__body > p:not(.card__k) { color: var(--text); font-size: 15.5px; line-height: 1.6; }
/* long-form text: the heading on the left, the words on the right */
.prose2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--g) var(--split); align-items: start; }
.prose2__h { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 24px); }
.prose2__b { display: grid; gap: 16px; max-width: 70ch; color: var(--text); font-size: 17px; line-height: 1.75; }
.prose2__b h3 { margin-top: 12px; color: var(--navy); font: 500 clamp(21px, 1.6vw, 25px)/1.3 var(--serif); }
.prose2__b ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose2__b a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* tables (the products side by side, a ledger) */
.ctbl-wrap { overflow-x: auto; border: 1px solid var(--line); }
.ctbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ctbl th, .ctbl td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.ctbl thead th { border-top: 0; background: var(--panel, var(--navy)) var(--wash) center / cover; color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ctbl tbody th { color: var(--navy); font-weight: 600; white-space: nowrap; }
.ctbl tbody tr:nth-child(even) { background: var(--grey); }
.ctbl td { color: var(--text); }
/* glossary */
.gl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--split); align-items: start; }
.gl__idx { position: sticky; top: calc(var(--hdr) + 24px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gl__idx a { display: grid; place-items: center; height: 34px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14px; }
.gl__idx a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gl__grp { padding-bottom: 28px; scroll-margin-top: calc(var(--hdr) + 24px); }
.gl__L { margin-bottom: 10px; color: var(--accent); font: 500 34px/1 var(--serif); }
.gl__i { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.gl__i dt { color: var(--navy); font-weight: 600; font-size: 16px; line-height: 1.45; }
.gl__i dd { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.65; }
/* the rate environment module */
.rmod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.rmod__c { display: grid; gap: 10px; align-content: start; padding: var(--pad); border: 1px solid var(--line); background: #fff; }
.rmod__k { color: var(--accent); font-size: 14px; font-weight: 600; }
.rmod__c b { color: var(--navy); font: 500 clamp(32px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.02em; }
.rmod__c p:last-child { color: var(--text); font-size: 15px; line-height: 1.6; }
.rmod__note { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
/* insight editions */
.edns { display: grid; gap: var(--g); }
.edn { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--g) var(--split); padding: var(--pad-l); border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--hdr) + 24px); }
.edn__h { display: grid; gap: 12px; align-content: start; }
.edn__b { display: grid; gap: 14px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.edn__b h4 { color: var(--navy); font-weight: 600; font-size: 16.5px; }
/* the scenarios table (the owners grid) and a dark draft note */
.owners--scen .owners__c { align-items: flex-start; }
.owners--scen .owners__c b { color: var(--navy); }
.draft-note--dark { color: rgba(255, 255, 255, .62); }
@media (max-width: 1023.98px) {
  .ovw, .iq, .prose2, .edn { grid-template-columns: minmax(0, 1fr); }
  .prose2__h { position: static; }
  .rmod { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759.98px) {
  .gl { grid-template-columns: minmax(0, 1fr); }
  .gl__idx { position: static; grid-template-columns: repeat(7, 1fr); }
  .gl__i, .ovw__glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .iq { padding: 18px; }
}

/* 13. Links inside running text (a paragraph, a list item, an answer): the original's pages had none, so they had no style and did not
   look like links. Medium blue, underlined; white on the dark panels. Links in a navigation block keep the original's style. */
main :is(p, li, dd) a:not([class]):not(nav a) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
main :is(p, li, dd) a:not([class]):not(nav a):hover { color: var(--navy); }
main .npanel :is(p, li, dd) a:not([class]), main .sec--dark :is(p, li, dd) a:not([class]) { color: #fff; }

/* 14. Illustrative situations (18 November 2026, the owner: "that just looks bad"): the name of each situation sits on its own line
   above its description, rather than squeezed into a narrow column beside it. */
.owners--scen .owners__t { display: block; }
.owners--scen .owners__name { display: block; margin-bottom: 4px; color: var(--navy); font-weight: 500; }

/* 15. The fit box (18 November 2026): when one list is longer, the shorter list's last line stretches down to meet it, so no empty
   box is left; each list keeps its own column on wide screens. */
@media (min-width: 760px) {
  .fitbox__h--yes, .fitbox__c--yes { grid-column: 1; border-left: 0; }
  .fitbox__h--no, .fitbox__c--no { grid-column: 2; border-left: 1px solid var(--line); }
}
/* a link inside the contact hero's short text (the email) stays in the sentence; only the list below it uses the full-width rows */
.fh__more-d a { display: inline; min-height: 0; padding: 0; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 16. The footer (18 November 2026, the owner: "the address, the contact information, and 'Arrange a Consultation' ... can maybe be next
   to the 'Follow Us'"): from tablet width up, Follow us and the LinkedIn button sit to the left of the office, the email and the
   consultation link, so the firm's column ends level with the link columns beside it. Phones keep the original's stacked order. */
@media (min-width: 760px) {
  .ftr .ftr__follow { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 3vw, 44px); align-items: start; }
  .ftr .ftr__follow > .ftr__h { grid-area: 1 / 1; }
  .ftr .ftr__follow > .ftr__socs { grid-area: 2 / 1; }
  .ftr .ftr__follow > .ftr__touch { grid-area: 1 / 2 / 3 / 3; margin-top: 2px; }
}

/* 17. Page audit fixes (18 November 2026, the owner: "go and do an audit of the entire Marlmont Capital website and fix things like that
   where visually it just needs fixing because it can't be translated over directly"). */
/* the inquiry's words and the editions' titles follow the reader down beside the longer column, as the original's do */
@media (min-width: 1024px) {
  .iq__words { position: sticky; top: calc(var(--hdr) + 28px); }
  .edn { align-items: start; }
  .edn__h { position: sticky; top: calc(var(--hdr) + 24px); }
}
/* sparse answer cards: four (or three) across rather than two wide boxes that are mostly white */
@media (min-width: 1024px) {
  .pans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* the transaction record: a grid of entries, the first twelve shown */
.ledg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ledg__i { display: grid; align-content: start; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); background: #fff; }
.ledg__v { color: var(--navy); font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.ledg__k { color: var(--accent); font-size: 14px; font-weight: 500; }
.ledg__i p { color: var(--text); font-size: 15px; line-height: 1.5; }
.ledg__more { margin-top: 12px; }
.ledg__more > summary { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 12px 18px; border: 1px solid var(--navy); color: var(--navy); cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
.ledg__more > summary::-webkit-details-marker { display: none; }
.ledg__more > summary .icon { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.ledg__more[open] > summary .icon { transform: rotate(180deg); }
.ledg__more[open] > summary span { font-size: 0; }
.ledg__more[open] > summary span::after { content: "Show fewer"; font-size: 15px; }
@media (max-width: 1023.98px) { .ledg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759.98px) {
  .ledg { grid-template-columns: minmax(0, 1fr); }
  /* tables read as one card per row on a phone, each value under its column's name */
  .ctbl-wrap { overflow: visible; border: 0; }
  .ctbl, .ctbl tbody, .ctbl tr, .ctbl th, .ctbl td { display: block; width: 100%; }
  .ctbl thead { display: none; }
  .ctbl tr { margin-bottom: 12px; border: 1px solid var(--line); background: #fff; }
  .ctbl tbody th { padding: 14px 16px; border-top: 0; background: var(--grey); color: var(--navy); font-weight: 600; }
  .ctbl td { padding: 10px 16px 12px; }
  .ctbl td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 500; }
  /* illustrative situations: the three parts of each situation stay together, each part named */
  .owners--scen > .owners__h { display: none; }
  .owners--scen > .owners__c:not(.owners__h) { order: 0; display: block; }
  .owners--scen > .owners__c--1 { padding-top: 20px; border-top: 1px solid var(--line-2); }
  .owners--scen > .owners__c--1:first-of-type { border-top: 0; }
  .owners--scen > .owners__c[data-k]::before { content: attr(data-k); display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
  /* the figures: the dollar figure fits its tile */
  main .pstat__f b { font-size: min(31px, 8.2vw); }
  main .capability .fig b { font-size: min(31px, 8.2vw); }
  /* the trust line under the form, one item to a line */
  .iq__trust { flex-direction: column; gap: 4px; }
  .iq__trust span + span::before { display: none; }
}

/* 18. Page audit, second pass (18 November 2026) */
/* the calculators: with the inputs two by two, the rows spread evenly down the full height and the note sits at the foot, level with
   the results beside them, rather than leaving an empty block under the inputs */
@media (min-width: 1024px) {
  .calc[data-tool]:not(.calc--quiz) .calc__in { align-content: space-between; }
  /* the question tools: each question keeps its own height, so options stay one size and headings line up */
  .calc--quiz .calc__in { align-items: start; align-content: start; }
  /* and its results panel keeps its button and note at the foot, level with the questions beside it, rather than an empty block under
     a short list (Specialty debt solutions, three structures beside four questions: 18 November 2026) */
  .calc--quiz .calc__out .actions { margin-top: auto; }
  /* answer cards four or three across: the icon above the title, so every title has the card's width and the rules line up */
  .pans--4 .pans__head, .pans--3 .pans__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pans--4 .pans__q, .pans--3 .pans__q { min-height: 2.7em; text-wrap: balance; }
}
/* carousel arrows disappear when every card already fits, rather than showing two greyed-out buttons */
.reads-nav:has(.arrow-btn--prev:disabled):has(.arrow-btn--next:disabled) { visibility: hidden; }
/* the lender groups, where they stand still on a phone (reduced motion): two columns, each left aligned */
@media (max-width: 759.98px) and (prefers-reduced-motion: reduce) {
  .logos .marquee__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: 16px 20px; width: 100%; }
  .logos .marquee__track .lg { font-size: 16px; }
  .logos .marquee__track .lg--dup { display: none; }
}

/* 19. What sets our work apart: one square picture size for all six cards (18 November 2026, the owner: "make sure these images are the
   equal squares ... you fixed it on advisory website do it on the capital one"). The original website's fix, carried here: every row as
   tall as the tallest card and every picture as wide as that row (js/site.js 7d sets --sq on .why); .why--measure lets the words take their
   own height while they are measured. */
@media (min-width: 560px) { .why { grid-auto-rows: 1fr; } }
.why--measure, .why--measure > .wcard { grid-auto-rows: auto; align-items: start; }
@media (min-width: 560px) { .wcard { --sq: inherit; grid-template-columns: var(--sq, 220px) minmax(0, 1fr); } }   /* the card takes the grid's size, not the fixed 220px the copied stylesheet sets on each card; phones keep the picture as a band above the words */
@media (min-width: 560px) and (max-width: 1023.98px) { main .wcard { grid-template-columns: var(--sq, 216px) minmax(0, 1fr); } }
