/* Mobile-only conversion path. Loaded after the main Webflow stylesheet. */
.mobile-discovery-cta {
  display: none;
}

@media screen and (max-width: 767px) {
  /* Keep the Cosmic mark present without crowding the compact mobile header. */
  .navbar .logo,
  .navbar .logo.w--current {
    display: block !important;
    width: 38px !important;
    height: 34px !important;
    background-image: url('../images/Mask-group.webp');
    background-position: -2px center;
    background-repeat: no-repeat;
    background-size: auto 32px;
  }

  .navbar .logo .image {
    display: none !important;
  }

  body.mobile-cta-active {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-discovery-cta {
    display: block;
    position: fixed;
    z-index: 100000000;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .mobile-discovery-cta:not(.is-hidden) {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-discovery-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 20px;
    color: var(--text-inverse, #fff);
    background: var(--bg-dark, #050505);
    border: 1px solid var(--border-strong, #000);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    font-family: var(--font-family, sans-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
  }

  .mobile-discovery-cta__link:focus-visible {
    outline: 3px solid var(--accent-light, #74c9fc);
    outline-offset: 3px;
  }

  .mobile-discovery-cta__link:active {
    transform: translateY(1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-discovery-cta {
    transition: none;
  }
}
