.tlc-heloc {
  --tlc-navy: #082f5f;
  --tlc-navy-dark: #06264d;
  --tlc-blue: #1f5f9f;
  --tlc-gold: #f5b841;
  --tlc-ink: #08244a;
  --tlc-muted: #53657d;
  --tlc-border: #d6dde7;
  color: #fff;
  font-family: inherit;
  margin: 0 auto;
  /* max-width: 1240px; */
}
.tlc-heloc *,
.tlc-heloc *::before,
.tlc-heloc *::after {
  box-sizing: border-box;
}
.tlc-heloc__panel {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  /* padding: clamp(28px, 5vw, 58px); */
}
.tlc-heloc__eyebrow {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.32em;
  line-height: 1.4;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.tlc-heloc__eyebrow span {
  border-bottom: 7px solid var(--tlc-gold);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  display: inline-block;
  height: 0;
  width: 0;
}
.tlc-heloc__intro {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 34px;
  max-width: 270px;
}
.tlc-heloc__control + .tlc-heloc__control {
  margin-top: 36px;
}
.tlc-heloc__control-head {
  /* align-items: flex-end; */
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* justify-content: space-between; */
  /* margin-bottom: 14px; */
}
button.tlc-heloc-modal__close {
  padding: 18px 0 0 0 !important;
  font-size: 52px;
  font-weight: 300 !important;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  top: 0;
  right: 0;
}
.tlc-heloc__control-head label {
  /* color: #fff; */
  /* font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.5;
  text-transform: uppercase; */
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-family: monospace !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
}
.tlc-heloc__control-head span {
  color: #fff;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 1%;
  line-height: 1.6em;
  white-space: nowrap;
}
/* .tlc-heloc__range {
  --tlc-range-progress: 0%;
  appearance: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff var(--tlc-range-progress),
    var(--tlc-blue) var(--tlc-range-progress),
    var(--tlc-blue) 100%
  );
  border: 0;
  height: 10px;
  width: 100%;
} */
.tlc-heloc__control [type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  width: 100% !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff var(--tlc-range-progress),
    var(--tlc-blue) var(--tlc-range-progress),
    var(--tlc-blue) 100%
  ) !important;
}
.tlc-heloc__range:focus-visible {
  outline: 3px solid rgba(245, 184, 65, 0.7);
  outline-offset: 5px;
}
/* .tlc-heloc__range::-webkit-slider-thumb {
  appearance: none;
  background: #fff;
  border: 0;
  box-shadow: inset -6px 0 0 var(--tlc-blue);
  cursor: pointer;
  height: 24px;
  width: 24px;
}
.tlc-heloc__range::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: inset -6px 0 0 var(--tlc-blue);
  cursor: pointer;
  height: 24px;
  width: 24px;
} */
.tlc-heloc__range-labels {
  display: flex;
  font-size: 20px;
  font-weight: 500;
  justify-content: space-between;
  margin-top: 12px;
  font-family: "Hind Guntur", Sans-serif;
}
.tlc-heloc__results h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 24px auto;
  max-width: 520px;
  text-align: right;
}
.tlc-heloc__card {
  background: #fff;
  color: var(--tlc-ink);
  padding: clamp(22px, 4vw, 34px);
}
.tlc-heloc__card-top {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.tlc-heloc__label {
  font-size: 20px;
  line-height: 1.25em;
  letter-spacing: 20%;
  text-transform: uppercase;
}
.tlc-heloc__card strong {
  color: var(--tlc-ink);
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 500;
}
.tlc-heloc__small {
  color: #232323;
  font-size: 20px;
  line-height: 1.5;
  margin: 10px 0 0;
  max-width: 320px;
}
/* .tlc-heloc__home-icon {
  flex: 0 0 auto;
  height: 70px;
  position: relative;
  width: 70px;
} */
/* .tlc-heloc__home-icon::before,
.tlc-heloc__home-icon::after {
  border-color: var(--tlc-ink);
  border-style: solid;
  content: "";
  position: absolute;
}
.tlc-heloc__home-icon::before {
  border-width: 4px 4px 0 0;
  height: 34px;
  left: 13px;
  top: 12px;
  transform: rotate(-45deg);
  width: 34px;
}
.tlc-heloc__home-icon::after {
  border-width: 0 4px 4px;
  bottom: 11px;
  height: 34px;
  left: 18px;
  width: 36px;
} */
.tlc-heloc__home-icon {
  width: 80px;
  height: 80px;
  background-image: url("../images/home_icon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tlc-heloc__home-icon span {
  display: none;
}
.tlc-heloc__metrics {
  display: flex;
  gap: clamp(22px, 5vw, 64px);
  margin: 28px 0 24px;
}
.tlc-heloc__metrics strong {
  font-size: clamp(22px, 3vw, 32px);
}
.tlc-heloc__button,
.tlc-heloc-form__submit {
  background: var(--tlc-navy);
  /* border: 2px solid var(--tlc-navy); */
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  /* font-weight: 800; */
  justify-content: center;
  line-height: 1.2;
  padding: 14px 24px;
  /* transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease; */
}
.tlc-heloc__button:hover,
.tlc-heloc-form__submit:hover {
  background: var(--tlc-navy-dark);
  /* border-color: var(--tlc-navy-dark); */
  /* transform: translateY(-1px); */
}
.tlc-heloc__button:focus-visible,
.tlc-heloc-form__submit:focus-visible,
.tlc-heloc-modal__close:focus-visible,
.tlc-heloc-form input:focus-visible {
  outline: 3px solid rgba(245, 184, 65, 0.7);
  outline-offset: 3px;
}
.tlc-heloc__note {
  /* border-top: 1px solid var(--tlc-border); */
  position: relative;
  padding-top: 16px;
  color: #232323;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -3%;
  margin: 24px 0 0;
  padding-top: 16px;
  max-width: 500px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tlc-heloc__note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 0px);
  border-top: 1px solid var(--tlc-border);
}
/* .tlc-heloc__note span {
  color: var(--tlc-gold);
  font-weight: 700;
} */
.tlc-heloc__note span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("../images/info-icon.png") center / contain no-repeat;
  font-size: 0;
  vertical-align: middle;
}
.tlc-heloc-modal[hidden] {
  display: none;
}
.tlc-heloc-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 99999;
}
.tlc-heloc-modal__overlay {
  background: rgba(2, 16, 34, 0.72);
  inset: 0;
  position: absolute;
}
.tlc-heloc-modal__dialog {
  background: #fff;
  box-shadow: 0 24px 80px rgba(4, 21, 45, 0.32);
  color: var(--tlc-ink);
  max-height: calc(100vh - 44px);
  max-width: 760px;
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  position: relative;
  width: min(760px, 100%);
}
.tlc-heloc-modal__close {
  align-items: center;
  background: var(--tlc-navy);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
}
.tlc-heloc-modal__dialog h3 {
  color: var(--tlc-ink);
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px 0;
  text-align: center;
}
.tlc-heloc-modal__dialog > p {
  color: var(--tlc-muted);
  line-height: 1.6;
  margin: 0 0 24px;
  text-align: center;
}
.tlc-heloc-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tlc-heloc-form label {
  color: #052853;
  display: flex;
  flex-direction: column;
  font-family: "Hind Guntur", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  gap: 0;
  line-height: 1.3;
  position: relative;
}
.tlc-heloc-form input {
  background: #ffffff;
  border: 1px solid #cfd7e2;
  border-radius: 0;
  color: #052853;
  font-family: "Hind Guntur", Sans-serif;
  line-height: 22px !important;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}
