.mwd-main,
.mwd-main * {
  box-sizing: border-box;
}

.mwd-main {
  background: #fdfaf3;
  color: #252525;
}

.mwd-shell {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.mwd-hero {
  padding: clamp(64px, 8vw, 108px) 0 clamp(72px, 9vw, 120px);
  background: #eaf2ff;
  text-align: center;
}

.mwd-eyebrow {
  margin: 0 0 13px;
  color: #4f7edb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mwd-hero h1 {
  margin: 0;
  color: #172335;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 66px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.mwd-hero p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: #566274;
  font-size: 18px;
  line-height: 1.65;
}

.mwd-content {
  padding: clamp(54px, 7vw, 92px) 0 clamp(78px, 9vw, 128px);
}

.mwd-layout {
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}

.mwd-card,
.mwd-info {
  border: 1px solid #e7e2d8;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(41, 61, 88, .08);
}

.mwd-card {
  padding: clamp(28px, 4vw, 48px);
}

.mwd-info {
  padding: 30px;
}

.mwd-card h2,
.mwd-info h2 {
  margin: 0 0 13px;
  color: #172335;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.2;
}

.mwd-card > p,
.mwd-info p,
.mwd-info li {
  color: #5f6670;
  line-height: 1.65;
}

.mwd-steps {
  display: flex;
  margin: 0 0 34px;
  padding: 0 0 25px;
  border-bottom: 1px solid #ece8df;
  gap: 24px;
  list-style: none;
}

.mwd-steps li {
  display: flex;
  align-items: center;
  color: #8a919a;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.mwd-steps span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #eef0f3;
}

.mwd-steps .is-active {
  color: #315ea9;
}

.mwd-steps .is-active span {
  background: #4f7edb;
  color: #fff;
}

.mwd-form {
  display: grid;
  margin-top: 28px;
  gap: 9px;
}

.mwd-form label {
  margin-top: 10px;
  color: #303c4e;
  font-size: 14px;
  font-weight: 700;
}

.mwd-form input[type="text"],
.mwd-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid #cfd7e2;
  border-radius: 12px;
  background: #fff;
  color: #252525;
  font: inherit;
}

.mwd-form input:focus {
  border-color: #4f7edb;
  outline: 3px solid rgba(79, 126, 219, .2);
}

.mwd-button,
.mwd-print {
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: #4f7edb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.mwd-button {
  margin-top: 18px;
}

.mwd-button:hover,
.mwd-print:hover {
  background: #3868c4;
}

.mwd-button:focus-visible,
.mwd-print:focus-visible,
.mwd-back:focus-visible {
  outline: 3px solid rgba(79, 126, 219, .4);
  outline-offset: 3px;
}

.mwd-alert {
  margin: 0 0 25px;
  padding: 17px 19px;
  border-radius: 13px;
}

.mwd-alert--error {
  border: 1px solid #eab8b8;
  background: #fff1f1;
  color: #8f2d2d;
}

.mwd-alert ul {
  margin: 8px 0 0;
  padding-left: 19px;
}

.mwd-summary {
  display: grid;
  margin: 27px 0;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  overflow: hidden;
}

.mwd-summary > div {
  display: grid;
  padding: 13px 16px;
  gap: 16px;
  grid-template-columns: minmax(110px, .45fr) 1fr;
}

.mwd-summary > div + div {
  border-top: 1px solid #e5e9ef;
}

.mwd-summary dt {
  color: #737d8a;
  font-size: 13px;
  font-weight: 700;
}

.mwd-summary dd {
  margin: 0;
  color: #27384b;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mwd-card blockquote {
  margin: 0;
  padding: 17px 19px;
  border-left: 4px solid #f1cc65;
  border-radius: 0 12px 12px 0;
  background: #fff9e8;
  color: #443b25;
  font-style: normal;
  line-height: 1.6;
}

.mwd-form--confirm {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mwd-back {
  color: #315ea9;
  font-weight: 700;
}

.mwd-success {
  text-align: center;
}

.mwd-success > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 50%;
  background: #dff5e8;
  color: #24734b;
  font-size: 24px;
  font-weight: 800;
}

.mwd-print {
  margin-top: 12px;
  background: #eef4ff;
  color: #315ea9;
}

.mwd-info ul {
  display: grid;
  margin: 20px 0 26px;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.mwd-info li {
  position: relative;
  padding-left: 27px;
}

.mwd-info li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e5efff;
  color: #315ea9;
  content: "\2713";
  font-size: 11px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}

.mwd-info a {
  color: #315ea9;
  font-weight: 700;
}

.mwd-legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ece8df;
  font-size: 13px;
}

.milksy-withdrawal-checkout {
  margin: 12px 0 18px;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.55;
}

.milksy-withdrawal-checkout a {
  color: #315ea9;
  font-weight: 700;
}

@media (max-width: 820px) {
  .mwd-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mwd-shell {
    width: min(100% - 28px, 1120px);
  }

  .mwd-hero p:last-child {
    font-size: 16px;
  }

  .mwd-card,
  .mwd-info {
    border-radius: 20px;
  }

  .mwd-card,
  .mwd-info {
    padding: 24px 20px;
  }

  .mwd-summary > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .mwd-form--confirm {
    align-items: stretch;
    flex-direction: column;
  }

  .mwd-back {
    padding: 10px;
    text-align: center;
  }
}

@media print {
  .msh,
  .msf,
  .mwd-info,
  .mwd-steps,
  .mwd-form,
  .mwd-print {
    display: none !important;
  }

  .mwd-content,
  .mwd-card {
    padding: 0;
  }

  .mwd-card {
    border: 0;
    box-shadow: none;
  }
}
