/* ============================================================
   RD-LT — redesign item 3 (owner-approved 2026-11-09)
   Loan Transfer · How It Works · "Three possible scenarios".
   Design ported from the final prototype (part-lt.html "scn" sheet):
   warm off-white paper sheet on the dark page, blue-dot eyebrow
   "How it works" (the section's h2, kept for SEO, styled small),
   giant condensed uppercase title "Three possible scenarios" (the
   section's former kicker <p>), three outlined cards labelled
   "Example 01/02/03", tabular label/value rows on hairlines,
   explanatory notes under a hairline, footnote below the cards.
   Text and data-i18n keys are the site's own — styling only.
   Scoped to section#how.rdlt (loan-transfer.html). Linked ?v=rd1.
   ============================================================ */

/* Archivo (variable: wdth 62–125, wght 100–900) is pending the owner's OK
   to add the file; until assets/fonts/archivo-variable.woff2 exists the
   site's own Bricolage renders (sizes below are tuned for that fallback,
   and .rdlt-af switches to the prototype's larger sizes once Archivo loads). */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-variable.woff2) format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

.rdlt {
  --rdlt-paper: #f3f2ee; --rdlt-card: #f7f6f2;
  --rdlt-ink: #050505; --rdlt-ink2: #2b2b2b; --rdlt-ink3: #3a3a38;
  --rdlt-hair: rgba(5,5,5,.14);
  --rdlt-blue: #1e5eff;          /* text-on-paper blue (AA on #f3f2ee / #f7f6f2) */
  --rdlt-dot: #3d8bff;           /* the prototype's bright blue, decorative only */
  --rdlt-wide: "Archivo", "Bricolage Grotesque", "Bricolage", system-ui, sans-serif;
  --rdlt-h2: clamp(46px, 13vw, 124px);
  --rdlt-h2-lh: .9;
  --rdlt-h4: clamp(25px, 2.3vw, 31px);
  position: relative;
  background: var(--rdlt-paper);
  color: var(--rdlt-ink2);
  color-scheme: light;
  border-radius: 30px;
  padding-block: clamp(64px, 11svh, 132px) clamp(56px, 9svh, 112px);
}
.rdlt.rdlt-af { --rdlt-h2: clamp(50px, 12.5vw, 160px); --rdlt-h2-lh: .84; --rdlt-h4: clamp(30px, 3vw, 40px); }

/* eyebrow: the section's h2 ("How It Works"), small, with the blue dot. The heading stays an h2 for
   SEO (as on the delivery wall); the dot is inline so the h2's inline <em> keeps its normal spacing. */
.rdlt .wrap > .rdlt-lab {
  margin: 0;
  font: 600 15px/1.35 var(--rdlt-wide); font-stretch: 125%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--rdlt-ink);
}
.rdlt .rdlt-lab::before {
  content: ""; display: inline-block; vertical-align: .12em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--rdlt-dot);
  margin-inline-end: 10px;
}
.rdlt .rdlt-lab em.ac {            /* keep the markup, drop the gradient accent */
  font-style: normal; color: inherit;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

/* giant condensed title: "Three possible scenarios" (a <p>; the h2 above names the section) */
.rdlt .wrap > .rdlt-title {
  margin: 16px 0 0;
  font-family: var(--rdlt-wide); font-weight: 900; font-stretch: 62%;
  font-size: var(--rdlt-h2); line-height: var(--rdlt-h2-lh); letter-spacing: -.005em;
  text-transform: uppercase; text-wrap: balance; overflow-wrap: normal; hyphens: manual;
  color: var(--rdlt-ink);
}

/* three outlined cards: phone stacked, tablet 2, desktop 3 */
.rdlt .wrap > .rdlt-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(30px, 4.4vw, 46px);
}
.rdlt .rdlt-card {
  min-width: 0; border: 1.5px solid var(--rdlt-ink); border-radius: 22px;
  padding: 22px 20px; background: var(--rdlt-card);
}
.rdlt .rdlt-k {
  display: block; font: 700 15px/1.2 var(--rdlt-wide); font-stretch: 125%;
  letter-spacing: .08em; color: var(--rdlt-blue);
}
.rdlt .rdlt-card h4 {
  margin: 10px 0 0;
  font-family: var(--rdlt-wide); font-weight: 850; font-stretch: 72%;
  font-size: var(--rdlt-h4); line-height: .95; letter-spacing: 0;
  text-transform: uppercase; text-wrap: balance; color: var(--rdlt-ink);
}

/* rows: every line on a hairline. Value rows become label | value once
   rd-lt.r701.js has wrapped them (.rdlt-split); until then, plain lines. */
