/* Styles for the free audit video + form that aren't covered by the compiled Tailwind bundle. */
.audit-video-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  aspect-ratio: 16 / 9;
}
.audit-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.audit-choice {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.audit-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.audit-choice-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.audit-choice-option:hover {
  border-color: #3b82f6;
}
.audit-choice-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.audit-choice-option:focus-within {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.audit-choice-option.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}
/* Same video in the hero, between the headline copy and the two buttons. */
.audit-hero-video {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto 2.5rem;
}

/* Blue play button centered over the video until it starts (and again when paused). */
.audit-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.5rem;
  height: 5.5rem;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgb(59 130 246 / 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.audit-play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 30px -5px rgb(59 130 246 / 0.6);
}
.audit-play-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.audit-play-button svg {
  width: 2.5rem;
  height: 2.5rem;
  /* The triangle path already sits right of the viewBox centre, which optically centres it
     in the circle, so no extra nudge is needed. */
  display: block;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .audit-play-button {
    width: 4rem;
    height: 4rem;
  }
  .audit-play-button svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* The fixed header (logo + padding) is taller than the hero's original top padding,
   which clipped the top of the headline. */
#hero {
  padding-top: 12rem;
}

/* Heading + call to action between the audit video and the form. */
.audit-form-intro h3 {
  font-size: 2.25rem;
}
.audit-form-intro-cta {
  margin-top: 1rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .audit-form-intro h3 {
    font-size: 1.875rem;
  }
}
