:root {
  --brand: #39ff14;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #000000;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  position: relative;
  background: #000000;
}

.header__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.header__mark {
  height: 1.625rem;
  width: auto;
  display: block;
}

.header__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #ffffff;
}

.header__center {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__link {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d4;
}

.header__link:hover,
.header__link:focus-visible {
  color: #ffffff;
}

.header__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.header__underline {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 1px;
  background: var(--brand);
  transform-origin: left;
  transform: scaleX(0);
}

.header__link:hover .header__underline,
.header__link:focus-visible .header__underline,
.header__link[data-active="true"] .header__underline {
  transform: scaleX(1);
}

.header__divider {
  width: 1px;
  height: 1rem;
  background: #262626;
  flex-shrink: 0;
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header__dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--brand);
  flex-shrink: 0;
  animation: header06-dot-pulse 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.header__status-text {
  font-size: 0.75rem;
  color: #a3a3a3;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__cta {
  display: none;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #404040;
  background: transparent;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.header__cta:hover {
  border-color: #525252;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px -4px rgba(57, 255, 20, 0.35);
}

.header__cta:focus-visible {
  border-color: #525252;
  box-shadow: 0 0 20px -4px rgba(57, 255, 20, 0.35);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: none;
  color: #ffffff;
  cursor: pointer;
}

.header__menu-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.header__menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header__menu-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Drawer */

.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  animation: header06-overlay-in 200ms ease-out both;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  box-shadow: -20px 0 48px -20px rgba(0, 0, 0, 0.6);
  animation: header06-drawer-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #262626;
  padding: 1rem 1.25rem;
}

.drawer__wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background: none;
  color: #ffffff;
  cursor: pointer;
}

.drawer__close svg {
  width: 1.125rem;
  height: 1.125rem;
}

.drawer__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer__close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.drawer__link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d4;
}

.drawer__link:hover,
.drawer__link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  outline: none;
}

.drawer__link[data-active="true"] {
  color: #ffffff;
}

.drawer__status-row {
  margin-top: 1rem;
  padding: 1rem 0.75rem 0;
  border-top: 1px solid #262626;
}

.drawer__footer {
  border-top: 1px solid #262626;
  padding: 1rem;
}

.drawer__cta {
  display: block;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #404040;
  background: transparent;
  color: #ffffff;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.drawer__cta:hover {
  border-color: #525252;
  background: rgba(255, 255, 255, 0.05);
}

.drawer__cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@keyframes header06-dot-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes header06-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes header06-drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__link,
  .header__underline,
  .header__cta {
    transition: none;
  }

  .header__dot,
  .drawer-overlay,
  .drawer {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .header__link {
    transition: color 200ms ease;
  }

  .header__underline {
    transition: transform 200ms ease;
  }

  .header__cta {
    transition:
      background-color 200ms ease,
      border-color 200ms ease,
      box-shadow 200ms ease;
  }
}

@media (min-width: 640px) {
  .header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header__center {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__menu-btn {
    display: none;
  }

  .drawer-root {
    display: none !important;
  }

  .header__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
