.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  height: var(--ib-footer-h);
  background: var(--ib-on-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ib-space-4);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  height: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 28px;
  width: auto;
  box-sizing: content-box;
  padding: 3px 5px;
  border-radius: 7px;
  background: #fff;
}

.footer-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--ib-space-5);
}

.footer-links a {
  font-size: var(--ib-text-xs);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ib-transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-tagline,
  .footer-links {
    display: none;
  }

  .footer-content {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Marketing / SEO footer (unauthenticated visitors)
   Tall, static, multi-column — rich internal linking for SEO.
   ═══════════════════════════════════════════════════════════════ */
.ib-mfooter {
  margin-top: clamp(28px, 5vw, 56px);
  background: var(--ib-on-surface);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-mfooter__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 40px);
}

.ib-mfooter__brand {
  max-width: 300px;
}

.ib-mfooter__logo {
  height: 42px;
  width: auto;
  box-sizing: content-box;
  padding: 6px 9px;
  border-radius: 10px;
  background: #fff;
}

.ib-mfooter__tagline {
  margin: 14px 0 0;
  font-size: var(--ib-text-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.ib-mfooter__cols {
  display: contents;
}

.ib-mfooter__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ib-mfooter__title {
  font-size: var(--ib-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.ib-mfooter__col a {
  font-size: var(--ib-text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--ib-transition);
  width: fit-content;
}

.ib-mfooter__col a:hover {
  color: #fff;
  text-decoration: none;
}

.ib-mfooter__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-mfooter__copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  font-size: var(--ib-text-xs);
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 860px) {
  .ib-mfooter__inner {
    grid-template-columns: 1fr 1fr;
  }
  .ib-mfooter__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .ib-mfooter__inner {
    grid-template-columns: 1fr;
  }
}
