/* Shared Meshkat footer: used by every layout that renders FooterFront. */
.meshkat-footer-redesign {
  --meshkat-footer-ink: #102957;
  --meshkat-footer-muted: #657b9f;
  --meshkat-footer-accent: #1677ed;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  color: var(--meshkat-footer-ink);
  background: #f3f8ff;
}

.meshkat-footer-redesign::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 8%, rgba(110, 174, 255, 0.2), transparent 36%),
    radial-gradient(ellipse at 92% 84%, rgba(174, 211, 255, 0.24), transparent 38%),
    linear-gradient(145deg, #f8fbff 0%, #edf5ff 52%, #f7faff 100%);
  content: "";
}

.meshkat-footer-redesign .footer-top {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.5rem);
  border: 1px solid rgba(206, 224, 249, 0.75);
  border-bottom: 0;
  border-radius: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 0 0;
  background: transparent;
  box-shadow: 0 -1rem 3.5rem rgba(47, 94, 157, 0.06);
}

.meshkat-footer-redesign .footer-top .container {
  position: relative;
}

.meshkat-footer-redesign .app-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.meshkat-footer-redesign .app-brand-logo img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.meshkat-footer-redesign .footer-hero-title {
  color: var(--meshkat-footer-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.meshkat-footer-redesign .footer-logo-description {
  max-width: 27rem;
  color: var(--meshkat-footer-muted);
  font-size: 0.95rem;
  line-height: 2;
}

.meshkat-footer-redesign .footer-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem !important;
  color: var(--meshkat-footer-ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.meshkat-footer-redesign .footer-title::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  width: 1.8rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--meshkat-footer-accent), #8cc4ff);
  content: "";
}

.meshkat-footer-redesign .footer-top ul {
  margin: 0;
  padding: 0;
}

.meshkat-footer-redesign .footer-top li {
  margin-bottom: 0.45rem !important;
}

.meshkat-footer-redesign .footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: #526b91;
  font-size: 0.9rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.meshkat-footer-redesign .footer-link:hover,
.meshkat-footer-redesign .footer-link:focus-visible {
  color: var(--meshkat-footer-accent);
  opacity: 1;
  transform: translateX(-3px);
}

.meshkat-footer-redesign .footer-bottom {
  border-top: 1px solid rgba(200, 219, 245, 0.8);
  background: rgba(230, 241, 255, 0.78);
  color: #526b91;
  backdrop-filter: blur(12px);
}

.meshkat-footer-redesign .footer-bottom .footer-text,
.meshkat-footer-redesign .footer-bottom .footer-link {
  color: #526b91;
}

.meshkat-footer-redesign .footer-bottom .footer-theme-link {
  color: var(--meshkat-footer-accent) !important;
}

html.light-style .meshkat-footer-redesign .footer-top {
  background-image: none;
}

html.light-style .meshkat-footer-redesign .footer-link,
html.light-style .meshkat-footer-redesign .footer-text,
html.light-style .meshkat-footer-redesign .footer-bottom .footer-link,
html.light-style .meshkat-footer-redesign .footer-bottom .footer-text {
  color: #526b91;
}

html.light-style .meshkat-footer-redesign .footer-title {
  color: var(--meshkat-footer-ink);
}

html.dark-style .meshkat-footer-redesign {
  --meshkat-footer-ink: #edf4ff;
  --meshkat-footer-muted: #afc0dc;
  --meshkat-footer-accent: #72b4ff;
  background: #111d31;
}

html.dark-style .meshkat-footer-redesign::before {
  background:
    radial-gradient(ellipse at 8% 8%, rgba(39, 104, 181, 0.22), transparent 36%),
    radial-gradient(ellipse at 92% 84%, rgba(32, 81, 139, 0.18), transparent 38%),
    linear-gradient(145deg, #17263e 0%, #111d31 58%, #15243b 100%);
}

html.dark-style .meshkat-footer-redesign .footer-top {
  border-color: rgba(157, 188, 231, 0.12);
  background: transparent;
  background-image: none;
}

html.dark-style .meshkat-footer-redesign .footer-link,
html.dark-style .meshkat-footer-redesign .footer-bottom .footer-text,
html.dark-style .meshkat-footer-redesign .footer-bottom .footer-link {
  color: #bdcce3;
}

html.dark-style .meshkat-footer-redesign .footer-bottom {
  border-color: rgba(157, 188, 231, 0.14);
  background: rgba(8, 16, 29, 0.42);
}

html.dark-style .meshkat-footer-redesign .footer-title,
html.dark-style .meshkat-footer-redesign .footer-hero-title {
  color: var(--meshkat-footer-ink);
}

@media (max-width: 767.98px) {
  .meshkat-footer-redesign {
    margin-top: 0;
  }

  .meshkat-footer-redesign .footer-top {
    padding: 2.25rem 0 1.75rem;
    border-radius: 1.75rem 1.75rem 0 0;
  }

  .meshkat-footer-redesign .footer-top .row {
    row-gap: 1.5rem !important;
  }

  .meshkat-footer-redesign .footer-logo-description {
    margin-bottom: 0 !important;
  }

  .meshkat-footer-redesign .footer-title {
    margin-bottom: 0.9rem !important;
  }

  .meshkat-footer-redesign .footer-bottom .container {
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meshkat-footer-redesign .footer-link {
    transition: none;
  }
}

/* Selected footer concept: pale campus canvas, rounded content panel and navy copyright band. */
.meshkat-footer-redesign {
  padding-top: 1.1rem;
  background-color: #eaf4ff;
  background-image:
    linear-gradient(180deg, rgba(229, 242, 255, 0.34), rgba(217, 235, 255, 0.56)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.meshkat-footer-redesign::before {
  display: none;
}

.meshkat-footer-redesign .footer-top {
  width: 100%;
  padding: 0 0 0.9rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.meshkat-footer-redesign .footer-top .container {
  width: min(calc(100% - 2rem), 1440px);
  max-width: none;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3.6vw, 3.5rem);
  border: 1px solid rgba(207, 228, 251, 0.88);
  border-radius: clamp(2rem, 4vw, 3.5rem);
  background-color: rgba(255, 255, 255, 0.91);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.8)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  box-shadow: 0 1rem 3rem rgba(35, 83, 144, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.meshkat-footer-redesign .footer-top .row {
  align-items: stretch;
}

.meshkat-footer-redesign .meshkat-footer-about-column,
.meshkat-footer-redesign .meshkat-footer-link-column {
  padding: 0 clamp(1rem, 1.8vw, 1.7rem);
}

.meshkat-footer-redesign .meshkat-footer-link-column {
  border-inline-start: 1px solid rgba(180, 207, 240, 0.56);
}

.meshkat-footer-about {
  height: 100%;
  padding-inline-end: clamp(0.25rem, 1vw, 1rem);
}

.meshkat-footer-about-brand {
  display: inline-flex;
  width: min(100%, 15rem);
  min-height: 3.8rem;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

.meshkat-footer-about-brand:hover,
.meshkat-footer-about-brand:focus-visible {
  transform: translateY(-2px);
}

.meshkat-footer-about-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.meshkat-footer-about-logo-dark {
  display: none;
}

.meshkat-footer-redesign .footer-title {
  display: table;
  margin-bottom: 1.8rem !important;
  font-size: 1.08rem;
  font-weight: 800;
}

.meshkat-footer-redesign .footer-title::after {
  bottom: -0.65rem;
  width: 2rem;
  height: 3px;
  border-radius: 3px;
}

.meshkat-footer-redesign .footer-logo-description {
  max-width: 26rem;
  margin: 0;
  color: #5f7598;
  font-size: 0.94rem;
  line-height: 2.05;
}

.meshkat-footer-redesign .footer-top ul {
  display: grid;
  gap: 0.55rem;
}

.meshkat-footer-redesign .footer-top li {
  margin: 0 !important;
}

.meshkat-footer-redesign .footer-top .footer-link {
  display: flex;
  width: fit-content;
  min-height: 2.45rem;
  gap: 0.7rem;
  color: #5b7194;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.75;
}

.meshkat-footer-redesign .footer-top .footer-link i {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border: 1px solid rgba(207, 227, 250, 0.65);
  border-radius: 0.65rem;
  background: rgba(225, 239, 255, 0.82);
  color: #2868ad;
  font-size: 0.86rem;
}

.meshkat-footer-redesign .footer-top .footer-link:hover i,
.meshkat-footer-redesign .footer-top .footer-link:focus-visible i {
  border-color: rgba(56, 137, 227, 0.32);
  background: #d7eaff;
}

.meshkat-footer-redesign .footer-bottom {
  min-height: 4.2rem;
  border: 0;
  background-color: #102e59;
  background-image:
    linear-gradient(rgba(12, 40, 80, 0.9), rgba(12, 40, 80, 0.92)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
  background-position: center, center 78%;
  background-repeat: no-repeat;
  background-size: cover;
}

.meshkat-footer-redesign .footer-bottom .container {
  min-height: 4.2rem;
  align-items: center;
}

.meshkat-footer-redesign .footer-bottom .footer-text,
.meshkat-footer-redesign .footer-bottom .footer-link {
  color: #dceaff;
  font-size: 0.85rem;
}

.meshkat-footer-redesign .footer-bottom .footer-theme-link {
  color: #fff !important;
}

html.light-style .meshkat-footer-redesign .footer-bottom .footer-text,
html.light-style .meshkat-footer-redesign .footer-bottom .footer-link {
  color: #dceaff;
}

html.dark-style .meshkat-footer-redesign {
  background-color: #0e1e35;
  background-image:
    linear-gradient(180deg, rgba(17, 39, 69, 0.3), rgba(10, 26, 47, 0.76)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
}

html.dark-style .meshkat-footer-redesign .footer-top .container {
  border-color: rgba(157, 188, 231, 0.2);
  background-color: rgba(23, 39, 62, 0.9);
  background-image:
    linear-gradient(180deg, rgba(23, 39, 62, 0.84), rgba(18, 34, 57, 0.92)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(207, 225, 250, 0.08);
}

html.dark-style .meshkat-footer-redesign .footer-bottom {
  background-color: #0a1d38;
  background-image:
    linear-gradient(rgba(8, 28, 56, 0.94), rgba(8, 28, 56, 0.95)),
    url('/img/front-pages/backgrounds/meshkat-overview-bg-v2.webp');
}

html.dark-style .meshkat-footer-redesign .meshkat-footer-link-column {
  border-color: rgba(157, 188, 231, 0.18);
}

html.dark-style .meshkat-footer-about-logo-light {
  display: none;
}

html.dark-style .meshkat-footer-about-logo-dark {
  display: block;
}

html.dark-style .meshkat-footer-redesign .footer-logo-description,
html.dark-style .meshkat-footer-redesign .footer-top .footer-link {
  color: #b9cbe3;
}

html.dark-style .meshkat-footer-redesign .footer-top .footer-link i {
  border-color: rgba(157, 188, 231, 0.18);
  background: rgba(49, 73, 107, 0.62);
  color: #9ecbff;
}

@media (max-width: 991.98px) {
  .meshkat-footer-redesign .meshkat-footer-link-column:nth-of-type(2n + 1) {
    border-inline-start: 0;
  }

  .meshkat-footer-redesign .meshkat-footer-link-column {
    padding-block: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .meshkat-footer-redesign {
    padding-top: 0.65rem;
    background-size: auto 100%, auto 100%;
  }

  .meshkat-footer-redesign .footer-top {
    padding-bottom: 0.65rem;
  }

  .meshkat-footer-redesign .footer-top .container {
    width: calc(100% - 1rem);
    padding: 1.5rem 1rem;
    border-radius: 1.8rem;
  }

  .meshkat-footer-redesign .meshkat-footer-about-column,
  .meshkat-footer-redesign .meshkat-footer-link-column {
    padding-inline: 0.35rem;
  }

  .meshkat-footer-redesign .meshkat-footer-link-column {
    border-inline-start: 0;
    border-top: 1px solid rgba(180, 207, 240, 0.5);
    padding-top: 1.2rem;
  }

  .meshkat-footer-about-brand {
    width: min(100%, 13rem);
    min-height: 3rem;
    margin-bottom: 0.75rem;
  }

  .meshkat-footer-redesign .footer-bottom,
  .meshkat-footer-redesign .footer-bottom .container {
    min-height: 3.6rem;
  }

  .meshkat-footer-redesign .footer-bottom .footer-text,
  .meshkat-footer-redesign .footer-bottom .footer-link {
    font-size: 0.75rem;
  }
}

/* Ensure the light patterned surface wins over the generic light-theme footer reset. */
html.light-style .meshkat-footer-redesign {
  background-color: #e7f3ff;
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

html.light-style .meshkat-footer-redesign .footer-top {
  min-height: auto;
  background-color: rgba(247, 251, 255, 0.18);
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.meshkat-footer-redesign .footer-top .container {
  min-height: auto;
}

.meshkat-footer-redesign .footer-bottom {
  min-height: 4.2rem;
  background-color: #102e59;
  background-image:
    linear-gradient(rgba(10, 39, 78, 0.12), rgba(10, 39, 78, 0.18)),
    url('/img/front-pages/backgrounds/meshkat-footer-dark-art.webp?v=20261003');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.meshkat-footer-redesign .footer-bottom .container {
  min-height: 4.2rem;
}

html.dark-style .meshkat-footer-redesign .footer-bottom {
  background-color: #081b34;
  background-image:
    linear-gradient(rgba(5, 20, 39, 0.16), rgba(5, 20, 39, 0.2)),
    url('/img/front-pages/backgrounds/meshkat-footer-dark-art.webp?v=20261003');
}

@media (max-width: 991.98px) {
  .meshkat-footer-redesign .footer-top .container {
    min-height: auto;
  }
}

/* Match the selected reference: a full-bleed illustrated footer surface, not a floating card. */
.meshkat-footer-redesign {
  padding-top: 0;
  background-color: #e7f3ff;
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.meshkat-footer-redesign .footer-top {
  width: calc(100% - 2rem);
  min-height: auto;
  margin: 2.4rem auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(2.5rem, 5vw, 4.25rem);
  background-color: rgba(247, 251, 255, 0.2);
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
}

.meshkat-footer-redesign .footer-top .container {
  display: flex;
  width: min(calc(100% - 2rem), 1600px);
  max-width: none;
  min-height: auto;
  align-items: center;
  padding: 2.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
}

.meshkat-footer-redesign .footer-top .row {
  width: 100%;
  align-items: center;
}

.meshkat-footer-redesign .meshkat-footer-about-column,
.meshkat-footer-redesign .meshkat-footer-link-column {
  padding-inline: clamp(1rem, 1.8vw, 1.7rem);
}

.meshkat-footer-redesign .meshkat-footer-link-column {
  border-inline-start: 1px solid rgba(154, 193, 236, 0.52);
}

.meshkat-footer-redesign .footer-title {
  margin-bottom: 1.8rem !important;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 800;
}

.meshkat-footer-redesign .footer-logo-description {
  max-width: 28rem;
  color: #5f7598;
  font-size: 0.94rem;
  line-height: 2.05;
}

.meshkat-footer-redesign .footer-top .footer-link {
  min-height: 2.45rem;
  color: #5b7194;
  font-size: 0.9rem;
  font-family: inherit;
}

.meshkat-footer-redesign .footer-bottom {
  min-height: 4.2rem;
  margin-top: 0;
  border: 0;
  background-color: #102e59;
  background-image:
    linear-gradient(rgba(10, 39, 78, 0.92), rgba(10, 39, 78, 0.94)),
    url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center, center 100%;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: none;
}

.meshkat-footer-redesign .footer-bottom .container {
  min-height: 4.2rem;
  align-items: center;
}

.meshkat-footer-redesign .footer-bottom .footer-text,
.meshkat-footer-redesign .footer-bottom .footer-link,
html.light-style .meshkat-footer-redesign .footer-bottom .footer-text,
html.light-style .meshkat-footer-redesign .footer-bottom .footer-link {
  color: #dceaff;
}

.meshkat-footer-redesign .footer-bottom .footer-theme-link {
  color: #fff !important;
}

html.dark-style .meshkat-footer-redesign {
  background-color: #0e1e35;
  background-image:
    linear-gradient(rgba(15, 31, 52, 0.66), rgba(12, 29, 50, 0.78)),
    url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
}

html.dark-style .meshkat-footer-redesign .footer-top {
  background-color: rgba(17, 35, 58, 0.56);
  background-image:
    linear-gradient(rgba(17, 35, 58, 0.55), rgba(17, 35, 58, 0.64)),
    url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
}

html.dark-style .meshkat-footer-redesign .footer-top .container {
  background: transparent !important;
}

html.dark-style .meshkat-footer-redesign .meshkat-footer-link-column {
  border-color: rgba(157, 188, 231, 0.2);
}

html.dark-style .meshkat-footer-redesign .footer-logo-description,
html.dark-style .meshkat-footer-redesign .footer-top .footer-link {
  color: #c1d2e9;
}

html.dark-style .meshkat-footer-redesign .footer-bottom {
  background-color: #091b34;
  background-image:
    linear-gradient(rgba(6, 22, 43, 0.96), rgba(6, 22, 43, 0.97)),
    url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
}

@media (max-width: 991.98px) {
  .meshkat-footer-redesign {
    margin-block-end: calc(5.25rem + env(safe-area-inset-bottom));
  }

  .meshkat-footer-redesign .footer-top {
    min-height: auto;
  }

  .meshkat-footer-redesign .footer-top .container {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .meshkat-footer-redesign .footer-top {
    width: calc(100% - 1rem);
    margin-top: 1.2rem;
    border-radius: 2rem;
    background-position: center top;
    background-size: auto 100%;
  }

  .meshkat-footer-redesign .footer-top .container {
    width: calc(100% - 1.5rem);
    min-height: auto;
    padding: 2rem 0;
  }

  .meshkat-footer-redesign .footer-top .row {
    align-items: start;
    row-gap: 1.6rem !important;
  }

  .meshkat-footer-redesign .meshkat-footer-about-column,
  .meshkat-footer-redesign .meshkat-footer-link-column {
    padding-inline: 0.75rem;
  }

  .meshkat-footer-redesign .meshkat-footer-link-column {
    border-inline-start: 0;
    border-top: 1px solid rgba(154, 193, 236, 0.45);
    padding-top: 1.2rem;
  }

  .meshkat-footer-redesign .footer-bottom,
  .meshkat-footer-redesign .footer-bottom .container {
    min-height: 3.6rem;
  }
}

@media (max-width: 575.98px) {
  .meshkat-footer-redesign .footer-top .container {
    width: calc(100% - 1rem);
  }

  .meshkat-footer-redesign .meshkat-footer-about-column,
  .meshkat-footer-redesign .meshkat-footer-link-column {
    padding-inline: 0.4rem;
  }

  .meshkat-footer-redesign .footer-bottom .footer-text,
  .meshkat-footer-redesign .footer-bottom .footer-link {
    font-size: 0.75rem;
  }
}

/* Final theme-specific overrides also defeat the shared front-page footer rules. */
html.light-style .meshkat-footer-redesign .footer-top {
  min-height: auto;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 1.5rem 1.5rem;
  background-color: #f7faff;
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(110, 174, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 94% 100%, rgba(148, 194, 248, 0.1), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  background-repeat: no-repeat;
  background-position: left top, right bottom, center;
  background-size: auto, auto, cover;
  box-shadow: none;
}

html.light-style .meshkat-footer-redesign {
  background-color: #0d2b53;
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-dark-art.webp?v=20261003');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

.meshkat-footer-redesign .footer-top .container {
  min-height: auto !important;
}

html.light-style .meshkat-footer-redesign .footer-bottom,
html.dark-style .meshkat-footer-redesign .footer-bottom {
  min-height: 4.2rem;
  background-color: #102e59;
  background-image:
    linear-gradient(rgba(10, 39, 78, 0.12), rgba(10, 39, 78, 0.18)),
    url('/img/front-pages/backgrounds/meshkat-footer-dark-art.webp?v=20261003');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

html.dark-style .meshkat-footer-redesign .footer-top {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 1.5rem 1.5rem;
  background-color: #15243b;
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(69, 123, 192, 0.12), transparent 34%),
    radial-gradient(ellipse at 94% 100%, rgba(65, 117, 184, 0.1), transparent 32%),
    linear-gradient(180deg, #192a43 0%, #15243b 100%);
  background-position: left top, right bottom, center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
  box-shadow: none;
}

html.dark-style .meshkat-footer-redesign {
  background-color: #081b34;
  background-image: url('/img/front-pages/backgrounds/meshkat-footer-dark-art.webp?v=20261003');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

.meshkat-footer-redesign .footer-bottom .container {
  min-height: 4.2rem;
}

/* Keep the Meshkat wordmark legible and understated on the navy copyright band. */
.meshkat-footer-redesign .footer-bottom .footer-hero-title {
  color: #c7d9f1;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Branded pale artwork overlaps the navy footer band with only its lower corners rounded. */
.meshkat-footer-redesign .footer-top {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 -1rem;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 1.75rem 1.75rem;
  background-color: #f7faff;
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.34), rgba(248, 251, 255, 0.3)),
    url('/img/front-pages/backgrounds/meshkat-footer-art.webp');
  background-position: center, center 42%;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.meshkat-footer-redesign .footer-bottom {
  position: relative;
  z-index: 0;
  margin-top: 0;
  padding-top: 1rem;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  /* Fill the space reserved for the fixed bottom navigation with footer artwork. */
  .meshkat-footer-redesign {
    margin-block-end: calc(-5.25rem - env(safe-area-inset-bottom));
    padding-block-end: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767.98px) {
  .meshkat-footer-redesign .footer-top {
    margin-bottom: -0.85rem;
    border-radius: 0 0 1.25rem 1.25rem;
    background-position: center, center 45%;
  }

  .meshkat-footer-redesign .footer-bottom {
    padding-top: 0.85rem;
  }
}
