:root {
  color-scheme: light;
  --navy: #0b1c2e;
  --deep: #071522;
  --ink: #14283a;
  --muted: #475b6c;
  --gold: #f1c477;
  --gold-dark: #80571f;
  --paper: #f7f8fa;
  --line: #dbe2e9;
  --shell: 1232px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: white;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1rem; line-height: 1.64; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.3rem, 4.3vw, 3.55rem); line-height: 1.06; letter-spacing: -.045em; }
h3 { font-size: 1.23rem; line-height: 1.3; }
:focus-visible { outline: 3px solid #2289cf; outline-offset: 5px; }
[id] { scroll-margin-top: 6rem; }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 9; padding: 12px; background: white; color: var(--ink); }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 3; background: var(--navy); border-bottom: 1px solid #ffffff20; color: white; }
.navbar { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .naval-wings { width: 64px; height: auto; flex-shrink: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .91rem; letter-spacing: .105em; }
.brand small { color: #c1cbd4; font-size: .72rem; letter-spacing: .085em; margin-top: 5px; }
.brand .brand-nmls { white-space: nowrap; }
nav { display: flex; gap: clamp(14px, 1.25vw, 20px); align-items: center; }
nav a { color: #ebeff5; text-decoration: none; font-size: .92rem; font-weight: 550; white-space: nowrap; }
nav a:hover { color: var(--gold); }
.menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 1px solid transparent; text-decoration: none; font-size: .95rem; font-weight: 700; white-space: nowrap; transition: background .2s; }
.gold { background: var(--gold); color: #182433; }
.gold:hover { background: #ffd795; }
.outline { color: white; border-color: #ffffff8c; background: #0e223c26; }
.outline:hover { background: #ffffff17; }
.navy { background: var(--navy); color: white; }
.navy:hover { background: #203b57; }
.hero { isolation: isolate; color: white; position: relative; background: #152842 url("assets/hero.webp") center 57% / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #071525 0%, #091a2ded 20%, #091a2db3 42%, #08172710 76%), linear-gradient(0deg, #0715258a, transparent 50%); }
.hero-inner { min-height: clamp(490px, 45vw, 650px); display: grid; align-items: center; padding-block: 64px 82px; }
.hero-copy { max-width: 670px; }
.eyebrow { color: var(--gold-dark); font-size: .875rem; letter-spacing: .15em; font-weight: 750; margin-bottom: 16px; }
.hero .eyebrow, .rates .eyebrow { color: var(--gold); }
.individual-nmls { font-size: .875rem; font-weight: 700; letter-spacing: .02em; }
.hero .individual-nmls { color: #e3ebf3; }
.hero .eyebrow span { display: inline-block; vertical-align: middle; margin: 0 7px 2px; background: currentColor; width: 22px; height: 1px; }
.hero h1 { font-size: clamp(3.4rem, 6.3vw, 6rem); letter-spacing: -.055em; line-height: .99; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.45vw, 1.17rem); color: #e3ebf3; max-width: 415px; margin: 24px 0 28px; }
.actions { display: flex; align-items: center; gap: 12px 17px; flex-wrap: wrap; }
.paths { background: var(--navy); color: white; border-top: 1px solid #f1c47750; }
.checklist-link { display: flex; width: fit-content; min-height: 80px; margin-inline: auto; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; }
.checklist-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.checklist-link svg, .choice-grid svg { flex: 0 0 auto; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.checklist-link strong, .checklist-link small { display: block; }
.checklist-link strong { font-size: 1.04rem; }
.checklist-link small { font-size: .875rem; color: #c4d0dc; line-height: 1.4; margin-top: 4px; }
.section { padding-block: 80px; }
.journey h2, .journey .eyebrow, .journey .lender-brand { text-align: center; }
.lender-brand { color: var(--muted); margin: 12px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 45px; }
.steps article { position: relative; padding: 24px 28px 6px 0; border-top: 1px solid #bb9560; }
.steps article::before { position: absolute; content: ""; top: -5px; left: 0; width: 9px; height: 9px; background: #ad7831; border-radius: 50%; }
.journey-guide { margin-top: 24px; text-align: center; }
.steps p, .choice-grid p, .about p { color: var(--muted); margin-top: 10px; }
.post-closing { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; }
.post-closing p { color: var(--muted); margin-top: 10px; max-width: 68ch; }
.about .about-social { margin-top: 18px; }
.choices { background: var(--paper); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 18px; margin-top: 32px; }
.choice-grid article { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.choice-grid svg { stroke: var(--gold-dark); margin-bottom: 14px; }
.choice-grid .choice-meta { color: var(--ink); font-size: .9rem; font-weight: 650; margin-top: 0; }
.text-link { color: #244b6b; font-size: .95rem; font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { color: #744b17; }
.choice-grid article > .text-link { padding-top: 6px; }
.loan-faq { width: 100%; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.loan-faq h4 { font-size: 1rem; margin: 0 0 8px; }
.loan-faq details + details { border-top: 1px solid var(--line); }
.loan-faq summary { cursor: pointer; font-weight: 650; padding-block: 12px; line-height: 1.45; }
.loan-faq summary::marker { color: var(--gold-dark); }
.loan-faq details p { margin: 0 0 14px; }
.loan-faq .faq-sources summary { font-size: .875rem; color: var(--muted); }
.loan-faq ul { margin: 0 0 10px; padding-left: 1.25rem; }
.loan-faq li + li { margin-top: 6px; }
.rates { color: white; background: #112942; }
.rate-grid { display: grid; grid-template-columns: 1fr minmax(310px, .83fr); align-items: center; gap: clamp(25px, 6vw, 90px); }
.rate-grid > div:first-child > p:last-child { color: #d9e4ef; margin: 16px 0 0; max-width: 425px; }
.quote { border: 1px solid #ffffff35; border-radius: 10px; padding: 27px; background: #ffffff08; }
.quote label { display: block; font-weight: 700; margin-bottom: 10px; }
.quote select { display: block; width: 100%; min-height: 46px; border: 1px solid #bdc9d5; padding: 10px 34px 10px 12px; border-radius: 5px; font: inherit; color: var(--ink); appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='m3 3 5 5 5-5' fill='none' stroke='%2314283a' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 16px 12px no-repeat; }
.quote p { margin-top: 12px; min-height: 3.3em; color: #d9e4ef; }
.about-grid { display: grid; grid-template-columns: minmax(205px,  .57fr) 1fr; gap: clamp(30px, 7vw, 96px); align-items: center; max-width: 1088px; }
.portrait { overflow: hidden; position: relative; margin: 0; border-radius: 10px; border-bottom: 5px solid #c18c47; background: var(--navy); aspect-ratio: 5 / 5.6; }
.portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 25%; }
.about .eyebrow { color: var(--gold-dark); }
.about .credentials { color: var(--ink); font-weight: 700; }
.about .individual-nmls { color: var(--ink); margin: 8px 0 0; }
.about .loan-originator { margin: 4px 0 12px; }
.about .actions { margin-top: 24px; }
.client-reviews { border-top: 1px solid var(--line); }
.review-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.review-track > li {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  scroll-snap-align: start;
  overflow-wrap: anywhere;
}
.review-track blockquote { margin: 0; }
.review-track cite { display: block; margin-top: 12px; color: var(--muted); font-style: normal; font-weight: 700; }
.review-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.review-link:not([hidden]) { display: inline-block; margin-top: 20px; }
@media (max-width: 850px) {
  .review-track { grid-auto-columns: 100%; }
}
footer { background: var(--deep); color: #ced8e2; padding-block: 36px; }
.footer-inner { display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-inner .brand { color: white; }
.footer-disclosures { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.equal-housing-logo { display: block; }
footer p, .legal { font-size: .875rem; margin-bottom: 8px; }
.legal { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.legal a { text-underline-offset: 4px; }
.licensing { max-width: 820px; }
.licensing h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); margin-bottom: 20px; }
.licensing h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin: 36px 0 14px; }
.licensing table { width: 100%; border-collapse: collapse; }
.licensing th, .licensing td { padding: 12px clamp(10px, 3vw, 20px); text-align: left; border-bottom: 1px solid var(--line); }
.licensing thead { color: white; background: var(--navy); }
.licensing tbody tr:nth-child(even) { background: var(--paper); }
.licensing tbody th { font-weight: 600; }
@media(max-width: 1040px) {
  .shell { width: calc(100% - 64px); }
  .navbar { gap: 16px; }
  .brand { gap: 8px; }
  .brand .naval-wings { width: 48px; }
  .brand strong { font-size: .81rem; }
  .brand small { font-size: .69rem; }
}
@media (width > 850px) {
  .home-navbar { display: grid; grid-template-columns: 1fr auto; gap: 0 24px; padding-top: 12px; }
  .home-navbar nav { grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 0 clamp(16px, 2.25vw, 32px); }
  .home-navbar nav a { padding-block: 12px; }
  body:has(.home-navbar) main [id] { scroll-margin-top: 9rem; }
}
@media(max-width: 850px) {
  .menu { display: inline-flex; min-height: 42px; align-items: center; margin-left: auto; padding: 0 12px; font: inherit; color: white; background: transparent; border: 1px solid #ffffff55; border-radius: 5px; }
  .navbar { min-height: 70px; }
  nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 70px); overflow-y: auto; background: var(--navy); border-bottom: 1px solid #ffffff30; padding: 16px 32px; }
  nav.open { display: grid; gap: 0; }
  nav a { padding: 12px 0; }
}
@media(max-width: 850px) {
  .choice-grid { gap: 12px; }
  .choice-grid article { padding: 18px; }
}
@media(max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .navbar { gap: 8px; }
  .brand .naval-wings { width: 36px; }
  .header .brand { flex-shrink: 1; min-width: 0; }
  .header .brand small { letter-spacing: .02em; }
  .brand strong { font-size: .72rem; letter-spacing: .06em; }
  .menu, .header-apply { font-size: .875rem; min-height: 42px; padding: 8px 10px; }
  nav { padding-inline: 18px; }
  .hero { background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, #071525f2, #071525a6 70%, #07152569), linear-gradient(0deg, #07152591, transparent 50%); }
  .hero-inner { min-height: 486px; padding-block: 52px; }
  .hero h1 { font-size: clamp(2.78rem, 9.1vw, 3.68rem); }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .section { padding-block: 55px; }
  .steps, .choice-grid, .rate-grid, .about-grid { grid-template-columns: 1fr; }
  .steps { margin-top: 28px; }
  .steps article { padding-right: 0; }
  .portrait { width: min(100%, 300px); }
  .footer-inner { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (max-width: 380px) {
  .navbar .brand .naval-wings { width: 30px; }
  .navbar .brand strong { letter-spacing: .015em; }
}
.rate-grid { align-items: start; grid-template-columns: .8fr 1fr; }
.rate-grid > div:first-child { padding-top: 20px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-fields label { font-size: .94rem; }
.form-fields input { width: 100%; min-height: 46px; border: 1px solid #bdc9d5; padding: 10px 12px; border-radius: 5px; font: inherit; color: var(--ink); background: #fff; }
.form-fields small { display: block; margin-top: 5px; color: #d9e4ef; font-size: .82rem; }
.quote .quote-note { min-height: 0; margin-block: 16px; font-size: .88rem; }
.quote .button { cursor: pointer; white-space: normal; font-family: inherit; }
.quote .button:disabled { cursor: wait; opacity: .75; }
.request-status:not(:empty) { margin-top: 16px; line-height: 1.5; }
@media(max-width: 750px) { .rate-grid { grid-template-columns: 1fr; } }
@media(max-width: 480px) { .form-fields { grid-template-columns: 1fr; } }

.resource { max-width: 820px; }
.resource h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.06; margin-bottom: 20px; }
.resource-intro { color: var(--muted); font-size: 1.125rem; margin-bottom: 32px; }
.resource > section { border-top: 1px solid var(--line); padding-block: 24px; }
.resource h2 { font-family: inherit; font-size: 1.25rem; font-weight: 700; line-height: 1.35; letter-spacing: normal; margin-bottom: 12px; }
.resource p:last-child, .resource ul, .resource dl { margin-bottom: 0; }
.resource ul { padding-left: 1.25rem; }
.resource li + li { margin-top: 8px; }
.resource dt { font-weight: 700; }
.resource dd { margin: 4px 0 16px; line-height: 1.6; }
.resource dd:last-child { margin-bottom: 0; }
.resource-contact { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.resource-links { display: flex; flex-wrap: wrap; column-gap: 40px; row-gap: 24px; margin-top: 36px; }
