/* Shared site footer */

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  padding-bottom: 28px;
}

.footer-col-title {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-brand-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--accent-2);
}

.footer-soon {
  color: var(--muted);
  font-size: 0.92rem;
  opacity: 0.65;
}

.footer-soon-label {
  margin-left: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-bottom p {
  margin: 0 0 4px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--muted);
}

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 32px 0 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
