@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f7f4;
  --ink: #172b25;
  --brand-dark: #142d26;
  --muted: #4d625b;
  --blue: #11634e;
  --blue-dark: #0c503f;
  --line: #d6e4dc;
  font-family: Inter, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2 { font-weight: 680; letter-spacing: -.057em; }
h1 { font-size: clamp(42px, 6vw, 82px); line-height: 1.01; }
h2 { font-size: clamp(29px, 3.4vw, 44px); line-height: 1.12; }
h3 { font-weight: 700; letter-spacing: -.025em; }
section[id], #how-it-works { scroll-margin-top: 18px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1d785f; outline-offset: 5px; }

.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 12px 20px; transform: translateY(-150%); background: #fff; }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header-inner { min-height: 69px; }
.wordmark { display: inline-flex; flex: none; }
.wordmark img { width: clamp(151px, 16.5vw, 206px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.header-actions { display: none; }
.desktop-nav a, .nav-menu summary { color: var(--ink); font-size: 14px; font-weight: 580; white-space: nowrap; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .nav-menu summary:hover { color: var(--blue); }
.nav-menu { position: relative; }
.nav-menu summary, .mobile-menu summary { cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary { display: flex; align-items: center; gap: 8px; }
.nav-menu summary::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nav-options, .mobile-menu nav { position: absolute; display: grid; gap: 3px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 8px 28px #15372917; }
.nav-options { top: calc(100% + 12px); left: -12px; min-width: 198px; }
.nav-options a, .mobile-menu nav a { display: block; padding: 10px; border-radius: 6px; text-decoration: none; }
.nav-options a:hover, .mobile-menu nav a:hover { background: var(--paper); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 8px; }
.mobile-menu summary span { width: 15px; height: 9px; border: solid var(--ink); border-width: 2px 0; }
.mobile-menu nav { top: calc(100% + 10px); right: 0; min-width: 208px; }
.mobile-menu nav a { font-size: 14px; font-weight: 600; }
.breadcrumbs { padding-block: 14px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #7c8d84; }
.breadcrumbs a { text-underline-offset: 3px; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; padding: 10px 19px; font-size: 14px; font-weight: 680; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-primary:disabled { background: #dee8e2; color: #4b6257; cursor: default; }
.button-outline { border-color: #aabfb3; background: transparent; color: var(--blue-dark); }
.button-outline:hover { background: #edf5ef; }
.text-link, .text-action { color: var(--blue-dark); text-underline-offset: 4px; }
.text-link { font-weight: 650; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 4px; background: transparent; font-size: 14px; font-weight: 650; }
.text-link:hover, .text-action:hover { color: var(--blue); text-decoration: underline; }

.hero { border-bottom: 1px solid var(--line); }
.hero-layout { padding-block: clamp(42px, 5.4vw, 74px) clamp(24px, 3.5vw, 48px); text-align: center; }
.hero-copy h1 { margin-inline: auto; font-size: clamp(40px, 5.5vw, 75px); text-wrap: balance; }
.hero-copy > p { max-width: 58ch; margin: 14px auto 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 23px); line-height: 1.45; text-wrap: balance; }
.hero-copy > p span { display: inline-block; }
.hero-actions, .product-actions, .application-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px 20px; }
.hero-actions { margin-top: 23px; }
.hero-actions .button, .closing .button { min-height: 47px; padding-inline: 23px; border-radius: 999px; }
.loan-hero-art {
  width: min(100%, 550px);
  height: clamp(190px, 30vw, 338px);
  margin: clamp(22px, 4vw, 45px) auto 0;
  object-fit: contain;
}
.approval-visual { width: min(100%, 570px); margin: clamp(31px, 4.4vw, 59px) auto 0; }
.approval-card {
  position: relative;
  isolation: isolate;
  width: 86%;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 47px) 12px;
}
.approval-card::before, .approval-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: clamp(16px, 3.5vw, 30px);
  content: "";
}
.approval-card::before {
  inset: 3% 0;
  transform: rotate(7deg) translateX(3%);
  border: 1px solid #406b5d;
  background: linear-gradient(135deg, #94b7a9, #1f5143 48%, #12382e 70%, #4d7d6b);
  box-shadow: inset 0 0 0 3px #b5d6c436;
}
.approval-card::after {
  transform: rotate(-3deg);
  border: 1px solid #8aa89a;
  background: radial-gradient(ellipse at 89% 12%, #cde4d8, transparent 56%), linear-gradient(148deg, #fff 22%, #ecf4ef 65%, #d7e9dd);
  box-shadow: inset 0 0 0 4px #ffffff9c, 0 13px 28px #12352a33;
}
.approval-check {
  display: grid;
  width: clamp(32px, 6vw, 54px);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 10px;
  border: 1px solid #0d503e;
  border-radius: 50%;
  background: linear-gradient(155deg, #297c62, #0d4b3b);
  box-shadow: inset 0 1px 1px #ffffff52, 0 4px 10px #12352a26;
  color: #fff;
}
.approval-check::after {
  width: 41%;
  height: 23%;
  transform: translateY(-14%) rotate(-45deg);
  border: solid currentColor;
  border-width: 0 0 2.5px 2.5px;
  content: "";
}
.approval-status { font-size: clamp(21px, 4vw, 32px); font-weight: 650; letter-spacing: -.04em; }
.approval-amount { margin-top: 2px; font-size: clamp(44px, 10.4vw, 80px); font-weight: 730; line-height: 1.05; letter-spacing: -.065em; }
.funding-illustration { padding: clamp(12px, 2vw, 20px); }
.funding-illustration img { width: min(100%, 378px); height: clamp(146px, 26vw, 240px); margin-inline: auto; object-fit: contain; }
.closing { background: linear-gradient(#f8fbf8, #e6f0e8); text-align: center; }
.closing-inner { padding-block: clamp(32px, 4vw, 56px) clamp(43px, 5vw, 68px); }
.closing-art { width: clamp(80px, 10vw, 120px); height: auto; margin: 0 auto 14px; }
.closing .button { margin-top: 18px; }

.options { padding-block: clamp(44px, 6vw, 79px); }
.options h2 { text-align: center; }
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.option { min-width: 0; padding: 2px clamp(15px, 3vw, 41px) 3px; }
.option:first-child { padding-left: 0; }
.option:last-child { padding-right: 0; }
.option + .option { border-left: 1px solid var(--line); }
.option h3 { font-size: clamp(17px, 2vw, 22px); line-height: 1.2; }
.option p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.option .text-link { display: inline-block; margin-top: 13px; padding-block: 4px; font-size: 14px; }

.application-band { background: var(--paper); }
.application { padding-block: clamp(43px, 6vw, 78px); text-align: center; }
.application-steps {
  --step-art-size: clamp(80px, 11vw, 118px);
  --step-number-size: 28px;
  --step-gap: 12px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--step-gap);
  margin: clamp(22px, 4vw, 45px) 0 0;
  padding: 0;
  list-style: none;
}
.application-steps::before {
  position: absolute;
  inset-inline: 10%;
  top: calc(var(--step-art-size) + var(--step-gap) + var(--step-number-size) / 2);
  border-top: 1px solid #b7cec1;
  content: "";
}
.application-steps li { display: grid; align-content: start; justify-items: center; gap: var(--step-gap); }
.application-steps img { width: var(--step-art-size); height: var(--step-art-size); object-fit: contain; }
.step-number {
  position: relative;
  display: grid;
  width: var(--step-number-size);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #b7cec1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}
.application-steps h3 { font-size: clamp(17px, 1.65vw, 20px); line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.application-more { display: inline-block; min-height: 44px; margin-top: 16px; padding-block: 12px; font-size: 15px; }
.application-note { margin-top: 27px; color: var(--muted); text-align: center; font-size: 14px; line-height: 1.6; }
.application-actions { margin-top: 7px; }
.application-note[hidden] + .application-actions { margin-top: 24px; }

.questions { border-top: 1px solid var(--line); background: #f8fbf8; }
.questions-inner { max-width: 690px; padding-block: clamp(40px, 5.5vw, 76px) clamp(30px, 3.5vw, 48px); }
.questions h2 { margin-bottom: clamp(22px, 4vw, 36px); text-align: center; }
.faq, .intake-details { border-top: 1px solid var(--line); }
.faq details, .intake-details { border-bottom: 1px solid var(--line); }
.faq summary, .intake-details summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 15px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 650; }
.faq summary::-webkit-details-marker, .intake-details summary::-webkit-details-marker { display: none; }
.faq summary::after, .intake-details summary::after { content: "+"; flex: none; color: var(--blue-dark); font-size: 21px; line-height: 1; }
details[open] > summary::after { content: "−"; }
.faq p, .intake-details p { max-width: 64ch; padding-bottom: 15px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.questions summary { min-height: 58px; padding-block: 13px; font-size: clamp(15px, 1.7vw, 17px); line-height: 1.35; }
.questions summary:hover { color: var(--blue-dark); }
.questions .faq a { color: var(--blue-dark); text-underline-offset: 3px; }
.questions summary::after {
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  font-weight: 550;
}
.questions .product-resource { text-align: center; }
.intake-details { max-width: 640px; margin: 16px auto 0; }

.product-hero { padding-block: 18px clamp(32px, 5vw, 62px); }
.back-link { display: inline-block; font-size: 13px; font-weight: 620; color: var(--blue-dark); text-underline-offset: 4px; }
.product-copy { padding-top: clamp(26px, 4vw, 47px); text-align: center; }
.product-copy h1 { font-size: clamp(40px, 5.15vw, 68px); text-wrap: balance; }
.product-description { max-width: 535px; margin: 17px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.product-actions { margin-top: 20px; }
.product-actions .button-primary { border-radius: 999px; }
.product-compare { display: grid; grid-template-columns: .7fr 1fr; gap: 24px 62px; padding-block: clamp(35px, 5vw, 60px); border-top: 1px solid var(--line); }
.product-compare ul { margin: 0; padding: 0; list-style: none; }
.product-compare li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.product-compare li:first-child { padding-top: 0; }
.product-compare h3 { margin-bottom: 5px; font-size: 16px; }
.product-compare p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.product-resource { margin-top: 18px; }
.product-resource a { color: var(--blue-dark); text-underline-offset: 3px; }

.site-footer { background: var(--brand-dark); color: #fff; }
.footer-inner { align-items: flex-start; padding-block: clamp(30px, 5vw, 55px); }
.footer-brand p { max-width: 33ch; margin-top: 14px; color: #d9ebe3; font-size: 13px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 45px; }
.footer-links h2 { margin-bottom: 9px; color: #fff; font-size: 14px; letter-spacing: 0; }
.footer-links ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #d9ebe3; font-size: 13px; line-height: 1.4; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links a:focus-visible { outline-color: #d0e8d5; }

.calculator-section { max-width: 510px; padding-block: clamp(34px, 6vw, 65px); }
.calculator-section h1 { font-size: clamp(36px, 5.4vw, 60px); text-wrap: balance; }
.calculator-section > p { margin-top: 12px; }
.calculator-layout { display: grid; gap: 18px; margin-top: 24px; }
.calculator-form { display: grid; gap: 15px; }
.calculator-form > .button { justify-self: start; margin-top: 1px; border-radius: 999px; }
.calculator-field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 680; }
.calculator-field input { width: 100%; min-height: 46px; padding: 9px 11px; border: 1px solid #a5b8ad; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.calculator-note { color: var(--muted); font-size: 14px; line-height: 1.55; }
.calculator-results { padding: clamp(17px, 3.3vw, 24px); border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.calculator-results h2, .calculator-results h3 { font-size: 16px; font-weight: 680; letter-spacing: -.01em; }
.calculator-monthly { display: block; margin-top: 5px; color: var(--blue-dark); font-size: clamp(34px, 7vw, 47px); font-weight: 720; line-height: 1.12; font-variant-numeric: tabular-nums; }
.calculator-breakdown { margin-top: 12px; border-top: 1px solid var(--line); }
.calculator-breakdown summary { padding-block: 11px 4px; color: var(--blue-dark); cursor: pointer; font-size: 14px; font-weight: 620; }
.calculator-totals { display: grid; gap: 4px; margin: 0; font-size: 14px; }
.calculator-totals > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; }
.calculator-totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.product-compare ol { margin: 0; padding-left: 22px; }
.application-guidance ul { padding-left: 20px; }

dialog { width: min(94vw, 555px); max-height: 90dvh; padding: 0; border: 0; border-radius: 17px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 95px #0e173d35; }
dialog::backdrop { background: #0a241aa1; }
.planner-inner { position: relative; padding: 34px; }
.close-form { position: absolute; top: 15px; right: 15px; }
.icon-button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.icon-button:hover { background: #e7f1eb; }
.planner-step { display: inline-block; margin-bottom: 12px; color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.planner-inner h2 { font-size: clamp(29px, 5vw, 40px); }
.planner-inner h2:focus { outline: none; }
.planner-description { margin-block: 10px 20px; color: var(--muted); line-height: 1.6; }
.choice-group { display: grid; min-width: 0; gap: 8px; margin: 0; padding: 0; border: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 49px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.choice:hover, .choice:has(input:checked) { border-color: var(--blue); background: #e4f2ea; }
.choice input { width: 17px; height: 17px; flex: none; margin: 0; accent-color: var(--blue); }
.result-list { display: grid; gap: 10px; margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.6; }
.result-list li::marker { color: var(--blue-dark); }
.result-note { margin-top: 19px; padding: 12px 14px; border-radius: 8px; color: var(--blue-dark); background: #e4f2ea; font-size: 13px; line-height: 1.6; }
.planner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.planner-actions .button-primary { margin-left: auto; }
.planner-actions .planner-apply { font-size: 14px; white-space: nowrap; }

@media (max-width: 740px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 15px; }
  
  .product-compare { gap: 23px 30px; }
}

@media (max-width: 720px) {
  .application-steps {
    --step-art-size: 58px;
    max-width: 410px;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-inline: auto;
    text-align: left;
  }
  .application-steps::before { display: none; }
  .application-steps li {
    grid-template-columns: var(--step-number-size) var(--step-art-size) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: clamp(8px, 3vw, 16px);
  }
  .step-number { grid-area: 1 / 1; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 60px; }
  .hero-layout { padding-block: 42px 27px; }
  .hero-copy > p { margin-top: 15px; }
  .hero-actions { margin-top: 18px; gap: 9px 12px; }
  .hero-actions .button { padding-inline: 15px; }
  .option-grid { grid-template-columns: 1fr; margin-top: 21px; }
  .option, .option:first-child, .option:last-child { padding: 14px 0; }
  .option + .option { border-top: 1px solid var(--line); border-left: 0; }
  .option .text-link { margin-top: 7px; }
  .application-note { margin-top: 20px; }
  .product-compare { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { width: 100%; gap: 14px; }
  .planner-inner { padding: 25px 17px; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 30px); }
  .planner-actions .button { padding-inline: 12px; }
}

@media (max-width: 815px) {
  .desktop-nav { display: none; }
  .header-actions, .mobile-menu { display: block; }
}
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .header-inner .wordmark img { width: 135px; }
  .mobile-menu summary { width: 34px; }
}

.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.intent {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(19px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8fbf8;
}
.intent-copy { display: flex; height: 100%; flex-direction: column; align-items: flex-start; }
.intent-art { width: min(100%, 184px); height: 117px; margin-inline: auto; object-fit: contain; }
.intent h3 { font-size: clamp(20px, 2.25vw, 29px); }
.intent p { max-width: 45ch; margin: 10px 0 19px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.intent .button { align-self: center; margin-top: auto; white-space: normal; text-align: center; }
.loan-highlights .intent { text-align: center; }
.loan-highlights .intent p { margin: 8px auto 0; }
.loan-highlights .intent-art { width: min(100%, 120px); height: 94px; }
@media (max-width: 600px) {
  .intent-grid { grid-template-columns: 1fr; }
  .intent { grid-template-columns: 1fr; padding: 20px; }
  .intent-art { width: min(100%, 174px); margin: 7px auto 0; }
  .loan-highlights .intent { grid-template-columns: 66px minmax(0, 1fr); grid-template-rows: auto; gap: 13px; text-align: left; }
  .loan-highlights .intent-art { grid-area: 1 / 1; height: 59px; margin: 0; }
  .loan-highlights .intent p { margin-inline: 0; }
}

@media (max-width: 350px) {
  .intent .button { padding-inline: 12px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .intent { padding: 15px; }
  .intent .button { padding-inline: 10px; }
  .intent-art { height: 95px; }
}
