.mf-hero-block {
  --mf-hero-background: #cbe8ff;
  --mf-hero-gradient-start: #e8f6ff;
  --mf-hero-gradient-middle: #cde9ff;
  --mf-hero-gradient-end: #7ec1ee;
  --mf-hero-gradient-angle: 112deg;
  --mf-hero-gradient-saturation: 1;
  --mf-hero-gradient-contrast: 1;
  --mf-hero-gradient-opacity: 1;
  --mf-hero-gradient-position: 45%;
  --mf-hero-wave-transition-color: transparent;
  --mf-hero-wave-transition-height: 0px;
  --mf-hero-image-scale: 1.1;
  --mf-hero-image-translate-x: 0%;
  --mf-hero-image-translate-y: 0%;
  --mf-hero-image-z: 10;
  --mf-hero-mobile-image-scale: var(--mf-hero-image-scale);
  --mf-hero-mobile-image-translate-x: var(--mf-hero-image-translate-x);
  --mf-hero-mobile-image-translate-y: var(--mf-hero-image-translate-y);
  --mf-hero-mobile-image-z: 10;
  --mf-hero-kicker-color: #185e91;
  --mf-hero-title-color: #14242c;
  --mf-hero-copy-color: #5b6b72;
  --mf-hero-proof-color: #5b6b72;
  --mf-hero-button-text-color: #fff;
  --mf-hero-button-font-size: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100vw;
  max-width: none !important;
  min-height: 680px;
  margin-left: calc(50% - 50vw);
  background: var(--mf-hero-background);
  color: #14242c;
}

.mf-hero-block--green {
  --mf-hero-background: #b7dca3;
  --mf-hero-gradient-start: #e8f8ef;
  --mf-hero-gradient-middle: #d1efd7;
  --mf-hero-gradient-end: #88c9b1;
}

.mf-hero-block--coral {
  --mf-hero-background: #f4c7bd;
  --mf-hero-gradient-start: #fff6f3;
  --mf-hero-gradient-middle: #fadeda;
  --mf-hero-gradient-end: #df5948;
}

.mf-hero-block--mint {
  --mf-hero-background: #cfe8df;
  --mf-hero-gradient-start: #f4fcf9;
  --mf-hero-gradient-middle: #d7f0e7;
  --mf-hero-gradient-end: #57a48f;
}

.mf-hero-block--dark {
  --mf-hero-background: #091c27;
  --mf-hero-gradient-start: #091c27;
  --mf-hero-gradient-middle: #102b3a;
  --mf-hero-gradient-end: #124b58;
}

.mf-hero-block--compact { min-height: 540px; }
.mf-hero-block--large { min-height: 780px; }

.mf-hero-block__overlay {
  position: absolute;
  z-index: 20 !important;
  inset: 0;
  background: linear-gradient(var(--mf-hero-gradient-angle), var(--mf-hero-gradient-start) 0%, var(--mf-hero-gradient-middle) var(--mf-hero-gradient-position), var(--mf-hero-gradient-end) 100%);
  filter: saturate(var(--mf-hero-gradient-saturation)) contrast(var(--mf-hero-gradient-contrast));
  opacity: var(--mf-hero-gradient-opacity);
  pointer-events: none;
}

.mf-hero-block::after {
  position: absolute;
  z-index: 21;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--mf-hero-wave-transition-height);
  background: linear-gradient(to bottom, transparent 0%, var(--mf-hero-wave-transition-color) 100%);
  content: "";
  pointer-events: none;
}

.mf-hero-block__shell {
  position: relative;
  z-index: auto !important;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 36px;
  width: min(1240px, calc(100% - 64px));
  min-height: inherit;
  margin: 0 auto;
  align-items: center;
}

.mf-hero-block__copy {
  position: relative;
  z-index: 30 !important;
  padding: 82px 0 94px;
}

.mf-hero-block__kicker {
  display: flex;
  gap: 12px;
  margin: 0 0 18px;
  align-items: center;
  color: var(--mf-hero-kicker-color);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mf-hero-block__kicker::before {
  width: 34px;
  height: 2px;
  background: var(--mf-hero-kicker-color);
  content: "";
}

.mf-hero-block h1 {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--mf-hero-title-color);
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: 0;
}

.mf-hero-block__intro {
  max-width: 630px;
  margin: 0;
  color: var(--mf-hero-copy-color);
  font-size: 20px;
  line-height: 1.55;
}

.mf-hero-block__button {
  display: inline-flex;
  min-height: 50px;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 13px 20px;
  border: 1px solid #df5948;
  border-radius: 6px;
  background: #df5948;
  color: var(--mf-hero-button-text-color) !important;
  font-size: var(--mf-hero-button-font-size);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a.mf-hero-block__button:hover,
a.mf-hero-block__button:focus-visible {
  border-color: #c94739;
  background: #c94739;
  color: var(--mf-hero-button-text-color);
  transform: translateY(-2px);
}

.mf-hero-block__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--mf-hero-proof-color);
  font-size: 14px;
  list-style: none;
}

