/* Layout: left-aligned editorial lender site, term sheet as the signature element */
:root {
  --ink: #0F2C6B;        /* logo navy: headings, primary buttons, dark bands */
  --ink-2: #1B4590;
  --paper: #F3F6FA;      /* cool page ground */
  --surface: #FFFFFF;
  --brass: #0A8EA6;      /* logo teal accent */
  --orange: #F5A300;     /* logo orange: main calls to action */
  --orange-2: #DB9000;
  --brass-soft: #E1F2F5;
  --sage: #E3EBF4;
  --line: #D2DCE8;
  --text: #1A2233;
  --muted: #556073;
  --on-ink: #EEF3FA;
  --on-ink-muted: #AFC2E0;
  --ok: #2F7A4F;
  --warn: #9A5B13;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: 2.9rem;
  --step-5: 3.9rem;
  --radius: 10px;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; }
a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, var(--step-5)); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, var(--step-4)); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 650; }
h4 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.measure { max-width: 64ch; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font-body); padding: 15px 22px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-brass { background: var(--orange); color: var(--ink); }
.btn-brass:hover { background: var(--orange-2); color: var(--ink); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font: 500 .98rem var(--font-body); background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--sage); }
.has-menu { position: relative; }
.has-menu > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(15,44,107,.35); padding: 8px; list-style: none; margin: 0; }
.menu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--text); }
.menu a span { display: block; font-size: .85rem; color: var(--muted); }
.menu a:hover { background: var(--sage); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .portal { font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 12px; }
.nav-actions .btn { padding: 12px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-actions .portal { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav.open .mobile-only { display: block; }
}
.mobile-only { display: none; }
@media (max-width: 480px) { .nav-actions .btn { padding: 11px 13px; font-size: .92rem; } .brand-name { font-size: 1.02rem; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 70ch; }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: var(--on-ink); }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: var(--on-ink-muted); }

/* Hero */
.hero { padding-block: clamp(44px, 7vw, 88px) clamp(52px, 7vw, 96px); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(10,142,166,.12), transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 { max-width: 15ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 14px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: grid; gap: 2px; }
.facts strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy h1 { max-width: 18ch; } }

/* Term sheet: the signature element */
.termsheet { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(15,44,107,.35), 0 2px 0 var(--line); overflow: hidden; min-width: 0; }
.ts-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px 12px; border-bottom: 1px dashed var(--line); }
.ts-top h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.ts-top p { font-size: .82rem; color: var(--muted); }
.ts-tabs { display: flex; gap: 6px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: thin; }
.ts-tab { flex: none; font: 600 .9rem var(--font-body); color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; cursor: pointer; }
.ts-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ts-body { padding: 8px 22px 6px; }
.ts-rows { margin: 0; }
.ts-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--sage); align-items: baseline; }
.ts-row:last-child { border-bottom: 0; }
.ts-row dt { color: var(--muted); font-size: .97rem; }
.ts-row dd { margin: 0; font-family: var(--font-display); font-weight: 650; color: var(--ink); font-size: 1.12rem; text-align: right; font-variant-numeric: tabular-nums; }
.ts-rate { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--brass-soft); padding: 16px 22px; flex-wrap: wrap; }
.ts-rate .rate { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.ts-rate .rate small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); display: block; margin-bottom: 4px; }
.ts-foot { padding: 12px 22px 16px; font-size: .8rem; color: var(--muted); }

/* Program list */
.programs { border-top: 2px solid var(--ink); }
.program { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.program:hover h3 { color: var(--brass); }
.program p { color: var(--muted); margin-top: 6px; }
.program-terms { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.program-terms li { display: grid; }
.program-terms b { font-family: var(--font-display); color: var(--ink); font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.program-terms span { font-size: .85rem; color: var(--muted); }
.program .go { font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; gap: 14px; } }

/* Steps (a true sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--brass); line-height: 1; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--sage); font-size: .98rem; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--brass); }
.compare td:nth-child(2) { font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* Bullets */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg); }
.bg-ink .ticks li::before { border-color: var(--orange); }

