/* Unified site footer — standalone so deploys bust Cloudflare cache on polished.css */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 40px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.site-footer__partner {
  margin-bottom: 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 48px;
}

.site-footer__brand .brand img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
}

.site-footer__brand p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 32ch;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-footer__social a svg {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
}

.site-footer__social a:hover {
  color: #fff;
  border-color: rgba(84, 208, 245, 0.45);
  background: rgba(84, 208, 245, 0.1);
  box-shadow: 0 0 0 3px rgba(84, 208, 245, 0.08);
}

.site-footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.site-footer__col a {
  display: block;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color 0.18s ease;
}

.site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(84, 208, 245, 0.5);
}

.site-footer__bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.6;
}

body.app-shell .site-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-soft);
}

/* Partner badge — must not rely on Tailwind (marketing pages have none) */
.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
}

.partner-badge__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.partner-badge__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.partner-badge__icon img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.partner-badge__copy {
  min-width: 0;
}

.partner-badge__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #67e8f9;
}

.partner-badge__title a {
  color: inherit;
  text-decoration: none;
}

.partner-badge__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner-badge__text {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.partner-badge__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.18s ease;
}

.partner-badge__cta svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.partner-badge__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.partner-badge--footer {
  border-radius: 0.75rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
}

.partner-badge--banner {
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(15, 23, 42, 0.7);
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(8, 145, 178, 0.25);
}

.partner-badge--full {
  border-radius: 1.5rem;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .partner-badge {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (max-width: 960px) {
  .site-footer {
    padding: 52px 0 36px;
  }

  .site-footer__partner {
    margin-bottom: 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}
