:root {
  --pj-event-red: #de0a2f;
  --pj-event-text: #2c2c30;
  --pj-event-muted: #6e6e74;
  --pj-event-line: #e8e8eb;
  --pj-event-surface: #ffffff;
  --pj-event-soft: #f7f7f8;
}

.pj-event {
  padding: clamp(48px, 7vw, 88px) 20px;
  background: #fff;
  color: var(--pj-event-text);
  font-family: Arial, Helvetica, sans-serif;
}

.pj-event__shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.pj-event__eyebrow {
  margin-bottom: 12px;
  color: var(--pj-event-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pj-event__title {
  margin: 0;
  color: #202124;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.pj-event__intro {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--pj-event-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.pj-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 30px;
}

.pj-event__meta span {
  padding: 8px 12px;
  border: 1px solid var(--pj-event-line);
  border-radius: 999px;
  background: var(--pj-event-soft);
  color: #55555a;
  font-size: 13px;
  font-weight: 700;
}

.pj-event-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--pj-event-line);
  border-radius: 22px;
  background: var(--pj-event-surface);
  box-shadow: 0 22px 70px rgba(24, 24, 28, .08);
}

.pj-event-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pj-event-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.pj-event-field--wide {
  grid-column: 1 / -1;
}

.pj-event-field > span {
  color: #343438;
  font-size: 14px;
  font-weight: 700;
}

.pj-event-field input,
.pj-event-field select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d9d9dd;
  border-radius: 10px;
  background: #fff;
  color: #202124;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.pj-event-field input:focus,
.pj-event-field select:focus {
  border-color: var(--pj-event-red);
  box-shadow: 0 0 0 3px rgba(222, 10, 47, .1);
}

.pj-event-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  color: #55555a;
  font-size: 13px;
  line-height: 1.5;
}

.pj-event-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--pj-event-red);
}

.pj-event-consent a {
  color: var(--pj-event-red);
  font-weight: 700;
}

.pj-event-form__hint {
  margin: 16px 0 0;
  color: #7b7b80;
  font-size: 13px;
  line-height: 1.5;
}

.pj-event-button {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 11px;
  background: var(--pj-event-red);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.pj-event-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.pj-event-button:disabled {
  cursor: wait;
  opacity: .72;
}

.pj-event-form__status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.pj-event-form__status.is-working {
  color: #55555a;
}

.pj-event-form__status.is-success {
  color: #14783f;
}

.pj-event-form__status.is-error {
  color: #b42318;
}

.pj-event__notice {
  padding: 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.pj-event__notice--warning {
  border: 1px solid #f2d08a;
  background: #fff9eb;
  color: #775b16;
}

.pj-event__notice--full {
  border: 1px solid #efc6cf;
  background: #fff3f5;
  color: #8e1931;
}

.pj-event-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .pj-event {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pj-event-form__grid {
    grid-template-columns: 1fr;
  }

  .pj-event-field--wide {
    grid-column: auto;
  }

  .pj-event-form {
    border-radius: 18px;
  }
}
