.ah-site-footer {
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(126, 142, 182, .16);
  background: #090d1b;
  color: #9ba5bf;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.ah-site-footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: 24px 0 14px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
}

.ah-footer-brand { display: grid; gap: 5px; }
.ah-footer-brand > a { display: inline-flex; width: fit-content; align-items: center; gap: 9px; color: #f4f5fb; text-decoration: none; }
.ah-footer-brand img { display: block; width: 27px; height: 27px; object-fit: contain; }
.ah-footer-brand strong { font-size: 14px; font-weight: 750; }
.ah-footer-brand > span { color: #818ba6; font-size: 11px; }

.ah-footer-nav,
.ah-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ah-footer-nav a,
.ah-footer-legal a,
.ah-footer-legal button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  color: #9ba5bf;
  background: transparent;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease;
}

.ah-footer-nav a:hover,
.ah-footer-legal a:hover,
.ah-footer-legal button:hover { color: #5ce1d4; }

.ah-footer-legal {
  grid-column: 1 / -1;
  justify-content: center;
  gap: 8px 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(126, 142, 182, .12);
}

.ah-footer-copyright {
  grid-column: 1 / -1;
  display: block;
  color: #67728f;
  font-size: 10px;
  text-align: center;
}

.ah-footer-nav a:focus-visible,
.ah-footer-legal a:focus-visible,
.ah-footer-legal button:focus-visible,
.ah-footer-brand > a:focus-visible {
  outline: 2px solid #52ded1;
  outline-offset: 4px;
  border-radius: 3px;
}

@media (max-width: 700px) {
  .ah-site-footer-inner {
    width: calc(100% - 32px);
    padding: 22px 0 16px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .ah-footer-brand { justify-items: center; text-align: center; }
  .ah-footer-nav,
  .ah-footer-legal { justify-content: center; gap: 4px 18px; }
  .ah-footer-legal { padding-top: 12px; }
  .ah-footer-copyright { margin-top: 1px; }
}

@media (max-width: 380px) {
  .ah-footer-nav,
  .ah-footer-legal { column-gap: 12px; }
  .ah-footer-nav a,
  .ah-footer-legal a,
  .ah-footer-legal button { font-size: 11px; }
}