/* Broker band */
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.band-grid > * { min-width: 0; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
.ways { display: grid; gap: 14px; }
.way { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px; }
.way h3 { font-size: 1.2rem; margin-bottom: 6px; }
.way p { color: var(--on-ink-muted); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.quote { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); margin: 0; }
.quote:nth-child(odd) { border-right: 1px solid var(--line); }
.quote:nth-child(even) { padding-left: 28px; }
.quote p { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote, .quote:nth-child(even) { padding: 24px 0; border-right: 0 !important; } }

/* Tiles for tools and guides */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-top: 1px solid var(--sage); }
.linklist a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 600; }
.linklist a span { color: var(--muted); font-weight: 400; font-size: .92rem; }
.linklist a:hover { color: var(--brass); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { max-width: 22ch; }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .wrap { display: grid; gap: 16px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-hero h1 { max-width: 20ch; }

/* Program detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid .termsheet { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
@media (max-width: 920px) { .detail-grid .termsheet { position: static; } }
.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: 18px; }
.prose h3 { font-size: var(--step-1); margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.answer-box { background: var(--brass-soft); border-radius: var(--radius); padding: 20px 22px; color: var(--text); font-size: 1.08rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { background: var(--sage); color: var(--ink); padding: 7px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; }

/* Forms and calculators */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); width: 100%; min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(10,142,166,.25); }
.field .hint { font-size: .85rem; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.notice { border-radius: var(--radius); padding: 16px 18px; font-size: .98rem; }
.notice.ok { background: #E6F2EA; color: #1F5536; border: 1px solid #BFDCC9; }
.notice.warn { background: #FBF0E1; color: #6E420E; border: 1px solid #ECD3AE; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.result { background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 26px; display: grid; gap: 16px; }
.result h3 { color: #fff; font-size: 1.15rem; }
.result .big { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.result dl { margin: 0; display: grid; gap: 0; }
.result dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-variant-numeric: tabular-nums; }
.result dl div:last-child { border-bottom: 0; }
.result dt { color: var(--on-ink-muted); }
.result dd { margin: 0; font-weight: 600; color: #fff; }
.status { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.status.ok { background: #CFE9D8; color: #154A2C; }
.status.warn { background: #F5DDB8; color: #61390B; }
.status.bad { background: #F3CFC7; color: #6B1F12; }

/* Funded deals */
.deals { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.deals th, .deals td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--sage); white-space: nowrap; }
.deals thead th { font-weight: 600; color: var(--muted); font-size: .9rem; background: var(--paper); }
.sample-tag { display: inline-block; background: var(--brass-soft); color: #6E420E; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* About */
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); display: grid; place-items: center; color: var(--on-ink-muted); text-align: center; padding: 24px; }
.book { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; }
.book-cover { aspect-ratio: 2 / 3; border-radius: 4px 8px 8px 4px; background: linear-gradient(135deg, var(--ink) 0%, #071A40 100%); color: var(--orange); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; text-align: center; padding: 10px; font-size: .95rem; box-shadow: 6px 8px 18px -8px rgba(0,0,0,.4); }

/* Footer */
.site-footer { background: #0A1F4D; color: var(--on-ink-muted); padding-block: 64px 36px; font-size: .95rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot-grid > * { min-width: 0; }
.foot-grid h2 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: var(--on-ink-muted); }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: .84rem; line-height: 1.55; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.selectable { user-select: all; }
.prose .pills { display: flex; padding: 0; }
.prose .linklist { padding: 0; display: block; }
.row-2 { align-items: start; }
.btn { white-space: nowrap; }
.brand-name { white-space: nowrap; }
.ts-tabs { flex-wrap: wrap; overflow: visible; }
@media (max-width: 420px) { .brand-name small { display: none; } .facts strong { font-size: 1.15rem; } }
@media (max-width: 1020px) { .nav { gap: 12px; } }
@media (max-width: 440px) { .nav-actions .btn-primary { display: none; } }

.brand img { height: 56px; width: auto; display: block; }
.site-footer .brand { background: #fff; padding: 8px 12px; border-radius: 8px; display: inline-flex; }
.site-footer .brand img { height: 40px; }
@media (max-width: 440px) { .brand img { height: 38px; } }
.ts-points { font-size: .88rem; color: var(--muted); }
.ts-points b { color: var(--ink); }
.statecheck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.statecheck .field { max-width: 420px; }
@media (max-width: 760px) { .statecheck { grid-template-columns: 1fr; } }
.sc-result { margin-top: 12px; }
.photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(15,44,107,.35); }
.book-img { width: 120px; height: auto; border-radius: 3px; box-shadow: 6px 8px 18px -8px rgba(0,0,0,.35); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.member { display: grid; gap: 16px; align-content: start; max-width: 300px; }
.member img { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--paper); }
.member h3 { font-size: 1.3rem; }
.member .role { color: var(--brass); font-weight: 600; }
.split > .book { align-self: start; }
.contact { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .95rem; }
.contact li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.contact span { color: var(--muted); }
.contact a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--brass); }
.team { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.member { max-width: 340px; }
.contact { font-size: .9rem; }
.contact li { grid-template-columns: 50px minmax(0, 1fr); }
.contact a { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.exdeals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.exdeal { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ex-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-tag { font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sage); color: var(--ink); }
.ex-flip { background: #FDEFD2; color: #6B4600; }
.ex-dscr { background: #DDF0F3; color: #075867; }
.ex-bridge { background: #E3E9F7; color: #1B3A80; }
.ex-ground { background: #E7EFE3; color: #2E5A22; }
.ex-portfolio { background: #EFE5F5; color: #55306E; }
.ex-loc { font-weight: 600; color: var(--ink); }
.ex-amt { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.ex-amt small { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.ex-prop { color: var(--muted); }
.exdeal dl { margin: 0; border-top: 1px solid var(--sage); }
.exdeal dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sage); font-size: .93rem; }
.exdeal dt { color: var(--muted); }
.exdeal dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.ex-story { font-size: .95rem; }
.exdeal .btn { justify-self: start; padding: 11px 16px; font-size: .92rem; }
.page-hero h1 { max-width: 24ch; }
.proof { list-style: none; margin: 10px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; max-width: 900px; }
.proof li { display: grid; gap: 2px; }
.proof strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.proof span { color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
