.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}
.button:hover { transform: translateY(-2px); border-color: var(--green); }
.button.primary { border-color: var(--green); background: var(--green); color: #102117; }
.button.primary:hover { background: #69dda1; }
.button svg { width: 16px; height: 16px; }
.nav .button, .nav-cta { min-height: 44px; }
.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid #ffffff12;
  background: #131413e8;
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: var(--green);
  font-size: 13px;
}
.brand-mark img {
  width: 26px;
  height: 24px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #c3c9c3;
  font-size: 14px;
  font-weight: 650;
}
.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: var(--green);
}
.nav-cta {
  min-height: 44px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--text);
}
.footer {
  padding: 50px 0 22px;
  border-top: 1px solid var(--line);
  background: #101110;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}
.footer-about p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer h2,
.footer h3 {
  margin: 0 0 15px;
  font-size: 14px;
  letter-spacing: 0;
}
.footer-links {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--green);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #899189;
  font-size: 11px;
}
@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px 18px 17px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav-links > a {
    padding: 12px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-about {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  color: #c3c9c3;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary,
.nav-dropdown:focus-within summary {
  color: var(--green);
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.8;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
  opacity: 1;
}

.nav-dropdown[open] .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: -14px;
  display: none;
  min-width: 260px;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #343a34;
  border-radius: 11px;
  background: #191c19;
  box-shadow: 0 18px 45px #0008;
}

.nav-dropdown-panel::before {
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
  height: 8px;
  content: '';
}

.nav-dropdown[open] .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: grid;
}

.nav-dropdown-panel a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border-radius: 7px;
  color: #d3d9d3;
  font-size: 12px;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  outline: none;
  background: #49cd8a12;
  color: var(--green);
}

.nav-dropdown-panel .nav-dropdown-all {
  margin-bottom: 4px;
  border-bottom: 1px solid #303630;
  border-radius: 7px 7px 0 0;
  color: var(--green);
  font-weight: 800;
}

.nav-dropdown-panel .nav-dropdown-all span {
  font-size: 15px;
}

.nav-links.open .nav-dropdown {
  display: grid;
  width: 100%;
}

.nav-links.open .nav-dropdown summary {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.nav-links.open .nav-dropdown-panel {
  position: static;
  min-width: 0;
  max-height: none;
  padding: 0 0 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-links.open .nav-dropdown-panel::before {
  display: none;
}

.nav-links.open .nav-dropdown-panel .nav-dropdown-all {
  border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown summary,
  .dropdown-chevron,
  .nav-dropdown-panel a {
    transition: none;
  }
}
