/* Added locally (not part of the CodeMirror capture).
   Styles for the two widgets the capture could not carry: the header menu and
   the FAQ answers.

   These deliberately avoid Tailwind arbitrary-value classes (`bg-[hsl(...)]`,
   `z-[60]`). Those only exist in the stylesheet if the site's build happened to
   emit them, and the compiled sheet here has no rule for the ones this markup
   needs — a panel styled that way renders fully transparent. Real tokens and
   plain CSS are used instead. */

/* Header wordmark. Sized here rather than with `h-6 md:h-10` because the
   compiled sheet only contains the responsive height variants the original
   site happened to use — `md:h-16` exists, `md:h-10` does not, so the Tailwind
   version silently stayed at the mobile size on desktop. */
.cm-brand-wordmark {
  height: 1.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .cm-brand-wordmark {
    height: 2.5rem;
  }
}

.cm-menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 60;
  margin-top: 0.5rem;
  width: 14rem;
  padding: 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background-color: hsl(var(--surface-elevated));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.cm-menu-panel[hidden] {
  display: none;
}

.cm-menu-item {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: hsl(var(--foreground));
  transition: background-color 0.2s, color 0.2s;
}

.cm-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.cm-menu-item--highlight {
  color: hsl(var(--gold));
}

.cm-menu-item--highlight:hover {
  color: hsl(var(--gold) / 0.8);
}

/* Video slot inside the phone mockup.
   The frame is aspect-ratio 9/19 (0.474) and the Wistia video is 9:16 (0.5625),
   so the video is wider than the slot. It is fitted by width and centered,
   which is exactly how a 9:16 video sits on a taller phone screen — the
   container is already bg-black, so the letterboxing reads as the device. */
.cm-video-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-video-slot wistia-player {
  display: block;
  width: 100%;
}

/* FAQ answers. The captured content regions are empty and carry `hidden`. */
.cm-faq-answer {
  padding: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}
