/* MetronomeBase unified footer — compact, high-contrast, mobile-first. */
.mb-footer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 48px 0 12px;
  padding: clamp(26px, 4vw, 43px);
  border: 1px solid #26394b;
  border-radius: 20px;
  color: #e8eef5;
  background: linear-gradient(130deg, #1b2e41 0%, #111c2c 88%);
  box-shadow: 0 16px 36px rgb(17 27 44 / 10%);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.mb-footer *,
.mb-footer *::before,
.mb-footer *::after { box-sizing: border-box; }
.mb-footer a {
  color: inherit;
  text-decoration: none;
}
.mb-footer a:hover { color: #c4f78c; }
.mb-footer a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #bbf67b;
  outline-offset: 4px;
}
.mb-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .95fr) minmax(0, .85fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}
.mb-footer-intro {
  min-width: 0;
  max-width: 290px;
}
.mb-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  min-width: 0;
}
.mb-footer-brand img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 11px;
  object-fit: contain;
}
.mb-footer-brand-name {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 770;
  letter-spacing: -.065em;
  white-space: nowrap;
  line-height: 1.15;
}
.mb-footer-brand-light { font-weight: 400; }
.mb-footer-domain {
  color: #baf673;
  font-size: .8em;
  font-weight: 580;
  letter-spacing: -.02em;
}
.mb-footer-tagline {
  max-width: 245px;
  margin: 18px 0 0;
  color: #b8c7d5;
  font-size: 12px;
  line-height: 1.75;
}
.mb-footer-section h2 {
  margin: 3px 0 18px;
  color: #aabbcc;
  font-size: 10px;
  letter-spacing: 1.55px;
  font-weight: 750;
  text-transform: uppercase;
  line-height: 1.45;
}
.mb-footer-section a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 13px;
  color: #e5edf3;
  font-size: 12px;
  font-weight: 520;
  line-height: 1.5;
}
.mb-footer-section a:last-child { margin-bottom: 0; }
.mb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 25px;
  margin-top: 31px;
  padding-top: 20px;
  border-top: 1px solid rgb(217 232 244 / 16%);
  color: #97a8b9;
  font-size: 10.5px;
  letter-spacing: 0;
}
.mb-footer-copyright { display: inline; }
.mb-footer-year { display: inline; }
.mb-footer-license { color: #a6b7c7 !important; white-space: nowrap; }
.mb-footer-license:hover { color: #c4f78c !important; }
@media (max-width: 760px) {
  .mb-footer {
    margin-top: 42px;
    padding: 28px 24px 23px;
    border-radius: 18px;
  }
  .mb-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 27px;
  }
  .mb-footer-intro { grid-column: 1 / -1; max-width: none; }
  .mb-footer-brand-name { font-size: clamp(18px, 4.7vw, 22px); }
  .mb-footer-tagline { margin-top: 13px; max-width: 270px; }
  .mb-footer-section h2 { margin-bottom: 12px; }
  .mb-footer-section a { margin-bottom: 11px; }
  .mb-footer-bottom { margin-top: 25px; padding-top: 16px; }
}
@media (max-width: 370px) {
  .mb-footer { padding-inline: 18px; }
  .mb-footer-main { column-gap: 16px; }
  .mb-footer-section a { font-size: 11px; }
  .mb-footer-brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .mb-footer-brand-name { font-size: 18px; }
}
