.perfo-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7eaf0;
}

.perfo-topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.perfo-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.perfo-brand img {
  width: 168px;
  height: auto;
  display: block;
}

.perfo-navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.perfo-navlinks a {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 6px;
}

.perfo-navlinks a:hover {
  background: #f3f5f8;
  color: #101827;
}

.perfo-session {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.perfo-session-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  color: #101827;
  font-size: 13px;
  font-weight: 800;
}

.perfo-session-user img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.perfo-session-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perfo-login,
.perfo-session-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.perfo-login {
  background: #0a66c2;
  color: #fff;
}

.perfo-login:hover {
  color: #fff;
  background: #07559f;
}

.perfo-session-link {
  color: #374151;
  border: 1px solid #d8dde6;
  background: #fff;
}

.perfo-session-link:hover {
  color: #101827;
  background: #f8fafc;
}

.perfo-footer {
  border-top: 1px solid #e7eaf0;
  background: #f8fafc;
  margin-top: 44px;
}

.perfo-makers {
  border-top: 1px solid #e7eaf0;
  background: #fff;
  padding: 42px 0 6px;
  margin-top: 42px;
}

.perfo-makers-head {
  max-width: 780px;
  margin-bottom: 18px;
}

.perfo-makers-head span {
  display: block;
  color: #657084;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.perfo-makers-head h2 {
  margin: 0;
  color: #101827;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.perfo-makers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.perfo-maker {
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.perfo-maker > img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.perfo-maker h3 {
  margin: 0 0 6px;
  color: #101827;
  font-size: 20px;
  letter-spacing: 0;
}

.perfo-maker p {
  margin: 0;
  color: #657084;
  font-size: 14px;
  line-height: 1.5;
}

.perfo-maker-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.perfo-maker-links a {
  color: #101827;
  background: #fff;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  padding: 7px 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.perfo-maker-links a:hover {
  background: #eef2f7;
}

.perfo-footer-inner {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.perfo-footer strong {
  display: block;
  color: #101827;
  font-size: 16px;
  margin-bottom: 6px;
}

.perfo-footer p {
  max-width: 560px;
  margin: 0;
  color: #657084;
  font-size: 14px;
}

.perfo-footer .perfo-footer-legal {
  max-width: 760px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #7b8496;
}

.perfo-footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.perfo-footer-links a {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.perfo-footer-links a:hover {
  color: #101827;
}

@media (max-width: 820px) {
  .perfo-topbar-inner {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }

  .perfo-brand img {
    width: 150px;
  }

  .perfo-navlinks {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 2px;
  }

  .perfo-session-user {
    max-width: 140px;
  }

  .perfo-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .perfo-footer-links {
    justify-content: flex-start;
  }

  .perfo-makers-grid {
    grid-template-columns: 1fr;
  }

  .perfo-maker {
    flex-direction: column;
  }
}
