/* Double opt-in, audience and setup presentation. */

.mf-doi-section .mf-section-head {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.mf-doi-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 38px 24px;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  background: var(--mf-white);
  box-shadow: var(--mf-shadow);
}

.mf-doi-step {
  position: relative;
  padding: 8px 30px;
  text-align: center;
}

.mf-doi-step:not(:last-child)::after {
  position: absolute;
  top: 45px;
  right: -12px;
  color: var(--mf-red);
  content: "\2192";
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.mf-doi-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f8ded9;
  color: var(--mf-red);
  font-size: 38px;
  line-height: 1;
}

.mf-doi-number {
  margin: 0 0 7px;
  color: var(--mf-blue);
  font-size: 12px;
  font-weight: 800;
}

.mf-doi-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.mf-doi-step > p:last-child {
  margin: 0;
  color: var(--mf-muted);
  font-size: 15px;
}

.mf-editor-workflow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mf-editor-original-intro {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}

.mf-editor-original-intro .mf-editor-detail-copy {
  width: min(100%, 860px);
  margin: 0 auto;
}

.mf-editor-original-intro .mf-checks {
  display: inline-block;
  margin-bottom: 8px;
  text-align: left;
}

.mf-editor-original-intro .mf-editor-shot,
.mf-editor-original-intro .wp-block-video {
  width: min(100%, 960px);
  margin: 0 auto;
}

.mf-editor-elements-original {
  gap: 0;
  border: 0;
  border-radius: 8px;
  background: var(--mf-soft);
}

.mf-editor-elements-original .mf-editor-element {
  min-height: 230px;
  border: 0;
  background: transparent;
  text-align: center;
}

.mf-editor-elements-original .mf-editor-element-head {
  justify-content: center;
}

.mf-editor-elements-original .mf-editor-element-head span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mf-editor-elements-original .mf-editor-element-head img {
  width: 88px;
  height: 88px;
  border: 0;
  background: transparent;
  object-fit: contain;
}

.mf-mode-match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mf-mode-match {
  display: flex;
  box-sizing: border-box;
  height: 100%;
  min-height: 330px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid #bfd6e7;
  border-top: 4px solid #189eff;
  border-radius: 8px;
  background: var(--mf-white);
  box-shadow: 0 12px 34px rgba(24, 90, 130, 0.08);
}

.mf-mode-source {
  color: #087cc8;
  font-size: 13px;
  font-weight: 800;
}

.mf-mode-connector {
  display: block;
  margin: 24px 0 8px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-mode-match h3 {
  margin: 0 0 16px;
  font-size: 25px;
}

.mf-mode-match p {
  margin: 0 0 24px;
  color: var(--mf-muted);
}

.mf-mode-match .mf-text-link {
  margin-top: auto;
}

.mf-mode-note {
  padding: 24px 28px;
  margin: 22px 0 0;
  border-left: 4px solid #189eff;
  background: #edf7fd;
  color: var(--mf-muted);
}

.mf-mode-note strong {
  color: var(--mf-ink);
}

.mf-solution-fit {
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid #bfd6e7;
  border-radius: 8px;
  background: var(--mf-white);
  box-shadow: 0 12px 34px rgba(24, 90, 130, 0.08);
}

.mf-solution-fit > h3 {
  padding: 26px 28px 22px;
  margin: 0;
  font-size: 25px;
}

.mf-solution-fit-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px 28px;
  border-top: 1px solid #dce8ef;
}

.mf-solution-fit-row.is-mailfino {
  background: #edf7fd;
}

.mf-solution-fit-row p {
  margin: 0;
}

.mf-solution-fit-label {
  color: #087cc8;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.mf-solution-fit-note {
  padding: 18px 28px;
  margin: 0;
  border-top: 1px solid #dce8ef;
  background: #f8fafb;
  color: var(--mf-muted);
  font-size: 15px;
}

.mf-product-proof-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.mf-product-proof-step {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #bfd6e7;
  border-radius: 8px;
  background: var(--mf-white);
  box-shadow: 0 12px 34px rgba(24, 90, 130, 0.08);
}

.mf-product-proof-step h3 {
  min-height: 58px;
  margin: 0 0 18px;
  font-size: 23px;
}

.mf-product-proof-number {
  margin: 0 0 12px;
  color: #087cc8;
  font-size: 13px;
  font-weight: 800;
}

.mf-product-proof-step .mf-editor-shot {
  margin-top: auto;
}

.mf-product-search-step {
  justify-content: flex-start;
  background: linear-gradient(180deg, #fff 0%, #edf7fd 100%);
}

.mf-product-search-icon {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin: 18px auto 28px;
  border: 1px solid #aad4ed;
  border-radius: 50%;
  background: #fff;
  color: #087cc8;
  font-size: 62px;
  line-height: 1;
}

.mf-proof-disclosure {
  margin: 20px 0 0;
  color: var(--mf-muted);
  font-size: 14px;
}

.mf-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mf-setup-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mf-line);
  border-radius: 8px;
  background: var(--mf-white);
  box-shadow: var(--mf-shadow);
}

.mf-setup-panel-copy {
  padding: 36px 36px 30px;
}

.mf-setup-panel h3 {
  margin: 10px 0 24px;
  font-size: 26px;
}

.mf-setup-phase {
  color: var(--mf-blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mf-setup-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: mf-setup;
}

.mf-setup-steps[start="5"] {
  counter-reset: mf-setup 4;
}

.mf-setup-steps li {
  position: relative;
  min-height: 54px;
  padding: 0 0 22px 50px;
  color: var(--mf-muted);
  counter-increment: mf-setup;
}

.mf-setup-steps li:last-child {
  padding-bottom: 0;
}

.mf-setup-steps li::before {
  position: absolute;
  top: -3px;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #a8c9c0;
  border-radius: 50%;
  background: #eef7f4;
  color: var(--mf-green);
  content: counter(mf-setup);
  font-size: 13px;
  font-weight: 800;
}

.mf-setup-steps strong {
  color: var(--mf-ink);
}

.mf-setup-shot {
  padding: 22px;
  margin: auto 0 0;
  border-top: 1px solid var(--mf-line);
  background: #edf3f2;
}

.mf-setup-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #cad7d4;
  border-radius: 6px;
  background: var(--mf-white);
  object-fit: contain;
}

.mf-setup-shot figcaption {
  margin-top: 12px;
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-setup-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 30px 34px;
  margin-top: 24px;
  border: 1px solid #b9d4cd;
  border-radius: 8px;
  background: #e7f2ef;
}

.mf-setup-footer strong,
.mf-setup-footer span {
  display: block;
}

.mf-setup-footer span {
  margin-top: 6px;
  color: var(--mf-muted);
}

.mf-setup-footer .mf-actions {
  flex-wrap: nowrap;
  margin-top: 0;
}

.mf-button-quiet {
  border-color: rgba(20, 36, 44, 0.3);
  background: transparent;
  color: var(--mf-ink);
}

.mf-button-quiet:hover {
  border-color: var(--mf-ink);
  background: var(--mf-white);
  color: var(--mf-ink);
}
