.financial-hero { background: #223948; }
.financial-hero h1 { max-width: 13ch; }
.financial-hero .hero-description { max-width: 39ch; color: #e0e9ee; }
.financial-hero .button-light { background: #f3e3b7; color: #253846; }
.financial-hero .button-light:hover { background: #fbefce; }
.financial-hero .hero-photo { background: #597180; }
.financial-hero .hero-photo img { object-position: 38% 62%; }
.financial-hero .hero-photo::after { background: linear-gradient(90deg, #22394840, transparent 28%); }
.finance-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.finance-hero-link { color: #f3e3b7; font-weight: 750; text-underline-offset: .2em; }

#business-financing, #compare-offers, #payment-estimator { scroll-margin-top: 24px; }
.finance-workspace {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 19px;
  align-items: stretch;
}
.finance-controls, .finance-results { padding: clamp(17px, 2.6vw, 28px); }
.finance-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.finance-reset {
  border: 0;
  border-radius: 4px;
  padding: .35rem .15rem;
  background: transparent;
  color: var(--green);
  font-size: .83rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.finance-reset:hover { color: #466e55; }
.finance-state { margin-top: 17px; }
.finance-sample {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .65rem;
  margin: 18px 0;
  padding: .75rem;
  border: 1px solid #e7ede4;
  border-radius: 9px;
  background: #f2f5ee;
  font-size: .88rem;
}
.finance-sample p { margin-top: 3px; color: var(--muted); font-size: .81rem; }
.finance-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; align-items: end; }
:is(#finance-form, #finance-offers) label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 800; }
:is(#finance-form, #finance-offers) input, #finance-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b9c8bd;
  border-radius: 8px;
  padding: .55rem .65rem;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .93rem;
  font-weight: 750;
}
.finance-money { position: relative; }
.finance-money span { position: absolute; top: 50%; left: 11px; transform: translateY(-50%); color: var(--muted); font-size: .88rem; pointer-events: none; }
#finance-form .finance-money input { padding-left: 1.55rem; }
.finance-fields input[aria-invalid="true"] { border-color: #a14f40; }
#finance-form select {
  appearance: none;
  padding-right: 2rem;
  background: linear-gradient(45deg, transparent 49%, var(--green) 51%) right 19px center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 49%, var(--green) 51%) right 13px center / 6px 6px no-repeat,
    white;
}
.finance-field-help { margin-top: .5rem; }
.finance-extra { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.finance-extra summary { cursor: pointer; font-size: .88rem; font-weight: 800; }
.finance-extra .finance-fields { margin-top: .7rem; }
.finance-error { margin-top: .65rem; color: #893c31; font-size: .83rem; line-height: 1.5; }
.finance-error:empty { margin: 0; }
.finance-payment {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid #cbdcc9;
  border-radius: 10px;
  background: var(--mint);
  color: #365146;
  font-size: .85rem;
  font-weight: 750;
}
.finance-payment output { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.1; }
.finance-breakdown { margin: 10px 0; }
.finance-breakdown div:not([hidden]) { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-block: .52rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
#finance-trade-note { margin-bottom: .5rem; }
.finance-breakdown dt { color: var(--muted); }
.finance-breakdown dd { margin: 0; font-weight: 800; text-align: right; }
.finance-note, .finance-actions p { color: var(--muted); font-size: .81rem; line-height: 1.55; }
.finance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-top: 15px; }
.finance-actions button:disabled { cursor: default; opacity: .6; }
.finance-review { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.finance-review p { font-size: .86rem; line-height: 1.55; }
.finance-review p:not(:empty) { margin-top: .6rem; }
.finance-review strong { display: block; }
.finance-review button:disabled { cursor: default; opacity: .6; }
.finance-example-action { margin-bottom: .8rem; }
.finance-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.finance-offer-grid fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.finance-offer-grid legend { padding-inline: .3rem; font-weight: 800; }
.finance-offer-grid input { display: block; margin-top: 6px; }
#finance-offers .finance-note, #finance-offer-summary { margin-top: .75rem; }
.finance-offer-result { margin-top: 16px; }
.finance-offer-table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .9rem; }
.finance-offer-table th, .finance-offer-table td { padding: .65rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.finance-offer-table td { font-variant-numeric: tabular-nums; }
.finance-offer-table tbody tr:last-child { background: var(--mint); font-weight: 800; }
.finance-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; }
.finance-process li { padding: 1.2rem; }
.finance-process li + li { border-left: 1px solid var(--line); }
.finance-process p { margin-top: .42rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }

@media (max-width: 670px) {
  .finance-workspace, .finance-process, .finance-offer-grid { grid-template-columns: 1fr; }
  .finance-process li + li { border-left: 0; border-top: 1px solid var(--line); }
}
