.tlc-mmf {
  --tlc-navy: #062f5f;
  --tlc-navy-soft: #194f89;
  --tlc-gold: #f4ba2e;
  --tlc-green: #188246;
  --tlc-white: #ffffff;
  --tlc-muted: rgba(255, 255, 255, 0.42);
  --tlc-text: #1d2630;
  background: var(--tlc-navy);
  color: var(--tlc-white);
  font-family: "Hind Guntur", Sans-serif;
  min-height: 630px;
  padding: 42px 34px 54px;
}

.tlc-mmf *,
.tlc-mmf *::before,
.tlc-mmf *::after {
  box-sizing: border-box;
}

.tlc-mmf__form {
  margin: 0 auto;
  max-width: 96%;
}

.tlc-mmf__steps {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 124px;
}

.tlc-mmf__step {
  color: var(--tlc-muted);
  font-size: 15px;
  line-height: 1.2;
}

.tlc-mmf__step.is-active {
  color: var(--tlc-white);
}

.tlc-mmf__divider {
  color: var(--tlc-gold);
  font-size: 24px;
  line-height: 1;
}

.tlc-mmf__panel {
  display: none;
}

.tlc-mmf__panel.is-active {
  display: block;
}

.tlc-mmf__center-title {
  color: #ffffff !important;
  font-size: clamp(34px, 4vw, 45px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 54px;
  text-align: center;
}

.tlc-mmf__goal-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tlc-mmf__goal-card {
  appearance: none;
  align-items: flex-start;
  background: var(--tlc-white) !important;
  border: 2px solid transparent;
  border-radius: 0;
  box-shadow: none !important;
  color: var(--tlc-text) !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 32px 18px 30px !important;
  text-align: left;
  text-decoration: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.tlc-mmf__goal-card:hover,
.tlc-mmf__goal-card:focus-visible {
  background: var(--tlc-gold) !important;
  border-color: var(--tlc-gold);
  color: var(--tlc-text) !important;
  outline: none;
  transform: translateY(-2px);
}

.tlc-mmf__goal-card.is-selected {
  background: var(--tlc-gold) !important;
  border-color: var(--tlc-gold);
  color: var(--tlc-text) !important;
}

.tlc-mmf__goal-card.is-selected:hover,
.tlc-mmf__goal-card.is-selected:focus-visible {
  background: var(--tlc-gold) !important;
}

.tlc-mmf__icon {
  display: block;
  height: 76px;
  margin-bottom: 38px;
  width: 86px;
}

.tlc-mmf__icon img {
  display: block;
  height: 100%;
  max-width: none !important;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.tlc-mmf__goal-title {
  color: var(--tlc-text) !important;
  display: block;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 26px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

.tlc-mmf__goal-copy {
  color: var(--tlc-text) !important;
  display: block;
  font-size: 16px;
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
  word-break: normal;
}

.tlc-mmf__split {
  align-items: flex-start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
}

.tlc-mmf__split h2 {
  color: var(--tlc-white);
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 400;
  line-height: 1.26;
  margin: 0;
}

.tlc-mmf__accent {
  color: var(--tlc-gold);
  display: block;
}

.tlc-mmf__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tlc-mmf__field {
  display: block;
  position: relative;
}

.tlc-mmf__field > span {
  color: #9a9a9a;
  font-size: 18px;
  left: 20px;
  pointer-events: none;
  position: absolute;
  top: 26px;
  transition: opacity 120ms ease;
  z-index: 1;
}

.tlc-mmf__field:focus-within > span,
.tlc-mmf__field.has-value > span {
  opacity: 0;
}

.tlc-mmf__field input,
.tlc-mmf__field textarea,
.tlc-mmf__field select {
  background: var(--tlc-white);
  border: 2px solid transparent;
  border-radius: 0;
  color: var(--tlc-text);
  font-size: 18px !important;
  min-height: 62px;
  padding: 0 20px;
  width: 100%;
}
.tlc-mmf__field select {
  padding: 4px 20px;
}
.tlc-mmf__field textarea {
  min-height: 170px;
  padding-top: 18px;
  resize: vertical;
}
.tlc-mmf__submit-row span {
  font-size: 20px !important;
  letter-spacing: -0.3px;
}
.tlc-mmf__field select {
  appearance: none;
  color: #9a9a9a;
}

.tlc-mmf__field input:focus,
.tlc-mmf__field textarea:focus,
.tlc-mmf__field select:focus {
  border-color: var(--tlc-gold);
  outline: none;
  box-shadow: none !important;
}

.tlc-mmf__field.is-invalid input,
.tlc-mmf__field.is-invalid textarea,
.tlc-mmf__field.is-invalid select,
.tlc-mmf__consent.is-invalid input {
  border-color: #e56b5f;
}

.tlc-mmf__select::after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid var(--tlc-navy);
  content: "";
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 27px;
}

.tlc-mmf__consent {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  font-size: 11px;
  gap: 12px;
  line-height: 1.5;
  margin: 8px 0 18px;
}

.tlc-mmf__consent input {
  appearance: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 1);
  border-radius: 0;
  flex: 0 0 28px;
  height: 28px;
  margin: 0;
  position: relative;
  width: 28px !important;
  padding: 0 !important;
}

.tlc-mmf__consent input:checked {
  background: transparent;
  border-color: var(--tlc-gold);
}

.tlc-mmf__consent input:checked::after {
  border: solid var(--tlc-gold);
  border-width: 0 3px 3px 0;
  content: "";
  height: 18px;
  left: 8px;
  position: absolute;
  top: 0px;
  transform: rotate(45deg);
  width: 8px;
}

.tlc-mmf__button {
  background: var(--tlc-gold) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #071c34 !important;
  cursor: pointer !important;
  font: inherit !important;
  min-height: 44px;
  padding: 0 34px;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
  width: auto !important;
  max-width: max-content;
}

.tlc-mmf__button:hover,
.tlc-mmf__button:focus-visible {
  background: #ffd05a;
  outline: none;
  transform: translateY(-1px);
}

.tlc-mmf__range {
  margin: 5px 0 10px;
}

.tlc-mmf__range-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tlc-mmf__range-head label {
  color: var(--tlc-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.tlc-mmf__range-head span,
.tlc-mmf__range output {
  color: var(--tlc-white);
  font-size: 13px;
}

.tlc-mmf__range output {
  display: block;
  margin-top: 12px;
  text-align: right;
}

.tlc-mmf__range input[type="range"] {
  appearance: none;
  background: linear-gradient(
    to right,
    var(--tlc-white) var(--range-progress, 12%),
    var(--tlc-navy-soft) var(--range-progress, 12%)
  );
  height: 14px;
  width: 100%;
}

.tlc-mmf__range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--tlc-white);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='14' viewBox='0 0 10 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 7L0 14V0L10 7Z' fill='%23062F5F'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
  cursor: pointer;
  height: 24px;
  width: 24px;
}

.tlc-mmf__range input[type="range"]::-moz-range-thumb {
  background-color: var(--tlc-white);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='14' viewBox='0 0 10 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 7L0 14V0L10 7Z' fill='%23062F5F'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
  cursor: pointer;
  height: 24px;
  width: 24px;
}

.tlc-mmf__submit-row {
  align-items: center;
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr auto;
  margin-top: 20px;
}

.tlc-mmf__submit-row input[type="text"] {
  min-height: 62px !important;
}
.tlc-mmf__submit-row .tlc-mmf__button {
  height: 62px;
}

.tlc-mmf__confirmation {
  display: grid;
  gap: 24px 80px;
  grid-template-columns: 1fr 1.15fr;
  min-height: 430px;
}

.tlc-mmf__confirm-copy {
  padding-top: 0;
}

.tlc-mmf__confirm-copy h2 {
  color: var(--tlc-white);
  display: inline;
  font-size: clamp(34px, 4vw, 43px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  vertical-align: middle;
}

.tlc-mmf__confirm-copy p {
  font-size: 15px;
  line-height: 2;
  margin: 34px 0 0;
  max-width: 520px;
}

.tlc-mmf__check {
  border-radius: 50%;
  display: inline-block;
  height: 74px;
  margin-right: 16px;
  position: relative;
  vertical-align: middle;
  width: 74px;
  margin-top: -6px;
}

/* .tlc-mmf__check::after {
    border-bottom: 6px solid var(--tlc-green);
    border-left: 6px solid var(--tlc-green);
    content: "";
    height: 17px;
    left: 10px;
    position: absolute;
    top: 10px;
    transform: rotate(-45deg);
    width: 31px;
} */

.tlc-mmf__timeline {
  align-self: center;
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 165px;
}

.tlc-mmf__timeline li {
  align-items: center;
  color: var(--tlc-white);
  display: grid;
  font-size: 17px;
  gap: 30px;
  grid-template-columns: 52px 1fr;
  line-height: 1.5;
  margin: 0 0 42px;
  position: relative;
  letter-spacing: -0.7px;
}

.tlc-mmf__timeline li:not(:last-child)::after {
  background: var(--tlc-navy-soft);
  content: "";
  height: 42px;
  left: 25px;
  position: absolute;
  top: 52px;
  width: 3px;
}

.tlc-mmf__timeline span {
  align-items: center;
  background: var(--tlc-green);
  display: flex;
  font-size: 24px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.tlc-mmf__return {
  color: var(--tlc-white) !important;
  font-size: 14px;
  grid-column: 1 / -1;
  justify-self: center;
  text-decoration: none;
}

.tlc-mmf__return:hover,
.tlc-mmf__return:focus-visible {
  color: var(--tlc-gold);
}

.tlc-mmf__message {
  color: #ffd05a;
  font-size: 14px;
  margin: 20px 0 0;
  min-height: 20px;
  text-align: center;
  width: 50%;
  margin-left: auto;
}
section.tlc-mmf:before {
  left: 45px;
}
a.tlc-mmf__return {
  margin-left: auto;
  width: 50%;
  height: 20px;
}

@media (max-width: 1024px) {
  section.tlc-mmf:before {
    height: 20px;
    top: -20px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .tlc-mmf__timeline {
    margin-top: 80px !important;
  }
}
@media (max-width: 900px) {
  .tlc-mmf {
    padding: 30px 20px 44px;
  }
  .tlc-mmf__steps {
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 36px;
  }
  .tlc-mmf__goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tlc-mmf__split,
  .tlc-mmf__confirmation {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .tlc-mmf__split h2 {
    margin-top: 0;
    font-size: 28px;
    text-align: center;
  }
  .tlc-mmf__confirm-copy {
    padding-top: 12px;
  }
  .tlc-mmf__field input,
  .tlc-mmf__field textarea,
  .tlc-mmf__field select {
    font-size: 20px !important;
    line-height: 32px !important;
    min-height: 59px;
  }
  .tlc-mmf__field select option,
  .tlc-mmf__field select span {
    font-size: 18px !important;
  }
  .tlc-mmf__field > span {
    font-size: 18px !important;
    line-height: 32px !important;
    top: 14px;
  }
  .tlc-mmf__consent input {
    flex: 0 0 25px;
    height: 25px;
  }
  p.tlc-mmf__message {
    width: 100%;
  }
  .tlc-mmf__range output {
    text-align: left;
  }
  .tlc-mmf__select::after {
    right: 16px;
    top: 27px;
  }
}

@media (max-width: 560px) {
  .tlc-mmf {
    min-height: 0;
    padding: 30px 16px 20px;
  }

  .tlc-mmf__step {
    font-size: 12px;
  }

  .tlc-mmf__divider {
    font-size: 18px;
  }

  .tlc-mmf__center-title {
    margin-bottom: 30px;
    text-align: left;
  }

  .tlc-mmf__goal-grid {
    grid-template-columns: 1fr;
  }

  .tlc-mmf__goal-card {
    min-height: 210px;
  }

  .tlc-mmf__submit-row {
    grid-template-columns: 1fr;
  }
  .tlc-mmf__field textarea {
    height: 127px;
  }
  .tlc-mmf__button,
  .tlc-mmf__submit-row .tlc-mmf__button {
    width: 220px !important;
    max-width: 220px !important;
    font-size: 20px !important;
  }

  .tlc-mmf__range-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .tlc-mmf__range-head label {
    letter-spacing: 0.22em;
  }

  .tlc-mmf__timeline li {
    gap: 5px;
  }
  .tlc-mmf__field input {
    line-height: 32px !important;
  }
  section.tlc-mmf:before {
    left: 20px;
    width: calc(100% - 40px);
  }
  .tlc-mmf__submit-row {
    gap: 20px;
  }
  .tlc-mmf__confirm-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .tlc-mmf__check {
    height: 55px;
    margin-right: 0;
    width: 36px;
  }
  .tlc-mmf__check svg {
    width: 36px;
  }
  .tlc-mmf__confirm-copy h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 300;
    margin-top: 14px;
  }
  .tlc-mmf__confirm-copy p {
    font-size: 16px;
    text-align: center;
    margin: 0 !important;
  }
  .tlc-mmf__timeline span {
    align-items: center;
    background: var(--tlc-green);
    display: flex;
    font-size: 22px;
    height: 45px;
    justify-content: center;
    width: 45px;
  }
  .tlc-mmf__timeline li:not(:last-child)::after {
    background: var(--tlc-navy-soft);
    content: "";
    height: 68px;
    left: 20px;
    position: absolute;
    top: 48px;
    width: 3px;
  }
  .tlc-mmf__timeline {
    margin-top: 0;
  }
  .tlc-mmf__timeline li {
    margin-bottom: 30px;
  }
  .tlc-mmf__fields {
    gap: 15px;
  }
  .tlc-mmf__field > span {
    font-size: 18px !important;
  }
}

/* ================================
   RANGE WRAPPER
================================ */

.tlc-mmf__range {
  width: 100% !important;
  position: relative !important;
}

/* ================================
   RANGE HEADER
================================ */

.tlc-mmf__range .tlc-mmf__range-head {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.tlc-mmf__range input[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(
    to right,
    #ffffff 0%,
    #ffffff var(--range-progress, 30%),
    #1d568c var(--range-progress, 30%),
    #1d568c 100%
  ) !important;
}

/* ================================
   CHROME / EDGE / SAFARI TRACK
================================ */

.tlc-mmf__range input[type="range"]::-webkit-slider-runnable-track {
  width: 100% !important;
  height: 16px !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* ================================
   CHROME / EDGE / SAFARI THUMB
================================ */

.tlc-mmf__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 34px !important;
  height: 34px !important;

  margin-top: -9px !important;

  padding: 0 !important;

  background-color: #ffffff !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  cursor: pointer !important;
}

/* ================================
   FIREFOX TRACK
================================ */

.tlc-mmf__range input[type="range"]::-moz-range-track {
  width: 100% !important;
  height: 16px !important;

  background: #1d568c !important;

  border: 0 !important;
  border-radius: 0 !important;
}

/* Firefox selected portion */
.tlc-mmf__range input[type="range"]::-moz-range-progress {
  height: 16px !important;

  background: #ffffff !important;

  border: 0 !important;
  border-radius: 0 !important;
}

/* Firefox thumb */
.tlc-mmf__range input[type="range"]::-moz-range-thumb {
  width: 34px !important;
  height: 34px !important;

  background-color: #ffffff !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  cursor: pointer !important;
}

/* ================================
   OUTPUT
================================ */

.tlc-mmf__range > output {
  display: block !important;

  width: 100% !important;

  margin: 14px 0 0 !important;
  padding: 0 !important;

  text-align: right !important;

  color: #ffffff !important;

  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
