.unlock-dialog {
  width: min(92vw, 560px);
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: #161616;
  background: #f5f0e8;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.unlock-dialog::backdrop {
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(4px);
}

.unlock-dialog-inner {
  position: relative;
  overflow-y: auto;
  max-height: calc(100vh - 24px);
  padding: clamp(28px, 6vw, 54px);
}

.unlock-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.unlock-dialog .unlock-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.unlock-dialog h2 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.unlock-dialog .unlock-copy {
  max-width: 470px;
  margin: 20px 0 28px;
  color: #4f4b45;
  font-size: 16px;
  line-height: 1.55;
}

.unlock-form {
  display: grid;
  gap: 16px;
}

.unlock-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unlock-form input[type="email"],
.unlock-form select {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #222;
  border-radius: 0;
  color: #161616;
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.unlock-form select {
  width: 100%;
  padding-right: 38px;
}

.unlock-updates {
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fffaf1;
}

.unlock-updates-title {
  margin: 0 0 7px;
  color: #161616;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.unlock-updates-body {
  margin: 0 0 14px;
  color: #57524b;
  font-size: 13px;
  line-height: 1.5;
}

.unlock-consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px !important;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: #45413b;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
}

.unlock-consent + .unlock-consent {
  margin-top: 13px;
}

.unlock-consent span,
.unlock-consent strong,
.unlock-consent small {
  display: block;
}

.unlock-consent strong {
  color: #26231f;
  font-size: 13px;
}

.unlock-consent small {
  margin-top: 3px;
  color: #615c54;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.unlock-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
}

.unlock-submit {
  min-height: 52px;
  border: 1px solid #161616;
  color: #fff;
  background: #161616;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.unlock-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.unlock-status {
  min-height: 22px;
  margin: 0;
  color: #58534c;
  font-size: 13px;
  line-height: 1.45;
}

.unlock-status[data-state="error"] {
  color: #9f2b20;
}

.unlock-status[data-state="success"] {
  color: #17633b;
  font-weight: 700;
}

.unlock-recovery {
  color: #58534c;
  font-size: 13px;
  line-height: 1.5;
}

.unlock-recovery p {
  margin: 0 0 9px;
}

.unlock-recovery button,
.unlock-status button {
  padding: 3px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.unlock-privacy {
  margin: 3px 0 0;
  color: #777169;
  font-size: 11px;
  line-height: 1.45;
}

.unlock-privacy strong {
  color: #5e5952;
}

@media (max-width: 560px) {
  .unlock-dialog {
    width: calc(100vw - 20px);
  }

  .unlock-dialog-inner {
    padding: 44px 24px 28px;
  }
}
