/* Homepage introduction — palette and layout are intentionally isolated
   from the site's theme globals so this section remains cream in dark mode. */
.mtm-home {
  --mtm-purple: #1A0818;
  --mtm-cream: #FDF8F0;
  --mtm-soft: #F5ECDD;
  --mtm-gold: #C59F46;
  --mtm-gold-dark: #A8893A;
  --mtm-gray: #3D3D56;

  box-sizing: border-box;
  width: 100%;
  background: var(--mtm-cream);
  color: var(--mtm-purple);
  color-scheme: light;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 80px);
  scroll-margin-top: 100px;
}

.mtm-home *,
.mtm-home *::before,
.mtm-home *::after {
  box-sizing: border-box;
}

.mtm-home .mtm-wrap {
  display: block;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.mtm-home .mtm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px 64px;
}

.mtm-home .mtm-lead {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 760px;
}

.mtm-home .mtm-lead h2 {
  margin: 0;
  color: var(--mtm-purple);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.08;
  text-wrap: balance;
}

.mtm-home .mtm-lead p {
  max-width: none;
  margin: 28px 0 0;
  color: var(--mtm-gold-dark);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-style: italic;
  line-height: 1.35;
}

.mtm-home .mtm-stat {
  flex: 1 1 220px;
  max-width: 300px;
  border-top: 2px solid var(--mtm-gold);
  padding-top: 20px;
}

.mtm-home .mtm-stat b {
  display: block;
  color: var(--mtm-gold-dark);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1;
}

.mtm-home .mtm-stat span {
  display: block;
  margin-top: 14px;
  color: var(--mtm-gray);
  font-family: "Lexend", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mtm-home .mtm-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: clamp(56px, 8vw, 96px);
}

.mtm-home .mtm-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 3vw, 32px);
}

.mtm-home .mtm-row::before {
  position: absolute;
  top: 80px;
  bottom: -44px;
  left: 27px;
  width: 2px;
  background: var(--mtm-purple);
  content: "";
  opacity: .35;
}

.mtm-home .mtm-row:last-child::before {
  display: none;
}

.mtm-home .mtm-num {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: 24px;
  border: 2px solid var(--mtm-purple);
  border-radius: 999px;
  background: var(--mtm-cream);
  color: var(--mtm-purple);
  font-family: "Lora", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.mtm-home .mtm-card {
  flex: 1 1 0;
  min-width: 0;
  border: 2px solid var(--mtm-purple);
  border-radius: 8px;
  background: var(--mtm-soft);
  color: var(--mtm-purple);
  padding: 32px clamp(22px, 4vw, 44px);
}

.mtm-home .mtm-card h3 {
  margin: 0;
  color: inherit;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.mtm-home .mtm-card p {
  max-width: 700px;
  margin: 14px 0 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1.5;
}

.mtm-home .mtm-row.is-last .mtm-num {
  background: var(--mtm-purple);
  color: var(--mtm-gold);
}

.mtm-home .mtm-row.is-last .mtm-card {
  background: var(--mtm-purple);
  color: var(--mtm-cream);
}
