:root {
  --lr-header-height: 76px;
  --lr-header-ink: #0b1020;
  --lr-header-muted: #5f6878;
  --lr-header-line: rgba(11, 16, 32, 0.12);
  --lr-header-pink: #ff2d7d;
  --lr-header-violet: #7c3cff;
  --lr-header-panel: #ffffff;
}

[hidden] {
  display: none !important;
}

.lr-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #0b1020;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.lr-skip-link:focus {
  transform: translateY(0);
}

.lr-site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  width: 100%;
  min-height: var(--lr-header-height);
  color: var(--lr-header-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--lr-header-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lr-site-header.is-home {
  position: fixed;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.82), rgba(5, 8, 17, 0.08));
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lr-site-header.is-home.is-scrolled,
.lr-site-header.is-home.is-menu-open {
  color: var(--lr-header-ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--lr-header-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lr-header-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  width: min(100% - 48px, 1560px);
  min-height: var(--lr-header-height);
  margin: 0 auto;
  gap: 28px;
}

.lr-brand {
  position: relative;
  display: block;
  width: 132px;
  height: 30px;
}

.lr-brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 160ms ease;
}

.lr-brand-light,
.lr-site-header.is-home .lr-brand-dark {
  opacity: 0;
}

.lr-site-header.is-home .lr-brand-light {
  opacity: 1;
}

.lr-site-header.is-home.is-scrolled .lr-brand-dark,
.lr-site-header.is-home.is-menu-open .lr-brand-dark {
  opacity: 1;
}

.lr-site-header.is-home.is-scrolled .lr-brand-light,
.lr-site-header.is-home.is-menu-open .lr-brand-light {
  opacity: 0;
}

.lr-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 2px;
}

.lr-nav-item {
  position: static;
}

.lr-nav-trigger,
.lr-nav-direct,
.lr-sign-in,
.lr-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: inherit;
  font: 700 14px/1.1 inherit;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.lr-nav-trigger,
.lr-nav-direct {
  padding: 0 12px;
  border: 0;
  background: transparent;
  border-radius: 5px;
}

.lr-nav-trigger {
  gap: 5px;
  cursor: pointer;
}

.lr-nav-trigger > svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.lr-nav-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.lr-nav-trigger:hover,
.lr-nav-trigger:focus-visible,
.lr-nav-direct:hover,
.lr-nav-direct:focus-visible {
  background: rgba(124, 60, 255, 0.08);
  outline: none;
}

.lr-site-header.is-home:not(.is-scrolled):not(.is-menu-open) .lr-nav-trigger:hover,
.lr-site-header.is-home:not(.is-scrolled):not(.is-menu-open) .lr-nav-trigger:focus-visible,
.lr-site-header.is-home:not(.is-scrolled):not(.is-menu-open) .lr-nav-direct:hover,
.lr-site-header.is-home:not(.is-scrolled):not(.is-menu-open) .lr-nav-direct:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.lr-nav-panel {
  position: fixed;
  z-index: 920;
  top: var(--lr-header-height);
  left: 0;
  width: 100%;
  color: var(--lr-header-ink);
  background: rgba(255, 255, 255, 0.985);
  border-top: 1px solid rgba(11, 16, 32, 0.06);
  border-bottom: 1px solid rgba(11, 16, 32, 0.12);
  box-shadow: 0 24px 50px rgba(10, 15, 30, 0.14);
}

.lr-nav-panel-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.8fr);
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: 28px 0 32px;
  gap: 28px;
}

.lr-nav-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 246px;
  padding: 28px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 45, 125, 0.92), rgba(124, 60, 255, 0.94)),
    #7c3cff;
  border-radius: 7px;
  overflow: hidden;
}

