/* Shared footer adapter for standalone tools that do not load assets/styles.css. */
.site-footer {
  border-top: 1px solid var(--rule, #dbe3e8);
  padding: 64px 0 32px;
  font-size: 14px;
  color: var(--ink-2, #314a59);
}

.site-footer__container {
  width: min(var(--max, 1240px), calc(100% - 2 * var(--gutter, 20px)));
  margin: 0 auto;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(4, minmax(125px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.site-footer .logo {
  display: inline-flex;
  align-items: center;
}

.site-footer .logo-mark.img,
.site-footer .logo-mark.img img {
  display: block;
}

.site-footer .logo-mark.img img {
  width: 82px;
  height: auto;
}

.site-footer .footer-col h4 {
  margin: 0 0 14px;
  color: var(--muted, #527080);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer .footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--ink-2, #314a59);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink, #1d3747);
}

.site-footer .footer-body {
  max-width: 32ch;
  margin: 16px 0 0;
  color: var(--muted, #527080);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer .footer-legal {
  margin: 20px 0 0;
  color: var(--muted, #527080);
  font-size: 12px;
  line-height: 2;
}

.site-footer .footer-legal a,
.site-footer .footer-social a {
  color: var(--muted, #527080);
}

.site-footer .footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.site-footer .footer-social a {
  display: inline-flex;
  transition: color .15s;
}

.site-footer .footer-social a:hover {
  color: var(--ink, #1d3747);
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule, #dbe3e8);
  color: var(--muted, #527080);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .05em;
}

@media (max-width: 1080px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer .footer-col--brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-col--brand {
    grid-column: auto;
  }
}
