.platformHeader,
.platformHeader *,
.sidebarWordmark,
.sidebarWordmark * {
  box-sizing: border-box;
}

:root {
  --apogin-header-height: 52px;
  --apogin-wordmark-width: 232px;
  --apogin-wordmark-size: 23px;
  --apogin-wordmark-weight: 700;
  --apogin-wordmark-spacing: 0;
}

.platformHeader {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e1e1df;
  display: flex;
  height: var(--apogin-header-height);
  max-height: var(--apogin-header-height);
  min-height: var(--apogin-header-height);
  justify-content: space-between;
  padding: 0 28px 0 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.platformWordmark {
  align-items: center;
  color: #0a0a0b;
  display: flex;
  flex: 0 0 var(--apogin-wordmark-width);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--apogin-wordmark-size);
  font-weight: var(--apogin-wordmark-weight);
  height: var(--apogin-header-height);
  max-height: var(--apogin-header-height);
  max-width: var(--apogin-wordmark-width);
  min-height: var(--apogin-header-height);
  min-width: var(--apogin-wordmark-width);
  justify-content: center;
  letter-spacing: var(--apogin-wordmark-spacing);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  width: var(--apogin-wordmark-width);
}

.platformWordmark span {
  display: block;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
  width: 100%;
}

.sidebarWordmark {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e1e1df;
  display: flex;
  height: var(--apogin-header-height);
  max-height: var(--apogin-header-height);
  min-height: var(--apogin-header-height);
  justify-content: center;
  margin: 0 -16px 24px;
  padding: 0 16px;
}

.platformNav {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: flex-end;
  padding: 0;
}

.platformNavLink {
  border-radius: 6px;
  color: #0a0a0b;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 10px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.platformNavLink:hover,
.platformNavLink.active {
  background: #f6f6f6;
  color: #0a0a0b;
}

.platformHeader .primaryButton,
.platformHeader .secondaryButton {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding: 0 16px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
  white-space: nowrap;
}

.platformHeader .primaryButton {
  background: #0a0a0b;
  border: 1px solid #0a0a0b;
  color: #ffffff;
}

.platformHeader .primaryButton:hover {
  background: #17171a;
}

.platformHeader .secondaryButton {
  background: #ffffff;
  border: 1px solid #e1e1df;
  color: #0a0a0b;
}

.platformHeader .secondaryButton:hover {
  background: #f8f8f7;
  border-color: #cfcfcc;
}

.platformIconButton {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 24px;
}

.platformIconButton svg {
  fill: none;
  height: 21px;
  stroke: #0a0a0b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 21px;
}

@media (max-width: 720px) {
  .platformHeader {
    padding: 0 16px;
  }

  .platformNav {
    gap: 10px;
  }

  .platformNavLink {
    display: none;
  }
}
