:root {
  --foreground: #171717;
  --muted-foreground: #6b6b6b;
  --border: rgba(229, 229, 229, 0.7);
  --brand: #39ff14;
  --brand-foreground: #0a0a0a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--foreground);
  background: #ffffff;
}

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

.page {
  min-height: 100vh;
  background: #ffffff;
}

.nav {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

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

.nav__left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
}

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

.nav__mark {
  height: 1.375rem;
  width: auto;
  display: block;
}

.nav__wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 150ms ease;
}

.nav__link:hover {
  color: var(--brand);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.nav__cta {
  display: none;
  align-items: center;
  border-radius: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background-color 150ms ease,
    opacity 150ms ease;
}

.nav__cta--secondary {
  color: var(--foreground);
}

.nav__cta--secondary:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav__cta--primary {
  background: var(--brand);
  color: var(--brand-foreground);
  font-weight: 600;
}

.nav__cta--primary:hover {
  opacity: 0.9;
}

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

.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  border: none;
  background: none;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.nav__menu-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

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

.icon-menu,
.icon-close {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-close {
  display: none;
}

.nav__menu-btn.is-open .icon-menu {
  display: none;
}

.nav__menu-btn.is-open .icon-close {
  display: block;
}

.nav__mobile-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  animation: nb3-panel 140ms ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .nav__mobile-panel {
    animation: none;
  }
}

@keyframes nb3-panel {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__mobile-links {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
}

.nav__mobile-link {
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms ease;
}

.nav__mobile-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav__mobile-cta-group {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__mobile-cta--primary {
  background: var(--brand);
  color: var(--brand-foreground);
  font-weight: 600;
}

.content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.content__placeholder {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e5e5e5;
  border-radius: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

  .nav__cta {
    display: inline-flex;
  }

  .nav__menu-btn {
    display: none;
  }

  .nav__mobile-panel {
    display: none !important;
  }
}

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

  .nav__mobile-links {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav__inner,
  .content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
