/* Canonical marketing footer, with local defaults for older templates. */
.sfoot {
  --sf-paper: var(--s-paper, var(--bg, #f7f8fa));
  --sf-ink: var(--s-ink, var(--text, #0b0d12));
  --sf-soft: var(--s-soft, var(--text, #2a2e38));
  --sf-muted: var(--s-muted, var(--muted, #636366));
  --sf-blue: var(--s-blue, #4f6ef7);
  --sf-line: var(--s-line, var(--border, rgba(0, 0, 0, .08)));
  font-family: var(--s-ui, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  background: var(--sf-paper);
  border-top: 1px solid var(--sf-line);
  border-bottom: 0;
  padding: clamp(48px, 6vw, 72px) 0 0;
  position: relative;
  z-index: 2;
  width: 100%;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
}
.sfoot, .sfoot * { box-sizing: border-box; }
.sfoot a { margin-right: 0; }
.sfoot__container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.sfoot__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 4vw, 52px);
}
.sfoot .sfoot__brand-name {
  font-family: inherit; font-weight: 900; font-size: 26px; letter-spacing: -.8px;
  color: var(--sf-ink); line-height: 1; text-decoration: none; display: inline-block;
}
.sfoot__brand p {
  font-size: 14.5px; font-weight: 500; line-height: 1.65; color: var(--sf-muted);
  margin: 14px 0 0; max-width: 30ch;
}
.sfoot h4 {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .6px;
  line-height: 1.65; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 16px;
}
.sfoot__links { display: flex; flex-direction: column; gap: 11px; }
.sfoot__links a {
  font-size: 14.5px; font-weight: 600; color: var(--sf-soft); text-decoration: none;
  transition: color .18s ease;
}
.sfoot__links a:hover { color: var(--sf-blue); }
.sfoot .sfoot__contact {
  display: flex; align-items: center; gap: 10px; margin-bottom: 13px;
  font-size: 14.5px; font-weight: 600; color: var(--sf-soft); text-decoration: none;
  transition: color .18s ease;
}
.sfoot__contact svg { width: 18px; height: 18px; color: var(--sf-muted); flex-shrink: 0; }
.sfoot .sfoot__contact:hover { color: var(--sf-blue); }
.sfoot__bottom {
  border-top: 1px solid var(--sf-line); padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; font-weight: 500; color: var(--sf-muted);
}
.sfoot__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.sfoot__bottom a {
  color: var(--sf-muted); font-weight: 600; text-decoration: none; transition: color .18s ease;
}
.sfoot__bottom a:hover { color: var(--sf-ink); }
.sfoot a:focus-visible, .sfoot__sidebar-legal a:focus-visible {
  outline: 2px solid var(--sf-blue, #4f6ef7); outline-offset: 2px;
}
.sfoot--compact { padding: 0; margin-top: 28px; background: transparent; flex-shrink: 0; }
.sfoot--compact .sfoot__bottom { border-top: 0; justify-content: center; gap: 10px 20px; }
/* Reset global button-like anchor styles on the 404 page. */
.sfoot--compact a {
  display: inline; padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 13px; box-shadow: none; transform: none;
}
.sfoot--compact a:hover { background: none; box-shadow: none; transform: none; }
.auth__inner .sfoot__container { padding-inline: 0; }
.sfoot-page { flex-direction: column; gap: 32px; }
.sfoot-page > .sfoot { max-width: 1200px; }
.sfoot__support { margin: 20px 0 0; font-size: 14px; color: var(--sf-muted); }
.sfoot__support a { color: var(--sf-ink); }
html.dark .sfoot, body.dark .sfoot, .sfoot:has(.sfoot__support) {
  --sf-paper: var(--bg, #0b0d12);
  --sf-ink: #f4f6fb;
  --sf-soft: #c7cbd6;
  --sf-muted: #98989d;
  --sf-blue: #6b8aff;
  --sf-line: rgba(255, 255, 255, .1);
}
.sfoot__sidebar-legal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--muted, #636366);
}
.sfoot__sidebar-legal a { color: inherit; text-decoration: none; }
.sfoot__sidebar-legal a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .sfoot__grid { grid-template-columns: 1fr 1fr; }
  .sfoot__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sfoot__grid { grid-template-columns: 1fr; }
  .sfoot__bottom { flex-direction: column; align-items: flex-start; }
  .sfoot--compact .sfoot__bottom { align-items: center; text-align: center; }
  .sfoot--compact .sfoot__legal { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sfoot a { transition: none; }
}
