:root {
  --mb-bg: #fff9dc;
  --mb-bg-strong: #fff3c1;
  --mb-surface: rgba(255, 255, 255, 0.94);
  --mb-surface-strong: #ffffff;
  --mb-ink: #2e6574;
  --mb-muted: #5f7880;
  --mb-line: rgba(21, 55, 67, 0.12);
  --mb-teal: #2e6574;
  --mb-blue: #6b93ca;
  --mb-lime: #d8fa4a;
  --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-article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(21, 55, 67, 0.12);
  background: linear-gradient(135deg, #2e6574 0%, #367585 66%, #4d82cb 100%);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(33, 95, 108, 0.18);
}

.mb-article-cta__eyebrow {
  margin: 0 0 8px;
  color: var(--mb-lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-article-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.mb-article-cta p {
  max-width: 62ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.mb-article-cta__button {
  white-space: nowrap;
}

.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;
  }
}

/* Keep the managed blog visually close to the original Squarespace blog. */
html,
body {
  background: var(--mb-bg);
  color: var(--mb-ink);
}

body.mb-page {
  font-family: Poppins, system-ui, sans-serif;
}

.mb-shell {
  width: min(100% - 56px, 1280px);
}

.mb-page--article .mb-shell {
  width: min(100% - 56px, 1060px);
}

.mb-header {
  position: static;
  background: var(--mb-bg);
  border-bottom: 1px solid rgba(21, 55, 67, 0.08);
  backdrop-filter: none;
}

.mb-header__inner {
  min-height: 92px;
}

.mb-brand {
  color: var(--mb-ink);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}

.mb-nav a,
.mb-breadcrumbs a,
.mb-footer__links a {
  color: var(--mb-ink);
}

.mb-button {
  border-radius: 8px;
  min-height: 48px;
}

.mb-main {
  padding: 42px 0 76px;
}

.mb-breadcrumbs {
  margin-bottom: 34px;
}

.mb-hero,
.mb-hero--index {
  display: block;
  margin: 0 auto 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.mb-hero__copy {
  max-width: 850px;
  margin: 0 auto;
}

.mb-highlight {
  color: var(--mb-blue);
}

.mb-hero__panel {
  display: none;
}

.mb-eyebrow,
.mb-footer__eyebrow,
.mb-panel__title,
.mb-card__meta {
  letter-spacing: 0;
  text-transform: none;
}

.mb-hero h1,
.mb-related__header h2 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.mb-lead,
.mb-footer__copy,
.mb-card__excerpt,
.mb-faq__item p,
.mb-hero__note {
  color: #587380;
  font-size: 1rem;
  line-height: 1.75;
}

.mb-lead {
  margin: 20px auto 0;
}

.mb-meta-row {
  justify-content: center;
  margin-top: 0;
}

.mb-tags {
  justify-content: center;
}

.mb-tags--hero {
  margin-top: 20px;
}

.mb-tag,
.mb-link-chip {
  border-radius: 8px;
  background: #f3f8f9;
  border-color: rgba(21, 55, 67, 0.12);
}

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

.mb-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mb-card__image-link {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eef6f7;
}

.mb-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb-card__body {
  gap: 10px;
  padding: 20px 0 0;
}

.mb-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--mb-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.mb-card__title {
  font-size: 1.7rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.mb-card__title a {
  color: var(--mb-ink);
}

.mb-card__cta {
  margin-top: 4px;
  color: var(--mb-blue);
  font-weight: 700;
}

.mb-layout {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 42px auto 0;
}

.mb-article-image {
  width: min(100%, 980px);
  margin: 0 auto 44px;
}

.mb-article-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eef6f7;
}

.mb-article__body,
.mb-faq {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mb-article__body h2,
.mb-article__body h3,
.mb-faq h2 {
  color: var(--mb-ink);
  line-height: 1.18;
  letter-spacing: 0;
}

.mb-article__body h2,
.mb-faq h2 {
  font-size: 1.8rem;
}

.mb-article__body h3 {
  font-size: 1.35rem;
}

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

.mb-aside {
  position: static;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.mb-aside__card,
.mb-faq__item {
  border-radius: 8px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.75);
}

.mb-related {
  max-width: 1180px;
  margin: 70px auto 0;
}

.mb-footer {
  background: rgba(255, 255, 255, 0.5);
}

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

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

  .mb-header__inner {
    min-height: 84px;
  }

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

  .mb-hero h1,
  .mb-related__header h2 {
    font-size: 2.2rem;
  }

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

  .mb-article-image {
    margin-bottom: 32px;
  }

  .mb-article-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .mb-article-cta__button {
    justify-self: start;
    white-space: normal;
  }
}
