@charset "UTF-8";

#footer {
  --footer-surface: var(--gf-ink);
  background: var(--footer-surface);
  color: var(--gf-text-inverse);
  border-top: 1px solid color-mix(in srgb, var(--gf-text-inverse) 12%, transparent);
}

#footer.gradient-surface {
  background: radial-gradient(1200px 800px at 10% -10%, rgba(0, 191, 255, 0.08) 0%, transparent 60%),
    radial-gradient(900px 600px at 110% 20%, rgba(228, 0, 124, 0.08) 0%, transparent 60%),
    var(--footer-surface);
}

#footer .footer-container {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 56px) 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

#footer .footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--gf-cta);
}

#footer .footer-col p {
  margin: .6rem 0 0;
  max-width: 30ch;
  color: color-mix(in srgb, var(--gf-text-inverse) 72%, transparent);
  font-size: .95rem;
  line-height: 1.5;
}

#footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}

#footer .footer-col a {
  color: color-mix(in srgb, var(--gf-text-inverse) 82%, transparent);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease;
}

#footer .footer-col a:hover { color: var(--gf-accent); }

#footer .footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gf-text-inverse);
}

#footer .footer-logo svg { width: 26px; height: 26px; color: var(--gf-primary); }

#footer .socials {
  display: flex;
  gap: .6rem;
  margin-top: .6rem;
}

#footer .socials a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gf-text-inverse) 16%, transparent);
  color: var(--gf-text-inverse);
  transition: background .2s ease, color .2s ease;
}

#footer .socials a:hover {
  background: var(--gf-accent);
  color: var(--gf-text-inverse);
}

#footer .copyright {
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--gf-text-inverse) 12%, transparent);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .9rem;
  color: color-mix(in srgb, var(--gf-text-inverse) 62%, transparent);
}

@media (max-width: 960px) {
  #footer .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 5vw, 36px);
  }
}

@media (max-width: 640px) {
  #footer .footer-container { text-align: center; }
  #footer .footer-logo { justify-content: center; }
  #footer .footer-col p { margin-inline: auto; }
  #footer .footer-col ul { justify-items: center; }
  #footer .socials { justify-content: center; }
}
