.site-footer {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 24px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 170px 170px 170px;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 28px;
  font-weight: 950;
  letter-spacing: .03em;
  text-decoration: none;
}

.footer-logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: url("/assets/winnerstock-logo-transparent-gold-no-glow.png") center / contain no-repeat;
  box-shadow: none;
}

.footer-logo-mark:before {
  content: none;
}

.footer-logo b {
  color: var(--gold);
}

.footer-logo::after {
  content: "v2.20";
  margin-left: 2px;
  padding: 4px 7px;
  border: 1px solid rgba(232,184,75,.3);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(232,184,75,.08);
  font-family: var(--font-data, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}

.footer-tagline {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

.footer-col a {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.footer-col a:hover,
.footer-logo:hover,
.footer-x:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.footer-x svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-x {
  display: none;
}

@media (max-width: 680px) {
  .site-footer-inner {
    width: min(1180px, calc(100% - 28px));
  }

  .site-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 12px;
  }

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

  .footer-logo::after {
    padding: 3px 6px;
    font-size: 9px;
  }

  .footer-col h3 {
    font-size: 11px;
    letter-spacing: .04em;
  }

  .footer-col a {
    font-size: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
