/* Official social accounts for the public marketing footers.
   Icons are inline SVG in each page footer (see .wjp-social).
   Monochrome, hairline circles, green on hover — same ink / accent / gold
   as the marketing pages. No icon font and no extra script.

   TODO: LinkedIn — this repo has no WJP Debt Tracking LinkedIn company
   page URL. Add that profile to the footer row and to the home page
   Organization sameAs when a company URL exists. Do not link a personal
   profile. Do not add Facebook, Threads, Snapchat, Reddit, or Product Hunt.
*/
.wjp-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
footer .wjp-social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--rule, rgba(10, 10, 10, 0.12));
  background: var(--bg, #fff);
  color: var(--ink-dim, rgba(10, 10, 10, 0.66));
  text-decoration: none;
  font-weight: 500;
  line-height: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
footer .wjp-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}
footer .wjp-social a:hover {
  color: var(--accent, #1f7a4a);
  border-color: rgba(31, 122, 74, 0.45);
  background: rgba(31, 122, 74, 0.06);
}
footer .wjp-social a:focus-visible {
  outline: 2px solid var(--gold, #c99a2a);
  outline-offset: 2px;
}

/* Help center footer is not a flex column, so it needs its own gap. */
footer .wrap > .foot-about + .wjp-social {
  margin-top: 2px;
}
footer .wjp-social + .foot-row {
  margin-top: 14px;
}

/* Home: one quiet row above the existing one-line footer. */
footer.h1s-foot .wjp-social {
  flex: 1 0 100%;
  justify-content: flex-start;
  margin: 0 0 4px;
}

/* Legal pages center their footer text; center the icons with it. */
footer:not(:has(.wrap)):not(.h1s-foot) .wjp-social {
  justify-content: center;
  margin: 0 auto 14px;
}

@media (max-width: 1023px) {
  footer.h1s-foot .wjp-social {
    justify-content: center;
  }
}
