#site-footer {
  padding: 34px 0;
  color: #ffffff;
  background: #0b0f10;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  padding: 4px;
  border-radius: 18px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-meta span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  #site-footer {
    padding: 26px 0;
  }

  .footer-inner {
    gap: 16px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand img {
    width: 46px;
    height: 46px;
    padding: 4px;
    border-radius: 16px;
  }

  .footer-brand span {
    font-size: 0.95rem;
  }

  .footer-inner p,
  .footer-links a,
  .footer-meta span {
    font-size: 0.9rem;
  }
}

#site-footer {
  background:
    linear-gradient(135deg, rgba(11, 17, 19, 1), rgba(8, 88, 82, 0.74)),
    #0b0f10;
}

.footer-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  transform: translateX(3px);
}
