.registration-modal {
  width: min(92vw, 570px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #f8f9f5;
  color: #193c32;
  box-shadow: 0 28px 80px #071c1955;
}

.registration-modal::backdrop {
  background: rgba(7, 28, 25, 0.68);
  backdrop-filter: blur(4px);
}

.modal-panel { position: relative; padding: 48px 52px 50px; }
.modal-close {
  position: absolute; top: 18px; right: 20px; width: 38px; height: 38px;
  border: 0; background: transparent; color: #193c32;
  font: 300 31px/1 Arial, sans-serif; cursor: pointer;
}
.modal-eyebrow { margin: 0 0 17px; color: #6b7c55; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; }
.registration-modal h2 { font-size: 45px; line-height: 1.08; letter-spacing: -1.2px; }
.modal-intro, .registration-success > p:not(.modal-eyebrow) { color: #56675e; font-size: 16px; line-height: 1.6; margin: 16px 0 27px; }
.registration-form { display: grid; gap: 18px; }
.registration-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.registration-form label > span { color: #78857e; font-weight: 400; }
.registration-form input:not([type="checkbox"]) {
  width: 100%; border: 1px solid #bdc9c0; border-radius: 2px; background: #fff;
  padding: 13px 14px; color: #193c32; font: 16px Arial, sans-serif; outline: none;
}
.registration-form input:not([type="checkbox"]):focus { border-color: #48685a; box-shadow: 0 0 0 3px #48685a1f; }
.registration-form .consent { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #193c32; }
.submit-button { margin-top: 4px; border: 0; border-radius: 2px; background: #193c32; color: #fff; padding: 16px 22px; font-size: 14px; cursor: pointer; transition: background .2s; }
.submit-button:hover { background: #2b594b; }
.registration-success { text-align: center; padding: 30px 0 12px; }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 25px; border: 1px solid #819369; border-radius: 50%; color: #60734d; font-size: 25px; }
.registration-success .submit-button { min-width: 150px; margin-top: 12px; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .modal-panel { padding: 42px 25px 32px; }
  .registration-modal h2 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) { .submit-button { transition: none; } }