.lr-nav-feature-kicker {
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lr-nav-feature strong {
  max-width: 12ch;
  margin: 18px 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.03;
}

.lr-nav-feature > span:not(.lr-nav-feature-kicker) {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.lr-nav-feature b {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  gap: 8px;
  font-size: 13px;
}

.lr-nav-feature svg,
.lr-nav-link > svg,
.lr-mobile-group-links > a > svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.lr-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 6px;
}

.lr-nav-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  color: var(--lr-header-ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  gap: 12px;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.lr-nav-link:hover,
.lr-nav-link:focus-visible {
  background: #f8f6fb;
  border-color: rgba(124, 60, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.lr-nav-link > svg {
  color: #98a0af;
}

.lr-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--lr-header-pink);
  background: #fff0f6;
  border-radius: 5px;
}

.lr-nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.lr-nav-link strong,
.lr-nav-link small {
  display: block;
}

.lr-nav-link strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.lr-nav-link small {
  color: var(--lr-header-muted);
  font-size: 12px;
  line-height: 1.35;
}

.lr-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lr-sign-in,
.lr-join {
  padding: 0 17px;
  border-radius: 999px;
}

.lr-sign-in {
  border: 1px solid currentColor;
}

.lr-join {
  min-width: 118px;
  color: #fff;
  background: linear-gradient(105deg, var(--lr-header-pink), var(--lr-header-violet));
  box-shadow: 0 9px 24px rgba(255, 45, 125, 0.2);
}

.lr-menu-button {
  display: none;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 5px;
  cursor: pointer;
}

.lr-menu-button span {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 2.5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.lr-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.lr-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.lr-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.lr-mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  :root {
    --lr-header-height: 68px;
  }

  .lr-header-inner {
    grid-template-columns: 1fr auto;
    width: min(100% - 32px, 920px);
    gap: 16px;
  }

  .lr-brand {
    width: 124px;
    height: 26px;
  }

  .lr-desktop-nav,
  .lr-header-actions > .lr-sign-in,
  .lr-header-actions > .lr-join {
    display: none;
  }

  .lr-menu-button {
    display: grid;
  }

  .lr-mobile-menu {
    position: fixed;
    z-index: 880;
    inset: var(--lr-header-height) 0 0;
    display: block;
    visibility: hidden;
    color: var(--lr-header-ink);
    background: #fff;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 0s linear 170ms;
  }

  .lr-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .lr-mobile-menu-scroll {
    height: 100%;
    padding: 16px 20px 36px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .lr-mobile-group {
    border-bottom: 1px solid var(--lr-header-line);
  }

  .lr-mobile-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    font-size: 18px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
  }

  .lr-mobile-group summary::-webkit-details-marker {
    display: none;
  }

  .lr-mobile-group summary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 150ms ease;
  }

  .lr-mobile-group[open] summary svg {
    transform: rotate(180deg);
  }

  .lr-mobile-group-links {
    display: grid;
    padding: 0 0 18px;
    gap: 4px;
  }

  .lr-mobile-feature {
    display: grid;
    padding: 16px;
    margin-bottom: 8px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(130deg, var(--lr-header-pink), var(--lr-header-violet));
    border-radius: 6px;
    gap: 5px;
  }

  .lr-mobile-feature strong {
    font-size: 17px;
  }

  .lr-mobile-feature span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.45;
  }

  .lr-mobile-group-links > a:not(.lr-mobile-feature) {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 52px;
    padding: 5px 4px;
    color: var(--lr-header-ink);
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    gap: 11px;
  }

  .lr-mobile-group-links .lr-nav-icon {
    width: 36px;
    height: 36px;
  }

  .lr-mobile-direct {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    gap: 8px;
  }

  .lr-mobile-direct a,
  .lr-mobile-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: var(--lr-header-ink);
    font-weight: 750;
    text-decoration: none;
    border: 1px solid var(--lr-header-line);
    border-radius: 5px;
  }

  .lr-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    gap: 8px;
  }

  .lr-mobile-actions .lr-join {
    color: #fff;
    border: 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .lr-header-inner {
    width: calc(100% - 24px);
  }

  .lr-mobile-menu-scroll {
    padding-inline: 12px;
  }

  .lr-mobile-direct,
  .lr-mobile-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lr-site-header,
  .lr-brand img,
  .lr-nav-trigger > svg,
  .lr-nav-link,
  .lr-menu-button span,
  .lr-mobile-menu,
  .lr-mobile-group summary svg {
    transition: none !important;
  }
}
