/* LP New conversion layer: inline video and low-friction lead capture. */

.inline-video {
  position: relative;
  min-width: 0;
}

.inline-video [hidden] {
  display: none !important;
}

.inline-video .loom-card {
  width: 100%;
}

.inline-video-player {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #080f1f;
  border: 1px solid rgba(143, 169, 247, 0.28);
  border-radius: 4px;
  box-shadow: 18px 18px 0 #275efe;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.inline-video-player.is-active {
  animation: inline-video-enter 420ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

.inline-video-toolbar {
  min-height: 58px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.inline-video-toolbar > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c9d5f5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.inline-video-toolbar > span i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d9ff61;
  box-shadow: 0 0 0 5px rgba(217, 255, 97, 0.12);
}

.inline-video-toolbar button {
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  cursor: pointer;
  transition-property: color, border-color, background-color, transform;
  transition-duration: 180ms;
}

.inline-video-toolbar button:hover,
.inline-video-toolbar button:focus-visible {
  color: #0c101c;
  background: #d9ff61;
  border-color: #d9ff61;
}

.inline-video-toolbar button:active {
  transform: scale(0.96);
}

.inline-video-toolbar button b {
  font-size: 20px;
  line-height: 1;
}

.inline-video-frame {
  aspect-ratio: 16 / 9;
  background: #030713;
}

.inline-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.quick-contact {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  background: #f3f6fc;
  border-top: 1px solid #d9dfeb;
  border-bottom: 1px solid #d9dfeb;
}

.quick-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 32, 63, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 32, 63, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.quick-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  overflow: hidden;
  color: #fff;
  background: #0c101c;
  border-radius: 8px;
  box-shadow: 18px 18px 0 #275efe;
}

.quick-contact-copy {
  position: relative;
  padding: clamp(42px, 5vw, 76px);
  background:
    radial-gradient(circle at 15% 90%, rgba(39, 94, 254, 0.44), transparent 42%),
    #0c101c;
}

.quick-contact-copy::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d9ff61;
}

.quick-contact-copy h2 {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.98;
}

.quick-contact-copy h2 em {
  color: #8fa9f7;
  -webkit-text-stroke: 1px #8fa9f7;
  -webkit-text-fill-color: transparent;
}

.quick-contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: #bdc8df;
  font-size: 18px;
  line-height: 1.55;
}

.quick-contact-copy ul {
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  list-style: none;
  color: #e7ebf4;
  font-size: 14px;
}

.quick-contact-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.quick-contact-copy li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #48d783;
  box-shadow: 0 0 0 5px rgba(72, 215, 131, 0.12);
}

.quick-contact-form {
  position: relative;
  padding: clamp(34px, 4vw, 60px);
  color: #0c101c;
  background: #fff;
}

.quick-form-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quick-form-heading span {
  font-family: MontserratBlack, sans-serif;
  font-size: 26px;
}

.quick-form-heading strong {
  color: #275efe;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quick-contact-form > label {
  margin: 19px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.quick-contact-form > label span {
  color: #7d879c;
  font-weight: 400;
}

.quick-contact-form > input,
.quick-contact-form > textarea {
  width: 100%;
  padding: 15px 16px;
  color: #0c101c;
  background: #f4f6fa;
  border: 1px solid #d4dae6;
  border-radius: 4px;
  outline: none;
  font: inherit;
  transition-property: border-color, box-shadow, background-color;
  transition-duration: 180ms;
}

.quick-contact-form > input {
  min-height: 58px;
}

.quick-contact-form > textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.45;
}

.quick-contact-form > input:focus,
.quick-contact-form > textarea:focus {
  background: #fff;
  border-color: #275efe;
  box-shadow: 0 0 0 3px rgba(39, 94, 254, 0.13);
}

.quick-contact-form > input:user-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.form-field-help {
  display: block;
  margin-top: 7px;
  color: #707b91;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.brief-form label .form-field-help {
  float: none;
}

.quick-contact-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 24px;
  justify-content: space-between;
  color: #0c101c;
  background: #d9ff61;
  border: 0;
  cursor: pointer;
}

.quick-contact-submit:hover,
.quick-contact-submit:focus-visible {
  background: #c8f244;
}

.quick-contact-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.quick-contact-privacy {
  margin: 12px 0 0;
  color: #707b91;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}

.quick-contact-privacy a {
  color: #275efe;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quick-contact-form .form-status {
  margin-bottom: 0;
}

.quick-contact-form .form-status a {
  color: currentColor;
  font-weight: 700;
  text-decoration: underline;
}

.mobile-brief-cta.is-hidden-quick {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

@keyframes inline-video-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .quick-contact-card {
    grid-template-columns: 1fr;
  }

  .quick-contact-copy::after {
    right: -34px;
    top: -54px;
  }
}

@media (max-width: 760px) {
  .inline-video-player {
    box-shadow: 9px 9px 0 #275efe;
  }

  .inline-video-toolbar {
    min-height: 52px;
    padding: 0 8px 0 13px;
  }

  .inline-video-toolbar > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .inline-video-toolbar button {
    flex: 0 0 auto;
  }

  .quick-contact {
    padding: 78px 0 88px;
  }

  .quick-contact::before {
    background-size: 42px 42px;
  }

  .quick-contact-card {
    width: calc(100% - 8px);
    margin-left: 0;
    border-radius: 5px;
    box-shadow: 8px 8px 0 #275efe;
  }

  .quick-contact-copy,
  .quick-contact-form {
    padding: 30px 20px;
  }

  .quick-contact-copy::after {
    width: 96px;
    right: -42px;
    top: -42px;
  }

  .quick-contact-copy h2 {
    font-size: 43px;
  }

  .quick-contact-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .quick-contact-copy ul {
    display: grid;
  }

  .quick-form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .quick-form-heading span {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inline-video-player.is-active {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .inline-video-toolbar button,
  .quick-contact-form > input,
  .quick-contact-form > textarea {
    transition: none;
  }
}