.tlc-heloc-form input:focus {
  outline: none !important;
  border: 1px solid #052853;
}
.tlc-heloc-form__summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
  padding: 0;
}
.tlc-heloc-form__summary > div {
  padding: 12px 20px;
  background: #f3f6fa;
  border-bottom: none;
}

.tlc-heloc-form__summary span {
  color: var(--tlc-muted);
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.tlc-heloc-form__summary strong {
  color: var(--tlc-ink);
  font-size: 18px;
}
.tlc-heloc-form__status {
  font-size: 14px;
  font-weight: 700;
  min-height: 0;
}
.tlc-heloc-form__status[data-status="success"] {
  color: #067647;
}
.tlc-heloc-form__status[data-status="error"] {
  color: #b42318;
}
.tlc-heloc-form__status[data-status="loading"] {
  color: var(--tlc-muted);
}
.tlc-heloc-form__submit {
  margin-top: 12px;
  min-width: 210px;
}
.tlc-heloc-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
body.tlc-heloc-modal-open {
  overflow: hidden;
}
@media (max-width: 1280px) {
  .tlc-heloc-modal__dialog {
    padding: 24px 24px 28px 24px;
  }
}

@media (max-width: 900px) {
  .tlc-heloc__panel {
    grid-template-columns: 1fr;
  }
  .tlc-heloc__results h2 {
    margin-left: 0;
    text-align: left;
  }
  .tlc-heloc__control-head span {
    font-size: 30px;
    font-weight: 700;
  }
  .tlc-heloc__label {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .tlc-heloc-modal__dialog {
    padding: 28px 18px !important;
  }
  .tlc-heloc-modal__dialog > p {
    font-size: 16px !important;
    line-height: 1.3;
  }
  .tlc-heloc-form label {
    font-size: 16px !important;
  }
  .tlc-heloc-form input {
    min-height: 40px;
    padding: 9px 14px 6px 16px !important;
    width: 100%;
    font-size: 16px !important;
  }
  .tlc-mpe-modal__dialog {
    padding: 28px 18px;
  }
  .tlc-heloc-modal__dialog h3 {
    line-height: 1.1;
  }
  .tlc-heloc-form__grid {
    gap: 10px;
  }
  .tlc-heloc-form__summary {
    margin: 10px 0;
  }
  .tlc-heloc {
    padding: 28px 16px;
    gap: 20px;
  }
  .tlc-heloc__card {
    padding: 10px;
  }
  .tlc-heloc__panel {
    grid-template-columns: 1fr;
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
  .tlc-heloc__home-icon {
    display: none;
  }
  .tlc-heloc__metrics {
    margin-top: 20px;
  }
  .tlc-heloc__label {
    font-size: 14px;
  }
  .tlc-heloc__small {
    font-size: 18px;
  }
  .tlc-heloc__range-labels {
    font-size: 16px;
  }
  .tlc-heloc__button {
    padding: 12px 20px 7px 20px;
  }
  .tlc-heloc__control-head span {
    font-size: 22px;
    margin-bottom: 10px;
  }
  /* .tlc-heloc__panel {
    padding: 24px 18px;
  } */
  .tlc-heloc__control-head,
  .tlc-heloc__metrics,
  .tlc-heloc__card-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .tlc-heloc-form__grid,
  .tlc-heloc-form__summary {
    grid-template-columns: 1fr;
  }
  .tlc-heloc-form input {
    line-height: 22px !important;
    min-height: 40px;
    padding: 9px 14px 6px 16px !important;
    width: 100%;
    font-size: 16px !important;
  }
  .tlc-heloc-form__submit {
    max-width: 100%;
    min-width: 100%;
  }
  button.tlc-heloc-modal__close {
    padding: 14px 0 0 0 !important;
    font-size: 35px;
    width: 26px;
    height: 26px;
  }
}
