:root {
  --mb-black: #1f1f1f;
  --mb-yellow: #ffb600;
  --mb-yellow-2: #ffcc33;
  --mb-text: #f3f5f8;
  --mb-muted: #b8c0ca;
  --mb-outline: rgba(255, 255, 255, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--mb-text);
  background: var(--mb-black);
  font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.mb-topbar {
  background: var(--mb-black);
  border-bottom: 1px solid var(--mb-outline);
}
.mb-topbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.mb-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
}
.mb-topbar__spacer { flex: 1; }
.mb-time {
  color: #e0e6ef;
  background: #2a2a2a;
  border: 1px solid var(--mb-outline);
  padding: 6px 10px;
  border-radius: 999px;
  margin-right: 6px;
}
.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
}
.mb-btn--reg {
  background: var(--mb-yellow);
  color: #000;
  font-weight: 800;
}
.mb-btn--reg:hover { background: var(--mb-yellow-2); }
.mb-btn--login { background: #3a3a3a; }

.mb-header {
  background: #bbb;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.mb-header__row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
}
.mb-logo img {
  height: 22px;
  display: block;
}

.mb-nav { flex: 1; }
.mb-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .2px;
}
.mb-nav a {
  color: #1b1b1b;
  text-decoration: none;
  padding: 10px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mb-nav a:hover { opacity: .85; }

.mb-nav__midgard a {
  background: rgba(0, 0, 0, .08);
  padding: 6px 10px;
  border-radius: 999px;
}
.mb-nav__midgard img {
  height: 18px;
  width: 36px;
  object-fit: cover;
  border-radius: 4px;
}

.mb-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--mb-outline);
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
}
.mb-burger span,
.mb-burger span:before,
.mb-burger span:after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform .25s ease, opacity .2s ease;
}
.mb-burger span:before { position: absolute; transform: translateY(-6px); }
.mb-burger span:after  { position: absolute; transform: translateY(6px); }
.mb-burger.active span { background: transparent; }
.mb-burger.active span:before { transform: translateY(0) rotate(45deg); }
.mb-burger.active span:after  { transform: translateY(0) rotate(-45deg); }

.mb-nav__close { display: none; }
.mb-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 59;
}

main { padding: 24px 0 60px; }
.demo {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
}

.mb-hero {
  background: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 10px;
}
.mb-hero__wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}
.mb-hero__content h1 {
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 40px);
  color: #fff;
}
.mb-hero__content .usd { color: var(--mb-yellow); }
.mb-hero__content p {
  margin: 0 0 18px;
  color: #cfd6e1;
  max-width: 56ch;
}
.mb-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--mb-yellow);
  color: #000;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .15s ease, background .15s ease;
}
.mb-hero__cta:hover { background: var(--mb-yellow-2); transform: translateY(-1px); }

.mb-hero__art {
  position: relative;
  border-radius: 14px;
  background:
    linear-gradient(270deg, rgba(255, 182, 0, .22), rgba(0, 0, 0, 0)),
    radial-gradient(80% 120% at 80% 40%, rgba(255, 182, 0, .25), rgba(0, 0, 0, 0));
  padding: 10px;
}
.mb-hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.mb-hero__art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.mb-steps {
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 10px;
}
.mb-steps__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
  padding: 16px 0 18px;
}
.mb-step {
  position: relative;
  display: block;
  padding: 14px 16px;
  background: #222;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #dbe4ef;
  text-decoration: none;
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .25);
  transition: background .2s ease;
}
.mb-step h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--mb-yellow);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.mb-step p {
  margin: 0;
  color: var(--mb-muted);
  font-size: 13px;
}
.mb-step::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--mb-yellow);
  border-bottom: 2px solid var(--mb-yellow);
  transform: translateY(-50%) rotate(-45deg);
  opacity: .75;
}
.mb-step:hover { background: #272727; }
.mb-step:focus-visible {
  outline: 2px solid var(--mb-yellow);
  outline-offset: 3px;
}

.mb-content {
  --c-head: #fff;
  --c-text: #d7dde7;
  --c-muted: #9aa5b4;
  --c-accent: #ffb600;
  --c-accent-2: #ffcc33;
  --c-line: rgba(255, 255, 255, .12);
  --c-chip: rgba(255, 255, 255, .06);
  color: var(--c-text);
  padding: 28px 0 40px;
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(80% 120% at 85% 0, rgba(255, 182, 0, .08), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, #161616, #141414);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.mb-content .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.mb-content * { box-sizing: border-box; }
.mb-content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--c-head);
  margin: 0 0 .55em;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .2px;
}
.mb-content h1 { font-size: clamp(26px, 3.8vw, 40px); }
.mb-content h2 { font-size: clamp(22px, 3.2vw, 30px); margin-top: 1.2em; }
.mb-content h3 { font-size: clamp(18px, 2.6vw, 24px); margin-top: 1.1em; }
.mb-content h4 { font-size: 18px; }
.mb-content h6 { font-size: 13px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .3px; }

.mb-content p { margin: .85em 0; }
.mb-content a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}
.mb-content a:hover { color: var(--c-accent-2); border-bottom-color: transparent; }

.mb-content strong { font-weight: 800; }
.mb-content em { font-style: italic; }
.mb-content mark {
  background: rgba(255, 182, 0, .25);
  padding: .05em .3em;
  border-radius: .3em;
}
.mb-content small { font-size: .875em; color: var(--c-muted); }
.mb-content sup, .mb-content sub { font-size: .75em; line-height: 0; }

