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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #292524;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

[id] {
  scroll-margin-top: 5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.015em;
  color: #1c1917;
  font-weight: 600;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.25;
}

h3 {
  font-size: 1rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.875rem;
  }
}
p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.mm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mm-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .mm-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.mm-container--narrow {
  max-width: 48rem;
}
.mm-container--prose {
  max-width: 42rem;
}

.mm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 229, 228, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

main {
  flex: 1 0 auto;
}

.mm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}
@media (min-width: 640px) {
  .mm-nav {
    padding: 1rem 1.5rem;
  }
}
.mm-nav__brand {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1c1917;
}
.mm-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.mm-nav__link {
  color: #78716c;
  transition: color 0.15s ease;
}
.mm-nav__link:hover {
  color: #1c1917;
}
@media (max-width: 639px) {
  .mm-nav__item--hide-sm {
    display: none;
  }
}
.mm-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #1c1917;
  color: #ffffff;
  font-weight: 500;
  transition: background-color 0.15s ease;
}
.mm-nav__cta:hover {
  background: #44403c;
}

.mm-footer {
  border-top: 1px solid #e7e5e4;
  background: #fafaf9;
}
.mm-footer__inner {
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .mm-footer__inner {
    flex-direction: row;
    padding: 2.5rem 1.5rem;
  }
}
.mm-footer__copy {
  font-size: 0.875rem;
  color: #78716c;
}
.mm-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.mm-footer__link {
  color: #78716c;
  white-space: nowrap;
}
.mm-footer__link:hover {
  color: #292524;
}

.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.mm-btn--block {
  width: 100%;
}
@media (min-width: 640px) {
  .mm-btn--block {
    width: auto;
  }
}
.mm-btn--primary {
  background: #1c1917;
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}
.mm-btn--primary:hover {
  background: #44403c;
}
.mm-btn--secondary {
  background: #ffffff;
  color: #292524;
  border-color: #e7e5e4;
}
.mm-btn--secondary:hover {
  background: #fafaf9;
}
.mm-btn--submit {
  padding: 0.875rem 2rem;
}

.mm-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .mm-cta-group {
    flex-direction: row;
  }
}

.mm-card {
  padding: 1.5rem;
  background: rgba(250, 250, 249, 0.5);
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
}
.mm-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-card__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #57534e;
}

.mm-card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mm-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mm-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mm-form__field {
  display: flex;
  flex-direction: column;
}
.mm-form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #44403c;
  margin-bottom: 0.25rem;
}
.mm-form__input, .mm-form__textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid #d6d3d1;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #1c1917;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mm-form__input:focus, .mm-form__textarea:focus {
  outline: none;
  border-color: #78716c;
  box-shadow: 0 0 0 3px rgba(168, 162, 158, 0.5);
}
.mm-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
}
.mm-form__error {
  padding: 0.75rem 1rem;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.875rem;
}
.mm-form__error[hidden] {
  display: none;
}

.mm-form-success {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fafaf9;
}
.mm-form-success[hidden] {
  display: none;
}
.mm-form-success__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-form-success__text {
  margin-top: 0.25rem;
  color: #57534e;
}

.mm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mm-bulleted {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #57534e;
}
.mm-bulleted__item {
  display: flex;
  gap: 0.75rem;
}
.mm-bulleted__bullet {
  flex-shrink: 0;
  margin-top: 0.55rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #a8a29e;
}

.mm-link-inline {
  font-weight: 500;
  color: #1c1917;
  text-decoration: underline;
  text-decoration-color: #a8a29e;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s ease;
}
.mm-link-inline:hover {
  text-decoration-color: #57534e;
}

.mm-section {
  padding: 4rem 1rem;
  border-bottom: 1px solid #e7e5e4;
  background: #ffffff;
}
@media (min-width: 640px) {
  .mm-section {
    padding: 5rem 1.5rem;
  }
}
.mm-section--soft {
  background: rgba(250, 250, 249, 0.8);
}
.mm-section--soft-half {
  background: rgba(250, 250, 249, 0.5);
}
.mm-section--last {
  border-bottom: 0;
}

