@font-face {
  font-family: "BFC Prata";
  src: url("../fonts/Prata-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BFC Outfit";
  src: url("../fonts/Outfit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "BFC Outfit";
  src: url("../fonts/Outfit-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 300;
  font-display: swap;
}

.bfc,
.bfc *,
.bfc-login,
.bfc-login * {
  box-sizing: border-box;
}

.bfc [hidden],
.bfc-login [hidden] {
  display: none !important;
}

.bfc {
  --bfc-navy: #001c35;
  --bfc-off-white: #f2f1f1;
  --bfc-white: #ffffff;
  --bfc-dark-grey: #6b7685;
  --bfc-light-grey: #d3d9e2;
  --bfc-rose-start: #b38d73;
  --bfc-rose-end: #dbc0c1;
  --bfc-focus: #8f664c;
  --bfc-error: #9a2f2a;
  --bfc-success: #28633c;
  --bfc-ink: var(--bfc-navy);
  --bfc-muted: var(--bfc-dark-grey);
  --bfc-paper: var(--bfc-white);
  --bfc-warm: var(--bfc-off-white);
  --bfc-line: var(--bfc-light-grey);
  --bfc-accent: var(--bfc-rose-start);
  --bfc-accent-dark: #8f664c;
  width: min(1160px, 100%);
  margin: 36px auto;
  color: var(--bfc-ink);
  background: var(--bfc-paper);
  border: 1px solid rgba(0, 28, 53, 0.08);
  border-radius: 0;
  box-shadow: 0 18px 55px rgba(0, 28, 53, 0.12);
  overflow: hidden;
  font-family: "BFC Outfit", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.bfc__header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 238px;
  padding: 44px 62px;
  background: var(--bfc-off-white);
}

.bfc__logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.bfc__header h2,
.bfc__step legend,
.bfc__comparison-heading strong,
.bfc__comparison-figures strong,
.bfc__saved h3,
.bfc-login h2 {
  font-family: "BFC Prata", Georgia, serif;
  font-weight: 400;
}

.bfc__header h2 {
  margin: 5px 0 8px;
  color: var(--bfc-navy);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.bfc__header p,
.bfc__intro {
  margin: 0;
  color: var(--bfc-muted);
  font-size: 17px;
  line-height: 1.48;
}

.bfc__eyebrow {
  color: var(--bfc-dark-grey) !important;
  font-size: 13px !important;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.bfc__account-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 13px 62px;
  color: var(--bfc-muted);
  background: var(--bfc-white);
  border-bottom: 1px solid rgba(0, 28, 53, 0.55);
  font-size: 14px;
}

.bfc__text-button,
.bfc__lookup {
  color: var(--bfc-accent-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}

.bfc__text-button {
  display: inline;
  margin: 0;
  padding: 0;
}

.bfc__login-panel {
  padding: 28px 62px;
  background: var(--bfc-off-white);
  border-bottom: 1px solid var(--bfc-line);
}

.bfc__login-panel .bfc__grid {
  margin: 0 0 20px;
}

.bfc__progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 24px 62px;
  list-style: none;
  border-bottom: 1px solid rgba(0, 28, 53, 0.55);
}

.bfc__progress li {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #8290a0;
  font-size: 15px;
}

.bfc__progress span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--bfc-navy);
  background: var(--bfc-off-white);
  border-radius: 50%;
  font-family: "BFC Prata", Georgia, serif;
  font-size: 17px;
}

.bfc__progress .is-active,
.bfc__progress .is-complete {
  color: var(--bfc-navy);
}

.bfc__progress .is-active span,
.bfc__progress .is-complete span {
  color: var(--bfc-navy);
  background: linear-gradient(90deg, var(--bfc-rose-start), var(--bfc-rose-end));
}

.bfc__form {
  position: relative;
  padding: 48px 62px 56px;
}

.bfc__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bfc__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bfc__step[hidden] {
  display: none !important;
}

.bfc__step:focus {
  outline: 0;
}

.bfc__step legend {
  width: 100%;
  margin: 0 0 7px;
  padding: 0;
  color: var(--bfc-navy);
  font-size: clamp(29px, 4vw, 39px);
  line-height: 1.2;
}

.bfc__grid {
  display: grid;
  gap: 25px 34px;
  margin: 38px 0;
}

.bfc__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bfc__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bfc__field {
  min-width: 0;
}

.bfc__field label {
  display: block;
  margin-bottom: 8px;
  color: var(--bfc-navy);
  font-size: 14px;
  font-weight: 400;
}

.bfc__field input,
.bfc__field select {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  color: var(--bfc-navy);
  background: var(--bfc-white);
  border: 1px solid #7e8c9c;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 17px;
  line-height: 1.2;
}

.bfc__field input::placeholder {
  color: #8f9aa8;
  opacity: 1;
}

.bfc__field input[readonly] {
  color: #566474;
  background: var(--bfc-off-white);
}

.bfc__field input:focus-visible,
.bfc__field select:focus-visible,
.bfc__text-button:focus-visible,
.bfc__lookup:focus-visible,
.bfc__button:focus-visible,
.bfc-login .bfc-button:focus-visible,
.bfc-login .bfc-text-link:focus-visible,
.bfc__check input:focus-visible {
  outline: 3px solid var(--bfc-focus);
  outline-offset: 3px;
}

.bfc__field input:focus,
.bfc__field select:focus {
  border-color: var(--bfc-navy);
}

.bfc__field small {
  display: block;
  margin-top: 7px;
  color: var(--bfc-muted);
  font-size: 13px;
  line-height: 1.45;
}

.bfc__money {
  position: relative;
}

.bfc__money span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  color: var(--bfc-muted);
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.bfc .bfc__field .bfc__money input[type="number"] {
  padding-left: 44px;
  appearance: textfield;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.bfc .bfc__field .bfc__money input[type="number"]::-webkit-inner-spin-button,
.bfc .bfc__field .bfc__money input[type="number"]::-webkit-outer-spin-button {
  display: none;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.bfc__check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin: 12px 0;
  padding: 10px 4px;
  color: #344354;
  font-size: 14px;
  line-height: 1.48;
  cursor: pointer;
}

.bfc__check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--bfc-navy);
}

.bfc__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  margin: 30px 0 36px;
}

