.mfc-v2 {
  --mfc-burgundy: #3c2021;
  --mfc-berry: #8a2d3a;
  --mfc-berry-dark: #6d202d;
  --mfc-ink: #343130;
  --mfc-muted: #6f6966;
  --mfc-warm-white: #f8f6f2;
  --mfc-soft-grey: #ece9e5;
  --mfc-line: #d8d3cd;
  width: 100%;
  margin: 0;
  padding: 1px 0 64px;
  overflow: hidden;
  background: var(--mfc-warm-white);
  color: var(--mfc-ink);
  font-family: "Avenir Next", Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mfc-v2,
.mfc-v2 * {
  box-sizing: border-box;
}

.mfc-v2 a {
  color: inherit;
}

.mfc-v2 button,
.mfc-v2 input {
  font: inherit;
}

.mfc-v2 button,
.mfc-v2 label,
.mfc-v2 a {
  -webkit-tap-highlight-color: transparent;
}

.mfc-v2 [hidden] {
  display: none !important;
}

.mfc-v2__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mfc-v2__intro {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 48px;
  text-align: center;
}

.mfc-v2__title-rule {
  height: 1px;
  background: var(--mfc-line);
}

.mfc-v2__intro h1 {
  margin: 23px 0;
  color: #3f3a38;
  font-family: Baskerville, "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mfc-v2__intro-kicker {
  margin: 26px 0 14px;
  color: var(--mfc-burgundy);
  font-family: Baskerville, "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-style: italic;
}

.mfc-v2__intro-copy {
  max-width: 710px;
  margin: 0 auto;
  color: var(--mfc-muted);
  font-size: 18px;
  line-height: 1.75;
}

.mfc-v2__calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, 0.86fr);
  align-items: start;
  gap: 24px;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 72px;
}

.mfc-v2__form-card,
.mfc-v2__results {
  border-radius: 3px;
}

.mfc-v2__form-card {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #e3ded8;
  background: #fff;
  box-shadow: 0 18px 50px rgba(46, 32, 29, 0.07);
}

.mfc-v2__step {
  padding-bottom: 32px;
}

.mfc-v2__step + .mfc-v2__step {
  padding-top: 36px;
  border-top: 1px solid #e6e1dc;
}

.mfc-v2__step:last-child {
  padding-bottom: 0;
}

