/* Shared, self-contained responsive footer for static InceptionAI pages. */
.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.site-footer .sf-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
  justify-items: center;
  margin: 0 0 2.25rem;
}

.site-footer .sf-col {
  min-width: 0;
  width: 100%;
  max-width: 20rem;
}

.site-footer .sf-logo {
  display: inline-flex;
  justify-content: center;
}

.site-footer .sf-logo img {
  display: block;
  width: 12rem;
  max-width: 100%;
  height: auto;
}

.site-footer .sf-tagline {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer .sf-title {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer .sf-text {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer .sf-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.site-footer .sf-social {
  order: 1;
}

.site-footer .sf-social a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 9999px;
  background: #eff6ff;
  transition: background-color 150ms ease, transform 150ms ease;
}

.site-footer .sf-social a:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.site-footer .sf-social img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.site-footer .sf-legal {
  order: 2;
  margin: 0;
  max-width: 48rem;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.9;
}

.site-footer .sf-legal a {
  display: inline-block;
  padding: 0 0.4rem;
}

.site-footer .sf-badge {
  order: 3;
  display: block;
}

.site-footer .sf-badge img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.site-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: #1d4ed8;
}

@media (max-width: 1023px) {
  .site-footer .sf-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .site-footer {
    padding: 2.25rem 0 1.25rem;
  }

  .site-footer .sf-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    margin-bottom: 1.75rem;
  }
}