.bfc__comparison-card {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
}

.bfc__comparison-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bfc__comparison-content {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 285px;
  flex-direction: column;
  padding: 27px 28px;
  color: var(--bfc-navy);
  background: var(--bfc-white);
  border: 1px solid var(--bfc-navy);
  border-radius: 0;
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.bfc__comparison-card input:checked + .bfc__comparison-content {
  color: var(--bfc-white);
  background: var(--bfc-navy);
  box-shadow: 0 8px 22px rgba(0, 28, 53, 0.18);
}

.bfc__comparison-card input:focus-visible + .bfc__comparison-content {
  outline: 3px solid var(--bfc-focus);
  outline-offset: 3px;
}

.bfc__comparison-heading,
.bfc__comparison-heading strong,
.bfc__comparison-heading small,
.bfc__comparison-figures small,
.bfc__comparison-figures strong,
.bfc__comparison-choice {
  display: block;
}

.bfc__comparison-heading strong {
  margin-bottom: 7px;
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.25;
}

.bfc__comparison-heading small {
  min-height: 46px;
  color: var(--bfc-muted);
  font-size: 14px;
  line-height: 1.42;
}

.bfc__comparison-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid var(--bfc-line);
}

.bfc__comparison-figures small {
  margin-bottom: 5px;
  color: var(--bfc-muted);
  font-size: 12px;
}

.bfc__comparison-figures strong {
  font-size: 23px;
  line-height: 1.2;
}

.bfc__comparison-figures > span:last-child {
  text-align: right;
}

