/* Shared navigation for the landing, product pages and journal. Intentionally scoped. */
.wl-header,
.wl-header * {
  box-sizing: border-box;
}
.wl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  color: #0b0f1a;
  font-family: Inter, Arial, sans-serif;
  background: rgba(255, 248, 242, 0.84);
  border-bottom: 1px solid rgba(80, 54, 33, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.wl-header.is-scrolled {
  background: rgba(255, 251, 247, 0.96);
  box-shadow: 0 3px 22px #52362108;
}
.wl-header__inner {
  max-width: 1328px;
  margin: auto;
  min-height: 88px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.wl-header a {
  color: inherit;
  text-decoration: none;
}
.wl-header a:hover {
  text-decoration: none;
}
.wl-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.wl-brand img {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.wl-brand span {
  font-size: 25px;
  letter-spacing: 0.055em;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}
.wl-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 26px);
}
.wl-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wl-nav a::after {
  position: absolute;
  content: "";
  height: 2px;
  left: 0;
  right: 0;
  bottom: 4px;
  background: #fa7443;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.wl-nav a:hover::after,
.wl-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.wl-header__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: none;
}
.wl-language {
  display: flex;
  padding: 3px;
  border-radius: 30px;
  background: #ffffffc9;
}
.wl-language button,
.wl-language a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: #151927;
  font:
    700 12px Inter,
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.wl-language button[aria-pressed="true"],
.wl-language a[aria-current] {
  color: #fff;
  background: #f87949;
}
.wl-header .wl-login {
  min-height: 40px;
  padding: 0 28px;
  background: #fffaf6;
  border: 1px solid #ffffffa6;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.wl-header .wl-login:hover {
  background: #ffeadc;
  transform: translateY(-1px);
}
.wl-menu {
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.wl-menu span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.wl-menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wl-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.wl-menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.wl-menu[hidden] {
  display: none;
}
.wl-header :focus-visible,
.wl-skip:focus-visible {
  outline: 3px solid #be491f;
  outline-offset: 5px;
}
.wl-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #0b0f1a;
  color: #fff;
  font:
    600 14px Inter,
    Arial,
    sans-serif;
  transform: translateY(-160%);
}
.wl-skip:focus {
  transform: translateY(0);
}
@media (min-width: 1041px) {
  .wl-menu {
    display: none;
  }
}
@media (max-width: 1180px) and (min-width: 1041px) {
  .wl-brand span {
    font-size: 22px;
  }
  .wl-nav {
    gap: 15px;
  }
  .wl-header__actions {
    gap: 10px;
  }
  .wl-header__inner {
    gap: 18px;
  }
  .wl-header .wl-login {
    padding: 0 20px;
  }
}
@media (max-width: 1040px) {
  .wl-header__inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 80px;
  }
  .wl-header__actions {
    gap: 14px;
  }
  .wl-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 25px;
    padding: 12px 0 5px;
  }
  .wl-header.is-enhanced .wl-nav {
    display: none;
  }
  .wl-header.is-enhanced.is-menu-open .wl-nav {
    display: flex;
  }
  .wl-menu:not([hidden]) {
    display: block;
  }
  .wl-header.is-menu-open {
    background: #fffbf7;
  }
}
@media (max-width: 600px) {
  .wl-header__inner {
    padding: 12px 20px;
    min-height: 78px;
  }
  .wl-brand {
    gap: 9px;
  }
  .wl-brand img {
    width: 41px;
    height: 41px;
  }
  .wl-brand span {
    font-size: 21px;
    letter-spacing: 0.035em;
  }
  .wl-header__actions {
    gap: 12px;
  }
  .wl-language button,
  .wl-language a {
    min-width: 33px;
    min-height: 30px;
    padding: 0 7px;
  }
  .wl-header .wl-login {
    display: none;
  }
  .wl-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 18px;
  }
  .wl-nav a {
    padding: 16px 4px;
    font-size: 14px;
    border-top: 1px solid #ede3d9;
  }
  .wl-nav a::after {
    display: none;
  }
  .wl-nav a[aria-current="page"] {
    color: #bf4b25;
  }
  .wl-nav .wl-mobile-login {
    background: #f87949;
    color: white;
    border-radius: 30px;
    text-align: center;
    margin: 12px 0 6px;
    border: 0;
  }
}
@media (min-width: 601px) {
  .wl-nav .wl-mobile-login {
    display: none;
  }
}
@media (max-width: 370px) {
  .wl-header__inner {
    padding-inline: 16px;
  }
  .wl-brand span {
    font-size: 18px;
  }
  .wl-brand img {
    width: 36px;
    height: 36px;
  }
  .wl-header__actions {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-header *,
  .wl-header {
    transition: none !important;
  }
}
