html { scrollbar-gutter: stable; }

.chalever-site-navigation {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #030811ed;
  border-bottom: 1px solid #c3d1e01a;
  backdrop-filter: blur(18px);
}

.chalever-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1180px, calc(100% - 100px));
  min-height: 89px;
  margin-inline: auto;
}

.chalever-header-brand { flex: 0 0 auto; margin-inline-end: auto; }
.chalever-header-brand img { display: block; width: 252px; height: 66px; object-fit: contain; object-position: left center; }
.chalever-menu-button { display: none; }

nav.chalever-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 28px;
  color: #c7d0db;
}

nav.chalever-navigation a,
nav.chalever-navigation summary {
  color: inherit;
  text-decoration: none;
  font: 400 12px/1.85 Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
}

nav.chalever-navigation a:hover,
nav.chalever-navigation a:focus-visible,
nav.chalever-navigation summary:hover,
nav.chalever-navigation summary:focus-visible { color: #fff; }

.chalever-nav-group { position: relative; }
.chalever-nav-group summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.chalever-nav-group summary::-webkit-details-marker { display: none; }
.chalever-nav-group summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.chalever-nav-group[open] summary::after { transform: translateY(1px) rotate(225deg); }
.chalever-nav-links {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: -12px;
  min-width: max-content;
  padding: 4px;
  border: 1px solid #44566b;
  background: #0b1421;
  box-shadow: 0 10px 22px #0006;
}
nav.chalever-navigation .chalever-nav-links a { display: block; padding: 8px 12px; font-size: .875rem; }
nav.chalever-navigation .chalever-nav-links a:hover { background: #1b2b3e; }

nav.chalever-navigation .chalever-nav-cta { border: 1px solid #8796a7; padding: 10px 17px; }
nav.chalever-navigation .chalever-nav-cta:hover { background: #e6e8ec; color: #030811; }

@media (max-width: 1000px) {
  .chalever-header-inner { width: calc(100% - 54px); }
  .chalever-header-brand img { width: 210px; }
  nav.chalever-navigation { gap: 15px; }
}

@media (max-width: 840px) {
  .chalever-header-inner { width: calc(100% - 38px); min-height: 74px; }
  .chalever-header-brand img { width: 198px; height: 58px; }
  .chalever-menu-button {
    display: block;
    padding: 8px 13px;
    border: 1px solid #68788b;
    color: #e6e8ec;
    background: none;
    font: 400 14px/1.85 Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    cursor: pointer;
  }
  nav.chalever-navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 20px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: #07101c;
    border-bottom: 1px solid #53657a;
  }
  .chalever-nav-group summary { justify-content: space-between; }
  .chalever-nav-links {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }
  .chalever-menu-button[aria-expanded="true"] + nav.chalever-navigation { display: flex; }
  nav.chalever-navigation .chalever-nav-cta { text-align: center; }
}

.chalever-language {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #aebccc;
  font: 500 12px/1.2 Arial, sans-serif;
  letter-spacing: .06em;
}
.chalever-language a, .chalever-language span { padding: 6px 4px; }
.chalever-language a { color: inherit; text-decoration: none; }
.chalever-language a:hover, .chalever-language a:focus-visible { color: #fff; }
.chalever-language [aria-current] { color: #fff; border-bottom: 1px solid #aebccc; }

@media (min-width: 841px) and (max-width: 1100px) {
  .chalever-header-brand img { width: 170px; }
  nav.chalever-navigation { gap: 13px; }
}

@media (max-width: 840px) {
  .chalever-header-brand img { width: clamp(120px, 35vw, 198px); }
}
