/* Interest form — full-width Typeform over video, no page scroll */

html.page-interest-form-root,
body.page-interest-form {
  height: 100%;
  overflow: hidden;
  background: var(--nav-solid);
}

body.page-interest-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

/* Keep skip link fully off-screen until keyboard focus (page uses overflow:hidden) */
body.page-interest-form .skip-link {
  top: 0;
  left: 0.75rem;
  transform: translateY(-150%);
  clip-path: inset(100%);
}

body.page-interest-form .skip-link:focus {
  clip-path: none;
  transform: translateY(0.75rem);
}

.interest-form-bar {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(45, 106, 79, 0.12);
  box-shadow: 0 2px 14px rgba(15, 46, 33, 0.06);
}

.interest-form-bar .logo-block {
  margin: 0;
  min-height: 4.5rem;
  padding: 0 1.25rem 0 1.1rem;
  color: var(--white);
}

.interest-form-bar .logo-block__text {
  color: var(--white);
}

.interest-form-bar .host-btn {
  align-self: center;
  margin-right: clamp(0.85rem, 2.5vw, 1.5rem);
  min-height: 2.6rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(82, 183, 136, 0.35);
}

.interest-form-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.interest-form-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.interest-form-hero__video,
.interest-form-hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.interest-form-hero__video {
  pointer-events: none;
}

.interest-form-hero__fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .interest-form-hero__video {
    display: none;
  }

  .interest-form-hero__fallback {
    display: block;
  }
}

.interest-form-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(8, 18, 14, 0.42);
}

.interest-form-hero__layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(0.75rem, 2vh, 1.25rem) clamp(1rem, 3vw, 1.75rem) clamp(0.85rem, 2vh, 1.35rem);
  min-height: 0;
}

.interest-form-hero__widget {
  flex: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 56px rgba(8, 18, 14, 0.35);
}

.interest-form-hero__widget iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0;
}

/* Calendly preview — fill the card at native size (no zoom-out) */
html.page-interest-form-root:has(body.page-interest-calendly),
body.page-interest-calendly {
  height: 100%;
  overflow: hidden;
}

body.page-interest-calendly .interest-form-hero {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.interest-form-hero__layout--calendly {
  flex: 1;
  flex-direction: column;
  max-width: min(72rem, 100%);
  min-height: 0;
  height: auto;
  padding: clamp(0.85rem, 2vh, 1.25rem) clamp(1rem, 3vw, 1.75rem);
}

.interest-form-hero__widget--calendly {
  flex: 1;
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.interest-form-hero__widget--calendly .calendly-inline-widget {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.interest-form-hero__widget--calendly iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  border: 0;
}

@media (max-width: 560px) {
  html.page-interest-form-root,
  body.page-interest-form {
    overflow: auto;
    height: auto;
    min-height: 100%;
  }

  .interest-form-bar {
    flex-wrap: wrap;
    min-height: 0;
  }

  .interest-form-bar .logo-block {
    flex: 1;
    min-width: 0;
  }

  .interest-form-bar .host-btn {
    margin: 0 0.75rem 0.75rem;
    width: calc(100% - 1.5rem);
  }

  .interest-form-hero {
    min-height: calc(100svh - 5.5rem);
  }

  .interest-form-hero__widget {
    min-height: calc(100svh - 7.5rem);
  }

  html.page-interest-form-root:has(body.page-interest-calendly),
  body.page-interest-calendly {
    height: 100%;
    overflow: hidden;
  }

  body.page-interest-calendly .interest-form-hero,
  body.page-interest-calendly .interest-form-hero__widget {
    min-height: 0;
  }
}