.mb-content ul, .mb-content ol { margin: .6em 0 .9em 1.25em; padding: 0; }
.mb-content li { margin: .35em 0; }
.mb-content ul li::marker { color: var(--c-accent-2); }
.mb-content ol li::marker { color: var(--c-accent); }

.mb-content dl { margin: 1em 0; }
.mb-content dt { font-weight: 800; }
.mb-content dd { margin: 0 0 .6em 1.25em; color: var(--c-muted); }

.mb-content figure { margin: 1em 0; }
.mb-content img,
.mb-content video,
.mb-content iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.mb-content figcaption {
  color: var(--c-muted);
  font-size: .9em;
  margin-top: .4em;
  text-align: center;
}

.mb-content blockquote {
  margin: 1em 0;
  padding: 14px 16px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-chip);
  border-radius: 12px;
  color: #e8edf6;
}

.mb-content pre {
  background: #0e0e0e;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: auto;
}
.mb-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, .08);
  padding: .15em .35em;
  border-radius: .35em;
}
.mb-content pre code { background: transparent; padding: 0; }

.mb-content table {
  display: block;
  width: 100%;
  margin: 1em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #222;

}
.mb-content thead { background: rgba(255, 255, 255, .06); }
.mb-content th,
.mb-content td {
  width: 1%;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  border-right: 1px solid var(--c-line);
  white-space: normal;
}
.mb-content th:last-child,
.mb-content td:last-child { border-right: none; }
.mb-content tbody tr:last-child td { border-bottom: none; }
.mb-content th {
  font-weight: 800;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.mb-content caption {
  caption-side: bottom;
  padding: 8px 0;
  color: var(--c-muted);
  font-size: .9em;
}

.mb-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line), transparent);
  margin: 20px 0;
}
.mb-content kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em;
  padding: .15em .4em;
  border: 1px solid var(--c-line);
  border-bottom-width: 2px;
  background: #101010;
  border-radius: .35em;
  color: #fff;
}

.mbf-grid,
.mbf-partners,
.mbf-bottom {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: var(--mb-black);
}
.mb-footer {
  padding: 18px 0 24px;
  color: #cfd6e1;
}
.mbf-grid {
  display: grid;
  gap: 18px;
  padding: 16px;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
}
.mbf-col h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.mbf-col a {
  display: block;
  color: #cfd6e1;
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
}
.mbf-col a:hover { color: var(--mb-yellow); }

.mbf-apps { display: flex; flex-direction: column; }
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .08);
  margin: 4px 0;
  width: max-content;
}
.app-chip:hover { background: #333; }

.mbf-partners {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}
.partner-card {
  height: 84px;
  border-radius: 10px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.partner-card img {
  max-height: 75%;
  max-width: 80%;
  filter: grayscale(1) brightness(.9);
  opacity: .8;
}
.partner-card.is-wide { grid-column: span 2; background: #141414; }

.mbf-bottom {
  margin-top: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mbf-age span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 900;
  border: 4px solid #e53935;
}
.mbf-aware img { height: 34px; opacity: .8; filter: grayscale(1); }



@media (max-width: 1100px) {
  .mb-nav ul { gap: 12px; }
  .mbf-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}

@media (max-width: 920px) {
  .mb-burger { display: inline-flex; }
  .mb-nav {
    position: fixed;
    top: calc(44px + 52px);
    left: 0;
    bottom: 0;
    width: min(92svw, 360px);
    background: #111;
    color: #fff;
    border-right: 1px solid var(--mb-outline);
    transform: translateX(-110%);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
    z-index: 60;
    padding: 16px 14px;
  }
  .mb-nav[aria-hidden="false"] { transform: translateX(0); }
  .mb-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    text-transform: none;
  }
  .mb-nav a {
    color: var(--mb-text);
    padding: 12px 14px;
    background: #1a1a1a;
    border-radius: 12px;
  }
  .mb-nav__midgard a { background: #232323; }
  .mb-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--mb-outline);
    background: #1f1f1f;
    color: #fff;
    margin-bottom: 10px;
  }
  .mb-scrim.show { opacity: 1; pointer-events: auto; }
}

@media (max-width: 980px) {
  .mb-hero__wrap { grid-template-columns: 1fr; padding: 20px 0; }
  .mb-hero__art { order: -1; }
}

@media (max-width: 900px) {
  .mb-content th,
  .mb-content td { white-space: nowrap; }
}

@media (max-width: 1000px) {
  .mb-steps__row { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 720px) {
  .mbf-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .mbf-partners { grid-template-columns: repeat(2, 1fr); }
  .partner-card.is-wide { grid-column: span 2; }
  .mbf-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 680px) {
  .mb-content { font-size: 15px; padding: 22px 0 30px; }
}

@media (max-width: 540px) {
  .mb-steps__row {
    grid-template-columns: 80% 80%;
    overflow: auto;
    scroll-snap-type: x proximity;
    gap: 10px;
    padding-bottom: 14px;
  }
  .mb-step { scroll-snap-align: center; }
  .mb-hero__cta { width: 100%; }
  .mb-time, .mb-chip { display: none; }
}

@media (max-width: 460px) {
  .mbf-grid { grid-template-columns: 1fr; }
  .app-chip { width: 100%; }
}

