.brand-link {
  color: inherit;
  text-decoration: none;
}

.top-banner .brand-link {
  color: #ffffff;
}

.brand-link:focus-visible {
  outline: 2px solid rgba(47, 91, 79, 0.22);
  outline-offset: 4px;
  border-radius: 18px;
}

.top-nav {
  position: relative;
  overflow: visible;
}

.profile-btn {
  position: relative;
}

.profile-avatar {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(47, 91, 79, 0.12);
  color: var(--green-900, #2f5b4f);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 4px;
  z-index: 30;
}

.profile-menu[hidden] {
  display: none;
}

.profile-menu-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-menu-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text, #1d2b2a);
}

.profile-menu-subtitle {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted, #5a6b6a);
}

.profile-menu-link,
.profile-menu-action {
  border: 0;
  background: transparent;
  color: var(--text, #1d2b2a);
  text-decoration: none;
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.profile-menu-link:hover,
.profile-menu-action:hover {
  background: rgba(47, 91, 79, 0.08);
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-footer-links a {
  color: var(--muted, #5a6b6a);
  text-decoration: none;
  font-size: 13px;
}

.site-footer-links a:hover {
  color: var(--green-900, #2f5b4f);
}

.site-footer-copy {
  font-size: 12px;
  color: var(--muted, #5a6b6a);
}

@media (max-width: 700px) {
  .profile-menu {
    left: 50%;
    transform: translateX(-18%);
  }

  .site-footer-inner {
    width: min(100%, calc(100% - 24px));
  }
}
