.mmpd {
  --mmpd-red: #c90022;
  --mmpd-red-dark: #970018;
  --mmpd-ink: #151515;
  --mmpd-muted: #5c5c5c;
  --mmpd-paper: #f7f4ee;
  --mmpd-line: #ded8cf;
  color: var(--mmpd-ink);
  margin: clamp(42px, 6vw, 82px) auto;
  padding: 0 22px;
}

.mmpd,
.mmpd * {
  box-sizing: border-box;
}

.mmpd__frame {
  background:
    linear-gradient(110deg, rgba(201, 0, 34, 0.055), transparent 34%),
    var(--mmpd-paper);
  border: 1px solid var(--mmpd-line);
  border-top: 7px solid var(--mmpd-red);
  box-shadow: 0 22px 52px rgba(25, 20, 18, 0.1);
  margin: 0 auto;
  max-width: 1160px;
  overflow: hidden;
}

.mmpd__intro {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  padding: clamp(30px, 5vw, 64px);
}

.mmpd__kicker {
  color: var(--mmpd-red-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mmpd h2,
.mmpd h3,
.mmpd p,
.mmpd ul {
  margin-top: 0;
}

.mmpd h2 {
  color: var(--mmpd-ink);
  font-size: clamp(2rem, 4.1vw, 3.75rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 850px;
}

.mmpd h3 {
  color: var(--mmpd-ink);
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.mmpd p,
.mmpd li {
  color: var(--mmpd-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.mmpd a {
  color: var(--mmpd-red-dark);
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.mmpd a:hover,
.mmpd a:focus-visible {
  color: var(--mmpd-red);
}

.mmpd__lede {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem) !important;
  line-height: 1.65 !important;
  max-width: 760px;
}

.mmpd__brief {
  align-self: end;
  background: var(--mmpd-ink);
  color: #fff;
  padding: 24px;
  position: relative;
}

.mmpd__brief::before {
  color: #fff;
  content: "MOVE BRIEF";
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 13px;
}

.mmpd__brief p,
.mmpd__brief li,
.mmpd__brief a {
  color: #fff;
}

.mmpd__brief p:last-child,
.mmpd__brief ul:last-child {
  margin-bottom: 0;
}

.mmpd__brief ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.mmpd__grid {
  border-top: 1px solid var(--mmpd-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mmpd__card {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--mmpd-line);
  border-right: 1px solid var(--mmpd-line);
  min-height: 215px;
  padding: 30px;
  position: relative;
}

.mmpd__card:nth-child(3n) {
  border-right: 0;
}

.mmpd__card::before {
  color: var(--mmpd-red);
  content: attr(data-step);
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 34px;
}

.mmpd__card p:last-child {
  margin-bottom: 0;
}

.mmpd__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mmpd__panel {
  border-top: 1px solid var(--mmpd-line);
  padding: clamp(30px, 4vw, 48px);
}

.mmpd__panel + .mmpd__panel {
  border-left: 1px solid var(--mmpd-line);
}

.mmpd__panel--dark {
  background: var(--mmpd-ink);
}

.mmpd__panel--dark h3,
.mmpd__panel--dark p,
.mmpd__panel--dark li,
.mmpd__panel--dark a {
  color: #fff;
}

.mmpd__checklist {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.mmpd__checklist li {
  border-top: 1px solid rgba(110, 104, 96, 0.26);
  padding: 11px 0 11px 27px;
  position: relative;
}

.mmpd__checklist li::before {
  color: var(--mmpd-red);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.mmpd__routes {
  align-items: stretch;
  border-top: 1px solid var(--mmpd-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mmpd__route {
  background: #fff;
  border-right: 1px solid var(--mmpd-line);
  color: var(--mmpd-ink) !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  min-height: 142px;
  padding: 24px;
  text-decoration: none !important;
}

.mmpd__route:last-child {
  border-right: 0;
}

.mmpd__route span {
  color: var(--mmpd-muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.mmpd__route strong::after {
  color: var(--mmpd-red);
  content: "  →";
}

.mmpd__route:hover,
.mmpd__route:focus-visible {
  background: #fff7f7;
  outline: 3px solid rgba(201, 0, 34, 0.22);
  outline-offset: -3px;
}

.mmpd__faq {
  border-top: 1px solid var(--mmpd-line);
  padding: clamp(30px, 4vw, 48px);
}

.mmpd__faq details {
  border-top: 1px solid var(--mmpd-line);
  padding: 18px 2px;
}

.mmpd__faq details:last-child {
  border-bottom: 1px solid var(--mmpd-line);
}

.mmpd__faq summary {
  color: var(--mmpd-ink);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 800;
  padding-right: 30px;
}

.mmpd__faq details p {
  margin: 13px 0 2px;
  max-width: 840px;
}

@media (max-width: 900px) {
  .mmpd__intro,
  .mmpd__split {
    grid-template-columns: 1fr;
  }

  .mmpd__brief {
    align-self: stretch;
  }

  .mmpd__panel + .mmpd__panel {
    border-left: 0;
  }

  .mmpd__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mmpd__card:nth-child(3n) {
    border-right: 1px solid var(--mmpd-line);
  }

  .mmpd__card:nth-child(2n) {
    border-right: 0;
  }

  .mmpd__routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mmpd__route:nth-child(2n) {
    border-right: 0;
  }

  .mmpd__route:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mmpd-line);
  }
}

@media (max-width: 560px) {
  .mmpd {
    margin: 36px auto 48px;
    padding: 0 14px;
  }

  .mmpd__frame {
    border-top-width: 5px;
  }

  .mmpd__intro,
  .mmpd__panel,
  .mmpd__faq {
    padding: 26px 20px;
  }

  .mmpd h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
    line-height: 1.02;
  }

  .mmpd__grid,
  .mmpd__routes {
    grid-template-columns: 1fr;
  }

  .mmpd__card,
  .mmpd__card:nth-child(2n),
  .mmpd__card:nth-child(3n),
  .mmpd__route,
  .mmpd__route:nth-child(2n) {
    border-right: 0;
  }

  .mmpd__card {
    min-height: 0;
  }

  .mmpd__card::before {
    margin-bottom: 20px;
  }

  .mmpd__route,
  .mmpd__route:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mmpd-line);
  }
}

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