.site-footer {
  position: static;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d8e0de;
  background: #fafaf5;
  color: #52616a;
  font: 500 14px/1.5 "Segoe UI", system-ui, sans-serif;
  text-align: left;
}

.site-footer__inner {
  display: flex;
  width: calc(100% - 48px);
  min-height: 72px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footprints-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  padding-bottom: 0;
}

.footprints-page > main {
  flex: 1 0 auto;
}

.footprints-page > site-footer,
.footprints-page > site-footer > .site-footer {
  position: static;
  inset: auto;
  width: 100%;
}

.site-footer__credit {
  margin: 0;
}

.site-footer__status {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.site-footer__status:hover {
  text-decoration: underline;
}

.site-footer__status:focus-visible {
  border-radius: 3px;
  outline: 3px solid #f2a93b;
  outline-offset: 4px;
}

.site-footer__status-name {
  margin-right: 2px;
}

.site-footer__status-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-footer__status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #9aa5ab;
  box-shadow: 0 0 0 3px rgba(154, 165, 171, 0.2);
}

[data-state="operational"] .site-footer__status-dot { background: #1f9d6b; box-shadow: 0 0 0 3px rgba(31, 157, 107, 0.18); }
[data-state="partial"] .site-footer__status-dot { background: #d99a1b; box-shadow: 0 0 0 3px rgba(217, 154, 27, 0.2); }
[data-state="major"] .site-footer__status-dot { background: #c8382d; box-shadow: 0 0 0 3px rgba(200, 56, 45, 0.18); }

@media (max-width: 700px) {
  .site-footer__inner {
    width: calc(100% - 40px);
    min-height: 0;
    padding-block: 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 8px;
    text-align: left;
  }

  .site-footer__credit {
    flex-basis: 100%;
  }

  .site-footer__status {
    margin-left: 0;
    flex-wrap: wrap;
    row-gap: 4px;
    white-space: normal;
  }
}