.mm-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1c1917;
}
@media (min-width: 640px) {
  .mm-section__title {
    font-size: 1.875rem;
  }
}

.mm-section__intro {
  margin-top: 1rem;
  color: #57534e;
}

.mm-section--center .mm-section__title {
  text-align: center;
}
.mm-section--center .mm-section__intro {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  text-align: center;
}

.mm-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem;
  border-bottom: 1px solid #e7e5e4;
  background: rgba(250, 250, 249, 0.8);
}
@media (min-width: 640px) {
  .mm-hero {
    padding: 7rem 1.5rem;
  }
}
.mm-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.mm-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1c1917;
  line-height: 1.1;
}
@media (min-width: 640px) {
  .mm-hero__title {
    font-size: 3rem;
  }
}
.mm-hero__lead {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: #57534e;
}

.mm-prose {
  margin-top: 1rem;
  color: #57534e;
}
.mm-prose--lead {
  font-size: 1.125rem;
  line-height: 1.6;
}
.mm-prose + .mm-prose {
  margin-top: 1rem;
}
.mm-prose strong {
  color: #292524;
  font-weight: 600;
}

.mm-cta-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1c1917;
  text-align: center;
}
@media (min-width: 640px) {
  .mm-cta-section__title {
    font-size: 1.875rem;
  }
}
.mm-cta-section__text {
  margin-top: 1rem;
  text-align: center;
  color: #57534e;
  font-size: 1.125rem;
}
.mm-cta-section__text strong {
  color: #1c1917;
  font-weight: 600;
}

.mm-person {
  margin-top: 2.5rem;
}
.mm-person + .mm-person {
  margin-top: 3rem;
}
.mm-person__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-person__role {
  margin-top: 0.25rem;
  color: #78716c;
}
.mm-person__label {
  margin-top: 1rem;
  color: #57534e;
  font-weight: 600;
}
.mm-person__list {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #57534e;
}
.mm-person__skills {
  margin-top: 1rem;
  color: #57534e;
}

.mm-requisites {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e7e5e4;
}
.mm-requisites__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-requisites__line {
  margin-top: 0.5rem;
  color: #57534e;
}
.mm-requisites__line + .mm-requisites__line {
  margin-top: 0;
}

.mm-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1c1917;
}
@media (min-width: 640px) {
  .mm-page-title {
    font-size: 2.25rem;
  }
}