.mf-hero-block__proof li {
  position: relative;
  padding-left: 18px;
}

.mf-hero-block__proof li::before {
  position: absolute;
  left: 0;
  color: #287fc1;
  content: "•";
}

.mf-hero-block__media {
  position: relative;
  z-index: var(--mf-hero-image-z) !important;
  display: grid;
  min-width: 0;
  min-height: inherit;
  align-items: center;
  justify-items: center;
}

.mf-hero-block__media picture {
  display: contents;
}

.mf-hero-block__media img {
  position: relative;
  z-index: 11 !important;
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  transform: translate(var(--mf-hero-image-translate-x), var(--mf-hero-image-translate-y)) scale(var(--mf-hero-image-scale));
  transform-origin: center;
}

.mf-hero-block--image-left .mf-hero-block__copy { order: 2; }
.mf-hero-block--image-left .mf-hero-block__media { order: 1; }

.mf-hero-block--editor {
  width: 100%;
  max-width: none !important;
  margin-left: 0;
}

.mf-hero-block--editor-preview-desktop {
  width: 100%;
}

.mf-hero-block--editor-preview-mobile {
  width: min(390px, 100%);
  min-height: 0;
  margin-right: auto;
  margin-left: auto;
}

.mf-hero-block--editor .mf-hero-block__button {
  cursor: text;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__shell {
  display: flex;
  box-sizing: border-box;
  width: min(100% - 32px, 1240px);
  padding: 44px 0 40px;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__copy,
.mf-hero-block--editor-preview-mobile.mf-hero-block--image-left .mf-hero-block__copy {
  display: contents;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__kicker,
.mf-hero-block--editor-preview-mobile h1,
.mf-hero-block--editor-preview-mobile .mf-hero-block__intro,
.mf-hero-block--editor-preview-mobile .mf-hero-block__button,
.mf-hero-block--editor-preview-mobile .mf-hero-block__proof {
  position: relative;
  z-index: 30;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__kicker { order: 1; }
.mf-hero-block--editor-preview-mobile h1 { order: 2; font-size: 38px; }
.mf-hero-block--editor-preview-mobile .mf-hero-block__intro { order: 3; font-size: 17px; }

.mf-hero-block--editor-preview-mobile .mf-hero-block__media,
.mf-hero-block--editor-preview-mobile.mf-hero-block--image-left .mf-hero-block__media {
  z-index: var(--mf-hero-mobile-image-z) !important;
  order: 0;
  min-height: 0;
  margin: 0 0 24px;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__media img {
  width: min(100%, 620px);
  max-height: 330px;
  transform: translate(var(--mf-hero-mobile-image-translate-x), var(--mf-hero-mobile-image-translate-y)) scale(var(--mf-hero-mobile-image-scale));
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__button {
  order: 5;
  width: 100%;
  margin-top: 28px;
}

.mf-hero-block--editor-preview-mobile .mf-hero-block__proof {
  display: grid;
  order: 6;
  gap: 10px;
  margin-top: 28px;
}

@media (min-width: 1000px) and (max-width: 1366px) {
  .mf-hero-block h1 { font-size: 48px; line-height: 1.1; }
}

@media (min-width: 690px) and (max-width: 999px) {
  .mf-hero-block h1 { font-size: 42px; line-height: 1.1; }
}

@media (max-width: 999px) {
  .mf-hero-block { min-height: 650px; }
  .mf-hero-block__shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .mf-hero-block__copy { padding: 62px 0; }
}

@media (max-width: 689px), (min-width: 690px) and (max-width: 1024px) and (orientation: portrait) {
  .mf-hero-block,
  .mf-hero-block--compact,
  .mf-hero-block--large {
    min-height: 0;
  }

  .mf-hero-block__overlay {
    background: linear-gradient(var(--mf-hero-gradient-angle), var(--mf-hero-gradient-start) 0%, var(--mf-hero-gradient-middle) var(--mf-hero-gradient-position), var(--mf-hero-gradient-end) 100%);
  }

  .mf-hero-block__shell {
    display: flex;
    box-sizing: border-box;
    width: min(100% - 32px, 1240px);
    padding: 44px 0 40px;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .mf-hero-block__copy,
  .mf-hero-block--image-left .mf-hero-block__copy {
    display: contents;
  }

  .mf-hero-block__kicker,
  .mf-hero-block h1,
  .mf-hero-block__intro,
  .mf-hero-block__button,
  .mf-hero-block__proof {
    position: relative;
    z-index: 30;
  }

  .mf-hero-block__kicker { order: 1; }
  .mf-hero-block h1 { order: 2; }
  .mf-hero-block__intro { order: 3; }

  .mf-hero-block__media,
  .mf-hero-block--image-left .mf-hero-block__media {
    z-index: var(--mf-hero-mobile-image-z) !important;
    order: 0;
    min-height: 0;
    margin: 0 0 24px;
  }

  .mf-hero-block__media img {
    width: min(100%, 620px);
    max-height: 330px;
    transform: translate(var(--mf-hero-mobile-image-translate-x), var(--mf-hero-mobile-image-translate-y)) scale(var(--mf-hero-mobile-image-scale));
  }

  .mf-hero-block__intro {
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .mf-hero-block__button { order: 5; width: 100%; margin-top: 28px; }
  .mf-hero-block__proof { display: grid; order: 6; gap: 10px; margin-top: 28px; }
}

@media (min-width: 690px) and (max-width: 1024px) and (orientation: portrait) {
  .mf-hero-block__shell { width: min(100% - 64px, 1240px); }
  .mf-hero-block h1 { font-size: 42px; }
  .mf-hero-block__media img { max-height: 380px; }
  .mf-hero-block__intro { font-size: 20px; }
  .mf-hero-block__button { width: fit-content; }
}

@media (max-width: 689px) {
  .mf-hero-block h1 { font-size: 38px; }
}

.mf-operating-models {
  --mf-model-ink: #14242c;
  --mf-model-muted: #5b6b72;
  --mf-model-blue: #287fc1;
  --mf-model-green: #103f39;
  --mf-model-soft: #f4f7f6;
  --mf-model-line: #dce4e1;
  box-sizing: border-box;
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  padding: 88px 0 96px;
  background: #fff;
  color: var(--mf-model-ink);
}

.mf-operating-models__shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.mf-operating-models__kicker { margin: 0 0 16px; color: var(--mf-model-blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.mf-operating-models h2 { max-width: 850px; margin: 0 0 20px; font-size: 48px; line-height: 1.08; }
.mf-operating-models__intro { max-width: 760px; margin: 0; color: var(--mf-model-muted); font-size: 19px; line-height: 1.6; }
.mf-operating-models__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(420px, 100%); margin: 32px 0 0; padding: 4px; border: 1px solid var(--mf-model-line); border-radius: 8px; background: var(--mf-model-soft); }
.mf-operating-models__tabs button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 6px; background: transparent; color: var(--mf-model-muted); font: inherit; font-weight: 800; cursor: pointer; }
.mf-operating-models__tabs button[aria-selected="true"], .mf-operating-models__tabs button.is-active { background: #fff; color: var(--mf-model-blue); box-shadow: 0 4px 16px rgba(20, 36, 44, .08); }
.mf-operating-models__tabs button:focus-visible, .mf-operating-models__mobile-toggle:focus-visible { outline: 3px solid rgba(40, 127, 193, .3); outline-offset: 2px; }
.mf-operating-models__panels { margin-top: 28px; }
.mf-operating-models__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; min-height: 460px; align-items: center; }
.mf-operating-models__panel[hidden] { display: none !important; }
.mf-operating-models__visual { display: grid; min-height: 420px; place-items: center; }
.mf-operating-models__visual img { display: block; width: 100%; max-width: 520px; max-height: 420px; object-fit: contain; }
.mf-operating-models__copy { max-width: 560px; }
.mf-operating-models__label { margin: 0 0 12px; color: var(--mf-model-blue) !important; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.mf-operating-models__copy h3 { margin: 0 0 20px; font-size: 36px; line-height: 1.12; }
.mf-operating-models__copy > p:not(.mf-operating-models__label) { color: var(--mf-model-muted); font-size: 18px; line-height: 1.6; }
.mf-operating-models__copy ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.mf-operating-models__copy li { position: relative; padding-left: 28px; }
.mf-operating-models__copy li::before { position: absolute; left: 0; color: var(--mf-model-green); font-weight: 900; content: "✓"; }
.mf-operating-models__mobile-toggle { display: none; }
.mf-operating-models--editor { width: auto; margin-left: 0; }

@media (max-width: 781px) {
  .mf-operating-models { padding: 64px 0 72px; }
  .mf-operating-models__shell { width: min(100% - 32px, 1160px); }
  .mf-operating-models h2 { font-size: 36px; }
  .mf-operating-models__tabs { display: none; }
  .mf-operating-models__panels { display: grid; gap: 8px; margin-top: 36px; }
  .mf-operating-models__mobile-toggle { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--mf-model-line); border-radius: 8px; background: #fff; color: var(--mf-model-ink); font: inherit; font-weight: 800; text-align: left; }
  .mf-operating-models__mobile-toggle[aria-expanded="true"] { border-color: var(--mf-model-blue); color: var(--mf-model-blue); }
  .mf-operating-models__mobile-toggle span { font-size: 22px; font-weight: 400; }
  .mf-operating-models__panel { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 16px 8px 34px; }
  .mf-operating-models__visual { min-height: 0; }
  .mf-operating-models__visual img { max-height: 300px; }
  .mf-operating-models__copy h3 { font-size: 30px; }
}
