.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.55);
}

.legal-modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding: 56px 64px 60px;
  color: #050505;
  background-color: #fef5f5;
  animation: legal-modal-in 0.35s ease-out forwards;
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 2px solid #050505;
  background: transparent;
  color: #050505;
  font-family: Poppins, sans-serif;
  font-size: 30px;
  line-height: 34px;
  cursor: pointer;
  transition: 0.25s ease-out;
}

.legal-modal-close:hover,
.legal-modal-close:focus {
  color: #fff;
  background-color: #f43f44;
  border-color: #f43f44;
}

.legal-modal-kicker {
  margin-bottom: 18px;
  color: #f43f44;
  font-size: 12px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.legal-modal-content h1 {
  margin-bottom: 32px;
  color: #050505;
  font-size: 34px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.legal-modal-content p,
.legal-modal-content dd {
  color: #111;
  font-size: 17px;
  line-height: 31px;
  font-weight: 500;
}

.legal-modal-content a {
  color: #050505;
  font-weight: 600;
  text-decoration-color: #f43f44;
}

.legal-modal-content dl {
  margin: 0;
}

.legal-modal-content dl div {
  padding: 20px 0;
  border-top: 2px solid #fff;
}

.legal-modal-content dt {
  margin-bottom: 8px;
  color: #f43f44;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.legal-modal-content dd {
  margin: 0;
}

.legal-modal-content .back,
.legal-modal-content nav,
.legal-modal-content main > p:first-child {
  display: none;
}

@keyframes legal-modal-in {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .respond-message {
  overflow: visible;
}

.respond-message.is-sending,
.respond-message.is-success,
.respond-message.is-error {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 30px;
  text-align: center;
  background: rgba(5, 5, 5, 0.55);
  color: #050505;
  cursor: pointer;
}

.respond-message.is-sending::after,
.respond-message.is-success::after,
.respond-message.is-error::after {
  content: attr(data-label);
  display: block;
  width: min(440px, 100%);
  padding: 48px 40px;
  background: #fef5f5;
  border-top: 4px solid #f43f44;
  color: #050505;
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: legal-modal-in 0.35s ease-out forwards;
}

.respond-message.is-sending,
.respond-message.is-success,
.respond-message.is-error {
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: visible !important;
}

.respond-message.is-sending::after {
  content: "Sending the brief…";
}

.respond-message.is-success::after {
  content: "Brief received. We'll come back to you.";
}

.respond-message.is-error::after {
  content: "Something blocked the send. Email info@pstgstudio.com.";
  border-top-color: #050505;
}

@media (max-width: 575px) {
  .legal-modal-overlay {
    padding: 18px;
  }

  .legal-modal-panel {
    padding: 48px 26px 34px;
  }

  .legal-modal-content h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .legal-modal-content p,
  .legal-modal-content dd {
    font-size: 15px;
    line-height: 28px;
  }
}
