.site-header,
.site-footer {
  position: relative;
  background: #fff;
  color: #121b31;
}

.site-header {
  border-bottom: 1px solid #e0e5ef;
}

.site-footer {
  border-top: 1px solid #e0e5ef;
}

.site-bar-inner {
  display: flex;
  width: min(1180px, calc(100% - clamp(32px, 6vw, 80px)));
  align-items: center;
  justify-content: space-between;
  gap: 8px clamp(10px, 2vw, 24px);
  margin-inline: auto;
}

.site-brand {
  display: block;
  width: clamp(90px, 9vw, 108px);
  height: auto;
}

.site-nav,
.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(10px, 2.4vw, 28px);
}

.site-header a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: .25em;
}

.site-header a {
  min-height: 54px;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-header a[aria-current] {
  box-shadow: inset 0 -2px #294bbc;
  color: #294bbc;
}

.site-header a:hover,
.site-footer a:hover {
  color: #294bbc;
  text-decoration: underline;
}

.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #294bbc;
  outline-offset: -2px;
}

.site-footer .site-bar-inner {
  flex-wrap: wrap;
  padding-block: 8px;
  color: #475569;
  font-size: .875rem;
  line-height: 1.4;
}

@media (max-width: 550px) {
  .site-footer .site-bar-inner {
    justify-content: flex-start;
    padding-block: 12px 8px;
    gap: 0 24px;
  }
}
