

/* ===== Header ===== */
.site-header {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(1100px 600px at 16% 12%, rgba(255, 77, 90, .18), transparent 58%),
    radial-gradient(900px 600px at 78% 22%, rgba(72, 133, 237, .12), transparent 62%),
    linear-gradient(100deg, var(--grad-start) 20%, var(--grad-mid) 42%, var(--grad-end) 90%);
  overflow-x: clip;
}

.container-header {
  max-width: none;
  padding-block: 25px;
  padding-inline: clamp(16px, 4vw, 56px);
}

.brand-image {
  height: 40px;
  width: auto;
  display: block
}

  @media (max-width:560px) {
      .brand-image {
        height: 32px
      }
    }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 70px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 1.6rem;
}

.brand .form {
  color: #fff;
}

.brand .llc {
  color: #ff4d5a;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.actions {
  display: flex;
  gap: 12px;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 77, 90, .35);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropbtn {
  background: none;
  border: none;
  font: inherit;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.dropbtn:hover {
  color: #fff;
  text-decoration: none;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0e1228;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 220px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 999;
  max-width: min(92vw, 360px);
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #e5e9f2;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
}

/* Hide by default */
.dropdown-content {
  display: none;
}

/* Desktop hover only */
@media (min-width: 921px) {
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
}

/* Mobile toggle */
@media (max-width: 920px) {
  .dropdown.open .dropdown-content {
    display: block;
  }
}


/* Burger + Mobile menu */
.burger {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: #fff;
}

@media (max-width:920px) {

  .nav-links,
  .actions {
    display: none;
  }

  .burger {
    display: inline-grid;
    place-items: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 10px;
    border-radius: 10px;
    color: #e5e9f2;
  }

  .dropdown-content {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    display: none;
    transform: none;
    top: auto;
    left: auto;
    max-width: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 10px 20px;
  }
}

.mmenu {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 18, .55);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 1000;
}

.mmenu.open {
  display: block;
}

.sheet {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: #0e1228;
  border-left: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
}

.sheet a {
  display: block;
  color: #e5e9f2;
  text-decoration: none;
  padding: 14px 10px;
  border-radius: 10px;
}

.sheet a:hover {
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
}

.mmenu .dropdown-content {
  display: none;
}

.mmenu .dropdown.open .dropdown-content {
  display: block;
}
