/* Site footer */

footer {
  border-top: 1px solid #18181b;
  background-color: #0a0a0a;
  padding: 48px 24px;
  margin-top: 96px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(to top right, #a855f7, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.footer-logo-icon img {
  display: block;
}

.footer-logo-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.footer-description {
  color: #71717a;
  font-size: 14px;
  max-width: 384px;
  line-height: 1.75;
}

.footer-section h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c084fc;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid #18181b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #52525b;
  gap: 8px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }
}
