:root {
  --mm-ink: #0c0a10;
  --mm-ink-2: #141119;
  --mm-panel: #1a1622;
  --mm-panel-2: #231e2e;
  --mm-line: #2f2840;
  --mm-line-2: #433a58;
  --mm-text: #f2eff7;
  --mm-muted: #aaa3bb;
  --mm-lime: #c8ff2e;
  --mm-lime-dim: #9fd11a;
  --mm-violet: #8a5cff;
  --mm-violet-soft: #b39bff;
  --mm-danger: #ff6b7a;

  --mm-f-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --mm-f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mm-f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --mm-gutter: 16px;
  --mm-max: 1200px;
  --mm-r-lg: 16px;
  --mm-r-md: 10px;
  --mm-r-sm: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background-color: #08070b; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mm-ink);
  color: var(--mm-text);
  font-family: var(--mm-f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;

  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--mm-lime); text-underline-offset: 3px; }
a:hover { color: #e2ff8f; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--mm-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.mm-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mm-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mm-lime); color: var(--mm-ink); padding: .6rem 1rem; border-radius: var(--mm-r-sm);
  font-weight: 700; text-decoration: none;
}
.mm-skip:focus { top: 12px; }

.mm-wrap { width: 100%; max-width: var(--mm-max); margin: 0 auto; padding-inline: var(--mm-gutter); }
@media (min-width: 640px) { :root { --mm-gutter: 24px; } }

h1, h2, .mm-display {
  font-family: var(--mm-f-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 7vw, 4rem); }
h3 { font-family: var(--mm-f-body); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 0 0 .4em; }
.mm-lead { font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--mm-muted); max-width: 38em; }
.mm-muted { color: var(--mm-muted); }
.mm-mono { font-family: var(--mm-f-mono); font-size: .8125rem; letter-spacing: 0; }
.mm-tc { font-family: var(--mm-f-mono); font-size: .75rem; color: var(--mm-muted); }
p > span.mm-tc { white-space: nowrap; }

.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--mm-f-body);
  padding: .95rem 1.35rem;
  border-radius: var(--mm-r-md);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  min-height: 48px;
}
.mm-btn:active { transform: translateY(1px); }
.mm-btn-lime { background: var(--mm-lime); color: var(--mm-ink); }
.mm-btn-lime:hover { background: #dbff6e; color: var(--mm-ink); }
.mm-btn-lime:focus-visible { outline-color: var(--mm-violet-soft); }
.mm-btn-line { border-color: var(--mm-line-2); color: var(--mm-text); background: transparent; }
.mm-btn-line:hover { border-color: var(--mm-violet-soft); color: var(--mm-text); }
.mm-btn-ink { background: var(--mm-ink); color: var(--mm-lime); }
.mm-btn-ink:hover { background: #241f2e; color: var(--mm-lime); }
.mm-btn-ink:focus-visible { outline-color: var(--mm-ink); }
.mm-btn-sm { padding: .55rem .9rem; min-height: 38px; font-size: .9rem; }
.mm-btn[disabled] { opacity: .45; cursor: not-allowed; }
.mm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.mm-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 16, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mm-line);
}
.mm-bar-in {
  max-width: 1360px; margin: 0 auto; padding: 0 var(--mm-gutter);
  height: 56px; display: flex; align-items: center; gap: 12px;
}
.mm-brand {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--mm-text); text-decoration: none;
  font-family: var(--mm-f-display); font-size: 1.4rem; line-height: 1; letter-spacing: .01em;
}
.mm-brand img { width: 28px; height: 28px; transform: rotate(-6deg); }
.mm-brand:hover { color: var(--mm-text); }
.mm-cmdk {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 1 300px; min-width: 0;
  height: 38px; padding: 0 8px 0 12px; margin-left: 8px;
  background: var(--mm-panel); color: var(--mm-muted);
  border: 1px solid var(--mm-line-2); border-radius: 9px; cursor: pointer;
  font: 500 .9rem var(--mm-f-body); text-align: left;
}
.mm-cmdk:hover { border-color: var(--mm-violet-soft); color: var(--mm-text); }
.mm-cmdk svg { flex: none; }
.mm-cmdk-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-cmdk-key {
  font: 600 .72rem/1 var(--mm-f-mono); color: var(--mm-muted);
  padding: 5px 6px; border-radius: 5px; border: 1px solid var(--mm-line-2); background: var(--mm-ink);
}
.mm-tabs { margin-left: auto; }
.mm-tabs ul {
  list-style: none; margin: 0; padding: 3px; display: flex; gap: 2px;
  border: 1px solid var(--mm-line); border-radius: 10px; background: var(--mm-ink-2);
}
.mm-tabs a {
  display: block; padding: 6px 11px; border-radius: 7px;
  font: 500 .8rem/1.4 var(--mm-f-mono); color: var(--mm-muted); text-decoration: none;
}
.mm-tabs a:hover { color: var(--mm-text); background: var(--mm-panel); }
.mm-tabs a[aria-current="page"] { color: var(--mm-ink); background: var(--mm-text); }
.mm-tabs .mm-tabs-cta { display: none; }
.mm-bar-cta { flex: none; }
.mm-bar-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--mm-ink), 0 0 0 4px var(--mm-lime); }
.mm-nav-toggle {
  display: none; flex: none;
  background: transparent; border: 1px solid var(--mm-line-2); color: var(--mm-text);
  border-radius: 8px; padding: 0 .75rem; font: 600 .82rem var(--mm-f-mono); cursor: pointer; height: 38px;
}
@media (max-width: 1099px) {
  .mm-nav-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .mm-bar-cta { display: none; }
  .mm-tabs {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--mm-ink-2); border-bottom: 1px solid var(--mm-line);
    display: none; padding: 10px var(--mm-gutter) 16px;
  }
  .mm-tabs.mm-open { display: block; }
  .mm-tabs ul { flex-direction: column; border: 0; background: none; padding: 0; gap: 2px; }
  .mm-tabs a { padding: .8rem .7rem; font-size: .95rem; }
  .mm-tabs .mm-tabs-cta { display: block; margin-top: 8px; }
  .mm-tabs .mm-tabs-cta a { background: var(--mm-lime); color: var(--mm-ink); text-align: center; font-weight: 700; }
}
@media (max-width: 599px) {
  .mm-cmdk { flex: 0 0 auto; width: 38px; padding: 0; justify-content: center; margin-left: auto; }
  .mm-cmdk-label, .mm-cmdk-key { display: none; }
  .mm-nav-toggle { margin-left: 0; }
}

