:root {
  --mb-bg: #eef6f7;
  --mb-bg-strong: #dceef1;
  --mb-surface: rgba(255, 255, 255, 0.94);
  --mb-surface-strong: #ffffff;
  --mb-ink: #153743;
  --mb-muted: #587380;
  --mb-line: rgba(21, 55, 67, 0.12);
  --mb-teal: #2c6b76;
  --mb-blue: #497ec4;
  --mb-lime: #d9ff57;
  --mb-shadow: 0 18px 48px rgba(33, 95, 108, 0.12);
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 255, 87, 0.18), transparent 32%),
    linear-gradient(180deg, #f7fbfc 0%, var(--mb-bg) 44%, #f8fbfd 100%);
  color: var(--mb-ink);
  font-family: Poppins, system-ui, sans-serif;
}

body.mb-page {
  min-height: 100vh;
}

.mb-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.mb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 252, 0.84);
  border-bottom: 1px solid rgba(21, 55, 67, 0.08);
}

.mb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.mb-brand {
  color: var(--mb-ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mb-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.mb-nav a,
.mb-breadcrumbs a,
.mb-footer__links a {
  color: var(--mb-muted);
  text-decoration: none;
}

.mb-nav a:hover,
.mb-breadcrumbs a:hover,
.mb-card__title a:hover,
.mb-card__cta:hover,
.mb-footer__links a:hover,
.mb-link-chip:hover {
  color: var(--mb-blue);
}

.mb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.mb-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(73, 126, 196, 0.18);
}

.mb-button--primary {
  background: var(--mb-lime);
  color: #18363f;
}

.mb-main {
  padding: 28px 0 72px;
}

.mb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--mb-muted);
  font-size: 0.95rem;
}

.mb-breadcrumbs__separator {
  color: rgba(88, 115, 128, 0.55);
}

.mb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--mb-line);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 247, 248, 0.92) 68%, rgba(217, 255, 87, 0.18) 100%);
  box-shadow: var(--mb-shadow);
}

.mb-hero--index {
  margin-bottom: 30px;
}

.mb-eyebrow,
.mb-footer__eyebrow,
.mb-panel__title,
.mb-card__meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-eyebrow,
.mb-footer__eyebrow,
.mb-panel__title {
  color: var(--mb-teal);
  font-weight: 700;
}

.mb-hero h1,
.mb-related__header h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.mb-lead,
.mb-footer__copy,
.mb-card__excerpt,
.mb-faq__item p,
.mb-hero__note {
  color: var(--mb-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.mb-lead {
  max-width: 64ch;
  margin: 18px 0 0;
}

.mb-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--mb-muted);
  font-size: 0.95rem;
}

.mb-hero__panel,
.mb-aside__card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(21, 55, 67, 0.09);
  background: rgba(255, 255, 255, 0.86);
}

.mb-stat {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.mb-stat__label {
  margin: 0;
  color: var(--mb-muted);
}

.mb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

.mb-article,
.mb-grid-section,
.mb-related {
  min-width: 0;
}

.mb-article__body,
.mb-faq {
  padding: 30px 32px;
  border-radius: 30px;
  border: 1px solid var(--mb-line);
  background: var(--mb-surface);
  box-shadow: var(--mb-shadow);
}

.mb-faq {
  margin-top: 24px;
}

.mb-article__body > :first-child,
.mb-faq > :first-child {
  margin-top: 0;
}

.mb-article__body > :last-child {
  margin-bottom: 0;
}

.mb-article__body h2,
.mb-article__body h3,
.mb-faq h2 {
  margin: 28px 0 12px;
  color: var(--mb-ink);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mb-article__body h2,
.mb-faq h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.mb-article__body h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.mb-article__body p,
.mb-article__body li {
  color: #36515b;
  font-size: 1.02rem;
  line-height: 1.85;
}

.mb-article__body ul,
.mb-checklist,
.mb-takeaways {
  display: grid;
  gap: 10px;
  padding-left: 1.2rem;
}

.mb-article__body a,
.mb-card__title a,
.mb-card__cta,
.mb-link-chip,
.mb-pagination__link {
  color: var(--mb-blue);
}

.mb-article__body a {
  font-weight: 700;
}

.mb-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 102px;
}

.mb-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mb-link-chip,
.mb-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(73, 126, 196, 0.08);
  border: 1px solid rgba(73, 126, 196, 0.14);
  color: var(--mb-blue);
  font-size: 0.9rem;
  text-decoration: none;
}

.mb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mb-tags--compact {
  margin-top: 0;
}

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

.mb-grid--compact {
  margin-top: 18px;
}

.mb-card {
  display: block;
  border-radius: 28px;
  border: 1px solid var(--mb-line);
  background: var(--mb-surface-strong);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(28, 79, 90, 0.08);
}

.mb-card__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.mb-card__meta {
  color: var(--mb-teal);
  font-weight: 700;
}

.mb-card__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mb-card__title a,
.mb-card__cta,
.mb-pagination__link {
  text-decoration: none;
}

.mb-card__cta {
  font-weight: 700;
}

.mb-faq__items {
  display: grid;
  gap: 12px;
}

.mb-faq__item {
  padding: 16px 18px;
  border: 1px solid rgba(21, 55, 67, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.mb-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mb-faq__item summary::-webkit-details-marker {
  display: none;
}

.mb-faq__item[open] {
  border-color: rgba(73, 126, 196, 0.24);
}

.mb-related {
  margin-top: 34px;
}

.mb-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.mb-pagination__status {
  color: var(--mb-muted);
  text-align: center;
}

.mb-pagination__link:first-child {
  justify-self: start;
}

.mb-pagination__link:last-child {
  justify-self: end;
}

.mb-pagination__ghost {
  min-height: 1px;
}

.mb-footer {
  border-top: 1px solid rgba(21, 55, 67, 0.08);
  background: rgba(248, 251, 253, 0.88);
}

.mb-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 24px;
  padding: 32px 0 48px;
}

.mb-footer__copy {
  max-width: 52ch;
  margin: 10px 0 0;
}

.mb-footer__links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

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

  .mb-layout,
  .mb-hero,
  .mb-footer__inner {
    grid-template-columns: 1fr;
  }

  .mb-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .mb-shell {
    width: min(100% - 20px, 1180px);
  }

  .mb-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .mb-nav {
    gap: 10px 14px;
  }

  .mb-main {
    padding-top: 22px;
  }

  .mb-grid {
    grid-template-columns: 1fr;
  }

  .mb-hero,
  .mb-article__body,
  .mb-faq,
  .mb-aside__card {
    padding: 22px;
    border-radius: 24px;
  }

  .mb-pagination {
    grid-template-columns: 1fr;
  }

  .mb-pagination__link,
  .mb-pagination__status {
    justify-self: start;
  }
}