.rdlt .rdlt-rows { list-style: none; margin: 16px 0 0; padding: 0; }
.rdlt .rdlt-rows > li {
  display: block; padding: 9px 0; border-top: 1px solid var(--rdlt-hair);
  font: 400 15px/1.45 var(--fb); color: var(--rdlt-ink2);
}
.rdlt .rdlt-rows > li.rdlt-split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rdlt .rdlt-rows > li.rdlt-tx { color: var(--rdlt-ink3); }
.rdlt .rdlt-l { flex: 1 1 auto; min-width: 0; }
.rdlt .rdlt-v {
  flex: none; white-space: nowrap; unicode-bidi: isolate;
  font-family: var(--rdlt-wide); font-weight: 800; font-stretch: 90%;
  font-variant-numeric: tabular-nums; color: var(--rdlt-ink);
}
.rdlt .rdlt-hl .rdlt-v { color: var(--rdlt-blue); }
/* the colon is part of the page text: it stays visible, closing the label, in the label's own type */
.rdlt .rdlt-c { white-space: nowrap; }

/* glossary "i" marker on paper: a deeper blue so the "i" clears 4.5:1 on its tinted disc (~5:1) */
.rdlt .gl-btn { color: #1a52e6; background: rgba(30,94,255,.1); border-color: rgba(26,82,230,.6); }

/* footnote under the cards */
.rdlt .wrap > .rdlt-note {
  margin: 22px 0 0; max-width: 76ch;
  font: 400 15px/1.55 var(--fb); color: var(--rdlt-ink3);
}

/* scripts without capitals/tracking: no letter-spacing, roomier lines */
.rdlt .rdlt-lab:lang(ar), .rdlt .rdlt-k:lang(ar), .rdlt .rdlt-title:lang(ar),
.rdlt .rdlt-lab:lang(pa), .rdlt .rdlt-k:lang(pa), .rdlt .rdlt-title:lang(pa),
.rdlt .rdlt-lab:lang(zh), .rdlt .rdlt-k:lang(zh), .rdlt .rdlt-title:lang(zh) { letter-spacing: 0; }
.rdlt .wrap > .rdlt-title:lang(ar), .rdlt .wrap > .rdlt-title:lang(pa) { font-size: clamp(44px, 11vw, 112px); line-height: 1.22; }
.rdlt .wrap > .rdlt-title:lang(zh) { line-height: 1.08; }
.rdlt .rdlt-card h4:lang(ar), .rdlt .rdlt-card h4:lang(pa) { line-height: 1.3; }
/* Punjabi and Arabic titles without Archivo: it is Latin only, yet it would still supply the space between words,
   and its condensed space (.11em at 62% width, .13em at 72%) runs the device font's wide words together.
   Bricolage's space (.22em) is the word gap the site's headings have on the live site. Chinese has no spaces
   between words. */
.rdlt .wrap > .rdlt-title:lang(ar), .rdlt .wrap > .rdlt-title:lang(pa),
.rdlt .rdlt-card h4:lang(ar), .rdlt .rdlt-card h4:lang(pa) { font-family: "Bricolage Grotesque", "Bricolage", system-ui, sans-serif; }
.rdlt .rdlt-card h4:lang(zh) { line-height: 1.15; }
/* Latin languages whose capitals carry accents / cedillas (French É Ç Ê, Spanish É Ñ, Tagalog Ñ):
   enough line height that a mark never touches the line above or below, at either title font */
.rdlt .wrap > .rdlt-title:lang(fr), .rdlt .wrap > .rdlt-title:lang(es), .rdlt .wrap > .rdlt-title:lang(tl) { line-height: 1.02; padding-top: .04em; }
.rdlt .rdlt-card h4:lang(fr), .rdlt .rdlt-card h4:lang(es), .rdlt .rdlt-card h4:lang(tl) { line-height: 1.08; }

@media (max-width: 999px) { .rdlt .wrap > .rdlt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rdlt { border-radius: 26px; }
  .rdlt .wrap > .rdlt-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Alignment pass (owner on his iPhone, 2026-11-14: "align anything that is misaligned or the space is not
   efficiently used"). Layout and spacing only. The scenarios sheet takes the big-title sections' one rhythm: phones
   8svh above / 7svh below (was 11svh / 9svh), larger screens 10svh / 9svh. Its eyebrow wraps in balanced lines.
   Linked ?v=rd2m. */
.rdlt { padding-block: clamp(80px, 10svh, 128px) clamp(64px, 9svh, 112px); }
.rdlt .wrap > .rdlt-lab { text-wrap: balance; }
@media (max-width: 760px) {
  .rdlt { padding-block: clamp(56px, 8svh, 76px) clamp(48px, 7svh, 64px); }
}