.mm-palette {
  width: min(640px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 80px));
  margin: 72px auto auto; padding: 0; border: 1px solid var(--mm-line-2); border-radius: 14px;
  background: var(--mm-ink-2); color: var(--mm-text); overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(138, 92, 255, .12);
}
.mm-palette[open] { display: flex; flex-direction: column; }
.mm-palette::backdrop { background: rgba(8, 6, 12, .7); backdrop-filter: blur(3px); }
.mm-pal-head { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--mm-line); color: var(--mm-muted); }
.mm-pal-input {
  flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; color: var(--mm-text);
  font: 500 1.1rem var(--mm-f-body); outline: none;
}
.mm-pal-input::placeholder { color: #7d7590; }
.mm-pal-close {
  font: 600 .72rem var(--mm-f-mono); color: var(--mm-muted); background: var(--mm-panel);
  border: 1px solid var(--mm-line-2); border-radius: 6px; padding: 5px 8px; cursor: pointer;
}
.mm-pal-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.mm-pal-list li {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
}
.mm-pal-list li[aria-selected="true"] { background: var(--mm-panel-2); box-shadow: inset 2px 0 0 var(--mm-lime); }
.mm-pal-list li:hover { background: var(--mm-panel); }
.mm-pal-type { font: 500 .7rem var(--mm-f-mono); color: var(--mm-violet-soft); }
.mm-pal-label { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-pal-meta { font: .72rem var(--mm-f-mono); color: var(--mm-muted); white-space: nowrap; }
.mm-pal-empty { margin: 0; padding: 18px 16px; color: var(--mm-muted); }
.mm-pal-foot {
  margin: 0; display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--mm-line);
  font: .72rem var(--mm-f-mono); color: var(--mm-muted);
}
.mm-pal-foot kbd { min-width: 22px; height: 22px; font-size: .68rem; padding: 0 5px; border-bottom-width: 2px; margin-right: 3px; }
@media (max-width: 520px) { .mm-pal-list li { grid-template-columns: 1fr auto; } .mm-pal-type { display: none; } .mm-pal-foot { display: none; } }

main { display: block; flex: 1 0 auto; }
.mm-term { margin-top: auto; flex: none; }

.mm-is-docs main { display: flex; flex-direction: column; }
.mm-is-docs .mm-docs { flex: 1 0 auto; width: 100%; }
.mm-sec { padding-block: clamp(56px, 9vw, 112px); }
.mm-sec + .mm-sec { border-top: 1px solid var(--mm-line); }
.mm-sec-head { max-width: 46rem; margin-bottom: clamp(28px, 5vw, 48px); }
.mm-sec-head p { color: var(--mm-muted); font-size: 1.125rem; margin: 0; }
.mm-sec-head.mm-split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.mm-sec-head.mm-split > div { max-width: 40rem; }

.mm-page-head { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--mm-line); }
.mm-page-head h1 { font-size: clamp(2.8rem, 9vw, 6rem); max-width: 18ch; }
.mm-page-head .mm-lead { margin: 0; }
.mm-crumb { font: .78rem var(--mm-f-mono); color: var(--mm-muted); margin-bottom: 18px; }
.mm-crumb a { color: var(--mm-muted); }

