:root {
  --mb-container: 1120px;
  --mb-space-xs: 0.5rem;
  --mb-space-sm: 0.75rem;
  --mb-space-md: 1rem;
  --mb-space-lg: 1.25rem;
  --mb-space-xl: 1.75rem;
  --mb-space-2xl: 2.5rem;
  --mb-gap-lg: clamp(1rem, 2vw, 1.5rem);
  --mb-gap-xl: clamp(1.25rem, 2.8vw, 2rem);
  --mb-section-gap: clamp(2rem, 5vw, 4.5rem);
  --mb-radius-sm: 14px;
  --mb-radius-md: 18px;
  --mb-radius-lg: 22px;
  --mb-radius-xl: 28px;
  --mb-radius-pill: 999px;
  --mb-bg: #07111c;
  --mb-bg-2: #0a1624;
  --mb-bg-3: #0d1d2f;
  --mb-surface: rgba(14, 28, 44, 0.88);
  --mb-surface-2: rgba(18, 37, 58, 0.9);
  --mb-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  --mb-border: rgba(160, 192, 224, 0.16);
  --mb-border-strong: rgba(83, 169, 255, 0.24);
  --mb-text: #e8f1fb;
  --mb-muted: #9caec4;
  --mb-heading: #f7fbff;
  --mb-accent: #23d6c3;
  --mb-accent-2: #57a9ff;
  --mb-accent-soft: rgba(35, 214, 195, 0.12);
  --mb-accent-soft-2: rgba(87, 169, 255, 0.12);
  --mb-accent-ink: #04131c;
  --mb-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --mb-glow: 0 0 0 1px rgba(35, 214, 195, 0.14), 0 20px 60px rgba(0, 0, 0, 0.28), 0 0 28px rgba(35, 214, 195, 0.08);
  --mb-font: "Tajawal", "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* UI shell */

.mb-topbar,
.mb-site-header,
.mb-page-strip,
.mb-site-footer {
  direction: rtl;
  text-align: right;
  font-family: var(--mb-font);
  color: var(--mb-text);
}

.mb-topbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, #07111c, #0a1522);
  border: 1px solid var(--mb-border);
  border-radius: 0 0 var(--mb-radius-lg) var(--mb-radius-lg);
}

.mb-topbar__inner,
.mb-site-header__inner,
.mb-page-strip__inner,
.mb-site-footer__inner {
  width: min(calc(100% - 2rem), var(--mb-container));
  margin-inline: auto;
  min-width: 0;
}

.mb-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mb-gap-lg);
  padding-block: 0.65rem;
}

.mb-site-header {
  position: relative;
  z-index: 3;
  padding-block: 1rem;
}

.mb-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mb-gap-lg);
  min-width: 0;
}

.mb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
  color: var(--mb-heading);
  text-decoration: none;
  font-weight: 700;
}

.mb-brand__logo {
  inline-size: 2.6rem;
  block-size: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mb-accent), var(--mb-accent-2));
  color: var(--mb-accent-ink);
  box-shadow: 0 10px 26px rgba(35, 214, 195, 0.24);
  flex: 0 0 auto;
}

.mb-nav,
.mb-footer-nav {
  display: block;
  max-width: 100%;
  min-width: 0;
  padding: 0.4rem;
  border-radius: var(--mb-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
}

.mb-nav__list,
.mb-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.mb-nav__link,
.mb-footer-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--mb-radius-pill);
  text-decoration: none;
  color: var(--mb-heading);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mb-nav__link:hover,
.mb-nav__link:focus-visible,
.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  background: rgba(87, 169, 255, 0.1);
  border-color: rgba(87, 169, 255, 0.22);
  color: var(--mb-heading);
  outline: none;
}

.mb-page-strip {
  margin-block: 0 1.25rem;
}