.mfc-v2__step-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.mfc-v2__step-number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mfc-soft-grey);
  color: var(--mfc-berry);
  font-family: Baskerville, Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.mfc-v2__eyebrow {
  margin: 0 0 6px;
  color: var(--mfc-berry);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mfc-v2__eyebrow--light {
  color: #d9abb1;
}

.mfc-v2__step-heading h2,
.mfc-v2__results h2,
.mfc-v2__important h2 {
  margin: 0;
  font-family: Baskerville, "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}

.mfc-v2__step-heading h2 {
  max-width: 610px;
  color: #343130;
  font-size: 28px;
  line-height: 1.15;
}

.mfc-v2__field-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mfc-v2__field-group legend {
  display: block;
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
  color: #3d3937;
  font-size: 17px;
  font-weight: 650;
}

.mfc-v2__segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mfc-v2__segmented button {
  min-height: 82px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #f5f3f0;
  color: #494441;
  cursor: pointer;
  text-align: left;
  text-transform: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.mfc-v2__segmented button:hover {
  transform: translateY(-1px);
}

.mfc-v2__segmented button.is-selected {
  border-color: var(--mfc-berry);
  background: #fbf5f5;
  box-shadow: inset 3px 0 0 var(--mfc-berry);
}

.mfc-v2__segmented span,
.mfc-v2__segmented small {
  display: block;
}

.mfc-v2__segmented span {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
}

.mfc-v2__segmented small {
  color: #7d7672;
  font-size: 14px;
  line-height: 1.45;
}

.mfc-v2__money-input {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 390px;
}

.mfc-v2__money-input > span {
  position: absolute;
  left: 20px;
  z-index: 1;
  color: var(--mfc-berry);
  font-family: Baskerville, Georgia, serif;
  font-size: 28px;
}

.mfc-v2__money-input input {
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 18px 0 48px;
  outline: none;
  border: 1px solid #cdc6c1;
  border-radius: 2px;
  background: #fff;
  color: var(--mfc-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  box-shadow: none;
}

.mfc-v2__money-input input:focus {
  border-color: var(--mfc-berry);
  box-shadow: 0 0 0 3px rgba(138, 45, 58, 0.12);
}

.mfc-v2__field-help {
  margin: 8px 0 13px;
  color: #817a76;
  font-size: 14px;
  line-height: 1.5;
}

.mfc-v2__quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mfc-v2__quick-amounts button {
  margin: 0;
  padding: 8px 13px;
  border: 1px solid #ddd7d1;
  border-radius: 999px;
  background: #fff;
  color: #655f5b;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-transform: none;
}

.mfc-v2__quick-amounts button:hover,
.mfc-v2__quick-amounts button.is-selected {
  border-color: var(--mfc-berry);
  color: var(--mfc-berry-dark);
}

.mfc-v2__risk-guidance {
  max-width: 660px;
  margin: 0 0 20px;
  color: #6f6662;
  font-family: Baskerville, "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
}

.mfc-v2__portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mfc-v2__portfolio {
  position: relative;
  display: block;
  min-height: 118px;
  margin: 0;
  padding: 16px 14px 15px;
  border: 1px solid #ddd7d1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.mfc-v2__portfolio:hover {
  transform: translateY(-1px);
  border-color: #b9aca6;
}

.mfc-v2__portfolio.is-selected {
  border-color: var(--mfc-berry);
  background: #fbf5f5;
}

.mfc-v2__portfolio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mfc-v2__radio {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 17px;
  border: 1px solid #aaa19c;
  border-radius: 50%;
}

.mfc-v2__portfolio.is-selected .mfc-v2__radio {
  border: 4px solid #fff;
  background: var(--mfc-berry);
  box-shadow: 0 0 0 1px var(--mfc-berry);
}

.mfc-v2__portfolio strong,
.mfc-v2__portfolio small {
  display: block;
}

.mfc-v2__portfolio strong {
  margin-bottom: 5px;
  color: #45403e;
  font-size: 15px;
}

.mfc-v2__portfolio small {
  color: #817a76;
  font-size: 12px;
  line-height: 1.4;
}

.mfc-v2__results {
  position: sticky;
  top: 24px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  background: var(--mfc-burgundy);
  color: #fff;
  box-shadow: 0 22px 60px rgba(55, 28, 30, 0.2);
}

.mfc-v2__results::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.mfc-v2__results a {
  color: #fff;
}

.mfc-v2__results-topline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mfc-v2__results h2 {
  max-width: 380px;
  color: #fff;
  font-size: 29px;
  line-height: 1.12;
}

.mfc-v2__client-badge {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mfc-v2__warning {
  position: relative;
  margin: 24px 0 0;
  padding: 17px 18px;
  border-left: 3px solid #df9ca5;
  background: rgba(255, 255, 255, 0.1);
}

.mfc-v2__warning strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
}

.mfc-v2__warning p,
.mfc-v2 [data-below-minimum] > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.mfc-v2__warning a,
.mfc-v2 [data-below-minimum] a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mfc-v2 [data-below-minimum] {
  position: relative;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mfc-v2 [data-below-minimum] h2 {
  margin-bottom: 18px;
  font-size: 31px;
  line-height: 1.15;
}

.mfc-v2__total {
  padding: 30px 0 25px;
}

.mfc-v2__total p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
}

.mfc-v2__total > strong {
  display: block;
  color: #fff;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.mfc-v2__total > em {
  display: block;
  max-width: 380px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
  line-height: 1.5;
}

.mfc-v2__third-party {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mfc-v2__third-party h3 {
  margin: 0 0 7px;
  color: #fff;
  font-family: Baskerville, "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.mfc-v2__third-party > p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  line-height: 1.55;
}

.mfc-v2__breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.mfc-v2__breakdown--mercury {
  margin-bottom: 24px;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.mfc-v2__breakdown--mercury > div {
  padding: 20px 0;
}

.mfc-v2__breakdown > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.mfc-v2__breakdown span {
  color: rgba(255, 255, 255, 0.77);
  font-size: 15px;
}

.mfc-v2__breakdown strong {
  color: #fff;
  font-size: 17px;
}

.mfc-v2__breakdown small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.mfc-v2__initial {
  margin: 24px 0;
  padding: 19px 20px;
  border-left: 3px solid #c47a84;
  background: rgba(255, 255, 255, 0.08);
}

.mfc-v2__initial > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.mfc-v2__initial span {
  font-size: 15px;
}

.mfc-v2__initial strong {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
}

.mfc-v2__initial p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.mfc-v2__initial p.is-individual {
  font-style: italic;
}

.mfc-v2__results details {
  padding: 3px 0 0;
}

.mfc-v2__results summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  color: #f3e6e7;
  font-size: 14px;
  cursor: pointer;
}

.mfc-v2__results summary::-webkit-details-marker {
  display: none;
}

.mfc-v2__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.mfc-v2__results details[open] .mfc-v2__chevron {
  transform: translateY(2px) rotate(225deg);
}

.mfc-v2__calculation-notes {
  padding: 10px 0 2px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.mfc-v2__calculation-notes p {
  margin: 0 0 8px;
}

.mfc-v2__resources {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

.mfc-v2__resources a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.mfc-v2__resources a:hover,
.mfc-v2__resources a:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.mfc-v2__reset {
  width: 100%;
  min-height: 50px;
  margin: 24px 0 0;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-family: Baskerville, Georgia, serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
  cursor: pointer;
  text-transform: none;
}

.mfc-v2__reset:hover,
.mfc-v2__reset:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

.mfc-v2__important {
  width: min(870px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.mfc-v2__important::before {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 0 auto 24px;
  background: #c5bbb5;
}

.mfc-v2__important h2 {
  margin-bottom: 13px;
  color: #4c4643;
  font-size: 28px;
}

.mfc-v2__important > p:last-child {
  max-width: 700px;
  margin: 0 auto;
  color: var(--mfc-muted);
  font-size: 16px;
  line-height: 1.7;
}

.mfc-v2 :focus-visible {
  outline: 2px solid #c76774;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .mfc-v2__calculator {
    grid-template-columns: 1fr;
    max-width: 850px;
  }

  .mfc-v2__results {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .mfc-v2 {
    padding-bottom: 50px;
  }

  .mfc-v2__intro {
    padding: 48px 0 36px;
  }

  .mfc-v2__intro-copy {
    font-size: 16px;
  }

  .mfc-v2__calculator {
    width: min(100% - 24px, 680px);
    margin-bottom: 58px;
  }

  .mfc-v2__form-card,
  .mfc-v2__results {
    padding: 26px 20px;
  }

  .mfc-v2__segmented,
  .mfc-v2__portfolio-grid,
  .mfc-v2__resources {
    grid-template-columns: 1fr;
  }

  .mfc-v2__portfolio-grid {
    gap: 8px;
  }

  .mfc-v2__portfolio {
    min-height: 84px;
    padding-left: 45px;
  }

  .mfc-v2__portfolio .mfc-v2__radio {
    position: absolute;
    top: 20px;
    left: 16px;
  }

  .mfc-v2__portfolio strong {
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mfc-v2 *,
  .mfc-v2 *::before,
  .mfc-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