.bfc__comparison-card input:checked + .bfc__comparison-content .bfc__comparison-heading small,
.bfc__comparison-card input:checked + .bfc__comparison-content .bfc__comparison-figures small,
.bfc__comparison-card input:checked + .bfc__comparison-content .bfc__comparison-choice {
  color: rgba(255, 255, 255, 0.78);
}

.bfc__comparison-card input:checked + .bfc__comparison-content .bfc__comparison-figures {
  border-top-color: rgba(255, 255, 255, 0.42);
}

.bfc__comparison-card em {
  margin-top: 15px;
  color: var(--bfc-error);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.bfc__comparison-choice {
  margin-top: auto;
  padding-top: 19px;
  color: var(--bfc-navy);
  font-size: 13px;
}

.bfc__comparison-card.is-unavailable {
  cursor: not-allowed;
  opacity: 0.66;
}

.bfc__lookup {
  display: inline-flex;
  margin: -10px 0 18px;
  padding: 0;
}

.bfc__vehicle-summary {
  margin: 12px 0 24px;
  padding: 15px 17px;
  color: var(--bfc-success);
  background: #edf5ef;
  border-left: 3px solid currentColor;
}

.bfc__actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 28, 53, 0.55);
}

.bfc__actions--end {
  justify-content: flex-end;
}

