.contact-layout {
  max-width: var(--width-xl);
  width: 100%;
  position: relative;
  isolation: isolate;
  margin: 2.5rem auto 6rem auto;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  gap: clamp(2.5rem, 6vw, 5rem);
  padding: 2.75rem 2rem 4.5rem;
}

.contact-layout::before,
.contact-layout::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-full);
  pointer-events: none;
  filter: blur(10px);
}

.contact-layout::before {
  top: 0;
  left: 1rem;
  width: 15rem;
  height: 15rem;
}

.contact-layout::after {
  right: 3rem;
  bottom: 1rem;
  width: 12rem;
  height: 12rem;
}

.contact-pitch {
  position: relative;
  padding-top: 1.2rem;
}

.contact-pitch-title {
  font-size: var(--font-5xl);
  margin-bottom: 1rem;
}

.contact-pitch-content {
  max-width: 34rem;
  color: var(--text-1);
  margin-bottom: 2rem;
}

.contact-pitch-note {
  color: var(--text-2);
}

.contact-pitch-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 34rem;
}

.contact-pitch-benefits li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0;
}

.contact-pitch-benefits svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  color: var(--text-3);
  background: transparent;
  border: 0;
  transition:
    background-color var(--transition-1),
    color var(--transition-1),
    box-shadow var(--transition-1),
    transform var(--transition-1);
}

.contact-pitch-benefits span {
  display: block;
  color: var(--text-2);
}

#modal-ok-btn {
  min-width: 8.5rem;
}

.contact-layout > .form-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-self: start;
}

@media (max-width: 1023px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-pitch h1 {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .contact-layout {
    gap: 1.5rem;
    padding: 1rem 0.9rem 4rem;
  }

  .contact-pitch h1 {
    font-size: var(--font-4xl);
    margin-bottom: 0.7rem;
  }

  .contact-pitch-benefits {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }

  #request-demo-form {
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    margin-bottom: 0;
  }

  .form-wrapper,
  .form-wrapper:focus-within {
    box-shadow: var(--shadow-md);
  }

  .form-wrapper {
    border-radius: var(--radius-md);
    padding: 1.35rem;
  }

  .contact-pitch p {
    font-size: var(--font-md);
    margin-bottom: 1.25rem;
  }

  .contact-pitch-benefits li {
    gap: 0.75rem;
    font-size: var(--font-sm);
    line-height: 1.5;
  }

  .contact-pitch-benefits svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .contact-pitch-benefits span {
    font-size: var(--font-sm);
  }
}