.mb-page-strip__inner {
  padding: 1rem 1.25rem;
  border-radius: var(--mb-radius-lg);
  background:
    linear-gradient(135deg, rgba(35, 214, 195, 0.08), rgba(87, 169, 255, 0.06) 60%, rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #091524, #0b1624);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
}

.mb-site-footer {
  margin-block-start: 2rem;
  padding-block: 1.25rem 2rem;
}

.mb-site-footer__inner {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--mb-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, #08111c, #091423);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
}

/* Root article */

.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(35, 214, 195, 0.11), transparent 58%),
    radial-gradient(800px 420px at 0% 18%, rgba(87, 169, 255, 0.1), transparent 56%),
    linear-gradient(180deg, #07111c 0%, #091423 42%, #07101a 100%);
  color: var(--mb-text);
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
  font-family: var(--mb-font);
  line-height: 1.8;
  border: 1px solid rgba(160, 192, 224, 0.12);
  border-radius: clamp(20px, 3vw, 32px);
  box-shadow: var(--mb-shadow);
  isolation: isolate;
  overflow: visible;
}

.mb-article[dir="ltr"],
.mbpk-article[dir="ltr"],
[dir="ltr"] .mb-article,
[dir="ltr"] .mbpk-article,
[dir="ltr"] .mbpk-page .mb-article {
  direction: ltr;
  text-align: left;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) *,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) *::before,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) *::after {
  box-sizing: border-box;
}

.mb-article__inner,
.mbpk-article__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  min-width: 0;
}

.mb-article > * + *,
.mbpk-article > * + *,
.mbpk-page .mb-article > * + *,
.mb-article__inner > * + *,
.mbpk-article__inner > * + * {
  margin-block-start: var(--mb-section-gap);
}

/* Generic content */

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) :where(img, svg, video, iframe, canvas) {
  max-width: 100%;
  display: block;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) img {
  height: auto;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) iframe,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) video {
  width: 100%;
  border: 0;
  border-radius: var(--mb-radius-lg);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) :where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  margin-block-end: 0.55em;
  color: var(--mb-heading);
  font-weight: 700;
  line-height: 1.18;
  max-width: 100%;
  text-wrap: balance;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h1 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h2 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h4 {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h5,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) h6 {
  font-size: 1rem;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) :where(p, ul, ol, dl, blockquote, figure, table, pre) {
  margin: 0 0 1rem;
  max-width: 100%;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) p {
  color: var(--mb-text);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) strong,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) b {
  color: var(--mb-heading);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) small,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-muted {
  color: var(--mb-muted);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn) {
  color: #8fd8ff;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):hover,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):focus-visible {
  color: #c7ecff;
  outline: none;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) mark {
  background: rgba(35, 214, 195, 0.18);
  color: var(--mb-heading);
  padding: 0.1em 0.35em;
  border-radius: 0.35em;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) figcaption {
  margin-block-start: 0.65rem;
  color: var(--mb-muted);
  font-size: 0.94rem;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) blockquote {
  padding: 1rem 1.1rem;
  border-inline-start: 3px solid rgba(35, 214, 195, 0.45);
  border-radius: 0 var(--mb-radius-md) var(--mb-radius-md) 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--mb-text);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) hr,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(87, 169, 255, 0.5), transparent);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) pre {
  max-width: 100%;
  overflow: auto;
  padding: 1rem;
  border-radius: var(--mb-radius-md);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--mb-border);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) code {
  overflow-wrap: anywhere;
}