.mm-market-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .mm-market-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mm-tpl {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.mm-tpl:hover {
  border-color: #d6d3d1;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.08);
}
.mm-tpl__shot {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  background: #f5f5f4;
  border-bottom: 1px solid #e7e5e4;
}
.mm-tpl__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.mm-tpl__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-tpl__text {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #57534e;
}
.mm-tpl__price {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: #292524;
  min-height: 1.4em;
}
.mm-tpl__price b {
  color: #1c1917;
}

.mm-tpl--soon {
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  padding: 2rem;
  border-style: dashed;
  background: #fafaf9;
  box-shadow: none;
  text-align: center;
  color: #78716c;
}
.mm-tpl--soon:hover {
  border-color: #e7e5e4;
  box-shadow: none;
}

.mm-steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: step;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mm-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.mm-steps__item {
  counter-increment: step;
  padding: 1.25rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #ffffff;
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-steps__item::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  background: #1c1917;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}
.mm-steps__item b {
  display: block;
  margin-bottom: 0.25rem;
  color: #1c1917;
}

.mm-note {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e7e5e4;
  border-radius: 0.75rem;
  background: #fafaf9;
  font-size: 0.875rem;
  color: #57534e;
}
.mm-note--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.mm-tpl-page {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .mm-tpl-page {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}
.mm-tpl-page__shot {
  width: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  background: #f5f5f4;
}

.mm-buybox {
  padding: 1.5rem;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  background: #fafaf9;
}
.mm-buybox__price {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1917;
  letter-spacing: -0.02em;
}
.mm-buybox__sub {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-buybox__btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mm-preview {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 5rem);
  min-height: 32rem;
  background: #f5f5f4;
}
.mm-preview__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #e7e5e4;
  background: #ffffff;
}
.mm-preview__title {
  font-weight: 600;
  color: #1c1917;
  margin-right: auto;
}
.mm-preview__modes {
  display: inline-flex;
  border: 1px solid #e7e5e4;
  border-radius: 0.5rem;
  overflow: hidden;
}
.mm-preview__mode {
  padding: 0.4rem 0.875rem;
  border: 0;
  background: #ffffff;
  font: inherit;
  font-size: 0.875rem;
  color: #57534e;
  cursor: pointer;
}
.mm-preview__mode[aria-pressed=true] {
  background: #1c1917;
  color: #ffffff;
}
.mm-preview__stage {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: auto;
  padding: 1rem;
}
.mm-preview__frame {
  width: 100%;
  height: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 0.75rem;
  background: #ffffff;
  transition: width 0.2s ease;
}
.mm-preview__frame--mobile {
  width: 390px;
  max-width: 100%;
}

.mm-auth {
  max-width: 26rem;
  margin: 0 auto;
}
.mm-auth__alt {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: #57534e;
}

.mm-form__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.mm-form__hint {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #78716c;
  min-height: 1.2em;
}

.mm-form__hint--ok {
  color: #166534;
}

.mm-form__hint--bad {
  color: #b91c1c;
}

.mm-form__check {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: #57534e;
}
.mm-form__check input {
  margin-top: 0.2rem;
}

.mm-pw {
  position: relative;
  display: block;
}
.mm-pw .mm-form__input {
  padding-right: 2.75rem;
  width: 100%;
}

.mm-pw__toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #78716c;
  cursor: pointer;
}
.mm-pw__toggle:hover {
  color: #1c1917;
  background: #f5f5f4;
}
.mm-pw__toggle:focus-visible {
  outline: 2px solid #a8a29e;
  outline-offset: 1px;
}
.mm-pw__toggle svg {
  display: block;
}

.mm-domain {
  display: flex;
  align-items: stretch;
}
.mm-domain__input {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.mm-domain__suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.875rem;
  border: 1px solid #d6d3d1;
  border-left: 0;
  border-radius: 0 0.5rem 0.5rem 0;
  background: #f5f5f4;
  font-size: 0.9375rem;
  color: #57534e;
  white-space: nowrap;
}

.mm-summary {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fafaf9;
}
.mm-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-summary__row--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e7e5e4;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
}

.mm-secret {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px dashed #a8a29e;
  border-radius: 0.75rem;
  background: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9375rem;
  color: #1c1917;
  word-break: break-all;
}

.mm-cab__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.mm-cab__hello {
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-cab__tabs {
  display: flex;
  gap: 0.25rem;
  margin: 1.25rem 0 1.75rem;
  border-bottom: 1px solid #e7e5e4;
  overflow-x: auto;
}
.mm-cab__tab {
  padding: 0.625rem 1rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: 0.9375rem;
  color: #78716c;
  white-space: nowrap;
}
.mm-cab__tab:hover {
  color: #1c1917;
}
.mm-cab__tab--active {
  border-bottom-color: #1c1917;
  color: #1c1917;
  font-weight: 500;
}
.mm-cab__logout {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  color: #78716c;
  cursor: pointer;
  text-decoration: underline;
}

.mm-site {
  padding: 1.5rem;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}
.mm-site + .mm-site {
  margin-top: 1.25rem;
}
.mm-site__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.mm-site__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-site__url {
  font-size: 0.9375rem;
  word-break: break-all;
}
.mm-site__meta {
  display: grid;
  gap: 0.25rem 2rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #57534e;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-site__meta {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }
}
.mm-site__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.mm-site__secret {
  margin-top: 1rem;
}

.mm-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.mm-btn--soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.mm-chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #dcfce7;
  color: #166534;
}
.mm-chip--grace {
  background: #fef3c7;
  color: #92400e;
}
.mm-chip--frozen {
  background: #fee2e2;
  color: #991b1b;
}
.mm-chip--paid {
  background: #dcfce7;
  color: #166534;
}
.mm-chip--refunded {
  background: #e7e5e4;
  color: #44403c;
}

