.credit-page {
  --credit-forest: #073d2a;
  --credit-deep: #03271b;
  --credit-lime: #d7ff42;
  --credit-paper: #f5f0df;
  --credit-white: #fffdf5;
  --credit-ink: #092d21;
  --credit-muted: #5e6f64;
  margin: 0;
  background: var(--credit-paper);
  color: var(--credit-ink);
  font: 400 18px/1.55 Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.credit-page *, .credit-page *::before, .credit-page *::after { box-sizing: border-box; }
.credit-page button, .credit-page input, .credit-page select { font: inherit; }
.credit-page a { color: inherit; }
.credit-page [hidden] { display: none !important; }
.credit-shell { width: min(100% - 64px, 1360px); margin-inline: auto; }
.credit-skip-link { position: fixed; z-index: 30000; left: 12px; top: 12px; padding: 10px 16px; background: var(--credit-lime); color: var(--credit-deep); transform: translateY(-150%); }
.credit-skip-link:focus { transform: translateY(0); }
.credit-page :is(a, input, select, summary, .credit-table-scroll):focus-visible { outline: 3px solid var(--credit-lime); outline-offset: 3px; }
.credit-page :is(.credit-workbench, .credit-output) :is(input, select, summary, .credit-table-scroll):focus-visible { outline-color: var(--credit-forest); }
.credit-page #calculator-form, .credit-page #main-content { scroll-margin-top: 92px; }
.credit-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0 0 18px; color: var(--credit-forest); font-size: 13px; font-weight: 700; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.credit-kicker::before { width: 38px; height: 3px; background: currentColor; content: ""; }
.credit-kicker--light { color: var(--credit-lime); }

.credit-hero { position: relative; overflow: hidden; background: var(--credit-deep); color: var(--credit-white); }
.credit-hero::before { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(16.666% - 1px), rgba(255,255,255,.045) calc(16.666% - 1px), rgba(255,255,255,.045) 16.666%); content: ""; pointer-events: none; }
.credit-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); align-items: end; gap: clamp(40px, 6vw, 120px); min-height: 520px; padding-block: clamp(72px, 7vw, 120px) 90px; }
.credit-hero h1 { margin: 0; font-size: clamp(58px, 8.7vw, 132px); font-weight: 700; line-height: .91; letter-spacing: -.075em; }
.credit-hero h1 span { color: var(--credit-lime); }
.credit-hero__lead { max-width: 660px; margin: 34px 0 26px; color: #e7f1e9; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.45; }
.credit-hero__link { display: inline-flex; align-items: center; gap: 18px; padding-block: 10px; border-bottom: 2px solid var(--credit-lime); color: var(--credit-white); font-size: 17px; font-weight: 700; text-decoration: none; }
.credit-hero__link span { color: var(--credit-lime); font-size: 24px; }
.credit-hero__graphic { display: flex; flex-direction: column; gap: 25px; align-self: stretch; justify-content: end; padding: 24px 0 7px; border-top: 1px solid rgba(255,255,255,.35); color: #c5d5c8; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.credit-hero__track { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 5px; min-height: 164px; }
.credit-hero__track i { height: 30%; background: rgba(255,255,255,.17); }
.credit-hero__track i:nth-child(2) { height: 100%; background: var(--credit-lime); }
.credit-hero__track i:nth-child(12) { height: 72%; background: #a2d363; }
.credit-hero__graphic-bottom { align-self: flex-end; }

.credit-workbench { padding-block: clamp(70px, 7vw, 112px) clamp(70px, 7vw, 110px); }
.credit-workbench__heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); align-items: end; gap: 24px 50px; margin-bottom: 44px; }
.credit-workbench__heading .credit-kicker { grid-column: 1 / -1; margin: 0; }
.credit-workbench__heading h2 { margin: 0; font-size: clamp(42px, 5.4vw, 76px); line-height: .98; letter-spacing: -.065em; }
.credit-workbench__heading > p:last-child { max-width: 370px; margin: 0 0 4px; color: var(--credit-muted); font-size: 19px; }
.credit-workbench__grid { display: grid; grid-template-columns: minmax(0, 1.33fr) minmax(300px, .67fr); align-items: stretch; gap: clamp(18px, 3vw, 48px); }
.credit-form { min-width: 0; padding: clamp(22px, 3.6vw, 56px); background: var(--credit-white); box-shadow: 0 1px 0 rgba(4,48,30,.1), 0 22px 80px rgba(3,39,27,.07); }
.credit-form__top { display: flex; align-items: center; gap: 20px; padding-bottom: 25px; margin-bottom: 13px; border-bottom: 1px solid rgba(9,45,33,.17); }
.credit-form__top span { color: var(--credit-forest); font-size: 15px; font-weight: 700; }
.credit-form__top h3 { margin: 0; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.credit-field { margin-top: 25px; }
.credit-field > label:first-child { display: block; margin-bottom: 9px; color: var(--credit-ink); font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.35; }
.credit-field select, .credit-field__amount { width: 100%; min-height: 62px; border: 1px solid rgba(9,45,33,.28); border-radius: 6px; background: #fff; color: var(--credit-ink); font-size: clamp(17px, 1.5vw, 20px); }
.credit-field select { padding: 11px 50px 11px 18px; cursor: pointer; }
.credit-field select:disabled { opacity: .55; cursor: not-allowed; }
.credit-field__amount { display: flex; align-items: center; padding-right: 19px; }
.credit-field__amount input { width: 100%; min-width: 0; height: 60px; padding: 10px 0 10px 18px; border: 0; background: transparent; color: inherit; font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.credit-field__amount span { font-size: 27px; font-weight: 700; }
.credit-field__range-label { display: block; margin-block: 18px 5px; color: var(--credit-muted); font-size: 14px; font-weight: 700; }
#loanAmountRange { display: block; width: 100%; min-height: 34px; margin: 0; accent-color: var(--credit-forest); cursor: pointer; }
.credit-field__hint { margin: 8px 0 0; color: var(--credit-muted); font-size: 14px; line-height: 1.45; }
.credit-field [aria-invalid="true"], .credit-field__amount:has([aria-invalid="true"]) { border-color: #a52e31; box-shadow: 0 0 0 2px rgba(165,46,49,.12); }
.credit-form__rate { padding-top: 27px; margin-top: 30px; border-top: 1px solid rgba(9,45,33,.17); color: var(--credit-forest); font-size: 19px; font-weight: 700; }
.credit-form__message { min-height: 25px; margin: 12px 0 0; color: var(--credit-muted); font-size: 15px; }
.credit-guide { display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3vw, 48px); background: var(--credit-forest); color: var(--credit-white); }
.credit-guide__index { color: var(--credit-lime); font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.credit-guide h3 { max-width: 450px; margin: 55px 0 25px; font-size: clamp(40px, 4.3vw, 63px); line-height: .98; letter-spacing: -.065em; }
.credit-guide > p { margin: 0; color: #e4eee5; font-size: 18px; }
.credit-guide__rule { display: flex; align-items: center; gap: 13px; margin-block: auto 17px; padding-top: 48px; color: var(--credit-lime); font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1; }
.credit-guide__rule[hidden] { display: none; }
.credit-guide__rule[hidden] + .credit-guide__caption { margin-top: auto; padding-top: 48px; }
.credit-guide__rule i { flex: 1; height: 2px; background: var(--credit-lime); }
.credit-guide .credit-guide__caption { color: #cfdfd0; font-size: 15px; }
.credit-guide a { display: inline-flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.3); color: var(--credit-lime); font-size: 16px; font-weight: 700; text-decoration: none; }
.credit-guide a span { font-size: 22px; }

.credit-output { padding-bottom: clamp(80px, 9vw, 140px); }
.credit-result { min-width: 0; padding: clamp(24px, 4vw, 60px); background: var(--credit-forest); color: var(--credit-white); }
.credit-result__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.3); }
.credit-result .credit-kicker { color: var(--credit-lime); }
.credit-result__heading h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: 1; letter-spacing: -.06em; }
.credit-result__term { padding: 8px 14px; border: 1px solid rgba(255,255,255,.38); white-space: nowrap; font-size: 16px; font-weight: 700; }
.credit-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 37px; }
.credit-stats > div { display: flex; flex-direction: column; min-width: 0; gap: 12px; }
.credit-stats > div span { color: #d2dfd4; font-size: 15px; line-height: 1.3; }
.credit-stats > div strong { overflow-wrap: anywhere; font-size: clamp(24px, 2.7vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.credit-stats .credit-stats__main { grid-column: 1 / -1; padding-bottom: 10px; }
.credit-stats__main strong { color: var(--credit-lime); font-size: clamp(42px, 6.2vw, 84px) !important; }
.credit-stats__closed strong { color: var(--credit-lime); }
.credit-balance-bar { display: flex; height: 15px; overflow: hidden; background: #78a273; }
.credit-balance-bar span { display: block; height: 100%; background: var(--credit-lime); }
.credit-result__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; color: #d9e6d9; font-size: 14px; }
.credit-result__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.credit-result__dot { width: 10px; height: 10px; background: #78a273; }
.credit-result__dot--principal { background: var(--credit-lime); }
.credit-result__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.3); }
.credit-result__details p { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.credit-result__details span { color: #d2dfd4; font-size: 14px; }
.credit-result__details strong { overflow-wrap: anywhere; font-size: clamp(18px, 1.75vw, 24px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.credit-schedule-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-top: 65px; }
.credit-schedule-heading h3 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; }
.credit-schedule-heading > span { max-width: 210px; color: #d2dfd4; font-size: 14px; text-align: right; }
.credit-table-scroll { max-width: 100%; margin-top: 27px; overflow-x: auto; overscroll-behavior-inline: contain; }
.credit-table { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--credit-white); font-size: 15px; font-variant-numeric: tabular-nums; }
.credit-table__mobile-label { display: none; }
.credit-table th, .credit-table td { padding: 15px 12px; border-bottom: 1px solid rgba(255,255,255,.17); text-align: right; white-space: nowrap; }
.credit-table th:first-child, .credit-table td:first-child { padding-left: 0; text-align: left; }
.credit-table th:last-child, .credit-table td:last-child { padding-right: 0; }
.credit-table thead th { color: var(--credit-lime); font-size: 13px; font-weight: 700; }
.credit-table tbody th { font-weight: 600; }
.credit-table__year th { padding: 25px 0 10px; border-bottom-color: var(--credit-lime); color: var(--credit-lime); font-size: 15px; text-align: left !important; }
.credit-table__payment { background: rgba(215,255,66,.08); }
.credit-table__payment td:nth-child(2) { color: var(--credit-lime); font-weight: 700; }
.credit-table__last { background: rgba(215,255,66,.16); }
.credit-table tfoot th, .credit-table tfoot td { padding-top: 21px; border-top: 2px solid var(--credit-lime); border-bottom: 0; color: var(--credit-lime); font-weight: 700; }
.credit-result__disclaimer { max-width: 1000px; margin: 28px 0 0; color: #ceded1; font-size: 14px; line-height: 1.55; }
.credit-method { margin-top: 28px; border-top: 1px solid rgba(9,45,33,.3); border-bottom: 1px solid rgba(9,45,33,.3); }
.credit-method summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; }
.credit-method summary::-webkit-details-marker { display: none; }
.credit-method summary span { font-size: 30px; font-weight: 400; }
.credit-method[open] summary span { transform: rotate(45deg); }
.credit-method__content { max-width: 900px; padding-bottom: 26px; color: var(--credit-muted); font-size: 16px; }
.credit-method__content p { margin: 0 0 12px; }
.credit-footer { background: var(--credit-deep); color: #e2ebe1; }
.credit-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-block: 36px; font-size: 14px; }
.credit-footer p { margin: 0; }
.credit-footer a { color: var(--credit-lime); text-underline-offset: 4px; }
.credit-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); background: var(--credit-forest); color: var(--credit-white) !important; font-size: 30px; line-height: 1; text-decoration: none; box-shadow: 0 8px 25px rgba(0,0,0,.15); }

@media (max-width: 980px) {
  .credit-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .credit-hero__graphic { max-width: 440px; padding-top: 18px; }
  .credit-hero__track { min-height: 100px; }
  .credit-workbench__grid { grid-template-columns: minmax(0, 1fr); }
  .credit-guide h3 { margin-top: 35px; }
  .credit-guide__rule { max-width: 470px; margin-top: 30px; }
}

@media (max-width: 640px) {
  .credit-shell { width: min(100% - 32px, 1360px); }
  .credit-hero__inner { gap: 48px; padding-block: 62px 60px; }
  .credit-hero h1 { font-size: clamp(52px, 13vw, 78px); }
  .credit-hero__lead { margin-top: 28px; font-size: 19px; }
  .credit-hero__graphic { gap: 15px; }
  .credit-workbench { padding-block: 65px 72px; }
  .credit-workbench__heading { display: block; margin-bottom: 30px; }
  .credit-workbench__heading h2 { margin-block: 18px 16px; }
  .credit-workbench__heading > p:last-child { font-size: 17px; }
  .credit-form { padding: 23px 18px 27px; }
  .credit-field { margin-top: 22px; }
  .credit-field select, .credit-field__amount { min-height: 58px; }
  .credit-field__amount input { height: 56px; font-size: clamp(23px, 7vw, 32px); }
  .credit-guide { padding: 28px 24px; }
  .credit-guide h3 { font-size: 46px; }
  .credit-result { padding: 28px 18px 34px; }
  .credit-result__heading { display: block; }
  .credit-result__term { display: inline-block; margin-top: 18px; }
  .credit-stats { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .credit-stats__main { grid-column: 1 / -1; }
  .credit-stats__closed { grid-column: 1 / -1; }
  .credit-stats > div strong { font-size: clamp(20px, 5.3vw, 28px); }
  .credit-stats__main strong { font-size: clamp(38px, 9vw, 54px) !important; }
  .credit-result__details { grid-template-columns: 1fr; gap: 21px; }
  .credit-schedule-heading { display: block; margin-top: 55px; }
  .credit-schedule-heading > span { display: block; max-width: none; margin-top: 12px; text-align: left; }
}

@media (max-width: 360px) {
  .credit-hero h1 { font-size: 50px; }
  .credit-stats { grid-template-columns: 1fr; }
  .credit-stats__main strong { font-size: 38px !important; }
}

@media screen and (max-width: 900px) {
  .credit-to-top { display: none; }
  .credit-table-scroll { overflow-x: visible; }
  .credit-table, .credit-table tbody, .credit-table tfoot { display: block; width: 100%; min-width: 0; }
  .credit-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .credit-table tbody tr.credit-table__year { display: block; }
  .credit-table__year th { display: block; width: 100%; padding: 25px 0 9px; }
  .credit-table tbody tr:not(.credit-table__year), .credit-table tfoot tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 15px 0 17px;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .credit-table tbody tr.credit-table__payment { padding-inline: 10px; border-inline-start: 3px solid var(--credit-lime); }
  .credit-table tbody tr > th, .credit-table tfoot tr > th {
    grid-column: 1 / -1;
    display: block;
    padding: 0 0 11px;
    border: 0;
    color: var(--credit-white);
    font-size: 16px;
    text-align: start;
  }
  .credit-table tbody tr > td, .credit-table tfoot tr > td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: clamp(14px, 3.7vw, 17px);
    font-weight: 700;
    line-height: 1.35;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .credit-table tbody tr > td:nth-of-type(n+3), .credit-table tfoot tr > td:nth-of-type(n+3) { padding-top: 13px; }
  .credit-table__mobile-label { display: block; color: #cfdfd0; font-size: 12px; font-weight: 500; line-height: 1.3; }
  .credit-table tbody tr.credit-table__payment > td:first-of-type { color: var(--credit-lime); }
  .credit-table tfoot tr { margin-top: 14px; padding-top: 20px; border-top: 2px solid var(--credit-lime); border-bottom: 0; }
  .credit-table tfoot tr > th { color: var(--credit-lime); font-size: 19px; }
  .credit-table tfoot tr > td { color: var(--credit-lime); }
}

@media (prefers-reduced-motion: no-preference) {
  .credit-hero__copy { animation: credit-enter .7s cubic-bezier(.2,0,0,1) both; }
  .credit-hero__graphic { animation: credit-enter .7s .11s cubic-bezier(.2,0,0,1) both; }
  .credit-workbench__heading { animation: credit-enter .65s .2s cubic-bezier(.2,0,0,1) both; }
  .credit-hero__link span, .credit-guide a span { transition: transform .18s ease-out; }
  .credit-hero__link:hover span, .credit-guide a:hover span { transform: translate(3px, 3px); }
  .credit-result.is-ready { animation: credit-result-enter .38s cubic-bezier(.2,0,0,1) both; }
  .credit-table tbody tr:not(.credit-table__year) { transition: background-color .12s ease-out; }
  .credit-table tbody tr:hover:not(.credit-table__year) { background: rgba(215,255,66,.18); }
  .credit-method summary span { transition: transform .18s ease-out; }
  @keyframes credit-enter { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes credit-result-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media print {
  .site-contact-bar, .site-navigation-anchor, .credit-hero, .credit-workbench, .credit-method, .credit-footer, .credit-to-top { display: none !important; }
  .credit-output { padding: 0; }
  .credit-result { padding: 0; background: white; color: black; }
  .credit-table-scroll { overflow: visible; }
  .credit-table { min-width: 0; color: black; font-size: 10px; }
  .credit-table th, .credit-table td { border-color: #999; }
  .credit-result__disclaimer { color: black; }
}
