/* Official footer copy and link order, adapted to the preview's white design. */
.apsc-footer {
  margin: 0;
  padding: 52px 28px 42px;
  border-top: 1px solid #e7e5e3;
  background: #fff;
  color: #1b1b1b;
  font: 14px/1.6 Arial, Helvetica, sans-serif;
  text-align: center;
}
.apsc-footer *, .apsc-footer *::before, .apsc-footer *::after { box-sizing: border-box; }
.apsc-footer .apsc-footer__inner { max-width: 1224px; margin-inline: auto; }
.apsc-footer .apsc-footer__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.apsc-footer .apsc-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e1dfdd;
  border-radius: 10px;
  background: #f7f6f5;
  color: #444448;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.apsc-footer .apsc-footer__social svg { display: block; width: 20px; height: 20px; }
.apsc-footer .apsc-footer__social a:hover { color: #1b1b1b; background: #eeecea; border-color: #c8c5c2; }
.apsc-footer .apsc-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 24px;
  margin: 18px 0 22px;
}
.apsc-footer .apsc-footer__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 0;
  color: #55555a;
  font-weight: 400;
  text-decoration: none;
  text-underline-offset: 4px;
}
.apsc-footer .apsc-footer__links a:hover { color: #1b1b1b; text-decoration: underline; }
.apsc-footer a:focus-visible { outline: 2px solid #8d2c2a; outline-offset: 5px; }
.apsc-footer .apsc-footer__base { max-width: 1050px; margin-inline: auto; color: #606065; font-size: 12px; line-height: 1.8; }
.apsc-footer .apsc-footer__base p { margin: 8px 0 0; overflow-wrap: break-word; }
/* Optional source CTA. Insert footer-cta.html first inside apsc-footer__inner. */
.apsc-footer .apsc-footer__cta { margin: 18px auto 44px; }
.apsc-footer .apsc-footer__cta h2 { margin: 0 0 25px; color: #1b1b1b; font: 600 clamp(30px, 3.5vw, 44px)/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.apsc-footer .apsc-footer__cta h2 span { color: #8d2c2a; }
.apsc-footer .apsc-footer__join { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 26px; border: 1px solid #3f3f46; border-radius: 100px; background: #26272b; color: #fcfbfc; font-size: 15px; font-weight: 500; text-decoration: none; }
.apsc-footer .apsc-footer__join:hover { background: #3f3f46; }
.apsc-footer .apsc-footer__join svg { width: 19px; height: 19px; }
@media (max-width: 639px) {
  .apsc-footer { padding: 40px 20px 30px; }
  .apsc-footer .apsc-footer__social { gap: 10px; }
  .apsc-footer .apsc-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; max-width: 400px; margin: 22px auto; }
  .apsc-footer .apsc-footer__links a { font-size: 12px; line-height: 1.4; }
  .apsc-footer .apsc-footer__base { max-width: 420px; font-size: 11px; line-height: 1.8; }
  .apsc-footer .apsc-footer__base p + p { margin-top: 12px; }
  .apsc-footer .apsc-footer__cta { margin: 8px auto 34px; }
}
@media (prefers-reduced-motion: reduce) { .apsc-footer .apsc-footer__social a { transition: none; } }