.bfc__actions--compact {
  justify-content: flex-end;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bfc__button,
.bfc-login .bfc-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  color: var(--bfc-navy, #001c35);
  background: linear-gradient(90deg, var(--bfc-rose-start, #b38d73), var(--bfc-rose-end, #dbc0c1));
  border: 1px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.bfc__button:hover,
.bfc-login .bfc-button:hover {
  color: var(--bfc-navy, #001c35);
  box-shadow: 0 7px 18px rgba(179, 141, 115, 0.32);
  transform: translateY(-1px);
}

.bfc__button--quiet {
  color: var(--bfc-navy);
  background: var(--bfc-white);
  border-color: var(--bfc-navy);
}

.bfc__button--quiet:hover {
  color: var(--bfc-white);
  background: var(--bfc-navy);
  box-shadow: none;
}

.bfc__button:disabled {
  opacity: 0.56;
  cursor: wait;
  transform: none;
}

.bfc__button.is-busy::after,
.bfc__lookup.is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 9px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bfc-spin 700ms linear infinite;
}

@keyframes bfc-spin {
  to { transform: rotate(360deg); }
}

.bfc__breakdown {
  margin: 0;
  border-top: 1px solid var(--bfc-line);
}

.bfc__breakdown div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 24px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--bfc-line);
}

.bfc__breakdown dt {
  color: var(--bfc-muted);
}

.bfc__breakdown dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 400;
  text-align: right;
}

.bfc__notice {
  margin: 24px 0 0;
  padding: 18px 22px;
  color: #4d5b69;
  background: var(--bfc-off-white);
  font-size: 14px;
  line-height: 1.5;
}

.bfc__alternate-contact {
  margin: 18px 0 0;
  color: var(--bfc-muted);
  font-size: 14px;
}

.bfc__alternate-contact a {
  color: var(--bfc-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bfc__other-finance {
  margin: 16px 0 0;
  padding: 16px 18px 16px 20px;
  color: var(--bfc-navy);
  background: var(--bfc-off-white);
  border-left: 4px solid var(--bfc-rose-start);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.bfc__login-invite {
  margin: 24px 0 0;
  color: var(--bfc-muted);
  font-size: 14px;
}

.bfc__saved {
  padding: 34px;
  text-align: center;
  background: var(--bfc-off-white);
  border-top: 3px solid var(--bfc-success);
}

.bfc__saved h3 {
  margin: 0 0 10px;
  color: var(--bfc-navy);
  font-size: 29px;
}

.bfc__saved > p {
  margin: 0 auto 14px;
  color: var(--bfc-muted);
  line-height: 1.55;
}

.bfc__reference {
  margin: 0 0 24px;
  color: var(--bfc-navy) !important;
}

.bfc__status {
  margin: 0 62px 42px;
  padding: 14px 17px;
  border-left: 3px solid currentColor;
  font-size: 14px;
}

.bfc__status--info {
  color: #314f68;
  background: #edf3f7;
}

.bfc__status--success {
  color: var(--bfc-success);
  background: #edf5ef;
}

.bfc__status--error {
  color: var(--bfc-error);
  background: #faeeee;
}

.bfc-login {
  --bfc-navy: #001c35;
  --bfc-off-white: #f2f1f1;
  --bfc-rose-start: #b38d73;
  --bfc-rose-end: #dbc0c1;
  max-width: 760px;
  margin: 36px auto;
  padding: 52px;
  color: var(--bfc-navy);
  text-align: center;
  background: var(--bfc-off-white);
  border: 1px solid rgba(0, 28, 53, 0.12);
  box-shadow: 0 18px 55px rgba(0, 28, 53, 0.1);
  font-family: "BFC Outfit", Arial, sans-serif;
}

.bfc-login img {
  width: 185px;
  height: auto;
  margin-bottom: 26px;
}

.bfc-login h2 {
  margin: 0 0 11px;
  font-size: 32px;
}

.bfc-login p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #5e6b79;
  line-height: 1.6;
}

.bfc-login .bfc-text-link {
  margin-left: 20px;
  color: var(--bfc-navy);
}

@media (prefers-reduced-motion: reduce) {
  .bfc *,
  .bfc-login * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 820px) {
  .bfc {
    margin: 18px 0;
  }

  .bfc__header {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 30px;
    min-height: 0;
    padding: 36px 30px;
  }

  .bfc__logo {
    width: 125px;
  }

  .bfc__account-bar,
  .bfc__progress,
  .bfc__login-panel {
    padding-right: 30px;
    padding-left: 30px;
  }

  .bfc__progress li {
    justify-content: center;
    font-size: 0;
  }

  .bfc__progress span {
    font-size: 16px;
  }

  .bfc__form {
    padding: 40px 30px 46px;
  }

  .bfc__grid--three {
    grid-template-columns: 1fr;
  }

  .bfc__status {
    margin-right: 30px;
    margin-left: 30px;
  }
}

@media (max-width: 560px) {
  .bfc {
    margin: 0;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .bfc__header {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 22px 34px;
  }

  .bfc__logo {
    width: 108px;
  }

  .bfc__header h2 {
    font-size: 31px;
  }

  .bfc__header p,
  .bfc__intro {
    font-size: 16px;
  }

  .bfc__account-bar {
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 22px;
    text-align: center;
  }

  .bfc__login-panel {
    padding: 24px 22px;
  }

  .bfc__progress {
    padding: 18px 12px;
  }

  .bfc__progress span {
    width: 34px;
    height: 34px;
  }

  .bfc__form {
    padding: 34px 22px 40px;
  }

  .bfc__step legend {
    font-size: 29px;
  }

  .bfc__grid {
    gap: 22px;
    margin: 30px 0;
  }

  .bfc__grid--two,
  .bfc__comparison {
    grid-template-columns: 1fr;
  }

  .bfc__comparison-content {
    min-height: 260px;
    padding: 24px 22px;
  }

  .bfc__comparison-figures > span:last-child {
    text-align: left;
  }

  .bfc__actions {
    flex-direction: column-reverse;
    gap: 14px;
    margin-top: 32px;
    padding-top: 25px;
  }

  .bfc__button {
    width: 100%;
    min-height: 56px;
  }

  .bfc__breakdown div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .bfc__breakdown dd {
    text-align: left;
  }

  .bfc__status {
    margin: 0 22px 32px;
  }

  .bfc-login {
    margin: 18px 0;
    padding: 36px 22px;
  }

  .bfc-login .bfc-button {
    width: 100%;
  }

  .bfc-login .bfc-text-link {
    display: inline-block;
    margin: 22px 0 0;
  }
}
