/*
 * Navigation and CTA refinement
 *
 * Interaction is communicated through typography, contrast, and restrained
 * surface changes. No active pills, underline accents, or arrow glyphs.
 */

/* Navbar links: weight-only current state. */
.top-nav .nav-links a {
  margin-inline: 0 !important;
  padding-inline: 10px !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.54) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  transform: none !important;
  transition:
    color 170ms ease-out,
    opacity 170ms ease-out,
    font-weight 170ms ease-out !important;
}

.top-nav .nav-links a::after {
  display: none !important;
}

.top-nav .nav-links a:hover,
.top-nav .nav-links a:focus-visible {
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  font-weight: 650 !important;
  transform: none !important;
}

.top-nav .nav-links a[aria-current="location"] {
  color: #ffffff !important;
  background: transparent !important;
  font-weight: 760 !important;
  transform: none !important;
}

.top-nav .nav-links a:active {
  color: rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
  transform: none !important;
}

/* Navbar conversion action: dark graphite instead of a white pill. */
.top-nav .nav-cta {
  gap: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(34, 34, 37, 0.92) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
  font-weight: 620 !important;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    color 180ms ease-out,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.top-nav .nav-cta:hover,
.top-nav .nav-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  background: rgba(48, 48, 52, 0.96) !important;
  transform: translateY(-1px) !important;
}

.top-nav .nav-cta:active {
  background: rgba(27, 27, 30, 0.98) !important;
  transform: translateY(0) scale(0.98) !important;
}

/* Match the hero supporting copy to the navbar's Manrope type system. */
.hero-sticky .story-beat .supporting-copy {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
}

/* Two clean, text-only hero actions. */
.hero-actions {
  display: flex;
  width: fit-content;
  margin-top: clamp(24px, 2.2vw, 31px);
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero-actions .hero-waitlist-cta,
.hero-actions .hero-pricing-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 19px !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  pointer-events: none;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    box-shadow 180ms ease-out,
    color 180ms ease-out,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-actions .hero-waitlist-cta {
  border: 1px solid rgba(255, 255, 255, 0.94);
  color: #080808;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.hero-actions .hero-pricing-cta {
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(52, 52, 56, 0.74);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero-sticky:has(.stage-item[data-stage="0"].is-active) .hero-actions,
.hero-sticky:has(.stage-item[data-stage="0"].is-active) .hero-actions a {
  pointer-events: auto;
}

.hero-actions .hero-waitlist-cta:hover,
.hero-actions .hero-waitlist-cta:focus-visible {
  color: #050505;
  background: #ffffff;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.25),
    0 0 28px rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.hero-actions .hero-pricing-cta:hover,
.hero-actions .hero-pricing-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(67, 67, 72, 0.9);
  transform: translateY(-2px);
}

.hero-actions a:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Defensive cleanup for known CTA icon wrappers. */
:where(.nav-cta, .hero-waitlist-cta, .hero-pricing-cta, .pricing-cta, .text-link) .cta-arrow,
:where(.nav-cta, .hero-waitlist-cta, .hero-pricing-cta, .pricing-cta, .text-link) .button-arrow {
  display: none !important;
}

@media (max-width: 820px) {
  .hero-actions {
    margin: 22px auto 0;
    justify-content: center;
  }

  .hero-actions .hero-waitlist-cta,
  .hero-actions .hero-pricing-cta {
    min-height: 44px;
    padding-inline: 17px !important;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    width: 100%;
    gap: 8px;
  }

  .hero-actions .hero-waitlist-cta,
  .hero-actions .hero-pricing-cta {
    min-width: 0;
    min-height: 42px;
    padding-inline: 15px !important;
    flex: 1 1 0;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-nav .nav-links a,
  .top-nav .nav-cta,
  .hero-actions a {
    transition: none !important;
  }
}