.site-header, .brand { font: 16px/1.55 Arial, Helvetica, sans-serif; }
.site-header {
  position: relative;
  z-index: 10;
  background: #11161c;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.site-header-inner { width: min(1240px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.site-header .brand { min-width: 240px; }
.brand:hover { color: #2d79b8; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: #2d79b8; border: 2px solid #fff; border-radius: 50%; font-weight: 800; font-size: 23px; }
.brand-text { display: block; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: .01em; }
.brand-subtitle { display: block; margin-top: 3px; color: #d7e3ee; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: 13px; font-weight: 700; }
.site-nav a { color: #fff; text-decoration: none; }
.site-nav a:hover { color: #a8d7f8; }
.site-header .nav-toggle { display: none; border: 0; color: #fff; background: transparent; font-size: 26px; cursor: pointer; }

@media (max-width: 780px) {
  .site-header-inner { width: calc(100% - 32px); max-width: 640px; min-height: 70px; }
  .site-header .nav-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; }
  .site-nav {
    position: absolute;
    inset: 100% 16px auto;
    display: none;
    max-width: 640px;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
    margin-inline: auto;
    padding: 8px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #11161c;
    box-shadow: 0 18px 40px rgba(20, 42, 67, .11);
  }
  .site-nav.is-open { display: grid; justify-content: stretch; gap: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .site-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .site-header .brand { min-width: 0; }
  .brand-text { font-size: 19px; }
  .brand-subtitle { font-size: 8px; }
  .brand-mark { width: 39px; height: 39px; font-size: 20px; }
}
