:root {
  scroll-behavior: smooth;
}
.lender-page {
  background: #f8f6f2;
}
.lender-page h1,
.lender-page h2,
.lender-page h3 {
  text-wrap: balance;
}
.lender-page h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.lender-page h3 {
  margin: 0;
}
.section-shell {
  padding-inline: var(--site-inline);
}
.invitation {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: clamp(50px, 8vw, 120px);
  padding-block: 72px 64px;
  align-items: center;
}
.invitation h1 {
  font-size: clamp(56px, 6.8vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin: 0;
}
.invitation em {
  color: var(--home-carmine);
  font-style: normal;
}
.hero-description {
  max-width: 620px;
  font-size: 24px;
  line-height: 1.4;
  margin: 30px 0 14px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.lender-page main .btn-primary {
  gap: 20px;
}
.quiet-link {
  display: inline-block;
  padding-block: 10px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--home-carmine);
  text-underline-offset: 7px;
  font-size: 14px;
}
.founder,
.structure {
  padding-block: 80px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}
.section-heading > p {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.5;
  color: #666268;
  margin: 0 0 4px;
}
.founder-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 110px);
}
.founder figure {
  margin: 0;
}
.founder figure img {
  display: block;
  width: 100%;
  height: auto;
}
.founder figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.founder figcaption span {
  color: #666268;
}
.founder figcaption a {
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 5px;
}
.lead {
  font-size: clamp(23px, 2.35vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.founder-prose .lead {
  margin: 0 0 24px;
}
.founder-prose > p:not(.lead) {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.6;
}
.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-block: 20px;
}
.origin {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(45px, 7vw, 105px);
  padding-block: 70px;
  background: #17191b;
  color: #f8f6f2;
}
.origin h2 {
  font-size: clamp(34px, 3.7vw, 52px);
}
.light-link {
  color: #f8f6f2;
}
.origin-title > a {
  margin-top: 26px;
}
.origin-copy .lead {
  margin: 0 0 22px;
}
.origin-copy > p:not(.lead) {
  font-size: 18px;
  line-height: 1.55;
  color: #d1cdca;
}
.origin-path {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-block: 1px solid #626264;
  padding-block: 20px;
  margin-block: 30px 20px;
  font-size: 14px;
}
.origin-path b {
  color: #d43a42;
  font-weight: 400;
}
.flow-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
}
.flow-toolbar > span {
  font-size: 12px;
  color: #666268;
}
.flow-switch {
  display: flex;
  gap: 6px;
}
.flow-switch button {
  background: transparent;
  color: #444147;
  border: 1px solid #b0aaa5;
  min-height: 44px;
  padding: 10px 18px;
  font: 500 14px var(--home-font);
  cursor: pointer;
}
.flow-switch button[aria-pressed="true"] {
  background: #17191b;
  border-color: #17191b;
  color: #f8f6f2;
}
.flow-panel {
  border-block: 1px solid var(--home-rule);
  padding: 20px 0;
}
.desktop-flow {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--home-font);
}
.flow-node rect {
  fill: none;
  stroke: #a09b96;
  stroke-width: 1;
}
.flow-node text {
  fill: #514d49;
  font-size: 15px;
}
.flow-node .node-title,
.vault-node .node-title {
  font-size: 23px;
  font-weight: 560;
  fill: #17191b;
  letter-spacing: -0.4px;
}
.flow-node .node-caption,
.vault-node .node-caption {
  font-size: 12px;
}
.vault-node rect {
  fill: #17191b;
}
.vault-node text {
  fill: #d1cdca;
  font-size: 15px;
}
.vault-node .node-title {
  fill: #f8f6f2;
}
.flow-labels {
  font-size: 13px;
  fill: #222225;
}
[data-phase="funding"] .repayment-lines,
[data-phase="repayment"] .funding-lines {
  display: none;
}
.flow-explanation {
  max-width: 850px;
  font-size: 16px;
  line-height: 1.55;
  color: #555158;
  margin: 22px 0;
}
.technical-note {
  border-bottom: 1px solid var(--home-rule-soft);
  padding-bottom: 14px;
}
.technical-note summary {
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.technical-note p {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.6;
}
.sources {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mobile-flow {
  display: none;
}
.economics {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 462px);
  gap: clamp(45px, 9vw, 138px);
  padding-block: 76px;
  background: #efebe5;
}
.economics-copy .lead {
  margin: 28px 0;
}
.economics-copy > p:not(.lead) {
  font-size: 17px;
  line-height: 1.55;
  max-width: 580px;
}
.conversation {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(50px, 8vw, 120px);
  background: #17191b;
  color: #f8f6f2;
  padding-block: 76px;
}
.conversation h2 {
  font-size: clamp(38px, 4vw, 60px);
}
.conversation p {
  max-width: 660px;
  font-size: 21px;
  line-height: 1.5;
  margin: 28px 0 15px;
}
.conversation aside {
  align-self: center;
  border-top: 1px solid #777;
  padding-top: 26px;
}
.conversation h3 {
  font-size: 18px;
}
.conversation ul {
  list-style: none;
  padding: 0;
  margin-block: 22px;
}
.conversation li {
  padding-block: 13px;
  font-size: 15px;
  border-bottom: 1px solid #555;
  color: #c8c5c2;
}
.lender-page .site-footer {
  background: #17191b;
  border-top: 1px solid #555;
}
[id] {
  scroll-margin-top: 110px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--home-carmine);
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .invitation {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .invitation h1 br {
    display: none;
  }
  .founder-grid {
    grid-template-columns: 190px 1fr;
    gap: 35px;
  }
  .origin,
  .economics,
  .conversation {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .desktop-flow {
    display: none;
  }
  .mobile-flow {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-flow li {
    position: relative;
    padding: 22px 20px 30px 36px;
    border-bottom: 1px solid #c9c3bd;
  }
  .mobile-flow li:not(:last-child)::after {
    content: "↓";
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: var(--home-carmine);
  }
  .mobile-flow strong {
    display: block;
    font-size: 20px;
    font-weight: 550;
  }
  .mobile-flow span {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #555158;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 22px;
    max-width: 540px;
  }
}
@media (max-width: 580px) {
  .lender-page .site-footer .brand-name {
    font-size: 23px;
  }
  .lender-page .site-footer .brand-mark {
    width: 36px;
    height: 36px;
  }
  .invitation {
    padding-block: 42px;
  }
  .invitation h1 {
    font-size: 54px;
  }
  .hero-description {
    font-size: 21px;
  }
  .actions {
    gap: 12px;
  }
  .actions .btn-primary,
  .conversation .btn-primary {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    padding: 16px 18px;
  }
  .founder,
  .structure,
  .origin,
  .economics,
  .conversation {
    padding-block: 48px;
  }
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder figure {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .founder figure img {
    width: 125px;
  }
  .founder figcaption {
    margin: 0;
    font-size: 13px;
  }
  .founder-prose > p:not(.lead) {
    font-size: 17px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .origin-path {
    font-size: 12px;
    gap: 6px;
  }
  .flow-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .flow-switch {
    width: 100%;
  }
  .flow-switch button {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }
  .conversation p {
    font-size: 19px;
  }
  .lender-page .site-footer {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
.flow-sequence-status {
  min-height: 48px;
  margin: 0;
  color: #514d49;
  font-size: 15px;
  line-height: 1.45;
}
.flow-panel [data-step] {
  transition: opacity 180ms var(--home-ease);
}
.flow-panel.is-playing svg path[data-step] {
  opacity: 0.22;
}
.flow-panel.is-playing svg path.step-active,
.flow-panel.is-playing svg path.step-done {
  opacity: 1;
}
.flow-panel.is-playing svg path.step-active {
  stroke-width: 2.8;
}
.flow-panel.is-playing .flow-labels .step-active {
  font-weight: 650;
}
.flow-tracer {
  pointer-events: none;
}
.mobile-flow .step-number {
  display: inline-flex;
  width: 26px;
  height: 26px;
  margin: 0 8px 0 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #a09b96;
  font-size: 13px;
  vertical-align: 2px;
  color: #514d49;
}
.mobile-flow li.step-active .step-number {
  background: #17191b;
  border-color: #17191b;
  color: #f8f6f2;
}
.mobile-flow li.step-active strong {
  color: var(--home-carmine);
}
@media (max-width: 580px) {
  .flow-toolbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .flow-switch {
    flex: 1 0 100%;
  }
  .flow-sequence-status {
    min-height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-panel [data-step] {
    transition: opacity 160ms var(--home-ease);
  }
  .flow-tracer {
    display: none !important;
  }
} /* Simplified introduction: one proposition and one call to action. */
.invitation {
  display: block;
  padding-block: 72px 80px;
}
.invitation-copy {
  max-width: 1050px;
}
.invitation h1 br {
  display: none;
}
.founder {
  border-top: 1px solid var(--home-rule);
}
@media (max-width: 580px) {
  .invitation {
    padding-block: 42px 48px;
  }
}
@media (max-width: 900px) {
  .economics #trade-card {
    justify-self: start;
  }
}
.economics-copy h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.16;
}
.economics-copy > p.opportunity-description {
  font-size: 20px;
  line-height: 1.5;
  margin: 28px 0 0;
}
