.lend-steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; }
.lend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 19px; color: var(--ink); }
.lend-list li { padding: 18px 0; border-top: 1px solid var(--sand-line); }
.lend-list li:last-child { border-bottom: 1px solid var(--sand-line); }
.tr-stats .stat-num { overflow-wrap: anywhere; }
.deal-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.deal-panel { background: #FFFFFF; border-radius: 10px; padding: 44px; box-shadow: 0 4px 16px rgba(11, 31, 58, .08); }
.deal-aside { display: flex; flex-direction: column; gap: 32px; font-size: 17px; color: var(--body); }
.deal-aside .eyebrow { margin-bottom: 8px; }
.deal-aside a { color: var(--accent); }
.deal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin: 0; }
.deal-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.deal-field.half { grid-column: span 1; }
.deal-field label { font-size: 15px; color: var(--ink); }
.deal-field .opt { color: var(--muted); }
.deal-field input, .deal-field textarea, .deal-field select { font: inherit; font-size: 17px; color: var(--ink); width: 100%; padding: 13px 14px; border: 1px solid #AEB6C4; border-radius: 4px; background: #FFFFFF; }
.deal-field textarea { min-height: 150px; resize: vertical; }
.deal-field input:focus, .deal-field textarea:focus, .deal-field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.deal-field [aria-invalid="true"] { border-color: #A32A1E; }
.deal-error { font-size: 14px; color: #A32A1E; margin: 0; }
.deal-error:empty { display: none; }
.deal-form .form-error { grid-column: 1 / -1; }
.deal-submit { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; font: inherit; font-size: 17px; min-height: 48px; }
.deal-submit[disabled] { opacity: .65; cursor: progress; }
.deal-status { grid-column: 1 / -1; font-size: 17px; color: var(--body); margin: 0; }
.deal-thanks { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.deal-thanks h2 { font-size: 30px; line-height: 1.15; }
.deal-thanks p { font-size: 18px; color: var(--body); }
@media (max-width: 860px) {
  .deal-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .deal-panel { padding: 24px 20px; }
  .deal-form { grid-template-columns: minmax(0, 1fr); }
  .deal-field.half { grid-column: 1 / -1; }
}
.deal-type { margin-bottom: 24px; }
.deal-type-label { font-weight: 600; margin: 0 0 12px; }
.deal-type-row { display: flex; gap: 12px; flex-wrap: wrap; }
.deal-type-btn { flex: 1 1 180px; padding: 14px 18px; border: 2px solid #0B1F3A; background: #FFFFFF; color: #0B1F3A; font: inherit; font-weight: 600; cursor: pointer; border-radius: 2px; transition: background 0.15s, color 0.15s; }
.deal-type-btn:hover { background: #EEF1F6; }
.deal-type-btn[aria-pressed="true"] { background: #0B1F3A; color: #FFFFFF; }
/* Loan request page */
.lr-hero { position: relative; overflow: hidden; }
.lr-hero .lr-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lr-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,31,58,.95) 0%, rgba(11,31,58,.82) 50%, rgba(11,31,58,.5) 100%); }
.lr-hero .wrap { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.lr-brand { font-family: 'Albert Sans', sans-serif; font-weight: 700; font-size: clamp(44px, 8vw, 104px); line-height: .95; letter-spacing: .03em; color: #FFFFFF; }
.lr-brand span { color: var(--gold); }
.lr-rule { width: 180px; height: 3px; background: var(--gold); }
.lr-hero h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: #FFFFFF; }
.lr-hero .sub { font-size: 19px; color: var(--soft); max-width: 720px; margin: 0; }
.lr-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.lr-terms b { display: block; font-family: 'Albert Sans', sans-serif; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; color: var(--gold); }
.lr-terms span { font-size: 15px; color: var(--soft); }
.lr-card { background: #FFFFFF; border-radius: 10px; padding: 26px; box-shadow: 0 4px 16px rgba(11,31,58,.06); }
.lr-card.dark { background: var(--navy); }
.lr-card p { font-size: 15px; margin: 0; }
.lr-steps { list-style: none; counter-reset: s; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lr-steps li { counter-increment: s; position: relative; padding-left: 46px; display: flex; flex-direction: column; gap: 2px; }
.lr-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.lr-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: -16px; width: 2px; background: var(--sand-line); }
.lr-steps b { font-size: 16px; color: var(--ink); }
.lr-steps span { font-size: 15px; color: var(--muted); }
.lr-people { display: flex; flex-wrap: wrap; gap: 16px 22px; margin: 14px 0 12px; }
.lr-people figure { margin: 0; display: flex; align-items: center; gap: 10px; }
.lr-people img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.lr-people figcaption { font-size: 15px; line-height: 1.25; color: var(--ink); }
.lr-people small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.lr-stats { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.lr-stats b { display: block; font-family: 'Albert Sans', sans-serif; font-size: 28px; line-height: 1.1; color: var(--gold); }
.lr-stats span { font-size: 14px; color: var(--soft); }
.lr-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lr-links p { font-size: 15px; margin: 0; }
@media (max-width: 700px) {
  .lr-hero .wrap { padding-top: 56px; padding-bottom: 44px; }
  .lr-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Recently funded */
.lr-funded { background: #FFFFFF; }
.lr-funded .wrap { display: flex; flex-direction: column; gap: 14px; }
.lr-funded .h2 { margin-bottom: 14px; }
.lr-tombs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 24px; }
.lr-tomb { border: 1px solid var(--sand-line); border-top: 4px solid var(--gold); border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 4px; background: var(--sand); }
.lr-tomb .amt { font-family: 'Albert Sans', sans-serif; font-weight: 700; font-size: 40px; line-height: 1; color: var(--navy); }
.lr-tomb .type { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 8px 0 10px; }
.lr-tomb p { margin: 0; font-size: 16px; color: var(--body); }
.lr-tomb .tag { align-self: flex-start; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: var(--gold); font-size: 13px; letter-spacing: .08em; }