.mm-prose { max-width: 44rem; }
.mm-prose h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); margin-top: 1.6em; }
.mm-prose h2:first-child { margin-top: 0; }
.mm-prose h3 { margin-top: 1.4em; }
.mm-prose p, .mm-prose li { color: #d6d1e0; }
.mm-prose li { margin-bottom: .4em; }
.mm-prose .mm-updated { font: .8rem var(--mm-f-mono); color: var(--mm-muted); }
.mm-legal-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .mm-legal-layout { grid-template-columns: 220px 1fr; gap: 64px; } }
.mm-toc { font-size: .95rem; }
.mm-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mm-toc a { color: var(--mm-muted); text-decoration: none; }
.mm-toc a:hover { color: var(--mm-lime); }
@media (min-width: 960px) { .mm-toc nav { position: sticky; top: 96px; } }

.mm-field { display: grid; gap: 6px; margin-bottom: 16px; }
.mm-field label { font-weight: 600; font-size: .98rem; }
.mm-field .mm-hint { font: .75rem var(--mm-f-mono); color: var(--mm-muted); }
.mm-input, select.mm-input, textarea.mm-input {
  width: 100%; font: 400 1.05rem var(--mm-f-body); color: var(--mm-text);
  background: var(--mm-ink); border: 1.5px solid var(--mm-line-2); border-radius: var(--mm-r-md);
  padding: .8rem .9rem; min-height: 50px;
}
textarea.mm-input { min-height: 150px; resize: vertical; }
.mm-input::placeholder { color: #7d7590; }
.mm-input:hover { border-color: #5a4f74; }
.mm-input:focus { outline: none; border-color: var(--mm-lime); box-shadow: 0 0 0 3px rgba(200, 255, 46, .25); }
.mm-input[aria-invalid="true"] { border-color: var(--mm-danger); }
.mm-err { color: var(--mm-danger); font-size: .92rem; min-height: 1.3em; margin: 0; }
.mm-form-ok {
  border: 1px solid var(--mm-lime); background: rgba(200, 255, 46, .07); border-radius: var(--mm-r-md);
  padding: 16px 18px; margin-top: 8px;
}
.mm-form-ok h3 { color: var(--mm-lime); }
.mm-form-ok p { margin: 0; color: var(--mm-text); }

.mm-term { border-top: 1px solid var(--mm-line); background: #08070b; padding-block: 18px 22px; font: .8rem/1.6 var(--mm-f-mono); color: var(--mm-muted); }
.mm-term .mm-wrap { max-width: 1360px; display: grid; gap: 8px; }
.mm-term-line { margin: 0; }
.mm-term-prompt { color: var(--mm-lime); }
.mm-term-cmd { color: var(--mm-text); }
.mm-term-out { color: var(--mm-muted); }
.mm-term a { color: var(--mm-text); text-decoration: underline; text-decoration-color: var(--mm-line-2); }
.mm-term a:hover { color: var(--mm-lime); text-decoration-color: currentColor; }
.mm-term-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.mm-term-meta p { margin: 0; }
.mm-term-meta .mm-sep { color: var(--mm-line-2); margin: 0 4px; }
.mm-term-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }

.mm-btn.mm-is-loading { pointer-events: none; opacity: .85; }
.mm-btn.mm-is-loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mm-btn.mm-is-loading::before { animation-duration: 2s; } }

.mm-toasts {
  position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px)); display: grid; gap: 10px; pointer-events: none;
}
.mm-toast {
  pointer-events: auto; display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: start;
  background: var(--mm-text); color: var(--mm-ink); border-radius: 12px; padding: 14px 12px 14px 16px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  font-size: .98rem; line-height: 1.4;
}
.mm-toast::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--mm-lime-dim); margin-top: 5px; }
.mm-toast.mm-bad::before { background: #d63649; }
.mm-toast strong { display: block; }
.mm-toast button {
  background: none; border: 0; cursor: pointer; color: var(--mm-ink); font: 600 1.2rem/1 var(--mm-f-mono);
  width: 32px; height: 32px; border-radius: 6px; margin: -6px -2px 0 0;
}
.mm-toast button:hover { background: rgba(12, 10, 16, .08); }
.mm-toast button:focus-visible { outline-color: var(--mm-violet); }
@media (prefers-reduced-motion: no-preference) {
  .mm-toast { animation: toast-in .25s ease-out; }
  @keyframes toast-in { from { transform: translateY(12px); } to { transform: none; } }
}
[tabindex="-1"]:focus:not(:focus-visible), [tabindex="-1"]:focus { outline: none; }

html,
body {
  overscroll-behavior-y: none;
}
