@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

:root {
  --site-topbar-primary: #0a66c2;
  --site-topbar-primary-dark: #004182;
  --site-topbar-ink: #142433;
  --site-topbar-muted: #5f6b7a;
  --site-topbar-line: rgba(216, 225, 234, 0.94);
  --site-topbar-white: #ffffff;
  --site-topbar-shadow: 0 18px 40px rgba(20, 36, 51, 0.12);
  --site-font-sans: "Overpass", "Cerebri Sans", "CerebriSans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --site-font-display: "Gilroy ExtraBold", "Gilroy-Heavy", "Gilroy-Bold", "Overpass", "Cerebri Sans", "CerebriSans", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Gilroy ExtraBold";
  font-style: normal;
  font-weight: 800;
  src:
    local("Gilroy ExtraBold"),
    local("Gilroy-ExtraBold"),
    local("Gilroy-Heavy"),
    url("https://fonts.cdnfonts.com/s/16219/Gilroy-Heavy.woff") format("woff");
  font-display: swap;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--site-topbar-line);
  font-family: var(--site-font-sans);
}

.site-topbar__container {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.site-topbar__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-topbar__logo {
  width: 235px;
  height: auto;
  display: block;
  object-fit: contain;
}

.site-topbar__toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid rgba(0, 65, 130, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--site-topbar-primary-dark);
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.site-topbar__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-topbar__nav,
.site-topbar__actions,
.site-topbar__page-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-topbar__nav {
  padding: 7px;
  border: 1px solid rgba(0, 65, 130, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.94));
  box-shadow: 0 10px 24px rgba(20, 36, 51, 0.06);
  color: var(--site-topbar-muted);
  font-size: 0.93rem;
}

.site-topbar__nav a,
.site-topbar__actions a,
.site-topbar__actions button,
.site-topbar__page-actions a,
.site-topbar__page-actions button {
  text-decoration: none;
}

.site-topbar__link,
.site-topbar__button,
.site-topbar__cta,
.site-topbar__ghost,
.site-topbar__page-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-topbar__link {
  color: var(--site-topbar-muted);
  padding: 0 14px;
  min-height: 40px;
  border-radius: 999px;
}

.site-topbar__link:hover,
.site-topbar__link.is-active {
  color: var(--site-topbar-primary-dark);
  background: rgba(10, 102, 194, 0.08);
}

.site-topbar__link.is-active {
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(10, 102, 194, 0.12);
}

.site-topbar__button,
.site-topbar__ghost,
.site-topbar__page-action {
  border: 1px solid rgba(0, 65, 130, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-topbar-primary-dark);
  cursor: pointer;
}

.site-topbar__cta {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--site-topbar-primary), var(--site-topbar-primary-dark));
  color: var(--site-topbar-white);
  box-shadow: 0 14px 28px rgba(10, 102, 194, 0.2);
}

.site-topbar__button:hover,
.site-topbar__cta:hover,
.site-topbar__ghost:hover,
.site-topbar__page-action:hover {
  transform: translateY(-1px);
}

.site-topbar__actions {
  justify-content: flex-end;
  margin-left: auto;
}

.site-topbar__page-actions {
  display: none;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 65, 130, 0.12);
}

.site-topbar__page-actions:has(.site-topbar__page-action:not(.hidden)) {
  display: flex;
}

.site-topbar[data-site-auth-mode="page-actions"] .site-topbar__actions.is-hidden {
  display: none;
}

.site-topbar__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-topbar-auth-page {
  display: block;
  min-height: 100vh;
  padding: 0;
}

.site-topbar-auth-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto 24px;
}

.site-topbar-auth-shell.site-topbar-auth-shell--narrow {
  width: min(980px, calc(100% - 32px));
}

@media (max-width: 820px) {
  .site-topbar__toggle {
    display: inline-flex;
  }

  .site-topbar__panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .site-topbar.is-open .site-topbar__panel {
    display: flex;
  }

  .site-topbar__nav,
  .site-topbar__actions,
  .site-topbar__page-actions {
    width: 100%;
    padding-left: 0;
    border-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .site-topbar__link,
  .site-topbar__button,
  .site-topbar__cta,
  .site-topbar__ghost,
  .site-topbar__page-action {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .site-topbar__link {
    border: 1px solid rgba(0, 65, 130, 0.14);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 16px;
    min-height: 48px;
  }

  .site-topbar__link.is-active {
    background: rgba(10, 102, 194, 0.08);
  }
}
