:root {
  --mx-paper: #f3efe6;
  --mx-ink: #1b1824;
  --mx-accent: #5c6dff;
}

html,
body {
  background: var(--mx-paper) !important;
}

.hero-experience,
.hero,
.site-header,
.footer {
  background-color: transparent;
}

.hero-orbit__item {
  border-radius: 18px !important;
}

.hero__brand,
.hero__headline .hero__brand-text + span,
[class*="hero__brand"] {
  filter: hue-rotate(12deg) saturate(1.05);
}

.mascot-wordmark__mascot > path:first-of-type {
  fill: #8ec8ff !important;
}

.download-chooser,
.download-menu__panel,
.download-os-btn,
.download-option,
.download-os-btn__chevron,
.download-os-btn__req,
.download-option__req,
.cta-link.download-link-with-requirement {
  display: none !important;
}

.mx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

.mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mx-btn:hover {
  transform: translateY(-1px);
}

.mx-btn-chat {
  background: var(--mx-ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(27, 24, 36, 0.18);
}

.mx-btn-chat:hover {
  background: #2a2438;
  color: #fff;
}

.mx-btn-join {
  background: transparent;
  color: var(--mx-ink);
  border: 1.5px solid rgba(27, 24, 36, 0.22);
}

.mx-btn-join:hover {
  background: rgba(27, 24, 36, 0.05);
  color: var(--mx-ink);
}

.header__download.mx-header-chat,
a.header__download {
  gap: 8px;
}

img[src*="minimax-design-logo"],
img[src*="minimax-design-nav-lockup"],
img[src*="minimax-design-wordmark"] {
  filter: hue-rotate(18deg) saturate(1.12);
}

/* Keep the new minimaxi mark visible even before the hydration script runs. */
.mascot-wordmark__mascot {
  display: none !important;
}

.mascot-wordmark::before {
  content: "";
  display: block;
  width: clamp(42px, 11.2%, 78px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: url("/brand/mark.svg") center / contain no-repeat;
}

.hero__wordmark::before {
  width: clamp(46px, 11.5%, 66px);
}

.header__logo-lockup .mascot-wordmark::before {
  width: 24px;
}

.footer__logo-lockup::before,
.skill-footer__logo-lockup::before {
  width: 28px;
}

.brand-mark-local {
  height: 28px;
  width: auto;
  display: block;
}
