/* The home page's sections that website version 1 (home_v1.css, generated) doesn't have: John's November content.
   Same system as home_v1.css: hairlines not boxes, the 12-column grid, its colour tokens. */
.sec-tight { padding: 104px 0; }
.pd-more { margin-top: 88px; }
.pd-more .lead + .lead { margin-top: 18px; }

/* four steps, four partners */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.quad-trio { grid-template-columns: repeat(4, 1fr); }
.quad-trio article { padding-right: 28px; }
.quad-trio article + article { padding-left: 28px; }
.quad-trio h3 { font-size: 22px; }

/* lenders: four groups of points */
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.quad article { border-top: 1px solid var(--ink); padding-top: 22px; }
.quad h3 { font-size: 20px; line-height: 1.25; }
.quad ul { list-style: none; margin: 16px 0 0; padding: 0; }
.quad li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.quad li:first-child { border-top: 0; }

/* regulators: ticked points */
.ticks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.ticks li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 14px; color: var(--blue); font-weight: 600; }
.regs { position: relative; margin-top: 96px; padding-top: 40px; }
.regs::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.regs-h { font: 500 24px/1.3 var(--display); letter-spacing: -.015em; max-width: 26em; }
.regs .ticks { margin-top: 24px; }

/* every life stage */
.uses { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 56px; }
.uses li { border-top: 1px solid var(--ink); padding-top: 18px; color: var(--ink-2); font-size: 15px; }
.uses b { display: block; color: var(--ink); font: 500 18px/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .steps-4, .quad, .quad-trio { grid-template-columns: repeat(2, 1fr); }
  .quad-trio article:nth-child(3) { padding-left: 0; border-left: 0; }
  .quad-trio article:nth-child(n+3) { margin-top: 32px; }
  .uses { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sec-tight { padding: 72px 0; }
  .pd-more { margin-top: 56px; }
  .steps-4, .quad, .quad-trio, .uses, .ticks { grid-template-columns: 1fr; }
  .quad-trio article, .quad-trio article + article { padding: 28px 0 32px; border-left: 0; margin-top: 0; }
  .quad { gap: 40px; }
  .regs { margin-top: 64px; }
  .regs-h { font-size: 21px; }
}

/* Global Council, under the advisory board */
.advisors + .mini { margin-top: 40px; }

/* our offices, under Talk to us */
.office-wrap { margin-top: 72px; text-align: center; }
.office-bar { display: inline-block; margin: 0; padding: 10px 22px; border-radius: 6px; background: var(--navy); color: var(--fp-home-ffffff);
  font: 600 13px/1.5 var(--text); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .office-wrap { margin-top: 48px; } .office-bar { font-size: 11.5px; letter-spacing: .06em; padding: 10px 14px; } }

/* the platform's agent pane: a loan officer's conversation with the lender's AI agent first, the code behind it */
.agent-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line-dark);
  font: 500 13px/1 var(--text); color: var(--fp-home-ffffff); }
.agent-bar em { font-style: normal; color: var(--fp-home-ffffff-a50); margin-left: 10px; }
.agent-switch { display: flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--fp-home-ffffff-a7); }
.agent-switch button { appearance: none; border: 0; background: none; cursor: pointer; padding: 7px 12px; border-radius: 4px; font: 500 13px/1 var(--text); color: var(--fp-home-ffffff-a70); }
.agent-switch button[aria-selected="true"] { background: var(--fp-home-ffffff); color: var(--ink); }
.agent-switch button:focus-visible, .chat-link:focus-visible { outline: 2px solid var(--fp-home-8fc1f7); outline-offset: 2px; }
.agent-chat { display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; padding: 24px 22px 22px; }
.agent-chat[hidden], #agent-code[hidden] { display: none; }
.chat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.msg { max-width: 86%; padding: 12px 16px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.msg p { margin: 0; }
.msg b { font-weight: 600; color: var(--fp-home-ffffff); }
.who { display: block; margin-bottom: 4px; font: 500 11.5px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--fp-home-ffffff-a50); }
.msg-user { justify-self: end; background: var(--fp-home-ffffff); color: var(--ink); }
.msg-user .who { color: var(--muted); }
.msg-agent { background: var(--fp-home-ffffff-a7); color: var(--fp-home-ffffff-a86); }
.msg-tool { max-width: none; padding: 10px 14px; border: 1px dashed var(--line-dark); background: none; color: var(--fp-home-ffffff-a70); font-size: 13.5px; }
.msg-tool code { font: 500 13.5px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--fp-home-8fc1f7); margin-right: 12px; }
.msg-tool small { color: var(--fp-home-ffffff-a50); white-space: nowrap; }
.chat-foot { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: var(--fp-home-ffffff-a70); }
.chat-link { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--fp-home-8fc1f7); font-weight: 500; }
.chat-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .agent-chat { min-height: 0; padding: 20px 16px; } .msg { max-width: 94%; } .agent-bar em { display: none; }
  .msg-tool code { display: block; margin: 0 0 2px; overflow-wrap: anywhere; } .msg-tool small { white-space: normal; } }

/* the code samples' cover: says what they mean to a business reader; "See the code" lifts it (home_site#showCode) */
.pane-code { position: relative; }
.code-cover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px; text-align: center; background: var(--fp-home-06101c-a82); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.code-cover h3 { max-width: 13em; font: 500 clamp(26px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -.02em; color: var(--fp-home-ffffff); }
.code-cover p { max-width: 26em; color: var(--fp-home-ffffff-a70); font-size: 15.5px; line-height: 1.55; }
.code-cover .btn { margin-top: 6px; }
.code-cover-link { color: var(--fp-home-ffffff-a70); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.code-cover-link:hover { color: var(--fp-home-ffffff); }
.code-open .code-cover { display: none; }
@media (max-width: 860px) { .code-cover { padding: 24px 20px; gap: 14px; } }
.code-foot { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line-dark); text-align: right; font-size: 14px; }
.code-foot a { color: var(--fp-home-8fc1f7); text-decoration: none; }
.code-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