/* Width behavior for text blocks */

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-copy,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__copy,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__copy,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__copy,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__body {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  min-width: 0;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-copy :where(p, ul, ol, dl, blockquote),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__copy :where(p, ul, ol, dl, blockquote),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__copy :where(p, ul, ol, dl, blockquote),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__copy :where(p, ul, ol, dl, blockquote),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__body :where(p, ul, ol, dl, blockquote),
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ul,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ol {
  max-width: 100%;
  margin-inline: 0;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-measure {
  max-width: min(72ch, 100%);
  margin-inline: auto;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-measure > :last-child,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-copy > :last-child,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__copy > :last-child,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__copy > :last-child,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__copy > :last-child,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__body > :last-child {
  margin-block-end: 0;
}

/* Shared section widths */

.mb-hero,
.mb-row,
.mb-cta,
.mb-grid,
.mb-slot-grid,
.mb-faq,
.mb-table-wrap,
.mb-section {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  min-width: 0;
}

/* Hero */

.mb-hero {
  display: flex;
  flex-direction: column;
  gap: var(--mb-gap-lg);
  align-items: stretch;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--mb-radius-xl);
  background:
    radial-gradient(1100px 500px at 100% 0%, rgba(35, 214, 195, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(87, 169, 255, 0.08), rgba(255, 255, 255, 0.025) 55%, rgba(35, 214, 195, 0.05)),
    linear-gradient(180deg, #091524, #0b1624);
  border: 1px solid var(--mb-border-strong);
  box-shadow: var(--mb-glow);
  overflow: visible;
}

.mb-hero > * {
  min-width: 0;
  max-width: 100%;
}

.mb-hero__media {
  order: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(87, 169, 255, 0.18);
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(35, 214, 195, 0.08), transparent 70%),
    linear-gradient(180deg, #0c1827, #08111d);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 18px rgba(35, 214, 195, 0.08);
}

.mb-hero__media > a,
.mb-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mb-hero__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.mb-hero__badge {
  order: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: var(--mb-radius-pill);
  background: rgba(87, 169, 255, 0.12);
  border: 1px solid rgba(87, 169, 255, 0.26);
  color: #dbe9ff;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
}

.mb-hero > h1,
.mb-hero > .mb-hero__title {
  order: 3;
}

.mb-hero__copy {
  order: 4;
  color: var(--mb-text);
}

.mb-hero__actions {
  order: 5;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Rows */

.mb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "media";
  gap: var(--mb-gap-xl);
  align-items: start;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--mb-radius-xl);
  background: var(--mb-card-bg);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
  overflow: visible;
}

.mb-row--reverse {
  grid-template-areas:
    "media"
    "copy";
}

.mb-row--stack,
.mb-row--long {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "media";
}

.mb-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  padding-block-start: 0;
  overflow: visible;
}


.mb-media {
  grid-area: media;
  display: block;
  align-self: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-block-start: 0;
  overflow: visible;
}

.mb-row > *,
.mb-cta > *,
.mb-grid > *,
.mb-slot-grid > *,
.mb-card > *,
.mb-hero > *,
.mb-hero__actions > *,
.mb-cta__actions > *,
.mb-card__actions > * {
  min-width: 0;
  max-width: 100%;
}

/* Media framing */

.mb-media,
.mb-card__media {
  border-radius: var(--mb-radius-lg);
}

.mb-media > a,
.mb-card__media > a,
.mb-media picture,
.mb-card__media picture {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mb-media img,
.mb-card__media img {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(35, 214, 195, 0.08), transparent 75%),
    linear-gradient(180deg, #0d1826, #0a131f);
  border: 1px solid rgba(87, 169, 255, 0.14);
  border-radius: inherit;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 16px rgba(35, 214, 195, 0.07);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.mb-row--stack > .mb-media,
.mb-row--long > .mb-media {
  width: 100%;
  max-width: 100%;
}

/* CTA */

.mb-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "actions";
  gap: var(--mb-gap-lg);
  align-items: start;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--mb-radius-xl);
  background:
    linear-gradient(135deg, rgba(35, 214, 195, 0.12), rgba(87, 169, 255, 0.08) 60%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, #091524, #0b1624);
  border: 1px solid rgba(87, 169, 255, 0.2);
  box-shadow: var(--mb-glow);
  overflow: visible;
}

.mb-cta__copy {
  grid-area: copy;
  min-width: 0;
  max-width: 100%;
}

.mb-cta__actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Buttons */

.mb-btn,
a.mb-btn,
button.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.95rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--mb-radius-pill);
  background: linear-gradient(135deg, var(--mb-accent), #34e0d0 48%, var(--mb-accent-2));
  color: var(--mb-accent-ink);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 14px 34px rgba(35, 214, 195, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  box-sizing: border-box;
}

.mb-btn:hover,
a.mb-btn:hover,
button.mb-btn:hover {
  background: linear-gradient(135deg, #3ce5d3, #56eadf 48%, #72baff);
  color: var(--mb-accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(35, 214, 195, 0.28);
}

.mb-btn:focus-visible,
a.mb-btn:focus-visible,
button.mb-btn:focus-visible {
  outline: 2px solid rgba(87, 169, 255, 0.78);
  outline-offset: 2px;
  color: var(--mb-accent-ink);
}

.mb-btn--secondary,
a.mb-btn--secondary,
button.mb-btn--secondary,
.mb-btn.is-secondary,
a.mb-btn.is-secondary,
button.mb-btn.is-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--mb-heading);
  box-shadow: none;
}

.mb-btn--secondary:hover,
a.mb-btn--secondary:hover,
button.mb-btn--secondary:hover,
.mb-btn.is-secondary:hover,
a.mb-btn.is-secondary:hover,
button.mb-btn.is-secondary:hover {
  background: rgba(87, 169, 255, 0.1);
  border-color: rgba(87, 169, 255, 0.24);
  color: var(--mb-heading);
}

.mb-btn--ghost,
a.mb-btn--ghost,
button.mb-btn--ghost {
  background: transparent;
  border-color: rgba(87, 169, 255, 0.22);
  color: #dbe9ff;
  box-shadow: none;
}

.mb-btn--ghost:hover,
a.mb-btn--ghost:hover,
button.mb-btn--ghost:hover {
  background: rgba(87, 169, 255, 0.08);
  color: #f1f7ff;
}

/* Grids and cards */

.mb-article .mb-grid,
.mbpk-article .mb-grid,
.mbpk-page .mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-slot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--mb-gap-lg);
  align-items: start;
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  min-width: 0;
}

.mb-article .mb-grid > .mb-card,
.mbpk-article .mb-grid > .mb-card,
.mbpk-page .mb-article .mb-grid > .mb-card,
.mb-article .mb-slot-grid > .mb-card,
.mbpk-article .mb-slot-grid > .mb-card,
.mbpk-page .mb-article .mb-slot-grid > .mb-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--mb-space-md);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: var(--mb-radius-lg);
  background: var(--mb-card-bg);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
  overflow: visible;
}

