@font-face { font-family: "Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("assets/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("assets/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --peacock: #063f46;
  --peacock-deep: #042a30;
  --peacock-lift: #0d5a63;
  --brass: #e6ae4c;
  --bronze: #8a5e20;
  --mist: #e4f3ee;
  --plum: #3d1b4f;
  --white: #fff;
  --ink: #06282d;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --display: "Plex Condensed", "Arial Narrow", sans-serif;
  --body: "Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--peacock-deep); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.012em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.step-underwriting :focus-visible, .who :focus-visible, .contact :focus-visible { outline-color: var(--peacock); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 5; padding: 8px 14px; background: var(--white); color: var(--ink); }
.skip:focus { top: 8px; }

.hero-wrap { background: var(--peacock); color: var(--white); }
.site-header { display: flex; align-items: center; gap: 32px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); }
.brand img { width: 163px; height: 40px; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; }
.site-header nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-bottom-color: var(--brass); }
.signin { padding: 8px 18px; border: 1.5px solid var(--brass); border-radius: 999px; color: var(--brass); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.signin:hover { background: var(--brass); color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(3.25rem, 6.5vw, 6rem); line-height: .96; letter-spacing: -.018em; max-width: 13ch; }
.hero-copy > p { max-width: 54ch; margin-top: 28px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s; }
.primary { background: var(--brass); color: var(--ink); }
.primary:hover { background: var(--white); }
.quiet { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.quiet:hover { background: var(--peacock-lift); }

/* The deal track: the logo's line, carrying a deal through its real stages. */
.track { position: relative; height: clamp(480px, 46vw, 620px); }
.track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: draw 1.5s cubic-bezier(.45, 0, .2, 1) both; }
.track path { fill: none; stroke: var(--brass); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.track span { position: absolute; left: calc(var(--x) * 1%); top: calc((var(--i) + .5) * 12.5%); transform: translate(-9px, -50%); display: flex; align-items: center; gap: 14px; font: 600 clamp(1.125rem, 1.8vw, 1.5rem)/1 var(--display); white-space: nowrap; animation: stop .3s ease-out both; animation-delay: calc(var(--i) * 165ms + 120ms); }
.track span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--peacock); border: 4px solid var(--brass); }
.track .last { color: var(--brass); }
.track .last::before { background: var(--mist); border-color: var(--mist); }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stop { from { opacity: 0; } to { opacity: 1; } }

.workflow { background: var(--white); }
.workflow-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter) clamp(40px, 5vw, 64px); }
.workflow-intro h2 { max-width: 16ch; color: var(--peacock); }
.workflow-intro p { max-width: 46ch; font-size: 1.1875rem; }

.step { --band: var(--mist); --fg: var(--ink); --numeral: var(--peacock); background: var(--band); color: var(--fg); }
.step-underwriting { --band: var(--brass); --numeral: var(--peacock); }
.step-funding { --band: var(--peacock-lift); --fg: var(--white); --numeral: var(--brass); }
.step-servicing { --band: var(--plum); --fg: var(--white); --numeral: var(--brass); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; padding-block: clamp(44px, 5vw, 72px); padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.step-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(18px, 2.4vw, 32px); align-content: start; }
.num { grid-row: span 2; font: 700 clamp(4.5rem, 9vw, 8rem)/.82 var(--display); color: var(--numeral); }
.step h3 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.05; }
.step-head p { max-width: 34ch; margin-top: 10px; font-size: 1.125rem; line-height: 1.45; }
.step ul { border-top: 2px solid currentColor; }
.step ul li { padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); line-height: 1.4; }

.who { background: var(--mist); padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.who h2 { max-width: 18ch; color: var(--peacock); }
.who dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(36px, 5vw, 64px); }
.who dt { font: 700 1.625rem/1.1 var(--display); color: var(--peacock); padding-top: 14px; border-top: 4px solid var(--brass); }
.who dd { margin-top: 10px; max-width: 30ch; }

.security { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 7vw, 112px); background: var(--peacock); color: var(--white); padding: clamp(64px, 8vw, 112px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.security h2 { max-width: 12ch; }
.security-intro p { max-width: 42ch; margin: 22px 0; color: var(--mist); }
.security-intro a { color: var(--brass); font-weight: 600; text-underline-offset: 4px; }
.security dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.security dt { font: 600 1.375rem/1.15 var(--display); color: var(--brass); }
.security dd { margin-top: 6px; color: var(--mist); font-size: 1rem; line-height: 1.5; }

.contact { background: var(--brass); padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.contact h2 { max-width: 16ch; }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: 28px; }
.mail { font: 600 clamp(1.25rem, 3.4vw, 2.25rem)/1.15 var(--display); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact address { font-style: normal; line-height: 1.5; }

.site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px clamp(32px, 5vw, 72px); background: var(--peacock-deep); color: var(--mist); font-size: .9375rem; padding: 40px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.site-footer img { width: 130px; height: 32px; }
.legal { display: grid; gap: 4px; max-width: 72ch; line-height: 1.5; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; white-space: nowrap; }
.site-footer nav a { text-underline-offset: 3px; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .signin { margin-left: auto; }
  .hero, .workflow-intro, .step, .security { grid-template-columns: minmax(0, 1fr); }
  .track { height: 460px; }
  .who dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { flex-direction: row; gap: 20px; }
}
@media (max-width: 560px) {
  .who dl, .security dl { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .actions .button { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