.mm-empty {
  padding: 2.5rem 1.5rem;
  border: 1px dashed #d6d3d1;
  border-radius: 1.5rem;
  background: #fafaf9;
  text-align: center;
  color: #57534e;
}

.mm-table-wrap {
  overflow-x: auto;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
}

.mm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.mm-table th, .mm-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e7e5e4;
}
.mm-table th {
  background: #fafaf9;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mm-table tr:last-child td {
  border-bottom: 0;
}
.mm-table td.mm-num, .mm-table th.mm-num {
  text-align: right;
  white-space: nowrap;
}

.mm-loading {
  color: #78716c;
  font-size: 0.9375rem;
}

.mm-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.mm-req {
  color: #b91c1c;
}

.mm-wizard__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}
.mm-wizard__progress {
  margin: 0;
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-wizard__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mm-wizard__saved {
  font-size: 0.8125rem;
  color: #166534;
}
.mm-wizard__form {
  margin-top: 1rem;
  gap: 1rem;
}
.mm-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e7e5e4;
}
.mm-wizard__nav [data-next], .mm-wizard__nav [data-buy-submit] {
  margin-left: auto;
}
.mm-wizard [hidden] {
  display: none !important;
}

.mm-steps {
  display: flex;
  gap: 0.375rem;
  margin: 1rem 0 0;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.mm-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  background: #ffffff;
  color: #57534e;
  font: inherit;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
}
.mm-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f5f5f4;
  color: #57534e;
  font-size: 0.75rem;
  font-weight: 600;
}
.mm-step--done .mm-step__n {
  background: #166534;
  color: #ffffff;
}
.mm-step--on {
  border-color: #1c1917;
  color: #1c1917;
  font-weight: 600;
}
.mm-step--on .mm-step__n {
  background: #1c1917;
  color: #ffffff;
}
.mm-step:focus-visible {
  outline: 2px solid #a8a29e;
  outline-offset: 2px;
}

.mm-panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1c1917;
}
.mm-panel__intro {
  margin: 0 0 1.25rem;
  color: #57534e;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.mm-panel__skip {
  margin: 1rem 0 0;
  padding: 0.875rem 1rem;
  border: 1px dashed #d6d3d1;
  border-radius: 0.75rem;
  color: #57534e;
  font-size: 0.875rem;
}

.mm-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mm-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mm-span2 {
  grid-column: 1/-1;
}

.mm-item {
  margin-bottom: 1rem;
  padding: 1rem 1.125rem 1.25rem;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  background: #fafaf9;
}
.mm-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.mm-form__input[aria-invalid=true], .mm-form__textarea[aria-invalid=true] {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

select.mm-form__input {
  appearance: auto;
}

.mm-image {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.mm-image__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  flex: none;
  border: 1px dashed #d6d3d1;
  border-radius: 0.75rem;
  background: #ffffff;
  overflow: hidden;
}
.mm-image__thumb--on {
  border-style: solid;
}
.mm-image__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mm-image__ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.mm-image__status {
  font-size: 0.8125rem;
  color: #57534e;
}
.mm-image__file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mm-review {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.mm-review li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e7e5e4;
  font-size: 0.9375rem;
  color: #57534e;
}
.mm-review b {
  color: #1c1917;
}

.mm-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