.mb-card__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--mb-radius-lg) - 6px);
}

.mb-card__body {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  max-width: 100%;
}

.mb-card__copy {
  min-width: 0;
  max-width: 100%;
  color: var(--mb-text);
}

.mb-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mb-card > :last-child,
.mb-card__body > :last-child,
.mb-card__copy > :last-child {
  margin-block-end: 0;
}

/* Lists */

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ul,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ol {
  padding-inline-start: 1.3rem;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) li {
  margin: 0;
  color: var(--mb-text);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) li + li {
  margin-block-start: 0.45rem;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ul li::marker {
  color: var(--mb-accent);
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ol li::marker {
  color: #d7e7fb;
  font-weight: 700;
}

:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ul ul,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ol ol,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ul ol,
:where(.mb-article, .mbpk-article, .mbpk-page .mb-article) ol ul {
  margin-block-start: 0.75rem;
  margin-block-end: 0;
}

/* FAQ */

.mb-faq {
  display: grid;
  gap: 1rem;
}

.mb-faq details {
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.1rem;
  border-radius: var(--mb-radius-lg);
  background: var(--mb-card-bg);
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow);
}

.mb-faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  list-style: none;
  cursor: pointer;
  color: var(--mb-heading);
  font-weight: 700;
  line-height: 1.4;
}

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

.mb-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--mb-accent);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-1px);
}

.mb-faq details[open] summary::after {
  content: "−";
}

.mb-faq details > *:not(summary) {
  margin-block-start: 0.9rem;
}

.mb-faq details > :last-child {
  margin-block-end: 0;
}

/* Tables */

.mb-table-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-inline: contain;
  border-radius: var(--mb-radius-lg);
  border: 1px solid var(--mb-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, #091523, #0a1522);
  box-shadow: var(--mb-shadow);
  scrollbar-width: thin;
  scrollbar-color: rgba(87, 169, 255, 0.5) transparent;
}

