/* Shared footer — used by public/index.html and the React course app */

.sp-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0a0a0a;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.sp-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.sp-footer-logo svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.sp-footer-logo .sp-accent {
  color: var(--sp-primary);
}

.sp-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.sp-footer-links a {
  font-size: 0.8rem;
  color: var(--sp-text-dim);
  text-decoration: none;
  transition: color var(--sp-transition-fast);
}

.sp-footer-links a:hover {
  color: var(--sp-primary);
}

.sp-footer-copy {
  font-size: 0.8rem;
  color: var(--sp-text-subtle);
  margin: 0;
}

@media (max-width: 640px) {
  .sp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
