:root {
  --mm-bg: #0c0d11;
  --mm-panel: rgba(20, 22, 30, 0.94);
  --mm-text: #f7f7fb;
  --mm-muted: #9aa3b6;
  --mm-line: rgba(255, 255, 255, 0.12);
  --mm-yellow: #ffd338;
  --mm-violet: #8557f4;
  --mm-teal: #3dd5b0;
  --mm-blue: #2d8df0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--mm-bg);
  color: var(--mm-text);
}

body {
  overflow-x: hidden;
}

body.mm-status-pending .mm-topbar,
body.mm-status-pending main,
body.mm-status-pending .mm-footer {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mm-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--mm-line);
  background: rgba(12, 13, 17, 0.88);
  backdrop-filter: blur(18px);
}

.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 204px;
  max-width: 280px;
  color: var(--mm-text);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mm-brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 211, 56, 0.36);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(133, 87, 244, 0.96), rgba(34, 18, 80, 0.9)), #16151e;
  box-shadow: inset 0 0 0 5px rgba(255, 211, 56, 0.08), 0 14px 34px rgba(133, 87, 244, 0.28);
}

.mm-brand-logo-img {
  display: none;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mm-brand.has-logo .mm-brand-mark { display: none; }
.mm-brand.has-logo .mm-brand-logo-img { display: block; }
.mm-brand-logo-img[hidden] { display: none; }

#siteNameText {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
}

.mm-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--mm-muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mm-nav a:hover,
.mm-nav a.active {
  color: var(--mm-yellow);
}

.mm-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-left: auto;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--mm-violet);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.mm-hero {
  position: relative;
  min-height: 620px;
  padding: 142px 0 74px;
  overflow: hidden;
  border-bottom: 1px solid var(--mm-line);
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.96) 0%, rgba(7, 8, 12, 0.7) 54%, rgba(7, 8, 12, 0.38) 100%),
    var(--mm-bg);
}

.mm-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mm-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.72) 46%, rgba(7, 8, 12, 0.32) 100%),
    linear-gradient(0deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0.08) 58%, rgba(7, 8, 12, 0.44) 100%);
}

.mm-hero-inner,
.mm-section {
  width: min(1248px, calc(100% - 56px));
  margin: 0 auto;
}

.mm-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
}

.mm-hero-content {
  max-width: 720px;
}

.mm-eyebrow,
.mm-section-label {
  margin: 0 0 12px;
  color: var(--mm-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mm-hero h1 {
  margin: 0;
  font-size: clamp(62px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.mm-hero h1 span {
  display: block;
}

.mm-lead {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.5;
}

.mm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--mm-yellow);
  color: #17130a;
  box-shadow: 0 18px 42px rgba(255, 211, 56, 0.2);
  font-size: 15px;
  font-weight: 900;
}

.mm-primary.is-disabled {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.mm-release-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mm-release-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.mm-section {
  padding: 58px 0;
}

.mm-workflow {
  padding-top: 68px;
}

.mm-workflow h2,
.mm-section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.mm-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.mm-feature-card,
.mm-gallery-card {
  min-width: 0;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: var(--mm-panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.mm-feature-card {
  padding: 22px;
}

.mm-feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 141, 240, 0.24);
  border-radius: 8px;
  background: rgba(45, 141, 240, 0.16);
  color: var(--mm-blue);
  font-size: 12px;
  font-weight: 900;
}

.mm-feature-icon-yellow {
  border-color: rgba(255, 211, 56, 0.26);
  background: rgba(255, 211, 56, 0.16);
  color: var(--mm-yellow);
}

.mm-feature-icon-teal {
  border-color: rgba(61, 213, 176, 0.24);
  background: rgba(61, 213, 176, 0.14);
  color: var(--mm-teal);
}

.mm-feature-icon-violet {
  border-color: rgba(133, 87, 244, 0.28);
  background: rgba(133, 87, 244, 0.18);
  color: #b8a2ff;
}

.mm-feature-card h3 {
  margin: 18px 0 0;
  font-size: 18px;
}

.mm-feature-card p,
.mm-gallery-body p {
  color: var(--mm-muted);
  line-height: 1.55;
}

.mm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.mm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mm-gallery-card {
  overflow: hidden;
}

.mm-gallery-media,
.mm-gallery-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #222630;
}

.mm-gallery-media {
  object-fit: cover;
}

.mm-gallery-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
  font-weight: 900;
}

.mm-gallery-body {
  padding: 16px 18px 18px;
}

.mm-gallery-kicker {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 8px;
  border: 1px solid rgba(255, 211, 56, 0.2);
  border-radius: 999px;
  background: rgba(255, 211, 56, 0.08);
  color: var(--mm-yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mm-gallery-body strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.mm-gallery-body p {
  margin: 0;
  font-size: 14px;
}

.mm-footer {
  padding: 30px 24px 42px;
  border-top: 1px solid var(--mm-line);
  color: rgba(255, 255, 255, 0.36);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .mm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .mm-topbar {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 18px;
  }

  .mm-brand {
    min-width: 0;
    max-width: calc(100vw - 140px);
    font-size: 17px;
  }

  .mm-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .mm-nav a {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
  }

  .mm-top-action {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .mm-hero {
    min-height: auto;
    padding: 176px 0 56px;
  }

  .mm-hero-inner,
  .mm-section {
    width: min(100% - 32px, 720px);
  }

  .mm-feature-grid,
  .mm-gallery {
    grid-template-columns: 1fr;
  }

  .mm-hero h1 {
    font-size: 58px;
  }

  .mm-lead {
    font-size: 17px;
  }

  .mm-workflow h2,
  .mm-section-head h2 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .mm-actions {
    display: grid;
  }

  .mm-primary {
    width: 100%;
  }

  .mm-feature-card {
    padding: 22px;
  }
}