.mb-row .mb-table-wrap,
.mb-copy .mb-table-wrap,
.mb-card .mb-table-wrap,
.mb-card__copy .mb-table-wrap,
.mb-cta .mb-table-wrap,
.mb-cta__copy .mb-table-wrap,
.mb-hero .mb-table-wrap,
.mb-hero__copy .mb-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

table.mb-table {
  width: 100%;
  min-width: 560px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  direction: rtl;
  text-align: right;
  background: transparent;
}

.mb-article[dir="ltr"] table.mb-table,
.mbpk-article[dir="ltr"] table.mb-table,
[dir="ltr"] .mb-article table.mb-table,
[dir="ltr"] .mbpk-article table.mb-table,
[dir="ltr"] .mbpk-page .mb-article table.mb-table {
  direction: ltr;
  text-align: left;
}

table.mb-table caption {
  padding: 1rem;
  color: var(--mb-muted);
  text-align: inherit;
}

table.mb-table th,
table.mb-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(160, 192, 224, 0.12);
  vertical-align: top;
  color: var(--mb-text);
}

table.mb-table th {
  background: rgba(87, 169, 255, 0.12);
  color: var(--mb-heading);
  font-weight: 700;
}

table.mb-table td + td,
table.mb-table th + th {
  border-inline-start: 1px solid rgba(160, 192, 224, 0.12);
}

table.mb-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

table.mb-table tr:last-child td {
  border-bottom: 0;
}

/* Utility pills */

.mb-badge,
.mb-chip,
.mb-eyebrow,
.mb-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.42rem 0.72rem;
  border-radius: var(--mb-radius-pill);
  background: rgba(87, 169, 255, 0.12);
  border: 1px solid rgba(87, 169, 255, 0.22);
  color: #dbe9ff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Hover stage for images */

@media (hover: hover) and (pointer: fine) {
  .mb-hero__media:hover img,
  .mb-media:hover img,
  .mb-card__media:hover img {
    transform: scale(1.035);
    filter: saturate(1.04) brightness(1.03);
  }

  .mb-hero__media a,
  .mb-media a,
  .mb-card__media a {
    cursor: pointer;
  }
}

/* Tablet */

@media (min-width: 640px) {
  .mb-btn,
  a.mb-btn,
  button.mb-btn {
    width: auto;
  }

  .mb-hero__actions,
  .mb-cta__actions,
  .mb-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .mb-site-header__inner,
  .mb-site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mbpk-page .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */

@media (min-width: 980px) {
  .mb-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "copy media";
  }

  .mb-row--reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas: "media copy";
  }

  .mb-row--stack,
  .mb-row--long {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media";
  }

  .mb-cta {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, auto);
    grid-template-areas: "copy actions";
  }

  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mbpk-page .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix,
  .mbpk-article .mb-grid--orphan-fix,
  .mbpk-page .mb-article .mb-grid--orphan-fix,
  .mb-article .mb-slot-grid--orphan-fix,
  .mbpk-article .mb-slot-grid--orphan-fix,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card {
    grid-column: span 2;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: var(--mb-gap-xl);
    align-items: start;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media {
    grid-column: 2;
    grid-row: 1;
    margin-block-end: 0;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media) {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2) {
    grid-column: span 3;
  }
}

/* Mobile safeguards */

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

@media (max-width: 639.98px) {
  .mb-topbar__inner,
  .mb-site-header__inner,
  .mb-site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mb-nav,
  .mb-footer-nav {
    width: 100%;
    border-radius: var(--mb-radius-lg);
  }

  .mb-nav__list,
  .mb-footer-nav__list {
    flex-direction: column;
  }

  .mb-nav__link,
  .mb-footer-nav__link {
    width: 100%;
  }

  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    padding-inline: 1rem;
    padding-block: 1rem 1.5rem;
  }

  .mb-hero,
  .mb-row,
  .mb-cta,
  .mb-card {
    padding: 1rem;
  }

  .mb-hero__actions,
  .mb-cta__actions,
  .mb-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mb-btn,
  a.mb-btn,
  button.mb-btn {
    width: 100%;
    max-width: 100%;
  }

  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mbpk-page .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  table.mb-table th,
  table.mb-table td {
    white-space: nowrap;
  }
}
